1 2010-02-18 Marek Habersack <mhabersack@novell.com>
3 * ListItemCollection.cs: ItemsEnabled and associated code removed
4 - there's no need to alter ListItem's Enabled property when
7 * ListControl.cs: SaveViewState doesn't set the items collection's
8 ItemsEnabled property as it was removed from ListItemCollection
10 * CheckBoxList.cs: LoadPostData never unselects any item. A better
12 RenderItem renders items as disabled when Enabled is false, but if
13 Enabled is true, item is rendered according to the value of its
14 own Enabled property. Fixes bug #578770
16 * TreeView.cs: RegisterStyle must copy CssClass in addition to
17 other style properties. Fixes bug #580692
19 2010-01-18 Marek Habersack <mhabersack@novell.com>
21 * Parameter.cs: added missing 3.5 APIs - constructors taking
22 DbType as one of the parameters, ConvertDbTypeToTypeCode,
23 ConvertTypeCodeToDbType and GetDatabaseType. Fixes bug #567850
25 2010-01-15 Marek Habersack <mhabersack@novell.com>
27 * ChangePassword.cs: BaseChangePasswordContainer forwards
28 EnsureChildControls call to its owner, so that finding controls in
29 the container works correctly.
31 2009-11-30 Marek Habersack <mhabersack@novell.com>
33 * WebControl.cs: HasAttributes made available as internal for 1.1
34 Avoid calling the Attributes getter many times in
36 If TrackViewState is called and attributes state bag already
37 exists, mark all items in the latter as dirty.
39 * CheckBox.cs, Button.cs, ImageButton.cs, LinkButton.cs: do not
40 create the Attributes collection if not necessary.
42 2009-11-16 Marek Habersack <mhabersack@novell.com>
44 * TreeNodeCollection.cs: whenever a node is added, let the owner
47 * TreeNode.cs: added internal property HadChildrenBeforePopulating
48 which is used to let TreeView know about an error condition where
49 a populate-on-demand node contains children added outside the
50 OnTreeNodePopulate event
52 * TreeView.cs: if a node has any child nodes and PopulatOnDemand
53 is set, throw an exception from RenderNode. This is the behavior
56 2009-11-13 Marek Habersack <mhabersack@novell.com>
58 * TableRowCollection.cs: added .NET compatibility NREX throws to
60 Whenever a row is added/removed, its Container property is
61 set. Fixes bug #551666
63 * TableRow.cs: introduced an internal property, Container, which
64 is set by TableRowCollection whenever this row is added/removed
65 to/from the collection. This allows the row to notify the
66 collectio and, in consequence, collection owner that TableSection
67 has been set and thead/tbody/tfoot elements need to be
68 generated. Fixes bug #551666
70 2009-11-10 Marek Habersack <mhabersack@novell.com>
72 * PasswordRecovery.cs:
73 {Question,Success,UserName}TemplateContainer must all be populated
74 the first time the property is accessed, so that calling
75 FindControl on the container returns valid and expected
76 results. If the associated template is not defined, though,
77 populating is postponed till CreateChildControls is called -
78 that's where default, empty, template will be created. This is
79 required to fix YetAnotherForum's password recovery control.
80 Mail template used in SendPasswordByMail must match the one used
81 in .NET (it has to end with a newline) as YAF parses the message
82 to retrieve user name and password and breaks if the last line
83 doesn't end with a newline character.
85 2009-10-30 Marek Habersack <mhabersack@novell.com>
87 * PasswordRecovery.cs: mail message replacements should include <%
88 Password %> and <% UserName %> and matching should be
89 case-insensitive. Fixes bug #545370
91 2009-10-28 Marek Habersack <mhabersack@novell.com>
93 * ListControl.cs: OnDataBinding must call base implementation
94 before performing the binding, so that DataSource can be assigned
95 from within the handler.
97 2009-10-13 Marek Safar <marek.safar@novell.com>
99 * WebColorConverter.cs: Delegate ConvertFrom to
100 ColorTranslator.FromHtml, it is correctly implemented and knows
103 2009-10-13 Marek Habersack <mhabersack@novell.com>
105 * WebColorConverter.cs: don't use a dictionary to check for valid
106 color names, use Color.IsKnownColor instead. Update for bug
108 Added more CSS2 color name mappings.
110 2009-10-12 Marek Habersack <mhabersack@novell.com>
112 * WebColorConverter.cs: when converting from color name, check if
113 the returned color's name is a member of the
114 System.Drawing.KnownColor enumeration to test for error condition,
115 as some colors might be #000000. Preserve the old error check as a
117 Map "captiontext" and "background" color names to
118 "ActiveCaptionText" and "Desktop", respectively, before passing
119 them to Color.FromName (). Fixes bug #546173
121 2009-10-02 Marek Habersack <mhabersack@novell.com>
123 * GridView.cs: added two 3.5 properties - SelectedPersistedDataKey
124 and IPersistedSelector.DataKey.
126 * BaseDataBoundControl.cs: slight optimizations to FindDataSource
128 2009-09-28 Marek Habersack <mhabersack@novell.com>
130 * DataBoundControl.cs: Initialize sets RequiresDataBinding
131 properly, only when we're not data-bound already, when we aren't
132 in postback or when we are in postback, but with viewstate
133 enabled. Fixes bug #542076
135 2009-09-01 Marek Habersack <mhabersack@novell.com>
137 * ObjectDataSourceView.cs: ExecuteSelect must call
138 QueryTotalRowCount after executing the select method (that's what
141 2009-08-25 Marek Habersack <mhabersack@novell.com>
143 * WebColorConverter.cs: inform the user that the might need to
144 check if libgdiplus is installed when parsing a color name
145 fails. Fixes bug #533749
147 2009-08-21 Marek Habersack <mhabersack@novell.com>
149 * Menu.cs: separator image is rendered next to the item in
150 horizontal layout and is preceeded by 3px spacer (unless
151 itemSpacing is set) to make output match .NET. Fixes bug #474716
153 * TreeNodeCollection.cs: {Save,Load}ViewState now store/load the
154 type of the node, if node is a of a custom type. Fixes bug #475997
156 2009-06-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
158 * Parameter.cs: add new DbType property.
160 2009-06-16 Marek Habersack <mhabersack@novell.com>
162 * IPersistedSelector.cs: removed AspNetHostingPermission
163 attributes from the 4.0 profile.
165 * IDataBoundControl.cs, IDataBoundItemControl.cs,
166 IDataBoundListControl.cs, IFieldControl.cs: added
168 * DetailsView.cs: control implements 4.0 IDataBoundItemControl
171 * DataBoundControl.cs: implemented 4.0 property DataSourceObject
172 (internal for 2.0) and made the InternalPerformDataBinding method
173 internal for the 4.0 profile.
175 2009-06-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
177 * ContentControlBuilderInternal.cs: detect missing
178 ContentPlaceHolderID attribute when parsing instead of throwing a
181 2009-05-29 Marek Habersack <mhabersack@novell.com>
183 * ListItem.cs: when tracking view state is turned on after
184 attributes have been set, make sure that the associated state bag
185 begins tracking state and that all of its existing items are
186 marked as dirty. Do the same after loading view state. Fixes bug
189 2009-04-29 Marek Habersack <mhabersack@novell.com>
191 * DataBoundControl.cs: added InternalGetDataSource method, used by
194 2009-04-28 Marek Habersack <mhabersack@novell.com>
196 * GridView.cs: implemented ColumnsGenerator and enabled its use in
199 * DetailsView.cs: implemented the RowsGenerator property and
200 enabled its use in CreateFieldSet.
202 2009-04-07 Marek Habersack <mhabersack@novell.com>
204 * TreeView.js: removed nodeText parameter from the JS calls.
206 * TreeView.cs: encode | characters into U+007C, so that
207 RaiseCallbackEvent doesn't get confused.
208 Removed nodeText parameter from the JS calls.
210 2009-04-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
212 * TreeNode.cs: reset the path data for all child nodes too.
213 * TreeView.cs: HtmlAttribute encode the node text. When rebuilding the
214 node tree, set the correct index for the nodes so that the Path is
217 2009-04-06 Marek Habersack <mhabersack@novell.com>
219 * TreeView.js: TreeView_ToggleExpand now takes more parameters - a
220 full definition of treeview's node contents.
221 Added new function, TreeView_PopulateNode, which partially takes
222 over role of the PopulateNode function generated in
223 TreeView.OnPreRender (see below). Fixes bug #492307
225 * TreeView.cs: RaiseCallbackEvent needs to recreate the event
226 target's parental tree all the way from the root to the node and
227 populate only the leaf (requested) node. This avoids calling the
228 TreeNodePopulate handler more times than needed. Fixes bug #492307
229 OnPreRender: moved the script code to constants and the script
230 body is now generated using StringBuilder instead of a series of
232 GetClientExpandEvent: adjusted code for new TreeView JavaScript
235 2009-03-17 Marek Habersack <mhabersack@novell.com>
237 * Unit.cs: introduced a field to tell the difference between empty
238 (as in Unit.Empty) and 0px units.
240 2009-03-06 Marek Habersack <mhabersack@novell.com>
242 * WebControl.cs: if savedState is not an instance of Pair in
243 LoadViewState, do not attempt to load from it.
245 2009-02-10 Marek Habersack <mhabersack@novell.com>
247 * ImageButton.cs: AddAttributesToRender renders the onclick
248 attribute only if any of the following is true:
249 - OnClientClick is not empty
250 - Validation is enabled for the control
251 - PostBackUrl is used
252 PostBackOptions now indicate that control requires the javascript
253 protocol for the handler.
254 RaisePostBackEvent passes String.Empty as the argument.
257 2009-02-09 Marek Habersack <mhabersack@novell.com>
259 * ObjectDataSourceView.cs: ExecuteSelect returns a single-item
260 array of objects containing the result, if the result isn't one of
261 DataSet, DataTable or IEnumerable. Fixes bug #471767
263 2009-02-06 Marek Habersack <mhabersack@novell.com>
265 * Style.cs: if CssClass is null, return String.Empty. Fixes bug
267 Added a range check to the BorderStyle property.
269 2009-02-05 Marek Habersack <mhabersack@novell.com>
271 * Login.cs: check the value of DisplayRememberMe when creating
272 the child controls. Fixes #468359
274 2009-01-20 Marek Habersack <mhabersack@novell.com>
276 * Substitution.cs: added. Fixes bug #467460
278 2009-01-13 Marek Habersack <mhabersack@novell.com>
280 * XmlBuilder.cs: updates related to ControlBuilder cleanup.
282 2008-12-01 Marek Habersack <mhabersack@novell.com>
284 * Style.cs: WriteStyleAttributes must not use the fontinfo field
285 directly, it has to be done via the Font property. Fixes bug
288 2008-11-15 Marek Habersack <mhabersack@novell.com>
290 * ContentPlaceHolder.cs, Content.cs, FormViewPagerRow.cs,
291 ChangePassword.cs, DetailsViewPagerRow.cs: implements
292 INonBindingContainer interface.
294 * Wizard.cs: implement INonBindingContainer interface for several
295 private/internal classes.
297 2008-10-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
299 * ImageButton.cs: clicking an image causes a postback.
302 2008-10-24 Marek Habersack <mhabersack@novell.com>
304 * CheckBox.cs: register for event validation in Render ().
306 2008-10-21 Marek Habersack <mhabersack@novell.com>
308 * XmlDataSource.cs: DataFile may be an URL.
310 2008-10-17 Marek Habersack <mhabersack@novell.com>
312 * ImageMap.cs: added the SupportsEventValidation attribute to the
314 Validate the event in RaisePostBackEvent ().
315 Register for event validation in Render ().
317 * DropDownList.cs, ListBox.cs: validate the event in LoadPostData ().
319 * TextBox.cs: validate the event in LoadPostData ().
320 Register for event validation in AddAttributesToRender ().
322 * HiddenField.cs: validate the event in RaisePostDataChangedEvent.
323 Register for event validation in Render ().
325 * RadioButton.cs: validate the event in LoadPostData ().
326 Register for event validation in InternalAddAttributesToRender.
328 * CheckBox.cs, RadioButtonList.cs: validate the event in
329 RaisePostDataChangedEvent.
331 * Menu.cs: added the SupportsEventValidation attribute to the
333 Validate the event in RaisePostBackEvent ().
334 Register for event validation in GetClientEvent ().
336 * DetailsView.cs, GridView.cs: validate the event in
337 RaisePostBackEvent ().
338 Register for validation in GetCallbackScript () and in OnPreRender
340 * Button.cs, Table.cs, BulletedList.cs, Calendar.cs, LinkButton.cs,
341 ImageButton.cs, TreeView.cs: validate the event in RaisePostBackEvent ().
343 2008-10-14 Marek Habersack <mhabersack@novell.com>
345 * CompositeDataBoundControl.cs: renamed the itemcount ViewState
346 item from "_ItemCount" to "_!ItemCount" for .NET
347 compatibility. This item is accessed and used by some commercial
350 * DataBoundControl.cs: OnPagePreLoad must force databinding also
351 when the request is not a postback.
353 2008-10-13 Marek Habersack <mhabersack@novell.com>
355 * Table.cs, TableRowCollection.cs, TableRow.cs: render table
356 sections when necessary. Fixes bug #434555
358 2008-10-08 Marek Habersack <mhabersack@novell.com>
360 * ControlParameter.cs: Evaluate calls DataBinder.Eval to do the
361 evaluation now. This makes it support complex expressions.
363 2008-09-30 Sebastien Pouliot <sebastien@ximian.com>
365 * RoleGroupCollection.cs: Fix recursive calls (wrong target)
366 [Found using Gendarme's BadRecursiveInvocationRule]
368 2008-09-28 Sebastien Pouliot <sebastien@ximian.com>
370 * XmlDataSource.cs: Make sure the result of the multiplication is a
371 long (not an integer casted into a long since it could overflow).
372 [Found using Gendarme's ReviewCastOnIntegerMultiplicationRule]
374 2008-09-17 Juraj Skripsky <js@hotfeet.ch>
376 * RadioButton.cs (ValueAttribute, LoadPostData): Fixes bug #426959.
378 2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
380 * IPersistedSelector.cs : new in 3.5 SP1.
382 2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
384 * DataBoundControlMode.cs : new 3.5 SP1 type.
386 2008-08-25 Marek Habersack <mhabersack@novell.com>
388 * DataBoundControl.cs: set RequiresDataBinding to true in
389 Initialize only if not in a postback, if not data bound and if the
390 view state is enabled. Fixes bug #398318
391 UpdateViewData removes the OnDataSourceViewChanged handler before
392 connecting to the datasource and restores it before returning to
394 OnLoad gets the data source before initialization, to avoid
395 premature OnDataSourceViewChanged triggers. Fixes bug #398318
396 Do not reconnect to the data source if we already have a valid one.
398 2008-08-18 Marek Habersack <mhabersack@novell.com>
400 * Unit.cs: rewrote the unit parser in a slightly slower, but more
401 correct, way. Fixes bug #417502
403 2008-07-28 Marek Habersack <mhabersack@novell.com>
405 * TreeView.cs: when TreeView is displaying a site map and there is
406 no node selected by the user, select the node corresponding to the
407 current page, if any.
409 2008-07-24 Marek Habersack <mhabersack@novell.com>
411 * DataGrid.cs: removed the private class TableID and moved its
412 code to ChildTable.cs (see below). 2.0 instantiates teh ChildTable
413 with the owner parameter now. Fixes bug #400377
415 * ChildTable.cs: refactoring - moved code from TableID previously
416 defined in DataGrid.cs to here and made the class available under
417 different names for both 1.x and 2.x profiles. Fixes bug #400377
419 * MailDefinition.cs: look for the mail body file in the correct
420 path. Patch from Jackson Harper <jaharper@novell.com>,
421 thanks! Fixes bug #408699
423 * PasswordRecovery.cs: do not ask password recovery question if
424 it's disabled. Patch from Jackson Harper <jaharper@novell.com>,
425 thanks! Fixes bug #408696
427 2008-07-16 Marek Habersack <mhabersack@novell.com>
429 * XmlDataSource.cs: check if Page isn't null before stringifying
430 it in GetDataKey (), fixes bug #409492
432 2008-07-13 Roei Erez <roeie@mainsoft.com>
434 * GridView.cs: When the RowDataBound event is invoked, the value
435 of GridView1.DataKeys should contains all the keys up untill the
436 current row, and not be empty.
437 I only changed the order of the user event invocation and the addition
440 2008-07-13 Roei Erez <roeie@mainsoft.com>
442 * TreeView.cs: In case of multiple tree node bingings, select
443 The first one and not the last one.
445 2008-07-10 Roei Erez <roeie@mainsoft.com>
447 * HyperlinkField.cs: Changed behavior of HyperLinkField bound field key
448 to be case insensitive.
450 2008-07-03 Marek Habersack <mhabersack@novell.com>
452 * CheckBox.cs: do not render the language="javascript" attribute
455 2008-07-02 Marek Habersack <mhabersack@novell.com>
457 * GridView.cs: minor optimizations (removed a foreach loop,
458 replaced calls to Array.Length with a variable containing the
461 2008-06-30 Marek Habersack <mhabersack@novell.com>
463 * ObjectDataSourceView.cs, Menu.cs, DataList.cs,
464 CustomValidator.cs: hush the warnings
466 2008-06-10 Noam Lampert <noaml@mainsoft.com>
468 * ListItemCollection.cs: Provide viewstate for dirty collection even if it is empty.
470 2008-05-30 Marek Habersack <mhabersack@novell.com>
472 * BaseDataBoundControl.cs, ChangePassword.cs, CustomValidator.cs,
473 DataControlFieldCollection.cs, DataControlField.cs,
474 PasswordRecovery.cs, PagerSettings.cs: do not use synthetized
475 event accessors (to avoid locks).
477 2008-05-18 Marek Habersack <mhabersack@novell.com>
479 * HierarchicalDataBoundControl.cs: Modified GetData method to check if
480 DataSource implements IHierarchicalEnumerable and if so constructs and
481 returns a new instance of ReadOnlyDataSourceView. This provides functional
482 compatibility with the Microsoft.NET framework. Fixes bug
483 #395209. Patch contributed by James Fitzsimons
484 <james.fitzsimons@gmail.com>, thanks!
486 2008-05-06 Marek Habersack <mhabersack@novell.com>
488 * Calendar.cs: do not create dateInfo in the constructor - culture
489 might be not set yet at this point. Fixes bug #323566
490 Added a private property, DateInfo, which creates the dateInfo
493 2008-05-05 Sebastien Pouliot <sebastien@ximian.com>
495 * BulletedList.cs: Avoid calling ToString on a string.
496 * ButtonField.cs: Throw, not just create, the exceptions.
497 * HyperLinkField.cs: Throw, not just create, the exceptions.
498 * ImageField.cs: Throw, not just create, the exception. Avoid calling
499 ToString on a string.
500 * ListControl.cs: Avoid calling ToString on a string.
501 [All issues were found using Gendarme]
503 2008-04-30 Marek Habersack <mhabersack@novell.com>
505 * SiteMapDataSource.cs: when no starting node is found, return
506 null instead of Provider.RootNode. Fixes bug #323994
508 2008-04-24 Marek Habersack <mhabersack@novell.com>
510 * SqlDataSource.cs: raise the DataSourceChangedEvent when setting
511 ConnectionString, ProviderName or DataSourceMode properties only
512 when the new value differs from the old one. Fixes bug #359392
514 2008-04-16 Marek Habersack <mhabersack@novell.com>
516 * ObjectDataSourceView.cs: ExecuteSelect should return an empty
517 aray when no data has been retrieved from the specified source
518 type. Fixes bug #380106
520 2008-04-15 Marek Habersack <mhabersack@novell.com>
522 * MailDefinition.cs: dispose of streams the way it should
525 2008-04-10 Marek Habersack <mhabersack@novell.com>
527 * RadioButton.cs: adjust 'name' and 'value' attribute values to
528 match MS.NET. Fixes bug #378024
530 * CheckBoxList.cs: set the Selected property to the value in POST
531 data only if the item in question was enabled before postback
532 occurred. Fixes bug #377703
534 * ListControl.cs: make sure the owned items' Enabled property is
535 set to the same value what ListControl's. Fixes bug #377703
537 * ListItemCollection.cs: fixed SetDirty to store the index of the
538 last dirtied item properly. Fixes bug #377703
539 For the 2.0 profile, set the ListItem instances Enabled property
540 to the value of the owning ListControl (internal ItemsEnabled
541 property was added to make it possible). Fixes bug #377703
543 2008-04-08 Dean Brettle <dean@brettle.com>
545 * DataBoundControl.cs (InternalPerformDataBinding),
546 HierarchicalDataBoundControl.cs (InternalPerformDataBinding),
547 WebControl.cs (Render): fixed cast errors when a ControlAdapter
548 that wasn't of the type corresponding to the control was used.
550 2008-04-03 Marek Habersack <mhabersack@novell.com>
552 * DataList.cs: use the value of SelectedIndex, not selectedIndex,
553 to return the key value in the SelectedValue property. Fixes bug
554 #376519. Patch from Sergey Kuleshov <svyatogor@gmail.com>, thanks!
556 2008-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
558 * AutoGeneratedField.cs, CheckBoxField.cs: fixed OnDataBindField,
559 should hide checkbox only if DataItem is not defined
561 2008-03-09 Dean Brettle <dean@brettle.com>
563 * DetailsView.cs, ListControl.cs, DataBoundControl.cs,
564 FormView.cs, HierarchicalDataBoundControl.cs, WebControl.cs:
565 added support for using ControlAdapters when present.
567 * WebControl.cs: fixed implementation of IsEnabled to match
570 * Menu.cs (RenderMenuBody): call Adapter.RenderItem() instead of
571 RenderMenuItem() if an adapter is present. MenuAdapter.RenderItem()
572 calls back to new Menu.RenderItem() internal method which calls
573 RenderMenuItem() with the appropriate parameters.
575 2008-02-25 Igor Zelmanovich <igorz@mainsoft.com>
578 at Update and Delete use not read only coppies of dictionaries
579 in event argumens, that allows user to change them before corresponding
580 DataSource's method is called.
582 2008-02-20 Igor Zelmanovich <igorz@mainsoft.com>
584 * Login.cs: render id attribute of root element correctly.
586 2008-02-18 Marek Habersack <mhabersack@novell.com>
588 * FormView.cs: the ItemCreated must be fired before data is bound
589 to the FormView. Fixes bug #360434
591 2008-02-07 Igor Zelmanovich <igorz@mainsoft.com>
593 * Login.cs: render id attribute of root element correctly.
595 2008-02-05 Marek Habersack <mhabersack@novell.com>
597 * FileUpload.cs: make sure FileContent always returns the input
598 stream positioned at the beginning. Fixes bug #356846
600 2008-01-31 Igor Zelmanovich <igorz@mainsoft.com>
602 * Calendar.cs: resolve Next/Prev. month link date correctly.
604 2008-01-29 Igor Zelmanovich <igorz@mainsoft.com>
606 * TreeView.cs: add XPFileExplorer icon set.
608 2008-01-28 Igor Zelmanovich <igorz@mainsoft.com>
610 * Menu.js: dynamic nodes are positioned after hover style of
611 parent node is applied.
613 2008-01-24 Vladimir Krasnov <vladimirk@mainsoft.com>
615 * DataSourceCacheManager.cs: fixed GetKeyFromParameters, incase more
616 than one datasource using the same object with the same select method
618 2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>
620 * ValidationSummary.cs:
621 refactoring: If page contents instance of IScriptManager, it calls
622 it's API instead Page.ClientScript.
624 2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>
626 * Menu.cs: fixed rendering.
628 2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
631 manage history state on "MovePrevious" action.
633 2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
636 resolve BulletImageUrl,
637 register for event validation.
639 2008-01-13 Igor Zelmanovich <igorz@mainsoft.com>
643 upgrade client side script due to changes in webform.js.
645 2008-01-07 Igor Zelmanovich <igorz@mainsoft.com>
647 * BaseCompareValidator.cs:
649 * CompareValidator.cs:
650 * CustomValidator.cs:
652 * RegularExpressionValidator.cs:
653 * RequiredFieldValidator.cs:
654 refactoring: If page contents instance of IScriptManager, validators call
655 it's API instead Page.ClientScript.
657 2008-01-07 Igor Zelmanovich <igorz@mainsoft.com>
662 for TARGET_J2EE used CreateActionUrl instead ResolveClientUrl
663 in GetPostBackOptions.
665 2008-01-06 Igor Zelmanovich <igorz@mainsoft.com>
667 * DetailsView.cs: render invisible rows correct.
669 2008-01-06 Igor Zelmanovich <igorz@mainsoft.com>
671 * DataControlField.cs: prevent infinite recursion
673 2008-01-01 Vladimir Krasnov <vladimirk@mainsoft.com>
675 * DataSourceCacheManager.cs: fixed SetCachedObject. fixed sliding
678 2007-12-31 Vladimir Krasnov <vladimirk@mainsoft.com>
680 * DataSourceCacheManager.cs: fixed SetCachedObject, fixed
683 2007-12-24 Igor Zelmanovich <igorz@mainsoft.com>
685 * TreeView.cs: revert changes from r91230
687 2007-12-18 Vladimir Krasnov <vladimirk@mainsoft.com>
689 * ListControl.cs: fixed Load/SaveViewState, removed selected indices
691 * ListItem.cs: fixed Load/SaveViewState, added selected state storing
692 * ListItemCollection.cs: fixed Load/SaveViewState, added flag to not
693 rebuild the collection if was'nt changed
695 2007-12-13 Marek Habersack <mhabersack@novell.com>
697 * Menu.cs, TreeView.cs: optimize use of String.Format in
699 Speed optimization - use String.Concat instead of String.Format in
702 * GridView.cs, DetailsView.cs: optimize use of String.Format in
705 * CheckBox.cs, AccessDataSource.cs, WebColorConverter.cs,
706 WebControl.cs,TextBox.cs, DropDownList.cs, ValidationSummary.cs,
707 ListBox.cs, Panel.cs, BaseValidator.cs, LinkButton.cs: speed
708 optimization - use String.Concat instead of String.Format in some cases.
710 2007-12-13 Vladimir Krasnov <vladimirk@mainsoft.com>
712 * Menu.cs: fixed rendering without head tag on page
714 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
716 * Calendar.cs: performance optimizations:
717 BuildLink fixed, StringBuilder used.
718 TodaysDate DateTime.Today call cahced.
720 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
722 * Unit.cs: performance optimization: ToString fixed, string.Concat used
723 instead of string.Format
725 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
727 * Style.cs: performance optimization: suppress finalizer added
729 2007-11-08 Igor Zelmanovich <igorz@mainsoft.com>
733 evaluate bound value using ThisExpession ("!") properly
735 2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>
737 * WebControl.cs: enabled state restored properly.
739 2007-11-06 Igor Zelmanovich <igorz@mainsoft.com>
742 refactoring for NET_2_0:
743 Text is removed from view state in case of need at SaveViewState phase.
745 2007-11-06 Igor Zelmanovich <igorz@mainsoft.com>
748 SelectedValue/SelectedIndex is set during DataBinding always.
750 2007-11-06 Marek Habersack <mhabersack@novell.com>
752 * DataGrid.cs: add RenderTable before the DataGridItems, so that
753 numbering of children is the same what on MS.NET.
754 If there are any data items, require a postback script.
757 * ChildTable.cs: removed DOS EOLs.
759 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
762 does not perform authentication if Page.IsValid returns false;
763 the fix makes control works with disabled client side validation.
765 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
768 state of DataList.Items are restored correct on PostBack
769 such Items.Count and ItemType.
771 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
774 validator is rendered correct if EnabledClientClient is false.
776 2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>
778 * Image.cs: fixed management state of Enabled property.
779 * WebControl.cs: refactoring in management state of Enabled property.
781 2007-10-23 Marek Habersack <mhabersack@novell.com>
783 * ListBox.cs, Table.cs: use Render{Begin,End}Tag
784 instead of the Write* counterparts when rendering contents.
786 2007-10-18 Marek Habersack <mhabersack@novell.com>
788 * Menu.js: a workaround for an IE bug. IE recalculates element's
789 offsetWidth when the element's _height_ is set - which in case of
790 elements with overflowing content results in a value that's just
791 slightly smaller than the client window width. In effect, a long
792 submenu will also be very wide, which isn't desirable. Fixes bug
795 2007-10-15 Marek Habersack <mhabersack@novell.com>
797 * ObjectDataSourceView.cs: use HttpApplication.LoadType instead of
800 * BulletedList.cs: html encode the item text. Fixes bug #333550.
802 2007-10-01 Marek Habersack <mhabersack@novell.com>
804 * ListItem.cs: make HasAttributes available for the 1.1 profile as
807 * DropDownList.cs: render custom ListItem attributes in the 1.1
808 profile. Fixes bug #326288
810 2007-09-27 Marek Habersack <mhabersack@novell.com>
812 * Button.cs: added missing OnPreRender method.
814 2007-09-25 Marek Habersack <mhabersack@novell.com>
816 * WebControl.cs: added an internal method, BuildScriptAttribute,
817 which merges the specified JavaScript code in an attribute, with
818 the value of that attribute specified by the user.
820 * CheckBox.cs, DropDownList.cs: AutoPostBack handling makes sure to
821 preserve user-specified attribute value, if present.
823 * ListBox.cs, TextBox.cs: AddAttributesToRender calls the base
824 after doing its job. AutoPostBack handling makes sure to preserve
825 user-specified attribute value, if present. Fixes bug #327816.
827 2007-09-21 Marek Habersack <mhabersack@novell.com>
829 * ListItem.cs: don't save StateBag in the control state - the
830 class is not serializable and therefore ObjectStateFormatter
831 cannot convert it. Instead have the sb object save its own state
832 and store the returned value. Fixes bug #326288.
834 2007-09-20 Marek Habersack <mhabersack@novell.com>
836 * LoginView.cs: implemented RoleGroups support. Fixes bug
839 2007-09-19 Marek Habersack <mhabersack@novell.com>
841 * GridView.cs: copy attributes from GridView to the child table,
842 as this is where the rendering takes place. Fixes bug #326309.
844 2007-09-18 Marek Habersack <mhabersack@novell.com>
846 * Calendar.cs: correctly apply day cell style. Fixes bug #315903
848 2007-09-17 Marek Habersack <mhabersack@novell.com>
850 * Calendar.cs: style attribute value must be enclosed in quotes.
852 * TableStyle.cs: do not capitalize the align styles. Fixes bug
855 2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
857 * ListControl.cs: partially restored r85314
858 whenever a property that can affect data binding
859 is set, make sure to set RequiresDataBinding.
861 2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
863 * DataBoundControl.cs: fixed DataBind flow:
864 prevent double binding when not necessary.
867 2007-08-31 Marek Habersack <mhabersack@novell.com>
869 * GridView.cs: instead of not adding hidden fields to the rows,
870 mark the cells they would contain as invisible. Fixes bug #82615.
872 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
876 make Menu work in multi form environment.
878 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
880 * ListControl.cs: fixed selected items state management.
882 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
884 * BaseCompareValidator.cs:
886 * CompareValidator.cs:
887 * CustomValidator.cs:
889 * RegularExpressionValidator.cs:
890 * RequiredFieldValidator.cs:
891 all Validators use RegisterExpandoAttribute for
892 not XHTML compliant attributes.
894 2007-08-23 Igor Zelmanovich <igorz@mainsoft.com>
896 * Panel.cs: client script consider MultiForm environment.
898 2007-08-21 Marek Habersack <mhabersack@novell.com>
900 * ObjectDataSourceView.cs: get rid of PrivateBinPath property,
903 2007-08-20 Marek Habersack <mhabersack@novell.com>
905 * ContentPlaceHolderBuilder.cs: store place holder id in the
906 parser's internal place holder id list for later reference. Fixes
909 2007-08-19 Vladimir Krasnov <vladimirk@mainsoft.com>
911 * BoundField.cs: FormatDataValue, refactored multiple use of ToString
913 2007-08-14 Marek Habersack <mhabersack@novell.com>
915 * ObjectDataSourceView.cs: remove unused variable.
917 * ChangePassword.cs: remove unused variable.
918 The change password button id changed to
919 "ChangePasswordPushButton", the cancel button id changed to
920 "CancelPushButton". The change makes the generated ids the same
921 what on MS.NET. Fixes bug #82418.
923 * RoleGroupCollection.cs: OnValidate shouldn't be overridden.
925 2007-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
927 * ParameterCollection.cs: fixed IndexOfString, should use ordinal
930 2007-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
932 * Menu.cs: performance refactoring, used AddAttribute overload without
933 encoding on known attribute values, optimized DynamicMenu rendering
935 2007-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
937 * TreeView.cs: refactoring, used AddAttribute overload without encoding
938 on known attribute values,
939 used Page.ClientScript.GetWebResourceUrl call instead of
940 AssemblyResourceLoader.GetResourceUrl
942 2007-08-06 Igor Zelmanovich <igorz@mainsoft.com>
944 * AccessDataSource.cs: does not subscribed on view changed event.
945 * ObjectDataSource.cs: fixed state management.
946 * SqlDataSource.cs: fixed state management.
948 2007-08-05 Vladimir Krasnov <vladimirk@mainsoft.com>
951 DataControlFieldHeaderCell.cs, FileUpload.cs, Table.cs,
952 RegularExpressionValidator.cs, CheckBox.cs, HiddenField.cs,
953 TableStyle.cs, Image.cs, BulletedList.cs, RangeValidator.cs,
954 BaseValidator.cs, CustomValidator.cs, RepeatInfo.cs, TextBox.cs,
955 RequiredFieldValidator.cs, AdRotator.cs, TableHeaderCell.cs,
956 ImageMap.cs, Panel.cs, CompareValidator.cs, Calendar.cs, ListBox.cs,
957 TableCell.cs, WebControl.cs, ImageButton.cs, TableItemStyle.cs:
958 refactoring, used AddAttribute overload without encoding on known attribute
961 2007-08-01 Igor Zelmanovich <igorz@mainsoft.com>
963 * DropDownList.cs: fixed onchange attibute.
965 2007-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
967 * ListItemCollection.cs: fixed LoadViewState, items restored from
968 viewstate were not saved, fixes bug #82192
970 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
972 * BaseValidator.cs: All client scripts are rendered
973 according IsMultiForm property.
975 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
977 * TreeView.cs: refactoring:
979 used ClientScriptManager.GetCallbackEventReference API instead calling
980 WebForm_DoCallback explicit.
982 2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
984 * BaseValidator.cs: for NET_2_0: fixed client side validation.
985 validation is performed in WebForm_DoPostback,
986 and there is no need to do it twice in ValidatorOnSubmit.
988 2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
990 * Calendar.cs: fixed: correct 'id' attribute is rendered.
992 2007-07-10 Vladimir Krasnov <vladimirk@mainsoft.com>
994 * ListItemCollection.cs: optimized SetDirty method
996 2007-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1000 * ListItemCollection.cs: controls based on ListControl should not save
1001 view state before than TrackViewState called
1003 2007-07-04 Vladimir Krasnov <vladimirk@mainsoft.com>
1005 * WebControl.cs: fixed AddDisplayStyleAttribute, returns if
1006 ControlStyle is not created
1008 2007-07-02 Marek Habersack <mhabersack@novell.com>
1010 * WebControl.cs: Revert r80368, as it wasn't the correct
1011 fix. Fixes bug #81945.
1013 * ListControl.cs: if there are no items in the collection, do not
1014 return an empty ArrayList from GetSelectedIndicesInternal. Fixes
1015 bug #81945 and properly fixes bug #78533.
1017 * ListItemCollection.cs: if there are no items in collection,
1020 2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
1023 the Pager is created but unvisible for only one page.
1024 the Patch submitted by Dumitru Ban [dban@dako.ro]
1026 2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
1031 does not requires data binding if any ITemplate property is set.
1033 2007-06-24 Vladimir Krasnov <vladimirk@mainsoft.com>
1035 * CheckBox.cs: fixed Render, HasAttributes called instead
1038 2007-06-24 Igor Zelmanovich <igorz@mainsoft.com>
1040 * GridView.cs: fixed AllowPaging feature:
1041 When the AllowPaging is true the GridView control should automatically
1042 hide the pager row when the data source contains fewer than 2 records.
1043 patch Patch submitted by Dumitru Ban [dban@dako.ro]
1045 2007-06-20 Marek Habersack <mhabersack@novell.com>
1047 * WebControl.cs: if savedState is a Triplet, take the actual state
1048 data from savedState.First. Also make sure that the data is a
1049 Pair. Fixes bug #78533.
1051 * DataSourceCacheManager.cs: use HttpContext.Current.InternalCache
1052 to keep private entries.
1053 * XmlDataSource.cs: as above
1055 2007-05-31 Vladimir Krasnov <vladimirk@mainsoft.com>
1057 * BaseValidator.cs: RegisterValidatorCommonScript, fixed type passed
1058 to ClientScriptManager
1060 2007-05-29 Igor Zelmanovich <igorz@mainsoft.com>
1062 * ObjectDataSourceView.cs:
1063 * SiteMapDataSource.cs:
1065 * SqlDataSourceView.cs:
1066 DataSourceChanged and DataSourceViewChanged are raised in right case, when
1067 different properties changed their value.
1069 2007-05-27 Igor Zelmanovich <igorz@mainsoft.com>
1071 * ObjectDataSourceView.cs: fixed SelectMethod and SelectCountMethod properties:
1072 when changed, DataSourceViewChanged event is raised.
1074 * SqlDataSourceView: fixed SelectCommand property:
1075 when changed, DataSourceViewChanged event is raised.
1077 2007-05-25 Marek Habersack <mhabersack@novell.com>
1079 * ObjectDataSourceView.cs: CreateDataObject must pay attention to
1080 TypeConverter attributes on the property being converted.
1082 2007-05-24 Igor Zelmanovich <igorz@mainsoft.com>
1084 * Menu.cs: fixed: alt attribute is rendered as well.
1086 2007-05-16 Marek Habersack <mhabersack@novell.com>
1088 * CompareValidator.cs: formatting changes
1090 2007-05-15 Marek Habersack <mhabersack@novell.com>
1092 * ObjectDataSourceView.cs: refactoring - use
1093 HttpApplication.LoadType to look up types.
1095 2007-05-10 Marek Habersack <mhabersack@novell.com>
1097 * Table.cs: render rows, not controls
1099 * HyperLink.cs: RenderContents must check if the render method
1100 delegate is present and, if yes, call the base RenderContents.
1102 * LinkButton.cs: as above.
1104 * Label.cs: as above.
1106 * TableCell.cs: as above.
1107 This change makes the HeaderTemplate in the Wizard control work.
1109 * Wizard.cs: if a next/previous step handler modifies
1110 ActiveStepIndex do not, respectively, increase/decrease the
1111 current step, but use whatever was set in the handler.
1113 2007-05-09 Marek Habersack <mhabersack@novell.com>
1115 * TreeNodeStyleCollection.cs: do not set font's underline flag to
1116 false, set it to its own value instead.
1118 * TreeView.cs: if level style exists and has ChildNodesPadding
1119 set, it takes precedence over the node style setting (if any).
1121 2007-05-08 Marek Habersack <mhabersack@novell.com>
1123 * TreeView.cs: children padding is rendered only before and after
1124 the children are rendered, not between them. Also, render padding
1125 only if there are any nodes to follow the current one.
1127 2007-05-07 Marek Habersack <mhabersack@novell.com>
1129 * Wizard.cs: additional checks to see whether the wizard needs to
1130 move to a next step or not. Fixes bug #81532. Patch sent by Mike
1131 Morano <mmorano@mikeandwan.us>, thanks!
1133 2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>
1135 * FormView.cs: fixed:
1136 avoid NullReferenceException when used EditTemplate w/o binding
1137 directive such Eval or Bind.
1139 2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>
1141 * MenuItem.cs: fixed:
1142 when 'Value' property is not set, value of 'Text' property is used
1143 instead and vice versa.
1145 2007-05-06 Igor Zelmanovich <igorz@mainsoft.com>
1147 * TreeNode.cs: fixed:
1148 when 'Value' property is not set, value of 'Text' property is used
1149 instead and vice versa.
1151 2007-05-04 Marek Habersack <mhabersack@novell.com>
1153 * AdRotator.cs: use the new GetPhysicalFilePath method to look up
1154 the physical path of the ad file.
1156 2007-05-03 Marek Habersack <mhabersack@novell.com>
1158 * TreeView.cs: honor ChildNodesPadding of the NodeStyle.
1160 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
1162 * ControlPropertyNameConverter.css:
1163 * FontUnitConverter.cs:
1165 * ValidatedControlConverter.cs:
1168 2007-05-03 Marek Habersack <mhabersack@novell.com>
1170 * TreeNode.cs: correct version of the fix in r76488. Nodes
1171 retrieved from a navigation data source which have empty URL will
1174 * TreeView.cs: revert r76488, it wasn't entirely correct. I need
1175 to investigate the special cases it solved a bit more.
1177 2007-05-02 Igor Zelmanovich <igorz@mainsoft.com>
1179 * SqlDataSourceView.cs:
1180 make CancelSelectOnNullParameter property works.
1182 2007-05-01 Marek Habersack <mhabersack@novell.com>
1184 * BaseValidator.cs: do not use User-Agent directly, we must take
1185 ClientTarget into account.
1187 2007-04-30 Marek Habersack <mhabersack@novell.com>
1189 * TreeView.cs: bring rendering closer to the MS.NET rendering.
1191 * SqlDataSource.cs: do not catch the exception if ProviderName is
1192 not null or empty (as per docs and what MS.NET does).
1194 2007-04-19 Igor Zelmanovich <igorz@mainsoft.com>
1196 * ChangePassword.cs:
1197 does not accept invalid new password.
1199 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
1203 added MonoLimitation attributes
1205 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
1207 * BaseValidator.cs: for TARGET_J2EE:
1208 used Page.Request.Browser to determine RenderUplevel
1210 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1213 when databound with AutoGenerateColumns = true,
1214 data source enumerator created only once.
1216 2007-04-18 Marek Habersack <mhabersack@novell.com>
1218 * SiteMapDataSource.cs: query the site map for the current node
1219 when configured to use it as the start point. Fixes bug #81376,
1220 patch from Mike Morano <mmorano@mikeandwan.us>.
1222 * Calendar.cs: change year/month format to be culture aware. Fix
1223 for bug #81390. Patch submitted by Atsushi Enomoto
1224 <atsushi@ximian.com>
1226 2007-04-17 Daniel Nauck <dna@mono-project.de>
1228 * PasswordRecovery.cs: fixed typo (AnswerLabel.Text).
1230 2007-04-17 Marek Habersack <mhabersack@novell.com>
1232 * BaseValidator.cs: use the new uplevel browser detection code.
1234 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1236 * SqlDataSourceView.cs: fixed: InitializeParameters:
1237 restored flow, broken in r75137.
1239 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1241 * Menu.cs: popup menu is posed correctly if menu is placed within
1242 container with position=relative
1244 2007-04-12 Marek Habersack <mhabersack@novell.com>
1246 * LoginView.cs: do not call CreateChildControls directly from the
1247 IsAuthenticated setter since that would destroy the controls the
1248 user might've configured from their Page_PreRender method.
1249 Do not use IsAuthenticated in CreateChildControls since that
1250 prevents the _correct_ template from being instantiated before the
1251 control is transferred to the user's OnPreRender handler. Fixes
1254 2007-04-11 Marek Habersack <mhabersack@novell.com>
1256 * ImageButton.cs: implement the Enable property and do not
1257 register for post back if the control isn't enabled.
1259 2007-04-06 Marek Habersack <mhabersack@novell.com>
1261 * GridView.cs: don't render invisible fields. Fixes bug #80061.
1263 * DetailsView.cs: don't render invisible fields.
1265 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
1267 * Menu.cs: resolve selected MenuItem if bounded with SiteMapeDataSource.
1269 2007-04-05 Marek Habersack <mhabersack@novell.com>
1271 * BaseDataBoundControl.cs: restore the LAMESPEC note and code it
1272 describes - tests show this is what's happening on MS.NET as
1275 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
1278 * BaseDataBoundControl.cs:
1279 Break recursion when the property is set from within the OnSelect handler
1280 in user's code. fixes bug #81175.
1282 2007-04-05 Marek Habersack <mhabersack@novell.com>
1284 * SiteMapDataSource.cs: fix GetStartNode for situations when the
1285 current URL is not defined in the sitemap file. Fixes bug
1286 #81314. Patch from Mike Morano <mmorano@mikeandwan.us>.
1288 2007-04-03 Marek Habersack <mhabersack@novell.com>
1290 * BaseDataBoundControl.cs: adjust for lame specs on MSDN.
1292 2007-04-02 Gert Driesen <drieseng@users.sourceforge.net>
1294 * MenuItem.cs: Use INavigateUIData.Description as ToolTip. Fixed line
1297 2007-03-29 Adar Wesley <adarw@mainsoft.com>
1299 * ObjectDataSourceView.cs: fixed events so they are raized at the
1300 right times. Added many tests to verify the correct time.
1301 * SqlDataSourceView.cs: fixed events so they are raized at the right
1302 times. Added many tests to verify the correct time.
1304 2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
1308 avoid Exception if HierarchicalDataSourceView.Select() returns null.
1310 2007-03-22 Igor Zelmanovich <igorz@mainsoft.com>
1312 * ObjectDataSource.cs:
1313 * ObjectDataSourceView.cs:
1315 * SqlDataSourceView.cs:
1316 fixed flow: changes in Insert/Update/DeleteParameters does not
1317 cause DataSourceViewChanged event.
1319 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
1321 * BaseDataBoundControl.cs: fix as per MSDN - the property is set
1322 only if data binding doesn't occur.
1324 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
1326 * GridView.cs: fixed: PageIndex considers PageCount.
1328 2007-03-20 Marek Habersack <mhabersack@novell.com>
1330 * DataBoundControl.cs: avoid endless recursion here. Fixes bug #81175
1332 * LoginStatus.cs: render login/logout controls with the CssClass
1333 set from the parent control. Fixes bug #81196
1335 2007-03-19 Igor Zelmanovich <igorz@mainsoft.com>
1337 * DataGrid.cs: fixed Save/Load view state, applying styles.
1339 2007-03-12 Igor Zelmanovich <igorz@mainsoft.com>
1341 * Style.cs: optimization: used CssStyleCollection .ctor w/o parameters.
1343 2007-03-09 Marek Habersack <mhabersack@novell.com>
1345 * Login.cs: Make command name comparison case-insensitive in
1346 OnBubbleEvent. Patch from Mike Morano <mmorano@mikeandwan.us>
1348 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1350 * DataGrid.cs: fixed:
1351 Auto-generated columns are restored properly on postback from view state.
1353 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1356 when AddAttributesToRender(System.Web.UI.HtmlTextWriter, WebControl)
1357 is called, WebControl parameter is passed as argument to
1358 FillStyleAttributes (CssStyleCollection, IUrlResolutionService) method.
1360 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1364 fixed applying styles if ExtractTemplateRows=true.
1366 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1368 * DropDownList.cs: in 2.0 first item is rendered with selected attribute
1369 is Enabled=false and no selected items.
1371 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1373 * CheckBoxList.cs: in 2.0 access key attribute is rendered in 'input' tags.
1375 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1381 * RadioButtonList.cs:
1382 fixed: list controls consider ListItem.Attributes property on render.
1384 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1386 * CheckBox.cs: fixed: 'span' tag is not rendered if all attributes
1387 are rendered in 'input' tag.
1389 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1393 used "ONLY_1_1" instead "!NET_2_0"
1395 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1397 * BaseDataBoundControl.cs:
1398 * DataBoundControl.cs:
1399 * HierarchicalDataBoundControl.cs:
1400 refactoring: DataBoundControl and HierarchicalDataBoundControl use internal
1401 method in BaseDataBoundControl to find a data source control.
1403 2007-03-05 Marek Habersack <mhabersack@novell.com>
1405 * Unit.cs: Support parsing of units in the form ".9em" etc.
1407 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1409 * TemplateColumn.cs: fixed: if ItemTemplate is null, " " is rendered.
1411 2007-03-05 Marek Habersack <mhabersack@novell.com>
1413 * BaseValidator.cs: make validators work correctly with
1414 ListItems. Patch from Daniel Nauck <dna@informatik.uni-kiel.de>
1416 2007-03-04 Marek Habersack <mhabersack@novell.com>
1418 * HierarchicalDataBoundControl.cs: Use the method described below
1419 to get the data source named in DataSourceID.
1421 * BaseDataBoundControl.cs: add an internal method to find a data
1422 source control within all the naming containers above a given
1423 control. The method makes it possible to find controls that reside
1426 2007-03-01 Igor Zelmanovich <igorz@mainsoft.com>
1428 * Repeater.cs: fixed: data-binding flow for 2.0 features.
1430 2007-03-01 Igor Zelmanovich <igorz@mainsoft.com>
1433 * ParameterCollection.cs:
1434 fixed GetValue/s and UpdateValue/s.
1436 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1438 * TreeNodeCollection.cs:
1439 fixed Save/Load viewstate.
1441 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1443 * MenuItemCollection.cs:
1444 fixed Save/Load viewstate.
1446 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1448 * CreateUserWizard.cs:
1450 fixed CausesValidaion and ValidationGroup for navigation buttons.
1452 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1456 fixed LoadPostData to restore checked state for node's checkboxes.
1458 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1460 * TreeNodeCollection.cs: 'dirty' flag is assigned if 'marked' only
1462 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1464 * BaseDataBoundControl.cs: setting DataSource to null does not
1465 call ValidateDataSource.
1466 * HierarchicalDataBoundControl.cs: ValidateDataSource does not
1467 throw exception if argument is null.
1469 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1471 * WebControl.cs: implemented IsEnabled and HasAttributes.
1473 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1475 * BaseDataList.cs: fixed: data-binding flow for 2.0 features.
1477 2007-02-27 Marek Habersack <grendello@gmail.com>
1479 * FileUpload.cs: HasFile is true only if PostedFile is not null
1480 and it actually has an associated file.
1482 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1484 * LoginView.cs: fixed:
1485 ViewChanging and ViewChanged are fired.
1486 optimized Save/Load control state.
1488 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1490 * CreateUserWizard.cs: fixed: does not attempt to send email if
1491 MailDefinition is not defined.
1493 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1496 considers FormsAuthentication.ReturnUrl only if is placed in
1497 the login page defined in web.config.
1499 2007-02-23 Marek Habersack <grendello@gmail.com>
1501 * ObjectDataSourceView.cs: Fix saving/restoring the view state.
1503 * CreateUserWizard.cs: support for sending mail when a new user is
1504 created. Patch from dban@dako.ro.
1506 2007-02-22 Marek Habersack <grendello@gmail.com>
1508 * LoginStatus.cs: Handle OnLoggedOut properly. Patch from
1511 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1513 * ObjectDataSourceView.cs: fixed ViewState behavior to match MS. Added relevant tests.
1515 2007-02-20 Gert Driesen <drieseng@users.sourceforge.net>
1517 * Calendar.cs: Fixed bug #80881 by using Thread's CurrentCulture
1518 instead of CurrentUICulture for DateFormatInfo.
1520 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1522 * SqlDataSource.cs: fixed ViewState behavior to conform to MS. Added relevant tests.
1523 * SqlDataSourceView.cs: fixed ViewState behavior to conform to MS. Added relevant tests.
1525 2007-02-20 Igor Zelmanovich <igorz@mainsoft.com>
1527 * ChangePassword.cs: fixed:
1528 ChangePasswordContainer and SuccessContainer cannot be BindingContainer.
1530 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1532 * SqlDataSourceView.cs: Fixed parameter merging logic and some bug fixing.
1535 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
1540 implemented Form.SubmitDisabledControls feature.
1542 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1544 * GridView.cs: IsBindableType for decimal returns true.
1546 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1548 * Menu.js: client script: support IE6.
1550 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1552 * Menu.cs: fixed: considers item.ToolTip, render image inside 'a' tag.
1554 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
1556 * Button.cs, ImageButton.cs, LinkButton.cs: Hanlding of PostbackOptions for
1557 TARGET_J2EE is now centralized in ClientScriptManager.
1558 * TreeView.cs, DetailsView.cs, GridView.cs, TreeView.js, DetailsView.js,
1559 GridView.js: Added a field to the controls JavaScript 'data' object. The
1560 form is initialized to the page 'theForm'. This is used for J2EE portlets
1563 2006-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1566 first step is recognized as 'finish' if only two steps
1567 and last step is 'complete'
1569 2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
1571 * BaseValidator: ControlPropertiesValid is called on PreRender
1572 * CompareValidator.cs:
1573 * RangeValidator.cs: fixed ControlPropertiesValid, EvaluateIsValid.
1575 2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
1577 * BaseCompareValidator.cs: fixed: support for type=Currency on client side.
1579 2007-02-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1581 * ParameterCollection.cs: fixed IndexOfString, this indexer should be
1584 2007-02-13 Igor Zelmanovich <igorz@mainsoft.com>
1586 * TreeView.js: refactoring:
1587 removed TreeView_ErrorCallback, used TreeView_PopulateCallback instead.
1589 2007-02-13 Adar Wesley <adarw@mainsoft.com>
1591 * ObjectDataSourceView.cs: fixed parameter merging and added more tests
1593 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1595 * Literal.cs: implemented 2.0 feature - Mode.
1597 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1599 * ViewCollection.cs: fixed public API.
1601 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1603 * RepeaterItem.cs: implemented IDataItemContainer interface.
1605 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1607 * TreeNodeStyle.cs: fixed public API.
1609 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1611 * MenuItemStyle.cs: fixed public API.
1613 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1616 * DayRenderEventArgs.cs:
1617 implemented 2.0 feature - SelectUrl.
1619 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1621 * GridViewRowCollection.cs: implemented IsReadOnly property.
1623 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1625 * BaseValidator.cs: implemented SetFocusOnError feature.
1627 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1629 * Wizard.cs: refactoring:
1630 used ContainedTable for ID attribute is rendered properly.
1632 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1634 * CreateUserWizard.cs:
1638 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1640 * DataList.cs: fixed: OnBubbleEvent() will return true if event is handled
1642 2007-02-09 Gert Driesen <drieseng@users.sourceforge.net>
1644 * FontUnit.cs: Fixed ToString () to use current locale.
1646 2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>
1648 * BaseValidator.cs: fixed render, works in static mode properly
1649 * CreateUserWizard.cs: fixed display mode for validators.
1651 2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>
1655 implemented FormViewPagerRow class
1657 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1660 header and footer visibility is set at creation.
1662 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1664 * FormView.cs: fixed:
1665 header and footer are not created with empty row.
1667 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1669 * FormView.cs: fixed:
1670 works properly with not ICollection data source.
1672 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1674 * DetailsView.cs: fixed:
1675 PageIndex, CreateChildControls,
1676 works properly with not ICollection data source.
1678 2007-02-06 Eyal Alaluf <eyala@mainsoft.com>
1680 * Menu.cs ImageMap.cs Panel.cs TreeView.cs: Ensure that the NavigateUrl
1681 property is rendered as a RenderURL for J2EE portlets.
1683 2007-02-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1685 * BaseValidator.cs: refactored RegisterValidatorCommonScript to use
1686 RegisterClientScriptInclude instead of RegisterClientScriptBlock
1688 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1690 * DataBoundControl.cs:
1693 PerformDataBinding is called with RequiresDataBinding was set false
1695 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1698 fixed validation flow.
1700 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1703 fixed validation flow.
1705 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1707 * CustomValidator.cs:
1708 ValidateEmptyText is considered on client side.
1710 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1715 * DataControlButton.cs:
1716 * DataControlField.cs:
1719 Internal classes are used in databound controls for buttons
1720 are derived from right types. It allows to have access to them by casting
1721 to public types. This trick is used in one of starter kits of MS.
1723 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1725 * Panel.cs: fixed: reverted r71441.
1726 * TreeView.cs: used internal RegisterWebFormClientScript API
1727 to cause the relevant script be included.
1729 2007-02-01 Adar Wesley <adarw@mainsoft.com>
1731 * FormView.cs: fixed events ModeChanging and ModeChanged
1732 to be raized in all relevant situations.
1734 2007-02-01 Igor Zelmanovich <igorz@mainsoft.com>
1736 * ValidationSammary.cs: fixed:
1737 control is rendered even if there is no validators on the page.
1738 important if the page contain a client side script that refer to the
1739 id of the validation summary div.
1741 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1746 * RadioButtonList.cs:
1747 EnsureDataBound is called when PostData is processed to restore
1748 'state' of control if EnableViewState is false
1750 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1752 * GridView.cs: fixed:
1753 RowDataBound is fired for PagerRow.
1754 Styles are applied using MergeWith instead CopyFrom
1755 to allow using custom styles for rows in code-behind.
1757 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1759 * GridView.cs: fixed: RowCommand event is fired properly.
1761 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1763 * GridView.cs: fixed: created rows are added in table after initialization.
1766 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1768 * Panel.cs: fixed 'background-image' attribute.
1770 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1772 * BaseDataBoundControl.cs:
1773 * DataBoundControl.cs:
1774 fixed DataBinding flow: RequiresDataBinding is set to false in
1776 * HierarchicalDataBoundControl.cs: implemented MarkAsDataBound().
1778 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1782 fixed DataBinding flow for Insert mode.
1784 2007-01-30 Igor Zelmanovich <igorz@mainsoft.com>
1787 does not RegisterRequiresPostBack if is not enabled.
1789 2007-01-30 Igor Zelmanovich <igorz@mainsoft.com>
1793 fixed PopulateOnDemand: used UniqueID to call WebForms_DoCallBack().
1795 2007-01-29 Igor Zelmanovich <igorz@mainsoft.com>
1797 * MultyView.cs: OnActiveViewChanged is called.
1799 2007-01-29 Vladimir Krasnov <vladimirk@mainsoft.com>
1801 * Panel.cs: fixed AddAttributesToRender for 2.0, text align should be
1804 2007-01-29 Adar Wesley <adarw@mainsoft.com>
1806 * EditCommandColumn.cs: implemented CausesValidation and
1807 ValidationGroup and coresponding tests.
1808 * DataGrid.cs: fixed generated table to be compatible with MS 2.0
1810 2007-01-28 Vladimir Krasnov <vladimirk@mainsoft.com>
1812 * WebControl.cs: added internal method AddDisplayStyleAttribute for
1813 display:inline-block style attribute
1816 * CheckBox.cs: added call to AddDisplayStyleAttribute on rendering
1818 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
1820 * TreeView.js: Used WebForm_GetFormFromCtrl to lookup the form.
1822 2007-01-24 Vladimir Krasnov <vladimirk@mainsoft.com>
1824 * TextBox.cs: implemented AutoCompleteType property, fixed
1825 AddAttributesToRender
1827 2007-01-24 Ilya Kharmatsky <ilya -at- decode-systems.com>
1829 * DetailsView.cs: fixed problems with rendering of control, when
1830 empty data source is provided. Respective tests are provided
1831 in DetailsViewTest.cs
1833 2007-01-21 Konstantin Triger <kostat@mainsoft.com>
1835 * TreeView.js, DetailsView.js, Menu.js, GridView.js:
1836 suppress exception if eval() fails.
1838 2007-01-20 Miguel de Icaza <miguel@novell.com>
1840 * DataControlFieldCollection.cs (RemoveAt): remove unused
1843 * RoleGroupCollection.cs (OnValidate): Flag as protected, as it
1846 * RadioButton.cs (RaisePostDataChangedEvent): This method was not
1847 used in 1.0, so put the whole method in 2.0
1849 2007-01-18 Adar Wesley <adarw@mainsoft.com>
1851 * Xml.cs: added support for XPathNavigator, fixed DocumentContent
1852 to be compatible with MS 2.0, implemented EnableTheming, implemented
1853 SkinID, fixed Focus behavior.
1855 2007-01-18 Vladimir Krasnov <vladimirk@mainsoft.com>
1857 * Menu.js, Menu.js: added null reference checking for every getTree or
1860 2007-01-18 Adar Wesley <adarw@mainsoft.com>
1862 * SiteMapDataSource.cs: implemented logic of GetStartNode when
1863 StartingNodeOffset is positive.
1865 2007-01-17 Konstantin Triger <kostat@mainsoft.com>
1867 * BaseValidator.cs: ToString the validating property value or
1868 if null return an empty string.
1870 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1872 * TreeView.cs: fixed RegisterStyle, style names should be without
1873 leading underscore. fixed RenderNode, node icons should be taken also
1876 2007-01-17 Adar Wesley <adarw@mainsoft.com>
1878 * Repeater.cs: refactored GetData to return data both from DataSource
1879 and DataSrouceID, Implemented EnableTheming, updated initialization of
1880 DataBinding according to the pattern of BaseDataBoundControl, fixed
1881 SelectArguments implementation to call the virtual
1882 CreateDataSourceSelectArguments method.
1884 2007-01-17 Konstantin Triger <kostat@mainsoft.com>
1886 * GridView.cs: don't force creating rows collection when SelectedIndex
1887 changes; EnsureDatabound on select.
1889 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1891 * TreeNode.cs: fixed Bind, fixed Value updating
1893 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1895 * DataList.cs: fixed OnBubbleEvent, added SelectedIndex updating
1897 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1899 * DetailsView.cs: fixed CreateChildControls, PageIndex cannot be less
1902 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
1904 * DetailsView.cs: fixed CreateChildControls, PageIndex should be less
1905 or equal to PageCount
1907 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
1909 * Menu.cs: added z-index attribute to popup div's.
1911 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
1913 * FileUpload.cs: fixed FileName property, should return filename
1914 without full path on client side
1916 2007-01-15 Ilya Kharmatsky <ilya -at- decode-systems.com>
1921 Implemented the protected net_2_0 method 'VerifyMultiSelect' with
1922 proper overloading in derived types.
1924 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
1927 considers INavigateUIData.NavigateUrl when bound.
1929 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
1931 * CompleteWizardStep.cs
1932 * CreateUserWizard.cs
1933 * CreateUserWizardStep.cs
1934 * TemplatedWizardStep.cs
1936 make the design complied to .NET
1937 build all possible controls at once and manage render by Visible property
1939 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
1940 * Button.cs, HyperLink.cs, DataGrid.cs, ImageButton.cs, LinkButton.cs,
1941 PagedDataSource.cs: Added J2EE Portal support for TARGET_J2EE.
1943 2007-01-14 Ilya Kharmatsky <ilyak-at-mainsoft.com>
1944 * BaseCompareValidator
1946 Added support for CultureInvariantValues property, which should be
1947 counted in new 2.0 methods such as - Compare, Convert etc. The code
1948 has been changed in such way, that the old - 1.1 method implementation
1949 could use the new methods defined for 2.0 version.
1951 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
1953 * XmlDataSource.cs: refactored to use cached collection.
1954 * SqlDataSource.cs: refactored to use cached collection;
1955 don't throw exception on 'DefaultView'.
1956 * ObjectDataSource.cs: refactored to use cached collection.
1958 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
1960 * ObjectDataSourceView.cs: consider parameter names and
1961 DataObjectMethodAttribute during method resolution.
1963 2007-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
1965 * SqlDataSourceView.cs: fixed OnUpdating, OnInserting call with
1966 SqlDataSourceCommandEventArgs
1968 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
1970 * ObjectDataSourceView.cs: use case unsensitive comparer for
1971 parameters collection.
1973 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
1975 * LoginStatus.cs: fixed: not causes page validation.
1977 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
1979 * CreateUserWizard.cs: fixed: resolves ErrorMessage control correct.
1980 * CreateUserWizardStep.cs:
1982 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
1984 * TreeView.cs: fixed: SelectedNode, CheckedNodes.
1986 * TreeNodeCollection.cs:
1988 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
1990 * GridView.cs: fixed: header and footer does not appear in no items.
1991 * CompositeDataBoundControl.cs:
1993 2007-01-09 Konstantin Triger <kostat@mainsoft.com>
1995 * AdRotator.cs: Backport the fix for AdRotator AbsoluteUri to 1.1.
1997 2007-01-09 Igor Zelmanovich <igorz@mainsoft.com>
1999 * GridView.cs: fixed: SelectedDataKey.
2001 2007-01-09 Igor Zelmanovich <igorz@mainsoft.com>
2005 implemented 2.0 features.
2007 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2009 * SqlDataSourceView.cs: fixed parameters init for ExecuteUpdate
2011 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2013 * DataSourceCacheManager.cs:
2014 * ObjectDataSource.cs:
2016 fixed: cache considers parameters values changes.
2018 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2020 * DetailsView.cs: fixed DeleteItem, excluded keys for new values
2021 * SqlDataSourceView.cs: fixed ExecuteDelete, check cancel in
2024 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2026 * GridView.cs: fixed: show all rows when AllowPaging=false
2028 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2030 * SqlDataSourceView.cs: fixed CreateDbParameter, used DBNull for value=null.
2032 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2034 * ButtonField.cs: fixed: consider its CausesValidation property.
2036 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
2038 * GridView.cs: fixed:
2039 ReadOnly property is false for AutoGeneratedColumn if field is DataKey.
2040 causesValidation parameter is considered properly in UpdateRow.
2041 OldValues contains readonly fields values
2043 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2045 * SqlDataSourceView.cs: fixed InitializeParameters, added
2046 ParameterPrefix when check that param is already in collection
2048 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
2050 * AdRotator.cs: fixed: considers absolute uri such html://......
2052 2007-01-07 Vladimir Krasnov <vladimirk@mainsoft.com>
2054 * SqlDataSourceView.cs: fixed insert, delete, update methods, added
2055 calls to OnDataSourceViewChanged
2057 2007-01-07 Vladimir Krasnov <vladimirk@mainsoft.com>
2059 * added ProfileParameter.cs
2061 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
2063 * Label.cs: fixed: according MSDN OnPreRender is not overridden.
2065 2007-01-04 Adar Wesley <adarw@mainsoft.com>
2067 * ImageButton.cs: implemented GenerateEmptyAlternateText
2069 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
2071 * FormView.cs: fixed data binding flow considers Insert mode.
2073 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
2075 * DataBoundControl.cs: fixed Init flow.
2077 2007-01-4 Adar Wesley <adarw@mainsoft.com>
2079 * RadioButtonList.cs: Implemented properties of IRepeatInfoUser as public virtual
2081 2007-01-03 Marek Habersack <grendello@gmail.com>
2083 * ObjectDataSourceView.cs: Look for unqualified type also in the top-level assemblies.
2085 2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>
2087 * FormView.cs: fixed PageIndex property.
2089 2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>
2091 * ListControl.cs: fixed SelectedValue and SelectedIndex properties.
2092 set accessor works differently in 2.0.
2094 2007-01-02 Vladimir Krasnov <vladimirk@mainsoft.com>
2096 * SqlDataSourceView.cs,ObjectDataSourceView.cs: fixed parameter merge
2097 when values and old values are null
2099 2006-01-02 Igor Zelmanovich <igorz@mainsoft.com>
2101 * ListControl.cs: reverted r70112, fixed in r70319.
2103 2007-01-02 Igor Zelmanovich <igorz@mainsoft.com>
2105 * DetailsView.cs: fixed CreateAutoGeneratedRows.
2107 2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
2109 * AutoGeneratedField.cs: is editable in Insest mode.
2110 * BoundField.cs: is editable in Insest mode.
2111 * CheckBoxField.cs: is editable in Insest mode.
2112 * DetailsView.cs: fixed DataBinding flow.
2114 2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
2116 * BaseDataBoundControl.cs:
2117 * CompositeDataBoundControl.cs: fixed DataBinding flow.
2119 2006-12-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2121 * LinkButton.cs: show the validation summary when client validation
2122 and linkbuttons are used. Patch by Juraj Skripsky.
2124 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
2126 * TextBox.cs: consider ToolTip property
2128 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
2130 * ContainedTable.cs:
2131 * DataControlButton.cs:
2132 * DetailsView.cs: fixed EnablePagingCallbacks
2135 * GridView.js: fixed EnableSortingAndPagingCallbacks
2137 2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
2140 ResolveClientUrl used with LineImagesFolder, ExpandImageUrl,
2141 CollapseImageUrl and NoExpandImageUrl properties.
2143 2006-12-28 Vladimir Krasnov <vladimirk@mainsoft.com>
2145 * SqlDataSource.cs: Added parameters update on OnInit
2147 2006-12-28 Vladimir Krasnov <vladimirk@mainsoft.com>
2149 * LoginView.cs: fixed rendering LoggedInTemplate even after user
2152 2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
2157 control's behavior depends on using DataSource or DataSourceID
2158 property for binding
2160 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
2162 * CommandField.cs: fixed:
2163 when ShowEditButton=false Update/Cancel button doesn't appear.
2164 when ShowInsertButton=false Insert/Cancel button doesn't appear.
2166 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2168 * Login.cs: fixed AuthenticateUser, should redirect to ReturnUrl when
2170 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2172 * Parameter.cs: fixed ConvertValue to coorect handle TypeCode.Empty
2173 * ObjectDataSourceView.cs: fixed MergeParameterValues,
2174 call Parameter.ConvertValue
2175 fixed ConvertParameter to hanlde TypeCode.Empty
2176 * SqlDataSourceView.cs: fixed InitializeParameters,
2177 call Parameter.ConvertValue
2178 fixed ParameterPrefix property
2179 fixed CreateDbParameter, added usege of ParameterPrefix
2181 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
2183 * ListControl.cs: fixed: when is used with DataSourceID data bind is not
2184 perfomed on PostBack because Items collection is restored from View state.
2186 2006-12-26 Igor Zelmanovich <igorz@mainsoft.com>
2188 * DataGridPagerStyle.cs:
2193 * TableItemStyle.cs:
2198 fixed: Load/Save viewstate of WebControl does not call Load/Save viewstate
2199 for it's ControlStyle, but the shared ViewState is used to manage style's
2202 2006-12-21 Igor Zelmanovich <igorz@mainsoft.com>
2204 * CompleteWizardStep.cs:
2205 * CreateUserWizard.cs:
2206 * CreateUserWizardStep.cs:
2207 * TemplatedWizardStep.cs:
2209 fixed: CreateUserWizard works properly in advanced scenarios
2210 such being used with additional steps or/and with custom templates.
2211 Styles are aplied properly.
2213 2006-12-21 Vladimir Krasnov <vladimirk@mainsoft.com>
2215 * SqlDataSourceView.cs: fixed InitializeParameters, parameters order
2216 parameters case insensetive search
2217 * ObjectDataSourceView.cs: fixed MergeParameterValues, parameters
2218 case insensetive search
2220 2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
2222 * Menu.cs: fixed: ResolveClientUrl used with src and href attributes
2224 2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
2228 TreeNodeCollapsed is not raised for leaf node.
2230 2006-12-14 Vladimir Krasnov <vladimirk@mainsoft.com>
2232 * DataGrid.cs, RepeatInfo.cs: fixed accessibility features
2234 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2236 * Calendar.cs: support DayNameFormat.Shortest
2238 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2240 * HiddenField.cs: implemented
2242 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2244 * FormView.cs: fixed: FillRowDataKey
2245 * DetailsView.cs: fixed: FillRowDataKey
2247 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2249 * TreeView.cs: fixed: ResolveClientUrl used with ImageUrl and NavigateUrl
2251 2006-12-14 Vladimir Krasnov <vladimirk@mainsoft.com>
2253 * Login.cs: refactored rendering, fixed OnAuthenticate event
2255 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
2257 * GridView.cs: fixed: Update works not only for EditRow
2259 * CompositeDataBoundControl.cs:
2261 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
2263 * RadioButton.cs: fixed:
2264 When GroupName is not defined UniqueID is used instead for name attribute.
2265 CheckedChanged is raised only when control is checked.
2267 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2269 * Menu.cs: fixed: rendering.
2271 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2273 * Menu.cs: fixed: rendering.
2275 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2280 fixed rendering for 2.0
2282 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
2284 * DetaisView.cs: fixed: rendering.
2285 * DataControlButton.cs:
2288 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
2290 * FormView.cs: fixed: avoid empty row rendering.
2292 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2294 * AdRotator.cs: fixed:
2295 MSDN: The ImageUrl and NavigateUrl attributes can be a full URL, a
2296 root-relative path, or a relative path. If you use a root-relative path,
2297 the path is relative to the same Web site. If you use a relative path,
2298 the path is relative to the directory that contains the advertisement file.
2300 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2302 * BaseCompareValidator.cs: fixed: support for type=Date on client side.
2304 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2306 * TreeView.cs: fixed: support for event validation.
2308 2006-12-04 Igor Zelmanovich <igorz@mainsoft.com>
2310 * DataGridPagerStyle.cs: chenged values of DataGridPagerStyles flags.
2312 2006-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2314 * CreateUserWizard.cs: implement GeneratePassword based on Membership.
2316 2006-11-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2318 * Wizard.cs: fixed GetStepType method that returned wrong type if the
2319 last step type is Complete.
2320 fixed ProcessEvent method, corrected FinishButtonClick behavior
2322 2006-11-26 Marek Habersack <grendello@gmail.com>
2324 * Calendar.cs: Fixed event validation registration. Now it
2325 registers all the arguments that can be passed by this control to
2328 2006-11-25 Marek Habersack <grendello@gmail.com>
2330 * FileUpload.cs: Implementation of SaveAs
2332 * TreeView.cs: A few optimizations for empty style collections.
2334 * Menu.cs: A few optimizations for empty style collections.
2336 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
2338 * BoundField.cs: fixed: GetDesignTimeValue()
2340 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
2342 * SiteMapDataSource.cs: fixed: GetViewNames()
2344 2006-11-23 Vladimir Krasnov <vladimirk@mainsoft.com>
2346 * ChangePassword.cs: implemented functionality
2347 * MailDefinition.cs: implemented CreateMailMessage method
2348 * PasswordRecovery.cs: implemented functionality
2350 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2352 * CircleHotSpot.cs: fixed:
2353 setting Radius with value <0 throws ArgumentOutOfRangeException.
2355 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2357 * CookieParameter.cs: fixed Evaluate method.
2359 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2361 * Parameter.cs: fixed Evaluate, ToString methods.
2362 * QueryStringParameter.cs: fixed Evaluate method.
2363 * SessionParameter.cs: fixed Evaluate method.
2365 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2367 * ImageMap.cs: fixed rendering.
2369 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2371 * HotSpot.cs: fixed: AccessKey and HotSpotMode
2372 throw ArgumentOutOfRangeException.
2374 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2376 * ControlParameter.cs: fixed: Evaluate method
2377 throws exceptions correctly.
2379 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2381 * CheckBox.cs: fixed: new 2.0 features such
2382 LabelAttributes and InputAttributes.
2384 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2386 * GridView.cs: fixed: header, footer and empty rows are databound.
2388 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2390 * Style.cs: added internal helper method RemoveTextStyles.
2392 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2394 * Button.cs: fixed: support for event validation.
2395 * CheckBox.cs: fixed: support for event validation.
2396 * FormView.cs: fixed: support for event validation.
2397 * ImageButton.cs: fixed: support for event validation.
2398 * ListBox.cs: fixed: support for event validation.
2399 * TextBox.cs: fixed: support for event validation.
2401 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2403 * DropDownList.cs: fixed: support for event validation.
2405 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2407 * LinkButton.cs: optimized: support for event validation.
2408 * DataControlButton.cs: Added support for event validation.
2409 * DetailsView.cs: fixed: RowIndex for DetailsViewRow.
2411 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2413 * LinkButton.cs: Added support for event validation.
2415 2006-11-17 Marek Habersack <grendello@gmail.com>
2417 * ImageButton.cs: Added support for event validation.
2419 * ListBox.cs: Added support for event validation.
2421 * Calendar.cs: Added support for event validation.
2423 * DropDownList.cs: Added support for event validation.
2425 * FormView.cs: Added support for event validation.
2427 * RadioButtonList.cs: Added support for event validation.
2429 * TextBox.cs: Added support for event validation.
2431 * BulletedList.cs: Added support for event validation.
2433 * CheckBox.cs: Added support for event validation.
2435 * Button.cs: Added support for event validation.
2437 2006-11-16 Igor Zelmanovich <igorz@mainsoft.com>
2439 * CreateUserWizard.cs: fixed: ActiveStepIndex property.
2441 2006-11-15 Igor Zelmanovich <igorz@mainsoft.com>
2443 * ListControl.cs: fixed: DataBinding for 2.0, for 1.x - refactoring only.
2445 2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>
2447 * GridView.cs: fixed: Rows property, DataBinding flow.
2448 * DataBoundControl.cs:
2449 * BaseDataBoundControl.cs:
2451 2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>
2453 * CompositeDataBoundControl.cs: fixed:
2454 DataBind call Controls.Clear().
2456 2006-11-13 Igor Zelmanovich <igorz@mainsoft.com>
2458 * CompositeDataBoundControl.cs: fixed:
2459 DataBind sets ChildControlsCreated=true.
2461 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2463 * Login.cs: fixed CreateChildControls, throws exception if needed
2465 * LoginView.cs: fixed CreateChildControls, check templates for null
2467 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2469 * Wizard.cs: fixed ActiveStepIndex property, fixed SideBar button
2470 rendering, fixed history updating
2471 * WizardStepCollection.cs: fixed implemented interfaces
2473 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2475 * XmlDataSource.cs: CacheKeyDependency fixed
2477 2006-11-12 Igor Zelmanovich <igorz@mainsoft.com>
2479 * DetailsView.cs: fixed: DataKeys, PageCount, DataBinding flow.
2481 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2483 * DetailsViewPagerRow.cs: fixed: must be not resolved as BindingContainer.
2485 2006-11-09 Vladimir Krasnov <vladimirk@mainsoft.com>
2487 * ParameterCollection.cs: fixed SetDirtyObject method
2488 * ObjectDataSource.cs, ObjectDataSourceView.cs: removed VievState
2489 utilization for control's properties, implemented caching
2490 * SqlDataSource.cs, SqlDataSourceView.cs: implemented caching
2492 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2494 * GridView.cs: fixed: DataKeys, PageCount, DataBinding flow.
2496 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2498 * DataBoundControl.cs: fixed:
2499 ConfirmInitState method s called by
2500 the DataBoundControl class in its OnLoad method.
2502 2006-11-06 Igor Zelmanovich <igorz@mainsoft.com>
2504 * FormView.cs: fixed: DataBinding flow.
2506 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
2508 * CustomValidator.cs: implemented ValidateEmptyText fixture.
2510 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
2512 * BaseCompareValidator.cs: fixed: CultureInvariantValues, Type properties.
2514 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2516 * Menu.cs: fixed: RenderEndTag.
2517 Dynamic menu is rendered when StaticDisplayLevels=1
2519 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2521 * GridView.cs: fixed: UpdateRow, DeleteRow, RowCreated.
2523 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2525 * FormView.cs: fixed: UpdateItem, DeleteItem.
2527 2006-10-31 Igor Zelmanovich <igorz@mainsoft.com>
2529 * DetailsView.cs: fixed: PageIndex, UpdateItem, InsertItem.
2531 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2533 * RadioButtonList.cs: fixed: has no html output when Items.Count=0.
2535 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2537 * ListControl.cs: fixed: setting SelectedVolue for 2.0.
2539 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2541 * DataBoundControl: fixed: ValidateDataSource allows null as dataSource.
2543 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2545 * ListControl.cs: fixed: assigning SelectedIndex with too hight value.
2547 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2549 * ListControl.cs: fixed: DataBinding for 2.0.
2550 for 1.x refactoring only.
2552 2006-10-25 Igor Zelmanovich <igorz@mainsoft.com>
2554 * ChangePassword.cs: new class was implemented.
2556 2006-10-25 Igor Zelmanovich <igorz@mainsoft.com>
2558 * EmbeddedMailObject.cs: new class was implemented.
2559 * EmbeddedMailObjectsCollection.cs: new class was implemented.
2560 * MailDefinition.cs: new class was implemented.
2562 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2564 * PagerSettings.cs: fixed: CreatePagerControl.
2566 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2568 * CommandField.cs: fixed:
2569 considers CaseValidation, ValidationGroup, ButtonType.
2570 * DataControlButton.cs: refactoring:
2572 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2574 * DetailsView.cs: implemented: GetCallbackScript method.
2576 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2578 * FormView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
2580 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2582 * FormFiew.cs: fixed: UpdateItem, InsertItem.
2584 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2586 * FormFiew.cs: fixed: PageIndex, rendering.
2588 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2590 * DropDownList.cs: fixed: rendering "name" attribute".
2592 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2594 * GridView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
2595 * DataControlButton.cs:
2596 * CommandField.cs: CausesValidation feature must be implemented other way
2598 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2600 * CompositeDataBoundControl.cs: fixed: CreateChildControls flow.
2602 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2604 * FormView.cs: fixed: OnBubbleEvent returns true when event is handled.
2606 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2608 * DetailsView.cs: fixed: OnBubbleEvent works properly.
2610 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2612 * DetailsView.cs: fixed: considers DataControlField.InsertVisible.
2614 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2616 * DetailsView.cs: fixed: CurrentMode property.
2618 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2620 * DetailsView.cs: fixed: current state are not changed during paging.
2622 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2624 * DetailsView.cs: fixed:
2625 in Insert mode Select not invoked from DataSource
2627 2006-10-18 Konstantin Triger <kostat@mainsoft.com>
2629 * ObjectDataSourceView.cs: use Type.GetType for loading full qualified types.
2631 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2633 * FormView.cs: fixed: CreateDataSourceSelectArguments method.
2634 (corresponding test does not work because bug in ObjectDataSourceView)
2636 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2638 * DataBoundControl.cs: fixed: DataBind calls
2639 CreateDataSourceSelectArguments() and stores result in SelectArguments
2641 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2645 fixed: EnablePagingCallbacks feature.
2646 when postback is invoked after callback control state is restored
2649 2006-10-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2651 * SqlDataSource.cs, SqlDataSourceView.cs: redesign and bug fixes
2653 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2655 * DetailsView.cs: fixed: CreateDataSourceSelectArguments method.
2656 (corresponding test does not work because bug in ObjectDataSourceView)
2658 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2660 * GridView.cs: fixed: EnableSortingAndPagingCallbacks feature.
2661 when postback is invoked after callback control state is restored
2664 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2666 * GridView.cs: fixed: Sorting feature.
2667 When sorting EditIndex and PageIndex are reseted
2669 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2671 * GridView.cs: fixed: Sorting feature.
2672 CreateDataSourceSelectArguments considers SortExpression and SortDirection.
2673 (corresponding test does not work because bug in ObjectDataSourceView)
2675 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
2677 * GridView.cs: fixed:
2678 CreateDataSourceSelectArguments works according to MSDN.
2679 (corresponding test does not work because bug in ObjectDataSourceView)
2681 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
2683 * ObjectDataSourceView.cs: fixed:
2684 CanRetrieveTotalRowCount returns true if EnablePaging = false
2686 2006-10-10 Igor Zelmanovich <igorz@mainsoft.com>
2688 * DataBoundControl.cs: fixed: DataBind flow
2689 CreateDataSourceSelectArguments() is called
2690 each time as DataBind() is called
2692 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
2694 * BoundField.cs: implemented ValidateSupportsCallback().
2696 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
2698 * CommandField.cs: ValidateSupportsCallback(): exception's message.
2700 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
2702 * FormView.cs: fixed: CurrentMode property.
2704 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
2710 reverted r66222, problem solved in r66283: command buttons inherit ForeColor
2712 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2714 * Image.cs: write 'alt' after 'src' so that the HyperLink test do not
2717 2006-10-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2719 * HyperLink.cs: don't render the img tag 'by hand' but use an Image
2720 instead, which takes care of the 0/0px case. Also set the ToolTip
2721 property. Fixes bug #79585.
2723 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2725 * DetailsView.cs: optimization for previous patch
2727 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2729 * FormView.cs: optimization for previous patch
2731 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2734 * DetailsViewRow.cs:
2735 implemented PrepareControlHierarchy()
2736 styles are applied correct
2738 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2741 implemented PrepareControlHierarchy()
2742 styles are applied correct
2744 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2747 * DataControlButton.cs:
2748 * DataControlField.cs:
2749 implemented PrepareControlHierarchy()
2750 styles are applied correct
2751 command buttons inherit ForeColor
2753 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2755 * WebControl.cs: fixed: CreateControlStyle()
2757 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
2763 corrected pager rendering: Color style applied to A tag,
2764 Input type="image" used if ImageUrl is not empty.
2766 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
2768 * GridView.cs: corrected rendering
2769 * ContainedTable.cs: added new helper class
2771 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
2773 * FormView.cs: fixed:
2774 in Insert mode Select not invoked from DataSource
2776 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
2778 * FormView.cs: fixed:
2779 Pager is not shown when page count < 1
2780 in Edit mode use EmptyDataTemplate if there is no DataItem
2781 when page changed FormView stays in current state.
2783 2006-09-28 Igor Zelmanovich <igorz@mainsoft.com>
2785 * FormView.cs: fixed: OnBubbleEvent works properly
2787 2006-09-25 Igor Zelmanovich <igorz@mainsoft.com>
2789 * DataBoundControl.cs: fixed: DataBind flow
2790 GetData return "empty" DataSourceView when no DataSource and DataSourceID
2791 was assigned to cause PerformDataBinding be called.
2793 2006-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2795 * DataList.cs: use ExtractTemplateRows to determine if the style is
2796 applied to the Table in a template or to its rows. Fixes bug #78058.
2798 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2800 * ListBox.cs: if the list is not enabled, don't require a postback.
2803 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2805 * HyperLink.cs: don't output the nabvigate url if disabled.
2806 * LinkButton.cs: always call base.AddAttributesToRender(). Don't output
2807 the link URL if disabled.
2810 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2812 * RadioButtonList.cs:
2813 make it to consider CausesValidation and ValidationGroup properties
2815 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2818 make it to consider CausesValidation and ValidationGroup properties
2820 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2823 Page.Validate() is called when CausesValidation=true
2825 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2828 make onclick attribute to consider ValidationGroup property.
2830 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2833 make rendering of the href attribute to consider ValidationGroup property.
2834 Page.Validate() is called when CausesValidation=true
2836 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2839 make rendering of the onchange attribute to consider ValidationGroup
2841 Page.Validate() is called when CausesValidation=true
2843 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2846 make rendering of the onclick attribute to consider ValidationGroup property
2847 Page.Validate() is called when CausesValidation=true
2849 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2852 VewState saving and restoring rolled back to 1.1 implementation
2853 (fixed corresponding test), corrected public interface (there are no
2854 overriden methods SaveControlState, LoadControlState and OnInit),
2855 implemented CausesValidation and ValidationGroup properties.
2857 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2860 make rendering of the onclick attribute to consider ValidationGroup property
2861 Page.Validate() is called when CausesValidation=true
2863 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
2866 implemented: RaisePostBackEvent,
2867 refactoring: GetPostBackOptions used to build onclick client event
2869 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
2871 * ImageButton.cs: implemented IButtonControl.Click, RaisePostBackEvent
2873 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
2875 * BaseValidator.cs: implemented ValidationGroup feature on client side
2876 * ValidationSummary.cs:
2878 2006-09-12 Igor Zelmanovich <igorz@mainsoft.com>
2880 * TreeView.cs: corrected rendering
2883 2006-09-11 Konstantin Triger <kostat@mainsoft.com>
2885 * Login.cs: ensure the urls are correctly resolved.
2887 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
2889 * TreeView.cs: corrected rendering: styles are applied correct
2893 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
2895 * TreeView.cs: corrected rendering: HoverNodeStyle works
2899 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
2901 * TreeNodeStyle.cs: fixed: ViewState restored properly
2903 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
2907 * TableItemStyle.cs:
2908 * DataGridPagerStyle.cs:
2909 refactoring: makes Style class more flexible for inheriting and reuse
2911 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
2913 * TreeView.cs: fixed: for PopulateOnDemand nodes expanded and checked
2914 state restored correct on PostBack.
2917 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2919 * ObjectDataSourceView.cs: correctly find the type when it is not in the
2920 executing assembly. Fixes bug #78321. Patch by Marek Habersack.
2922 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2924 * ControlParameter.cs: fix search for controls so that they use their
2925 NamingContainer, not the Page. Patch by Marek Habersack that fixes
2928 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2930 * Login.cs: fix problem with the login control and master pages.
2931 Patch by Marek Habersack that fixes bug #78219.
2933 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
2935 * TreeView.cs: fixed: populating nodes.
2938 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
2940 * TreeNode.cs: fixed: ToggleExpandState.
2942 2006-09-07 Andrew Skiba <andrews@mainsoft.com>
2944 * SqlDataSourceView.cs: return DataView from ExecuteSelect when
2945 DataSourceMode is DataSet.
2947 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
2949 * TreeView.cs: fixed: populating nodes flow.
2950 * TreeNodeCollection.cs
2953 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
2955 * TreeNodeCollection.cs: fixed: ViewState saved and restored correct.
2957 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
2959 * TreeView.cs: corrected rendering: RenderBeginTag, RenderEndTag.
2961 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
2963 * TreeView.cs: fixed: when specified value is not one of
2964 the TreeNodeTypes values exception is threw.
2966 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
2968 * TreeView.cs: fixed: when specified image set is not one of
2969 the TreeViewImageSet values exception is threw.
2971 2006-09-05 Igor Zelmanovich <igorz@mainsoft.com>
2973 * TreeNodeStyleCollection.cs: fixed: ViewState saved and restored correct.
2975 2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
2977 * Style.cs: implemented SetBit().
2979 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
2981 * CompareValidator.cs: fixed controltocompare attribute.
2983 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
2986 when login attempt was not successful FailureText is shown.
2988 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
2990 * CreateUserWizard.cs: fixed: InvalidPasswordErrorMessage
2991 is formatted correct.
2993 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
2995 * CreateUserWizard.cs:
2996 * CompleteWizardStep.cs:
2997 * CreateUserWizardStep.cs:
2999 fixed: ContinueButtonClick occurs when the user clicks
3000 the Continue button in the final user account creation step.
3001 ContinueDestinationPageUrl - redirected after clicking
3002 the Continue button on the success page.
3004 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3006 * Wizard.cs: refactoring: Button, ImageButton and LinkButton are used
3007 insted internal DataControlButton.
3009 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3011 * Button.cs: implemented GetPostBackOptions + refactoring
3013 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3015 * ImageButton.cs: implemented 2.0 features
3016 OnClientClick attached to onclick attribute.
3017 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
3018 generate onclick attribute.
3020 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3022 * LinkButton.cs: typo fix
3024 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3026 * Button.cs: refactoring
3028 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
3030 * LinkButton.cs: implemented 2.0 features
3031 OnClientClick attached to onclick attribute.
3032 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
3035 2006-08-29 Igor Zelmanovich <igorz@mainsoft.com>
3037 * Button.cs: implemented 2.0 features
3039 2006-08-28 Igor Zelmanovich <igorz@mainsoft.com>
3041 * Menu.cs: refactoring
3044 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3046 * TreeView.cs: fixed data binding
3048 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3050 * TreeNodeBinding.cs: fixed ToString method
3052 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
3054 * MenuItem.cs: typo fix
3056 2006-08-27 Vladimir Krasnov <vladimirk@mainsoft.com>
3058 * CreateUserWizardStep.cs: fixed validators message display
3060 2006-08-25 Kornél Pál <kornelpal@gmail.com>
3062 * FileUpload.cs: Use assembly name constants.
3064 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3066 * TemplateField.cs: fixed ExtractValuesFromCell, .net aspx parser not
3067 always creates ExtractTemplateValuesMethod delegate
3069 2006-08-24 Igor Zelmanovich <igorz@mainsoft.com>
3071 * TreeNodeBinding.cs: corrected public interface
3074 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3076 * TextBox.cs: fix for bugs #76771 and #79020. A test breaks for the 2.0
3077 case, but there are many others.
3079 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3081 * Menu.cs: corrected rendering of static and dynamic items
3084 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3088 fixed: AddAttributesToRender method calls FillStyleAttributes,
3089 text styles applied correct.
3091 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3094 fixed: when removed the names from the bag also removed FontStyles.Names flag from fontstyles.
3095 refactoring: Name and Names properties has same source in bag.
3097 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3099 * Style.cs: restored r63894: for 1.x is refactoring only
3101 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
3104 fixed: CopyFrom and MergeWith behave differently between 1.1 and 2.0.
3105 added ClearDefaults method for 2.0.
3107 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3109 * ObjectDataSourceStatusEventArgs.cs: ExceptionHandled default value
3112 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
3114 * SubMenuStyle.cs: fixed:
3115 Unit.ToString() already include unit (e.g. "3px")
3117 2006-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3120 * ChangeLog: revert r63894. It modified the 1.x profile, it wasn't
3121 submitted for review and it only added tests for the 2.0 profile.
3123 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3125 * FormView.cs: added explicit implementation of
3126 IDataItemContainer.DataItemIndex, as documented
3128 2006-08-17 Igor Zelmanovich <igorz@mainsoft.com>
3131 When style is registered with StyleSheet AddAttributesToRender method
3132 adds class attribute but not style to writer
3134 2006-08-15 Igor Zelmanovich <igorz@mainsoft.com>
3137 OnBubleEvent works properly - controls like Button, LinkButton nested into template
3138 can raise MenuItemClick event,
3139 ViewState of Items saved and restored properly.
3141 2006-08-14 Andrew Skiba <andrews@mainsoft.com>
3143 * TableStyle.cs: replace ResolveUrl with ResolveClientUrl to match
3146 2006-08-14 Igor Zelmanovich <igorz@mainsoft.com>
3148 * Menu.cs: fixed databinding feature:
3149 ensure that items initialization occurs only once
3151 2006-08-10 Igor Zelmanovich <igorz@mainsoft.com>
3153 * Menu.cs, MenuItem.cs: fixed databinding feature
3155 2006-08-09 Robert Jordan <robertj@gmx.net>
3157 * DataControlButton.cs, Image.cs, AdRotator.cs, HyperLink.cs:
3158 replace ResolveUrl with ResolveClientUrl to match MS.NET's
3159 behaviour. Fixes bug #77539.
3161 2006-08-09 Igor Zelmanovich <igorz@mainsoft.com>
3163 * HierarchicalDataBoundControl.cs: fixed DataBind flow
3165 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3171 * WebControl.cs: fixed ParseChildren attribute to be compliant
3174 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3176 * MultiView.cs: fixed: EnableTheming property
3178 2006-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3182 * TreeView.cs: Patch by Marek Habersack that fixes bug #78968 take 2.
3184 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3186 * Style.cs: fixed restoring FontInfo from ViewState
3188 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3190 * XmlDataSource.cs: implemented caching functionality
3192 2006-07-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3194 * PagerSettings.cs: Fixed the pager range calculation formula. The old
3195 one didn't work with more than 20 pages. Patch by Marek Habersack that
3198 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3200 * FormView.cs: fixes to make Render more similar to dotnet.
3202 2006-07-30 Vladimir Krasnov <vladimirk@mainsoft.com>
3204 * Wizard.cs: fixed return value of OnBubbleEvent
3206 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3208 * FormView.cs: init BottomPagerRow.ItemIndex with 0; gracefully
3209 handle null result of GetData().
3211 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3213 * FormView.cs: use TableStyle for ControlStyle.
3215 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3217 * FormView.cs: save DataKeyNames and DefaultMode in ControlState.
3219 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3221 * FormView.cs: init DataKeys and fix null reference.
3223 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3225 * TreeView.cs: several changes to improve compatibility with MS.
3226 Patch by Marek Habersack that fixes bug #77551.
3228 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3230 * Style.cs: output the text-decoration value even when it is 'none'.
3231 Patch by Marek Habersack that fixes bug #78968.
3233 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3235 * FormView.cs: initialize PageCount with 0; fix IsBindableType to
3238 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3240 * DetailsViewRowCollection.cs: returns this in SyncRoot.
3242 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3244 * FormView.cs: throw ArgumentOutOfRange exception on bad CellSpacing
3247 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3249 * ObjectDataSource.cs: add doc and fix usage of MergeParameterValues
3251 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3253 * AutoGeneratedField.cs: fix the internal constructor according to test
3254 DetailsView_CreateAutoGenerateRow.
3256 2006-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
3258 * XmlDataSource.cs: implemented XSLT, removed properties from
3260 * XmlDataSourceView.cs: fixed default xpath
3262 2006-07-26 Andrew Skiba <andrews@mainsoft.com>
3264 * DetailsView.cs: fix IsBindableType in accordance with MSDN and tests.
3266 2006-07-25 Vladimir Krasnov <vladimirk@mainsoft.com>
3268 * Wizard.cs: fixed ActiveStep property
3269 fixed templated side bar
3271 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
3273 * ImageField.cs: fix null reference bug.
3275 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
3277 * DetailsView.cs: init DataKey property with empty collection.
3278 * DataKey.cs: fix unexpected exception bug.
3279 * DataControlField.cs: override ToString according to MSDN.
3281 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3283 * DetailsView.cs: create table style in CreateControlStyle.
3285 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3287 * DetailsView.cs: don't throw the exception which .Net does not throw.
3289 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3291 * DetailsView.cs: save DefaultMode and DataKeyNames in control state,
3292 to match .Net; fix PageCount to match record count.
3294 2006-07-24 Vladimir Krasnov <vladimirk@mainsoft.com>
3296 * Menu.cs: fixed properties default values, fixed rendering
3299 2006-07-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3301 * Wizard.cs: implemented SkipLinkText, TagKey
3302 fixed rendering bugs, fixed templated button bar rendering
3303 fixed side bar rendering
3304 * WizardStepBase.cs: fixed Name property
3306 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3308 * DetailsView.cs: fix the regressions, caused by the previous commit.
3310 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3312 * DetailsView.cs: correct handling the different default values of
3313 DetailsView.CellSpacing and Table.CellSpacing.
3315 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3317 * DetailsView.cs: create a pager row when needed.
3319 2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3323 * PagedDataSource.cs:
3326 * LinkButton.cs: implement GetPostBackOptions for the 2.0 controls that
3327 support it. The GridView control will no longer throw an exception when
3328 rendered in the paging mode. Patch by Marek Habersack. Fixes bug #78288.
3330 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3332 * DetailsView.cs: many fixes: initialize PageCount with 0; initialize
3333 Rows with empty collection; call EnsureChildControls from get Row;
3334 NullReference in DeleteItem; fix RenderGrid (ideas from GridView);
3335 implemented IPostBackContainer.GetPostBackOptions.
3337 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3339 * DetailsView.cs: create HeaderRow and FooterRow even when HeaderText
3340 and FooterText are empty, to match .NET. Otherwise we have NullReference
3343 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3345 * DetailsView.cs: Render fix.
3347 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3349 * BoundField.cs: don't call DataBinder.GetPropertyValue with empty
3352 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3354 * DetailsView.cs: NullReferenceException fix
3356 2006-07-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3358 * PagerSettings.cs: implemented PropertyGhanged event
3360 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
3362 * DetailsView.cs: throw ArgumentOutOfRangeException for compatibility
3363 with .Net; don't throw NotImplemented when base class implementation
3366 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
3368 * DetailsViewPagerRow.cs: add a stub for this class
3370 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
3372 * GridView: fixed DataKeyNames property, moved to ControlState
3373 fixed PageCount property, initial PageCount ahould be zero
3374 fixed SelectedDataKey, should throw exception if not initialized
3375 fixed CreateColumns, wrong order of columns
3376 fixed CreateControlStyle,
3377 fixed InitializePager, no columnspan attrib on only one column
3378 fixed LoadControlState, SaveControlState added DataKeyNames
3379 fixed Render, RenderGrid should render within div tag
3380 implemented GetPostBackOptions
3381 * DataControlButton.cs: fixed Render, fixed style for img button
3383 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
3385 * CheckBoxField.cs: fixed InitializeDataCell, tooltip only in edit
3388 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3390 * CommandField.cs: fixed ValidateSupportsCallback
3392 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3394 * Image.cs: prepare to use HttpBrowserCapabilities. Does not
3395 affect the flow yet.
3397 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3399 * SiteMapPath.cs: fixes for SiteMapPathTest.Render_xxx tests.
3401 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
3403 * WebControl.cs: fix for AddAttributesToRender - add display
3404 style when appropriate
3406 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
3408 * CommandField.cs: fixed InitializeCell, wrong order of command
3410 * ImageField.cs: image field with null src and ConvertEmptyStringToNull
3411 should be rendered as label
3412 * BoundField.cs: empty null value should be rendered as nbsp
3413 * GridViewRowCollection.cs: fixed SyncRoot
3415 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
3417 * SiteMapPath.cs: create Literal instead of Label according to the
3418 MSDN and test SiteMapPath_InitializeItem.
3420 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
3422 * Style.cs: BorderStyle should be added if BorderWidth greater than 0
3423 * Image.cs: in 2.0 there is no border attribute, but border-width
3426 2006-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3428 * Button.cs: always render the 'name' attribute. Fixes bug #78746.
3430 2006-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3432 * DataList.cs: correctly initialize editable items when there's an
3433 EditItemTemplate. Patch by Jarosław Pawlak.
3435 2006-07-13 Juraj Skripsky <js@hotfeet.ch>
3437 * CheckBox.cs (LoadPostData): the value of a disabled checkbox remains
3440 2006-07-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3442 * BulletedList.cs: fixed Render, RenderBulletText, various properties
3443 * ListItem.cs, ListItemCollection.cs: added Enabled property that is
3446 2006-07-12 Vladimir Krasnov <vladimirk@mainsoft.com>
3448 * MultiView.cs: 'initied' state variable was changed to views count in
3449 the views collection.
3451 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3453 * AutoGeneratedField.cs: fixed InitializeDataCell, autogenerated
3454 checkbox should have tooltip
3455 * HyperLinkField.cs: fixed InitializeCell, should create link control
3456 only in data cell (not in header or footer), initialization of
3458 * ImageField.cs: fixed InitializeDataCell, initialization of
3461 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3463 * MultiView.cs: removed exception throwing from ActiveViewIndex
3465 2006-07-11 Konstantin Triger <kostat@mainsoft.com>
3467 * DataControlFieldCollection.cs: added OnClearComplete override;
3468 refactor to eliminate null reference exception.
3470 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3472 * MultiView.cs: fixed ActiveViewIndex, AddParsedSubObject
3473 * View.cs: fixed Visible property
3475 2006-07-09 Konstantin Triger <kostat@mainsoft.com>
3477 * ImageField.cs: fixing .net compliancy.
3479 2006-07-10 Andrew Skiba <andrews@mainsoft.com>
3481 * SiteMapPath.cs: fix the default PathSeparator value.
3483 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
3485 * GridView.cs: always create Header/Fotter rows, but render only when
3486 ShowHeader/Footer is true. Compute Header/Footer rows from rows
3488 * CheckBoxField.cs: add override to ApplyFormatInEditMode,
3489 add ToolTip and Text to the created CheckBox,
3490 wrap exception thrown in OnDataBindField in httpException.
3492 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
3494 * DataControlField.cs,BoundField.cs: bug fixes found by BoundFieldTest.
3496 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
3498 * DataControlField.cs: correct handling empty header/footer text.
3499 * TemplateField.cs: correct initialization according to
3500 DataControlRowState.
3502 2006-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
3504 * Wizard.cs: added functionality for Templated WizardStep
3505 and CreateUserWizard
3506 * added CompleteWizardStep.cs, CreateUserWizard.cs,
3507 CreateUserWizardStep.cs, TemplatedWizardStep.cs
3509 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
3511 * AutoGeneratedField.cs: correcting default dataType.
3513 2006-07-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3515 * DataControlField.cs: fixed Initialize, should always return false
3517 2006-07-03 Lluis Sanchez <lluis@novell.com>
3519 * BoundField.cs: Fix setter for HtmlEncode (it was setting always True).
3521 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
3523 * DataBoundControl.cs: implement MarkAsDataBound and consider it while
3524 setting RequiresDataBinding in OnLoad event.
3525 * GridView.cs: DataBind rows before other control can access the data.
3526 * BoundField.cs: add unique ID to control for postback parameters.
3528 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
3530 * WebControl.cs: fix typo in EnableTheming.
3532 2006-07-02 Konstantin Triger <kostat@mainsoft.com>
3534 * MenuItemCollection.cs: save items if the collection is dirty.
3535 * MenuItem.cs: During data binding: initialize Text and invoke binding recoursively.
3536 Add item to collection before binding to let the state be correctly tracked.
3537 * Menu.cs: Add item to collection before binding to let the state be correctly
3540 2006-06-28 Juraj Skripsky <js@hotfeet.ch>
3542 * RegularExpressionValidator.cs (EvaluateIsValid): wrap regex to
3543 test against with "^...$" if necessary. MS.NET does this too.
3545 2006-06-28 Vladimir Krasnov <vladimirk@mainsoft.com>
3547 * WizardStepCollection.cs: Fixed Add methods to initialize
3548 WizardStep.Wizard property
3549 * Wizard.cs: Fixed ActiveStepIndex, it should be -1 if there no steps
3550 Fixed GetStepType, if only one step present, it should be FinishStep
3551 Fixed styles of tables for more accurate rendering, fixed Wizard
3554 2006-06-28 Konstantin Triger <kostat@mainsoft.com>
3556 * FormView.cs: instantiate correct template when the bounding data source is
3559 2006-06-25 Konstantin Triger <kostat@mainsoft.com>
3561 * FormView.cs: disabling setting out of range FormView.PageIndex.
3563 2006-06-21 Andrew Skiba <andrews@mainsoft.com>
3565 * FileUpload.cs: added
3567 2006-06-20 Andrew Skiba <andrews@mainsoft.com>
3569 * FormView.cs: handle CssClass attribute
3571 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3573 * Button.cs: do something in PostBackUrl.
3574 * Repeater.cs: when creating the RepeaterItemCollection, initialize
3575 'items' if it hasn't been done yet. Fixes bug #78417.
3577 2006-06-14 Vladimir Krasnov <vladimirk@mainsoft.com>
3579 * BaseDataList.cs: added ConnectToDataSource method that called from
3580 OnLoad, fixed GetData method
3581 * Wizard.cs: fixed bug when called MoveTo after that control hierarchy
3584 2006-06-14 Andrew Skiba <andrews@mainsoft.com>
3586 * Menu.cs: add CssStyle value to the rendered class attribute
3588 2006-06-13 Juraj Skripsky <js@hotfeet.ch>
3590 * Calendar.cs: Make sure WebControls.Enabled is respected.
3591 * SelectedDatesCollection.cs: Set time for all DateTime object passed in
3592 to 12:00am as MS.NET does the same.
3595 2006-06-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3597 * Repeater.cs: fixed ConnectToDataSource method, subscribed to
3598 DataSourceViewChanged, looks for a datasource in its parent control
3599 fixed GetData method, should not get data if datasource is null
3601 2006-06-13 Konstantin Triger <kostat@mainsoft.com>
3603 * ObjectDataSourceView.cs: raise OnDataSourceViewChanged events when data changes.
3605 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
3607 * GridView.cs: set the row index from GridRowView if CommandArgument does not contain this information.
3609 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
3611 * ObjectDataSourceViewTest.cs: return documented default for OldValuesParameterFormatString.
3613 2006-05-24 Vladimir Krasnov <vladimirk@mainsoft.com>
3615 * DataList.cs: Fixed LoadViewState method
3617 2006-05-04 Lluis Sanchez <lluis@novell.com>
3619 * BoundField.cs: Added missing throw kyword. Patch by Marek Habersack.
3621 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
3623 * BaseDataBoundControl.cs: ensure the control is bound if ViewState is disabled.
3625 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
3627 * FormView.cs: fix FormView.PageCount after data binding.
3629 2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3631 * CheckBox.cs: certain attributes have to be rendered in the input tag,
3632 not the <span>. Fixes bug #71251.
3634 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
3636 * BaseDataBoundControl.cs: RequiresDataBinding rebinds if the control prerendered.
3639 ensure rebinding when FormView.PageIndex is called.
3640 and bind to the correct PageIndex.
3642 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
3644 * MenuItem.cs: when binding to IHierarchyData, check whether
3645 it implements INavigateUIData and retrieve NavigateUrl.
3646 * CompositeDataBoundControl.cs: ensures data is bound before creating child controls.
3648 Enable DataBinding by not throwing NotImplementedException in OnDataBound event.
3649 Provide basic CreateChildControls implementation by ensuring the control is bound.
3650 Ensure the child controls are created when the postback event is raised.
3651 Provide default implementation for SkipLinkText to let the default functionality to work.
3653 2006-04-11 Lluis Sanchez <lluis@novell.com>
3655 * TreeNodeBinding.cs: Added HasPropertyValue property
3656 to check if some properties have a value in the
3658 * TreeNode.cs: Lazily get the dataPath. Instead of getting
3659 bound properties when they are requested, get all of
3660 them when the node is bound and store their values in
3661 the state bag. In this way it won't be necessary to
3662 query every time the datasource to get the values.
3663 * XmlHierarchyData.cs: Implemented IHierarchyData.Path.
3664 * TreeView.cs: Call base in OnInit(). Bind nodes after
3665 adding them to the list, to properly keep track of
3666 changes. Don't databind in postbacks.
3668 2006-04-11 Chris Toshok <toshok@ximian.com>
3670 * Login.cs (OnLoggingIn): use Events[loggingInEvent].
3672 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
3674 * BaseDataList.cs: Fix searching control by DataSourceID.
3675 * DataList.cs: Enable binding using DataSourceID for NET_2_0.
3678 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
3680 * Login.cs: Added LayoutTemplate property support.
3681 * LoginView.cs: Added LoggedInTemplate, AnonymousTemplate support.
3682 DataBind: correctly bind child controls.
3683 Implemented OnViewChanged, OnViewChanging, Render, Save/LoadControlState.
3685 2006-03-29 Robert Jordan <robertj@gmx.net>
3687 * DataGrid.cs: if custom paging is enabled the persisted item count
3688 must be the count of the rendered items, otherwise paging from the
3689 last to a previous page won't work correctly. Fixes bug #77556.
3691 2006-03-29 Vladimir Krasnov <vladimirk@mainsoft.com>
3693 * RepeatInfo.cs: fixed RenderBeginTag to set enabled value of table
3694 when rendering disabled list control
3696 2006-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3698 * Panel.cs: render the image url inside 'url()'. Fixes bug #77811.
3700 2006-03-28 Alexandre Miguel Pedro Gomes <alexmipego@gmail.com>
3702 * FontInfo.cs: Implemented ShouldSerializeNames
3704 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3706 * DataGrid.cs, DataList.cs, RepeatInfo.cs: added accessablity features
3708 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3710 * DataGrid.cs: fixed CreateControlHierarchy, added CurrentPageIndex
3712 in PrepareControlHierarchy fixed style applying to AlternatingItem
3714 2006-03-22 Vladimir Krasnov <vladimirk@mainsoft.com>
3716 * DataList.cs: fixed RepeatColumns property, added value validation
3717 in PrepareControlHierarchy method fixed style applying for
3718 AlternatingItem, EditItem and Separator item
3719 fixed RenderContents method, if no items exist, no nned to
3720 render emty table strructure.
3722 2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3724 * CompareValidator.cs: when searching for the control to compare, use
3725 NamingContainer instead of Page. Fixes bug #77793.
3727 2006-03-15 Chris Toshok <toshok@ximian.com>
3729 * SiteMapPath.cs (InitializeItem): in the Current and Root node
3730 cases, apply the NodeTemplate if it exists and there isn't a
3731 CurrentNodeTemplate or RootNodeTemplate, respectively.
3733 2006-03-15 Chris Toshok <toshok@ximian.com>
3735 * SiteMapDataSourceView.cs (OnDataSourceViewChanged): override.
3737 * SiteMapDataSource.cs (StartingNodeOffset): new property.
3738 (GetStartNode): add code to handle StartNodeOffset < 0.
3740 * CompositeControl.cs
3741 (ICompositeControlDesignerAccessor.RecreateChildControls): just
3742 call the non-iface method.
3744 * DataBoundControl.cs (GetDataSource): this is likely wrong, but
3745 traverse up the naming container tree looking for our datasource
3746 if we're bound using a DataSourceID. This fixes things in the
3747 sitemap1 test, which uses a mixture of templates and
3748 ContentPlaceholders with the sitemapdatasource and sitemappath at
3749 different levels in the naming container tree (let along the
3752 * SiteMapPath.cs (DataBind): implement this by chaining up to
3753 base.DataBind, then by looping over our children, emitting
3754 OnItemDataBound for each SiteMapNodeItem.
3755 (AddAttributesToRender): remove.
3756 (CreateChildControls): call DataBind as the final step here.. I
3757 have, of course, no idea if this is right.
3758 (CreateControlHierarchy): don't databind our children here, as
3759 they need to be in the Controls collection before we do.
3760 (RenderContents): render our accessibility/screenreader stuff
3761 here, if SkipLinkText != "".
3763 2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
3765 * DataGridPagerStyle.cs: fixed PrevPageText property
3767 2006-03-13 Chris Toshok <toshok@ximian.com>
3769 * BaseCompareValidator.cs (Convert): make the
3770 ValidationDataType.String case a bit more compact.
3772 2006-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3775 (RenderContents): don't call base.RenderContents. Fixes bug #77740.
3776 Patch by Hubert Fongarnand.
3778 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3780 * FontInfo.cs: fixed CopyFrom, this method should not reset the
3781 received fontinfo if it is the same instance
3782 fixed ToString, corrected output where only font size specified
3784 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3786 * Style.cs: fixed WriteStyleAttributes to set border style to solid,
3787 if it not set but the border has width
3788 fixes in CopyFrom, MergeWith correct unit compare when it has zero
3791 2006-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
3793 * DataGrid.cs: in AddColumnsFromSource method fixed columns from
3794 properties of custom class
3795 fixed InitializeNumericPager, pager numbers should be a Label control
3796 fixed CreateControlHierarchy, corrected dataset index of items if
3799 2006-03-09 Vladimir Krasnov <vladimirk@mainsoft.com>
3801 * DataList.cs: fixed DoItemInLoop method that fixes itemIndex
3803 fixed CreateControlStyle to set correct cellspacing of table style
3804 fixed InitializeItem to correct applying template to selected and
3807 2006-03-08 Chris Toshok <toshok@ximian.com>
3809 * SiteMapNodeType.cs: nuke.
3811 * BorderStyle.cs, ButtonColumnType.cs, CalendarSelectionMode.cs,
3812 DayNameFormat.cs, ListItemType.cs, ListSelectionMode.cs,
3813 NextPrevFormat.cs, PagerMode.cs, PagerPosition.cs,
3814 RepeatDirection.cs, RepeatLayout.cs, TableRowSection.cs,
3815 TextAlign.cs, TextBoxMode.cs, TitleFormat.cs,
3816 ValidationCompareOperator.cs, ValidationDataType.cs,
3817 ValidationSummaryDisplayMode.cs, ValidatorDisplay.cs: remove
3818 [Serializable] in 2.0.
3820 * DayNameFormat.cs: add "Shortest".
3822 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3824 * LinkButton.cs: fixed AddAttributesToRender, removed not needed
3827 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3829 * TextBox.cs: fixed missing value validations, fixed rendering
3830 of empty value attribute
3832 2006-03-07 Chris Toshok <toshok@ximian.com>
3834 * WebControl.cs (EnableTheming): leave the MonoTODO, but implement
3835 by chaining up to base.EnableTheming.
3837 2006-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
3839 * DataList.cs: fixed CreateControlHierarchy, fixes 77693
3841 2006-03-06 Vladimir Krasnov <vladimirk@mainsoft.com>
3843 * RadioButton.cs: added ValueAttribute property to store the button
3845 * RadioButtonList.cs: fixed tab index when rendering.
3847 2006-03-02 Chris Toshok <toshok@ximian.com>
3849 * WebControl.cs (SkinID): implement setter/getter, and have them
3850 just chain up to base.SkinID.
3852 2006-02-27 Chris Toshok <toshok@ximian.com>
3854 * SqlDataSource.cs: track change to DataSourceControl's protected
3857 * AccessDataSource.cs: same.
3859 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
3861 * ListControl.cs: fixed SelectedIndex property, fixed selection
3862 reset on incorrect value
3864 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
3866 * TableStyle.cs: fixed AddAttributesToRender function, style
3867 BorderCollapse:Collapse was added if table's CellSpacing is zero
3869 2006-02-23 Chris Toshok <toshok@ximian.com>
3871 * CheckBox.cs, ContentControlBuilderInternal.cs, Content.cs,
3872 ContentPlaceHolderBuilder.cs, ContentPlaceHolder.cs,
3873 DataControlFieldHeaderCell.cs, DataGridColumn.cs,
3874 HierarchicalDataBoundControl.cs, HyperLinkField.cs,
3875 ImageButton.cs, ImageField.cs, Literal.cs,
3876 ObjectDataSourceView.cs, TextBox.cs: more corcompare work.
3878 * BaseCompareValidator.cs, BaseValidator.cs, Button.cs,
3879 DataControlField.cs, DetailsView.cs, FormView.cs, GridView.cs,
3880 HotSpot.cs, LinkButton.cs, Login.cs, SiteMapDataSource.cs,
3881 SqlDataSourceCommandType.cs, TableSectionStyle.cs,
3882 TemplateField.cs, TreeNodeCollection.cs, TreeNode.cs, TreeView.cs,
3883 ValidationSummary.cs, WizardStepBase.cs: fix tons of corcompare
3884 errors. most were caused by a property/method being virtual when
3885 it shouldn't be, or vice versa.
3887 2006-02-22 Chris Toshok <toshok@ximian.com>
3889 * ObjectDataSource.cs: corcompare work.
3891 2006-02-22 Chris Toshok <toshok@ximian.com>
3893 * ParameterCollection.cs: add an EditorAttribute to the class.
3895 * Parameter.cs: cleanup, fix the Value property, and implement the
3898 * SqlDataSourceView.cs: clean things up a bit, and add handling
3901 2006-02-22 Chris Toshok <toshok@ximian.com>
3903 * SqlDataSourceFilteringEventArgs.cs: formatting.
3905 * SqlDataSourceSelectingEventArgs.cs: remove ExecutingSelectCount,
3906 both the property and ctor arg.
3908 * AccessDataSourceView.cs (ExecuteSelect): use SelectingEventArgs,
3909 not CommandEventArgs. Also, cast the return value of
3910 oleCommand.ExecuteReader.
3912 * AccessDataSource.cs (.ctor): fix the ctors and remove FIXME
3914 (GetDbProviderFactory): implement naively, and leave a MonoTODO.
3915 (GetPhysicalDataFilePath): implement, again naively. this is
3916 where the NRE is generated when we access ConnectionString in a
3918 (ConnectionString): dynamically generate this based on our
3920 (DataFile): clear the ConnectionString in the setter so we'll
3922 (ProviderName): use base.ProviderName in the getter, not
3923 this.ProviderName, so we don't recurse infinitely.
3925 * SqlDataSourceView.cs: start reworking this class.
3927 * SqlDataSource.cs (GetDbProviderFactory): implement this,
3928 following the MS docs on the matter (if ProviderName is null/"",
3929 return SqlClientFactory.Instance.)
3930 (GetDbProviderFactoryInternal): add an internal method for use by
3932 (TrackViewState): don't invoke View.TrackViewState unless we have
3934 (Selecting): change event handler type to match MS.
3935 (Filtering): add missing event.
3936 (View): call CreateDataSourceView, don't just create an
3939 2006-02-21 Chris Toshok <toshok@ximian.com>
3941 * BoundField.cs: ues the ViewState.Get* pattern with default
3942 instead of the explicit ViewState lookup + null check, and fix the
3943 scope of InitializeDataCell.
3945 * ButtonField.cs: ues the ViewState.Get* pattern with default
3946 instead of the explicit ViewState lookup + null check.
3948 * CommandField.cs: same.
3950 * CheckBox.cs: same.
3952 * AutoGeneratedFieldProperties.cs: same.
3954 * BaseDataList.cs: same.
3956 * CircleHotSpot.cs: same.
3958 * BulletedList.cs: same.
3960 * DataBoundControl.cs: same.
3962 * CookieParameter.cs: same.
3964 * ControlParameter.cs: same.
3966 * CustomValidator.cs: same.
3968 * ButtonFieldBase.cs: same.
3970 * CheckBoxField.cs: same, and fix the scope of InitializeDataCell.
3972 * AutoGeneratedField.cs: fix scope of InitializeDataCell.
3974 * BaseValidator.cs: same, and clean up the getter/setter formatting.
3976 * CompareValidator.cs: same.
3978 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3980 * ListControl.cs: fixed DataSource property, to throw
3981 ArgumentException on incorrect value
3983 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3985 * Image.cs: fixed missing border="0" attribute, when image has style,
3986 but border width is not specified.
3988 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3990 * CheckBox.cs: fixed InternalAddAttributesToRender, Render to
3991 correct the "disabled" attribute in CheckBoxList
3992 * CheckBoxList.cs: fixed RenderItem, to correct the "disabled"
3993 attribute in CheckBoxList
3995 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3997 * CheckBox.cs: fixed Render function, removed rendering of empty
3998 <span> element if ControlStyleCreated but it's empty.
3999 fixed "disabled" attribute, it should be placed into span element
4001 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
4003 * BoundColumn.cs: fixed InitializeCell function, if DataField is
4004 null or empty string, the cell should not be bound.
4006 2006-02-08 Chris Toshok <toshok@ximian.com>
4008 * ListControl.cs (OnDataBinding): in 2.0, only clear our items if
4009 AppendDataBoundItems != false. Also, split all the databinding
4010 logic out to DoDataBinding, which we call from here only if
4012 (DoDataBinding): new function. actually perform the binding.
4013 (PerformDataBinding): implement.
4014 (PerformSelect): chain up to base class.
4016 2006-02-07 Chris Toshok <toshok@ximian.com>
4018 * ContentPlaceHolder.cs: fix ToolboxDataAttribute.
4020 * Content.cs: use ContentControlBuilderInternal, and add a bunch
4021 of unused (for now) EventHandler's here.
4023 * ContentControlBuilderInternal.cs: rename ContentControlBuilder
4026 2006-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4028 * ListControl.cs: bound checking for Items when loading the control
4029 state, as the number might have been changed on the fly. Patch by
4032 2006-01-22 Chris Toshok <toshok@ximian.com>
4034 * CheckBox.cs: s/GetPostBackClientEvent/GetPostBackEventReference.
4036 * MultiView.cs (OnBubbleEvent): case the rhs to a string to get
4037 the intended comparison right and quiet mcs.
4039 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4041 * Button.cs: Add semicolon after client script if does not exist.
4043 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4045 * Button.cs: preserve user logic when adding client validation.
4047 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
4049 * BaseValidator.cs: fixing visibility bahavior
4051 2006-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4053 * RangeValidator.cs: allow empty data from the control. Patch from Marek
4054 Habersack that fixes bug #77239.
4056 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4058 * Calendar.cs: use the DateTimeFormatInfo from the current thread. Patch
4059 by Cyrille Colin. Closes bug #77184.
4061 2006-01-08 Konstantin Triger <kostat@mainsoft.com>
4063 * PagedDataSource.cs, DataGrid.cs: TARGET_JVM changes to let the
4064 compilation pass with csc 1.1.
4066 2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4068 * DropDownList.cs: HtmlEncode the item text. Fixes bug #76949.
4070 2005-12-07 Chris Toshok <toshok@ximian.com>
4072 * BaseValidator.cs: in the uplevel rendering case, don't render
4073 the text if the validator's Display attribute is "None". Should
4076 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4078 * RadioButton.cs: if the 'value' attribute is set explicitly (as
4079 RadioButtonList does now), use that as the 'name' attribute.
4080 * RadioButtonList.cs: set the AutoPostBack and Enabled properties of
4085 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4087 * CheckBox.cs: add possible 'internal' attributes to the input tag. Fix
4088 the 'name' attribute when not aligninng to the right.
4089 * RadioButton.cs: use NameAttribute instead of GroupName when indexing
4090 the collection. Raise the OnCheckedChanged event. Fixes bug #76710.
4092 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4094 * DataGrid.cs: clear the control collection on every call to
4095 CreateControlHierarchy. Fixes bug #76732.
4097 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4099 * ListBox.cs: Rows and SelectionMode are virtual in 1.1
4101 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4103 * CheckBox.cs: use the NameAttribute property for setting 'name'.
4104 * RadioButton.cs: get a UniqueID based identifier for 'name'.
4107 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4109 * LinkButton.cs: don't output any javascript when the linkbutton is
4110 disabled. Fixes bug #76713.
4112 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4114 * DataGrid.cs: use TableHeaderCell instead of TableCell for headers when
4115 UseAccesibleHeader property is true. Patch by Robert Jordan.
4117 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4119 * BaseValidator.cs: 'controltovalidate' must be the ClientID of the
4120 control to validate. Fixes bug #76641.
4122 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4124 * BoundColumn.cs: when the column is readonly and we're in edit mode,
4125 keep it as a TextBox. Fixes bug #76714.
4127 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4129 * ListBox.cs: render the 'onchange' attribute when AutoPostback is
4130 enabled. Fixes bug #76608.
4132 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4134 * CheckBox.cs: AddAttributesToRender was extra in 1.1, so moved all
4135 the logic to Render and make it render the ID, which fixes bug #76596.
4137 2005-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4139 * Repeater.cs: someone forgot the curly brackets. Fixes bug 76537.
4141 2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4143 * Literal.cs: allow LiteralControl as child, but instead of adding it
4144 to the control collection, it just gets the Text out of it.
4146 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4148 * PagedDataSource.cs: fix range when we're at the last page.
4149 * DataGrid.cs: only need to keep the item count in the viewstate.
4152 2005-10-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4154 * ListControl.cs: made GetSelectedIndices() internal.
4155 * ListBox.cs: html-encode the item text. Fixed single and multiple
4156 selection handling. All the tests pass now. Closes bug #76478.
4158 2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4160 * ListControl.cs: throw when the selected value is not in the
4161 items collection. Fixes bug #76415.
4163 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4165 * BaseDataList.cs: Type.GetTypeCode was fixed and now does not
4166 throw a nullref, so we have to do it by ourselves here to make
4169 * BaseValidator.cs: render the text of the error message even if
4170 we set IsValid programatically. Don't use 'valid' directly, as
4175 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4177 * CustomValidator.cs: an empty ControlToValidate is valid.
4179 2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
4181 * RequiredFieldValidator.cs: Added missing permissions.
4183 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4185 * DataList.cs: copied and adapted PrepareControlHierarchy from DataGrid.
4186 Now the items get the attributes from the styles in datalist. Add the
4187 separators after each item, not before. GetItemStyle returns the actual
4188 item style, not the styles in the datalist. Fixes bug #76384 and all
4191 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4193 * Style.cs: add a 'border-style: solid' to make IE happy. Fixes bug
4196 2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4198 * TemplateColumn.cs: SelectedItem was missing from the select (). Fixes
4201 2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
4203 * FontInfo.cs: Gendarme strikes again. Sealed class have no need for
4204 inheritance demands.
4205 * FontUnit.cs: Structs are sealed so there's no need for inheritance
4207 * Unit.cs: Structs are sealed so there's no need for inheritance
4210 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4212 * PagedDataSource.cs: fix the upper bound for collection and ilist
4215 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4217 * DataGrid.cs: change the ListItemType for the item selected, set
4218 SelectedIndex before calling OnSelectedIndexChanged and set the selected
4219 item type correctly when creating the columns. Fixes bug #76334.
4222 * EditCommandColumn.cs: use a ForeColorLinkbutton, otherwise when
4223 selecting the row, the button keep the regular link color.
4225 * DataGridColumn.cs: made the class internal.
4227 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4229 * DataGrid.cs: fix breakaga of alternating item style in one of my
4232 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4234 * Calendar.cs: remove Console.
4235 * ListBox.cs: the name is the UniqueID, not the ClientID.
4236 * WebControl.cs: Attributes is case insensitive.
4238 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4240 * ImageButton.cs: use UniqueID in LoadPostData and also try just the
4241 UniqueID without appending a ".x" or ".y". Fixes several issues in
4242 mojoPortal. Thanks to Joe Audetter for his patience.
4244 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4246 * ButtonColumn.cs: it was lacking databinding, so copied most of it
4249 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4251 * FontInfo.cs: removed useless ctor.
4252 * Style.cs: keep here some commented out debugging code.
4253 * DataGrid.cs: the Items property does not create a new arraylist if
4254 the items_list was already initialized. Add case for Separator.
4255 * DataGridColumn.cs: when sorting is enabled, the linkbutton rendered
4256 in the header columns has a special ForeColor handling.
4258 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4260 * DataGrid.cs: PageCount must persist in ViewState too and returns the
4261 number of pages in the paged data source once we set that. Fix checks
4262 for visibility of the pager: no more 2 pagers when custom paging is
4265 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4267 * ImageButton.cs: fix a bug reported on the list. We were triggering the
4268 command event on every POST. And the 'name' attribute was not being
4269 rendered, so the 'x,y' coordinates didn't have 'uniqueid.' prepended
4270 and we couldn't find the values.
4272 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4274 * DataGrid.cs: fix the links for the numeric pager.
4276 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4278 * DataGrid.cs: when paging is enable, the actual number of items is not
4279 the number of items rendered before the postback, but that number times
4280 the number of pages. Now we store the page count in the viewstate. Also,
4281 as the number might be big, don't allocate an array of objects to fake
4282 the collection for the PagedDataSource, but use the new NCollection
4283 class instead, which provides cheap (memory wise) enumerator for an
4284 arbitrary number of items. Thanks to "Adriano" for the test case.
4286 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4288 * Xml.cs: the show must go on. Removed a few NotImplemented.
4290 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4292 * Button.cs: implemented 2.0 RaisePostBackEvent in terms of the
4293 existing code in 1.1 (or viceversa). RenderContents() does nothing.
4295 * DataGrid.cs: changed autoid api.
4297 * EditCommandColumn.cs: only 'Update' causes validation.
4299 * TableCell.cs: changed autoid api. RenderContents checks the number
4300 of controls to decide what to do, not the value of Text in the
4303 * TableRow.cs: changed autoid api.
4305 * BoundColumn.cs: SelectedItem was missing when attaching a DataBind
4306 event. When we get an EditItem, we need a TextBox to be created and
4307 this one will be the one that gets the event. Changed
4308 ItemDataBinding to deal with a TextBox too.
4310 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4312 * PagedDataSource.cs: fix IsLastPage. All tests pass.
4313 * DataGrid.cs: InitializePager always add a cell and it's brand new. No
4314 need to keep the old one in a field. Now all tests pass here too.
4316 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4318 * PagedDataSource.cs: don't use the properties when they just return a
4319 field. Fixed Count when paging is enabled. In GetEnumerator, IList goes
4320 before ICollection (otherwise, an IList will always fall under the
4321 ICollection case). The enumerator for lists will be empty if 'start'
4322 is beyond the list size. All existing tests pass, but one in
4323 DataGridTest that fails because of some problem with the paging.
4325 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4327 * Style.cs: fix the 2.0 build.
4329 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4331 * Style.cs: avoid unnecesary creation of a CssStyleCollection and
4332 instead write the style attributes directly to the HtmlTextWriter.
4334 * CheckBox.cs: adapted to new API.
4336 * DataGrid.cs: handle null data sources. Fixed the contions that make
4337 the table to be added to the Controls collection.
4339 * Calendar.cs: the table needed an ID and the attributes from the
4340 parent. Also don't create the ControlStyleCollection if it has not
4341 already been created.
4343 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4345 * DataGrid.cs: handle null data sources. Fixed the contions that make
4346 the table to be added to the Controls collection.
4348 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4350 * Calendar.cs: TrackViewState should be called upon creation, not on
4351 every get_XXX call. Cleanup.
4353 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4355 * DataGrid.cs: fix another test. The ID of the table generated by the
4356 datagrid is set to the one on the datagrid if no one set the ID for the
4359 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4361 * ListControl.cs: this fixes TestValueFieldAndTextFormat from
4364 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4366 * FontUnit.cs: use a table for FontSize names, as the X{1,2}.* ones are
4367 converted to string as X{1,2}-.*. All FontUnitTests pass now.
4368 * Unit.cs: throw a format exception when there's not number or minus
4369 sign in the first non-whitespace character.
4371 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4373 * ListControl.cs: SelectedIndex/SelectedValue can be set before
4374 DataBinding () is called on the control, so we have to keep this values
4375 around and use them after the data is read. If both properties are
4376 used, they must refer to the same item.
4378 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4380 * DataList.cs: fill in the data keys from BaseDataList so that the
4381 events can see them. Only assign DataItem when using data binding and
4382 nullify it after all events are raised.
4384 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4386 * DataList.cs: OnItemCommand() is raised any time OnBubbleEvent is
4389 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4391 * Button.cs: For 2.0 don't add the "name" attribute unless there's an
4393 * DataGrid.cs: Fix TagKey (table) for 2.0.
4394 * DataList.cs: Revert 2.0 specific stuff that was changed in RC.
4395 * DropDownList.cs: For 2.0 don't add the "name" attribute unless
4397 * ListBox.cs: For 2.0 don't add the "name" attribute unless there's an
4399 * RoleGroupCollection.cs: Fix "extra" exception in Remove method.
4400 * Style.cs: Fixed (2.0) RegisteredCssClass to returns String.Empty
4402 * TextBox.cs: For 2.0 don't add the "name" attribute unless there's an
4404 * TreeView.cs: Added declarative security (Link and Inheritance
4405 demands) for Minimal.
4406 * XmlDataSource.cs: Added declarative security (Link and Inheritance
4407 demands) for Minimal.
4409 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4411 * FontUnit.cs: Added, but only for 1.x, declarative security (Link and
4412 Inheritance demands) for Minimal.
4413 * Label.cs: Added declarative security (Link and Inheritance demands)
4415 * ListItem.cs: Added declarative security (LinkDemands) for Minimal.
4416 * ListItemCollection.cs: Added declarative security (LinkDemands) for
4418 * MonthChangedEventArgs.cs: Added declarative security (Link and, for
4419 2.0, Inheritance demands) for Minimal.
4420 * PagedDataSource.cs: Added declarative security (LinkDemands) for
4422 * Panel.cs: Added declarative security (Link and Inheritance demands)
4424 * Repeater.cs: Added declarative security (Link and Inheritance
4425 demands) for Minimal.
4426 * RepeatInfo.cs: Added declarative security (LinkDemands) for Minimal.
4427 * SelectedDatesCollection.cs: Added declarative security (LinkDemands)
4429 * TargetConverter.cs: Added declarative security (Link and Inheritance
4430 demands) for Minimal.
4431 * Unit.cs: Added, but only for 1.x, declarative security (Link and
4432 Inheritance demands) for Minimal.
4433 * ValidatedControlConverter.cs: Added declarative security (Link and
4434 Inheritance demands) for Minimal.
4435 * WebColorConverter.cs: Added declarative security (Link and
4436 Inheritance demands) for Minimal.
4437 * Xml.cs: Added declarative security (Link and Inheritance demands)
4439 * ValidationSummary.cs: Added declarative security (Link and
4440 Inheritance demands) for Minimal.
4442 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4444 * UnitConverter.cs: Remove conversion from Unit (see unit tests).
4446 2005-09-22 Ben Maurer <bmaurer@ximian.com>
4448 * BulletedList.cs: Remove the cacheEnabled thing. I was thinking
4449 it took O(height) time, not O(1).
4451 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
4453 * CheckBoxList.cs: Fix unit test failure (which matched bug #48802).
4455 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
4457 * AdCreatedEventArgs.cs: Added declarative security (Link and, for
4458 2.0, Inheritance demands) for Minimal.
4459 * BaseCompareValidator.cs: Added declarative security (Link and
4460 Inheritance demands) for Minimal.
4461 * BaseDataBoundControl.cs: Added declarative security (Link and
4462 Inheritance demands) for Minimal.
4463 * BaseValidator.cs: Added declarative security (Link and Inheritance
4464 demands) for Minimal.
4465 * BoundColumn.cs: Added declarative security (Link and Inheritance
4466 demands) for Minimal.
4467 * ButtonColumn.cs: Added declarative security (Link and Inheritance
4468 demands) for Minimal.
4469 * CalendarDay.cs: Added declarative security (Link and Inheritance
4470 demands) for Minimal.
4471 * CheckBoxList.cs: Added declarative security (Link and Inheritance
4472 demands) for Minimal.
4473 * CompareValidator.cs: Added declarative security (Link and
4474 Inheritance demands) for Minimal.
4475 * CustomValidator.cs: Added declarative security (Link and Inheritance
4476 demands) for Minimal.
4477 * DataBoundControl.cs: Added declarative security (Link and
4478 Inheritance demands) for Minimal.
4479 * DataGridItemCollection.cs: Added declarative security (Link and
4480 Inheritance demands) for Minimal.
4481 * DataKeyCollection.cs: Added declarative security (LinkDemands) for
4483 * DataListItemCollection.cs: Added declarative security (LinkDemands)
4485 * DataListItem.cs: Added declarative security (Link and Inheritance
4486 demands) for Minimal.
4487 * FontNamesConverter.cs: Added declarative security (Link and
4488 Inheritance demands) for Minimal.
4489 * HyperLink.cs: Added declarative security (Link and Inheritance
4490 demands) for Minimal.
4491 * HyperLinkColumn.cs: Added declarative security (Link and Inheritance
4492 demands) for Minimal.
4493 * Image.cs: Added declarative security (Link and Inheritance demands)
4496 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4498 * BaseDataList.cs: it's the DataKeysArray what is stored in "DataKeys",
4500 * DataGrid.cs: add the keys to BaseDataList.DataKeysArray. When using
4501 a data source, first try reflection, then componentmodel. If we get
4502 an enumerator, keep it around, as MS only calls GetEnumerator once.
4503 Throw an exception if no columns can be created from the given data
4504 source. Tested with DbDataRecord, DataTable, ArrayList and
4505 ICustomTypeDescriptor.
4507 2005-09-20 Sebastien Pouliot <sebastien@ximian.com>
4509 * AccessDataSource.cs: Added declarative security (Link and Inheritance
4510 demands) for Minimal. Added [ToolboxBitmap] on class.
4511 * AdRotator.cs: Added declarative security (Link and Inheritance
4512 demands) for Minimal. Removed extra Page and ViewState properties.
4513 * BulletedList.cs: Added declarative security (Link and Inheritance
4514 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4515 * Button.cs: Added declarative security (Link and Inheritance demands)
4516 for Minimal. Added [SupportsEventValidation] on class (2.0).
4517 * Calendar.cs: Added declarative security (Link and Inheritance
4518 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4519 * CheckBox.cs: Added declarative security (Link and Inheritance
4520 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4521 * CompositeControl.cs: Added declarative security (Link and Inheritance
4522 demands) for Minimal. Added new protected RecreateChildControls method.
4523 * DataControlCommands.cs: Added declarative security (LinkDemands) for
4524 Minimal. Added private ctor.
4525 * DataGrid.cs: Added declarative security (Link and Inheritance
4526 demands) for Minimal. Fixed properties for 2.0 (mostly removing
4527 [Bindable]). Added override for TagKey property.
4528 * DataGridColumn.cs: Added declarative security (Link and Inheritance
4529 demands) for Minimal. Added [UrlProperty] on HeaderImageUrl (2.0).
4530 * DataGridItem.cs: Added declarative security (Link and Inheritance
4531 demands) for Minimal. Added IDataItemContainer interface for 2.0.
4532 * DataGridPagerStyle.cs: Added declarative security (LinkDemands) for
4533 Minimal. Remove [Bindable] from 2.0 and add [Localizable].
4534 * DataList.cs: Removed [Load|Save]ControlState methods.
4535 * DropDownList.cs: Added declarative security (Link and Inheritance
4536 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4537 * EditCommandColumn.cs: Added declarative security (Link and
4538 Inheritance demands) for Minimal. Added missing attributes,
4539 [DefaultValue] and [Localize] for 2.0.
4540 * FontInfo.cs: Added declarative security (Link and Inheritance
4541 demands) for Minimal. Remove [Bindable] and added [RefreshProperties]
4543 * Login.cs: Added declarative security (Link and Inheritance demands)
4544 for Minimal. Fixed IsStyleEmpty. Removed extra [Themeable] attributes.
4545 * ImageButton.cs: Added declarative security (Link and Inheritance
4546 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4547 * LinkButton.cs: Added declarative security (Link and Inheritance
4548 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4549 * ListBox.cs: Added declarative security (Link and Inheritance demands)
4550 for Minimal. Added [SupportsEventValidation] on class (2.0).
4551 * Literal.cs: Added declarative security (Link and Inheritance demands)
4552 for Minimal. Removed [EditorBrowsable] on CreateControlCollection method.
4553 * LoginStatus.cs: Added missing [Themeable] attributes on properties.
4554 * MenuItemStyle.cs: Changed IsEmpty to public (required to compile -
4555 but will be shown as extra).
4556 * RadioButton.cs: Added declarative security (Link and Inheritance
4557 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4558 * RadioButtonList.cs: Added declarative security (Link and Inheritance
4559 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4560 * RangeValidator.cs: Added declarative security (Link and Inheritance
4561 demands) for Minimal. Added missing [Themeable] attributes.
4562 * RegularExpressionValidator.cs: Added declarative security (Link and
4563 Inheritance demands) for Minimal. Remove [Bindable] from 2.0 and add
4565 * RoleGroupCollection.cs: Added declarative security (Link and
4566 Inheritance demands) for Minimal. Fixed base class (changed in RC).
4567 Re-implemented CopyTo. Removed some methods.
4568 * Style.cs: Added declarative security (Link and Inheritance demands)
4569 for Minimal. Remove static IsStyleEmpty and ToString (from 2.0). IsEmpty
4570 is now public in 2.0.
4571 * Table.cs: Added declarative security (Link and Inheritance demands)
4572 for Minimal. Added [SupportsEventValidation] on class (2.0).
4573 * TableCell.cs: Fixed PersistenceMode for 2.0.
4574 * TextBox.cs: Added declarative security (Link and Inheritance demands)
4575 for Minimal. Added [SupportsEventValidation] on class (2.0).
4576 * TreeNodeStyle.cs: Changed IsEmpty to public (required to compile -
4577 but will be shown as extra).
4578 * WebControl.cs: Added declarative security (Link and Inheritance
4579 demands) for Minimal. Removed [EditorBrowsable] on ControlStyleCreated
4582 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4584 * TableStyle.cs: fixed typo that prevented restoring GridLines from
4587 * DataGrid.cs: the table does not get an auto ID. When restoring from
4588 viewstate, use all the saved columns, not just that data bound ones. Set
4589 the owner of the BoundColumns created. Save/restore columns.
4590 OnItemCreated happens after the item is initialized and the data item is
4591 set before the event and nullified after OnItemDataBound.
4592 Add the render_table to the Controls immediately, otherwise we might get
4593 errors from child controls such as "must be rendered inside a form".
4594 Keep the items created in the list waiting for them.
4595 The table uses the attributes from the DataGrid and ControlStyle.
4596 Raise OnItemCommand on all bubble events and don't propagate bubble
4597 event up in the hierarchy
4599 * TableCell.cs: it does not get an automatic ID.
4600 * BoundColumn.cs: FormatDataValue returns an empty string on null input
4601 (there was already a test for this).
4605 2005-09-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4607 * DataGridColumnCollection.cs: track the view state in the newly added
4610 2005-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4612 * DataGrid.cs: merge column styles too. Fixes bug #76106.
4613 * DataGridColumn.cs: new internal method to retrieve the styles without
4614 creating an instance for them.
4616 2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
4618 * DataControlField.cs, HotSpot.cs, MenuItem.cs, Parameter.cs,
4619 Style.cs, TreeNode.cs: Replace _empty_ StateBag.SetDirty () with
4620 StateBag.SetDirty (true).
4622 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
4624 * Menu.cs: Fixed parameter orders for CreateStyleRule.
4626 2005-09-13 Chris Toshok <toshok@ximian.com>
4628 * Style.cs: corcompare stuff.
4630 * RequiredFieldValidator.cs: more corcompare stuff.
4632 * CheckBoxList.cs: clean up some of the interface methods vs
4633 protected virtual 2.0 calls.
4635 * SubMenuStyle.cs: corcompare says this should implement
4636 ICustomTypeDescriptor... sooo, make it.
4638 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4640 * TableCell.cs: do the same as HyperLink and others in
4641 AddParsedSubobject so that adding a literal control does not remove the
4642 existing controls if any. Fixes bug #76078.
4644 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4646 * GridView.cs: don't duplicate class attribute. Fixes bug #75936.
4648 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4650 * ImageButton.cs: fix invalid cast exception.
4652 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4654 * ListItem.cs: throw in AddParsedSubObject if the object is not a
4656 * RadioButtonList.cs: implemented LoadPostData and
4657 RaisePostDataChangedEvent.
4659 2005-09-09 Chris Toshok <toshok@ximian.com>
4661 * CheckBox.cs, CheckBoxList.cs, DropDownList.cs, ImageButton.cs,
4662 ListBox.cs, RadioButton.cs, RadioButtonList.cs, TextBox.cs: fix up
4663 LoadPostData/RaisePostDataChangedEvent.
4665 2005-09-09 Chris Toshok <toshok@ximian.com>
4667 * FontInfo.cs (IsEmpty): new internal property, used by
4670 * Style.cs (IsEmpty): make sure the fontinfo is null or empty as
4673 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4675 * ListItemCollection.cs: remove obsoleted methods.
4676 * ListBox.cs: use IStateManager on the item collection.
4678 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
4680 * Use C# 1.0 style of delegate instantiating. Needed to compile
4681 Grasshopper (TARGET_J2EE) which uses MS C# 1.0 compiler and not msc.
4683 2005-09-07 Chris Toshok <toshok@ximian.com>
4685 * Calendar.cs (WriteDay): always add BackColor=Silver,
4686 ForeColor=White to selected day cells, before copying over the
4687 selectedDayStyle, if it exists.
4688 (WriteDays): fix nunit test - if the first day of the month falls
4689 on the first day of the week, go back one week (effectively adding
4690 a row of dates from the previous month.)
4691 (WriteTitle): don't copy the control style to the tableTitle,
4692 since it might have height specifications, which would make the
4693 title look rather off.
4695 2005-09-07 Chris Toshok <toshok@ximian.com>
4697 * ValidationSummary.cs (AddAttributesToRender): we only set
4698 display=none if there are no errors.
4700 * BaseValidator.cs (OnPreRender): fix a JS error - on submit we
4701 call ValidatorOnSubmit, not ValidatorCommonOnSubmit.
4703 2005-09-07 Chris Toshok <toshok@ximian.com>
4705 * ListControl.cs (SelectedIndex): add comment about how you'd
4706 think OnSelectedIndexChanged would be called.. and you'd be wrong.
4707 (Text): implement in terms of SelectedValue.
4708 (TagKey): do the HAVE_CONTROL_ADAPTERS two-step.
4709 (LoadControlState): implement - this is where the selected index
4710 ArrayList gets stuffed in 2.0.
4711 (OnInit): call Page.RegisterRequiresControlState.
4712 (OnTextChanged): implement.
4713 (RenderContents): for now just chain up to base.RenderContents.
4714 (SaveControlState): save our control state properly.
4715 (GetSelectedIndices): split this out from SaveViewState to it can
4716 be used by both that and SaveControlState.
4717 (SaveViewState): mangle this function so it works in both 2.0 and
4719 (LoadViewState): same.
4721 2005-09-06 Chris Toshok <toshok@ximian.com>
4723 * BaseValidator.cs (AddAttributesToRender): render our ClientID if
4724 we weren't assigned an ID.
4726 * ValidationSummary.cs (AddAttributesToRender): same.
4728 2005-09-06 Chris Toshok <toshok@ximian.com>
4730 * WebControl.cs: revert the last change.
4732 2005-09-06 Chris Toshok <toshok@ximian.com>
4734 * WebControl.cs (AddAttributesToRender): always render ClientID.
4736 * ValidationSummary.cs (Render): same.
4738 * BaseValidator.cs (RegisterValidatorDeclaration): use ClientID
4741 2005-09-06 Chris Toshok <toshok@ximian.com>
4743 * ValidationSummary.cs (Render): only do the JS stuff when the
4744 validators on the page are uplevel.
4746 * BaseValidator.cs (Render): remove unnecessary comment.
4748 2005-09-05 Chris Toshok <toshok@ximian.com>
4750 * BaseDataBoundControl.cs (DataSourceID): testing reveals this is
4751 stored in the ViewState.
4753 2005-09-02 Chris Toshok <toshok@ximian.com>
4755 * Repeater.cs (GetData): change this slightly so the Repeater
4756 doesn't keep a ref to the return value of GetData.
4758 2005-09-01 Chris Toshok <toshok@ximian.com>
4760 * ListControl.cs (AppendDataBoundItems): implement (2.0)
4763 2005-09-01 Chris Toshok <toshok@ximian.com>
4765 * System.Web.UI.WebControls/MonthChangedEventArgs.cs,
4766 System.Web.UI.WebControls/ValidatedControlConverter.cs,
4767 System.Web.UI.WebControls/Xml.cs,
4768 System.Web.UI.WebControls/RegularExpressionValidator.cs,
4769 System.Web.UI.WebControls/ServerValidateEventArgs.cs,
4770 System.Web.UI.WebControls/Menu.cs,
4771 System.Web.UI.WebControls/MailMessageEventArgs.cs,
4772 System.Web.UI.WebControls/MenuItemStyle.cs,
4773 System.Web.UI.WebControls/RangeValidator.cs,
4774 System.Web.UI.WebControls/RepeaterItemEventArgs.cs,
4775 System.Web.UI.WebControls/MenuItem.cs,
4776 System.Web.UI.WebControls/RepeaterCommandEventArgs.cs,
4777 System.Web.UI.WebControls/DataGridSortCommandEventArgs.cs,
4778 System.Web.UI.WebControls/DataGridCommandEventArgs.cs,
4779 System.Web.UI.WebControls/DataGridPageChangedEventArgs.cs,
4780 System.Web.UI.WebControls/XmlBuilder.cs,
4781 System.Web.UI.WebControls/ImageButton.cs: someone stop me. more
4784 2005-09-01 Chris Toshok <toshok@ximian.com>
4786 * System.Web.UI.WebControls/Button.cs,
4787 System.Web.UI.WebControls/ButtonField.cs,
4788 System.Web.UI.WebControls/DataControlField.cs,
4789 System.Web.UI.WebControls/BaseCompareValidator.cs,
4790 System.Web.UI.WebControls/AutoGeneratedField.cs,
4791 System.Web.UI.WebControls/CustomValidator.cs,
4792 System.Web.UI.WebControls/Content.cs,
4793 System.Web.UI.WebControls/BoundField.cs,
4794 System.Web.UI.WebControls/AdRotator.cs,
4795 System.Web.UI.WebControls/ButtonColumn.cs,
4796 System.Web.UI.WebControls/CompareValidator.cs,
4797 System.Web.UI.WebControls/AdCreatedEventArgs.cs: More corcompare
4798 work. Stub things out, and add attributes.
4800 2005-09-01 Chris Toshok <toshok@ximian.com>
4802 * Button.cs, ButtonField.cs, FontInfo.cs, Style.cs, Xml.cs,
4803 CommandField.cs, HyperLinkColumn.cs, Table.cs,
4804 RegularExpressionValidator.cs, DataGridPagerStyle.cs, Label.cs,
4805 CheckBox.cs, RadioButton.cs, TableStyle.cs, ListControl.cs,
4806 Image.cs, BaseCompareValidator.cs, BaseDataList.cs, DataList.cs,
4807 TemplateColumn.cs, RangeValidator.cs, ImageField.cs,
4808 BaseValidator.cs, CustomValidator.cs, TextBox.cs,
4809 ButtonFieldBase.cs, BoundField.cs, CheckBoxList.cs,
4810 RadioButtonList.cs, RequiredFieldValidator.cs, AdRotator.cs,
4811 Repeater.cs, DropDownList.cs, CheckBoxField.cs, HyperLink.cs,
4812 XmlDataSource.cs, Panel.cs, DataGrid.cs, ButtonColumn.cs,
4813 CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs,
4814 WebControl.cs, Literal.cs, ValidationSummary.cs, ImageButton.cs,
4815 TableRow.cs, LinkButton.cs, DataGridColumn.cs, BoundColumn.cs,
4816 TableItemStyle.cs: Add some WebCategory and WebSysDescription
4819 2005-09-01 Chris Toshok <toshok@ximian.com>
4821 * AccessDataSource.cs: corcompare work.
4823 * SqlDataSource.cs: same.
4825 2005-09-01 Miguel de Icaza <miguel@novell.com>
4827 * Various places: make sure that the DefaultValue matches the
4828 type. Thanks to Michael for pointing this out.
4830 In future audits, you might want to use the following awk command:
4832 awk '/DefaultValue/ { v=$0; looking = 1; } /public/ && looking &&
4833 !/string/ && !/ int / && !/ bool / { print FILENAME; print v;
4834 print $0; looking = 0; } /public/ && looking { looking = 0; } '
4837 The above skips bools, strings and ints as those were fine as we
4838 set them. The bug was on the other ones.
4840 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4842 * Repeater.cs: fix the build.
4844 2005-08-31 Chris Toshok <toshok@ximian.com>
4846 * Repeater.cs: lots of 2.0 work, much of it c&p'ed from
4847 {Base}DataList, and also from debug spew garnered from some
4848 Repeater subclass tests on MS.
4849 (CreateControlHierarchy): in 2.0 if IsBonudUsingDataSourceID get
4850 the IEnumerable by calling GetData().
4851 (DataBind): reset RequiresDataBinding to false (2.0).
4852 (DataMember): copy the set implementation from DataList, and add
4853 2.0 code to call OnDataPropertyChanged if we're !Initialiezd.
4854 (DataSource): more c&p.
4855 (DataSourceID); implement (2.0)
4856 (Initialized): implement (2.0)
4857 (IsBoundUsingDataSource): implement (2.0)
4858 (RequiresDataBinding): implement (2.0)
4859 (SelectArguments): implement (2.0)
4860 (CreateDataSourceSelectArguments): implement (2.0)
4861 (EnsureDataBound): implement (2.0)
4862 (GetData): implement.
4863 (OnDataPropertyChanged): remove the NIE, but leave the MonoTODO
4865 (OnDataSourceViewChanged): set RequiresDataBinding to true, but
4866 leave the MonoTODO. (2.0)
4867 (OnInit): call base.OnInit instead of throwing NIE, but leave the
4869 (OnLoad): implement.
4870 (OnPreRender): implement.
4871 (ConnectToDataSource): new method - look for the right control.
4873 2005-08-31 Chris Toshok <toshok@ximian.com>
4875 * XmlDataSourceView.cs: fix the scope of our select. Don't use
4876 call SelectNodes on the XmlDocument, not on
4877 XmlDocument.DocumentElement.
4879 2005-08-31 Chris Toshok <toshok@ximian.com>
4881 * XmlDataSourceView.cs (.ctor): remove the nodelist parameter.
4882 (DoXPathSelect): put the xpath selection stuff here.
4883 (ExecuteSelect): call DoXPathSelect if we need to (if nodes ==
4886 * XmlDataSource.cs (IDataSource.GetView): don't do the XPath
4887 select here, the view does it.
4889 2005-08-31 Jackson Harper <jackson@ximian.com>
4891 * DataList.cs: Remove some debugging code that was starting to bug
4894 2005-08-31 Chris Toshok <toshok@ximian.com>
4896 * XmlDataSourceNodeDescriptor.cs: implement IXPathNavigable, and
4897 create our Navigator by calling node.CreateNavigator().
4899 2005-08-31 Chris Toshok <toshok@ximian.com>
4901 * XmlDataSource.cs (GetXmlDataDocument): rename this to
4902 GetXmlDocument, and change the return value from XmlDataDocument
4904 (LoadXmlDataDocument): similar change.
4905 (Save): xmlDataDocument -> xmlDocument.
4906 (CanBeSaved): there's no ReadOnly attribute.
4907 (LoadViewState, SaveViewState, TrackViewState): nuke.
4908 (GetHierarchicalView): xmlDataDocument -> xmlDocument.
4909 (CacheDuration): stub out with NIE.
4910 (CacheExpirationPolocy): same.
4911 (CacheKeyDependency): same.
4912 (EnableCaching): same.
4914 (Data, DataFile): xmlDataDocument -> xmlDocument.
4915 (Schema, SchemaFile): nuke.
4916 (Transform, TransformFile): xmlDataDocument -> xmlDocument.
4918 2005-08-30 Lluis Sanchez Gual <lluis@novell.com>
4920 * SubMenuStyle.cs, MenuItemStyle.cs, TreeNodeStyle.cs:
4921 Don't use the obsolete IsSet method.
4922 * Menu.cs: Implement IPostBackEventHandler.RaisePostBackEvent.
4923 * CheckBox.cs: Implement some 2.0 methods.
4924 * GridView.cs: Removed some "throw new NotImplementedException"
4926 2005-08-29 Chris Toshok <toshok@ximian.com>
4928 * TreeView.cs: Use the StateBag accessors Ben added, and implement
4929 SkipLinkText and Visible.
4931 2005-08-29 Chris Toshok <toshok@ximian.com>
4933 * TreeView.cs: fix typo in an attribute.
4935 2005-08-29 Jackson Harper <jackson@ximian.com>
4937 * PagedDataSource.cs: If it's not a list or collection we don't
4938 use a bounded enumerator.
4940 2005-08-29 Chris Toshok <toshok@ximian.com>
4942 * LinkButton.cs: fix some 2.0 Page/ClientScript obsolete warnings.
4944 * CheckBox.cs: same.
4946 * BaseValidator.cs: same.
4948 * DropDownList.cs: same.
4950 * ValidationSummary.cs: same.
4952 2005-08-28 Chris Toshok <toshok@ximian.com>
4954 * XmlHierarchyData.cs: fix IHierarchyData.GetParent.
4956 2005-08-26 Chris Toshok <toshok@ximian.com>
4958 * TextBox.cs: implement ValidationGroup and CausesValidation
4961 2005-08-26 Lluis Sanchez Gual <lluis@novell.com>
4963 * Style.cs: Implemented FillStyleAttributes, GetStyleAttributes and
4966 2005-08-26 Chris Toshok <toshok@ximian.com>
4968 * Unit.cs: implement the 2.0 ToString(IFormatProvider) method.
4970 * FontUnit.cs: add two 2.0 ctors, and the 2.0
4971 ToString(IFormatProvider) method.
4973 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
4975 * CheckListBox.cs: Nothing is rendered (i.e. no empty table) in 2.0 if
4976 no items are present in the list.
4977 * RoleGroup.cs: Added missing attributes.
4978 * RoleGroupCollection.cs: Added missing attributes and some (yet-to-be-
4979 documented) methods.
4980 * TableStyle.cs: *for 2.0* adding a "url({0})" to background image
4981 must be done in the HtmlTextWriter (not in the TableStyle).
4983 2005-08-26 Chris Toshok <toshok@ximian.com>
4985 * Calendar.cs (UseAccessibleHeader): implement.
4986 (RaisePostBackEvent): some #ifdef ugliness to get this all working
4987 propertly between 1.x and 2.0
4988 (WriteDayHeader): if UseAccessibleHeader == true, render header
4989 cells as th's, not td's, and add abbr and scope attributes.
4991 2005-08-25 Chris Toshok <toshok@ximian.com>
4993 * Calendar.cs (Caption, CaptionAlign): implement these properties.
4994 (Render): if we have a non-empty caption, show it.
4995 (WriteCaption): new method, output the caption.
4997 2005-08-25 Chris Toshok <toshok@ximian.com>
4999 * Calendar.cs (Render): Copy the entire style from the Calendar to
5000 the Table, not just the font.
5001 (WriteDay): don't just write the link/text/etc. Create a
5002 LiteralControl as a child of the cell, before the call to
5003 OnDayRender, with its text set to the day number. After
5004 OnDayRender, set the literal's text to either the number again (if
5005 it's not selectable) or the full text of the js __doPostBack
5006 hyperlink (if it is.) Also, use cell.RenderControl here so we can
5007 render child controls with the id's listed properly (and arguably
5009 (ApplyTitleStyleCell): remove.
5010 (WriteTitle): apply the titleStyle to the enclosing table, not the
5011 table cell containing the month name. Also, copy from the
5012 Calendar's ControlStyle to populate tableTitle's style initially.
5013 We end up with more (superfluous) style attributes than MS, but
5014 it's better than having less.
5016 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5018 * HyperLink.cs: Fixed 2.0 rendering for Alt and Border|BorderWidth when
5021 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
5023 * Style.cs: Implemented 2.0 CopyTextStylesFrom(), SetRegisteredCssClass()
5024 and RegisteredCssClass property
5026 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5028 * LoginView.cs: Fixed attributes.
5029 * Style.cs: Change SetRegisteredCssClass to internal and not to throw
5030 an exception to allow pages to work on 2.x.
5032 2005-08-25 Chris Toshok <toshok@ximian.com>
5034 * LinkButton.cs (PostBackUrl): correct the UrlProperty attribute.
5036 * Unit.cs: add [Serializable] and the 2.0 specific ToString(), not
5039 * HiddenField.cs: stub out this class and label everything
5042 2005-08-25 Jackson Harper <jackson@ximian.com>
5044 * DataGrid.cs: Disable the pager row if there no paging enabled
5047 2005-08-25 Chris Toshok <toshok@ximian.com>
5049 * SqlDataSourceFilteringEventArgs.cs: add some usings, and fix a
5052 * SqlDataSourceSelectingEventArgs.cs: IDbCommand -> DbCommand, and
5053 add a using statement.
5055 2005-08-25 Chris Toshok <toshok@ximian.com>
5057 * SqlDataSourceFilteringEventArgs.cs: new 2.0 class, as per
5060 * SqlDataSourceFilteringEventHandler.cs: new 2.0 delegate, as per
5063 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5065 * Login.cs: Added rendering and fixed parts of the authentication.
5066 Now using IStateManager to allow compilation in another assembly (e.g.
5067 to test the control under IIS). Needs more tests (error conditions)
5068 once we get a "real" Membership provider running.
5069 * Style.cs: Fixed IsStyleEmpty (name ;-) and when null is provided
5072 2005-08-25 Chris Toshok <toshok@ximian.com>
5074 * SqlDataSourceCommandType.cs: new 2.0 enum, as per corcompare.
5076 2005-08-25 Chris Toshok <toshok@ximian.com>
5078 * AdRotator.cs: stub out enough of the 2.0 methods/properties by
5079 calling base.Foo to get the standalone adrotator (1.0) tests to
5080 run without throwing exceptions.
5082 2005-08-25 Chris Toshok <toshok@ximian.com>
5084 * ValidationSummary.cs (ValidationGroup): implement.
5085 (Render): use Page.GetValidators in .net 2.0, so we can support
5086 ValidationGroups. Also, <br>'s get rendered as <br /> in .net
5089 2005-08-25 Chris Toshok <toshok@ximian.com>
5091 * ImageButton.cs (TagKey): disable (but flag) the "virtual new"
5092 2.0 attribute modifiers, and revert back to "override".
5094 * ListBox.cs (BorderColor): disable (but flag) the "virtual new"
5095 2.0 attribute modifiers, and revert back to "override".
5096 (BorderStyle): same.
5097 (BorderWidth): same.
5099 * TextBox.cs (SaveViewState): implement naively, calling
5101 (TagKey): disable (but flag) the "virtual new" 2.0 attribute
5102 modifiers, and revert back to "override".
5104 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
5106 * Style.cs, TableStyle.cs, TableItemStyle.cs, DataGridPagerStyle.cs:
5107 Load ViewState for derived classes; no public LoadViewState override
5108 exists in those classes
5109 * Style.cs: Added 2.0 IsStyleEmpty method
5111 2005-08-25 Jackson Harper <jackson@ximian.com>
5113 * DataGrid.cs: The number of pages set in the pager is specified
5116 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5118 * LoginView.cs: New (2.0). Work in progress.
5120 2005-08-24 Chris Toshok <toshok@ximian.com>
5122 * Button.cs, DetailsView.cs, FontInfo.cs, Style.cs, Xml.cs,
5123 Menu.cs, ObjectDataSource.cs, CheckBox.cs, RadioButton.cs,
5124 ListControl.cs, SiteMapPath.cs, BulletedList.cs,
5125 DataBoundControl.cs, ListItemCollection.cs, GridView.cs,
5126 Wizard.cs, TextBox.cs, CheckBoxList.cs, RadioButtonList.cs,
5127 PagedDataSource.cs, FormView.cs, AdRotator.cs, Repeater.cs,
5128 DropDownList.cs, MultiView.cs, HierarchicalDataBoundControl.cs,
5129 Calendar.cs, ListBox.cs, WebControl.cs, Literal.cs,
5130 ValidationSummary.cs, ImageButton.cs, LinkButton.cs, TreeView.cs:
5131 Add MonoTODO's for all things that throw NotImplementException.
5133 2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
5135 * RoleGroup.cs: New (2.0). Complete implementation.
5136 * RoleGroupCollection.cs: New (2.0). Mostly complete implementation.
5138 2005-08-23 Chris Toshok <toshok@ximian.com>
5140 * BaseCompareValidator.cs (GetFullYear): it turns out the docs up
5141 on msdn.microsoft.com tell exactly how the .net 2.0 stuff works,
5142 even though they were written for the 1.0 stuff.
5144 2005-08-23 Chris Toshok <toshok@ximian.com>
5146 * RepeatInfo.cs: some massaging to support both the 1.x and 2.0
5147 output. Our tests now pass on both mono and ms, with both 1.x and
5150 2005-08-23 Sebastien Pouliot <sebastien@ximian.com>
5152 * Login.cs: Throw exception if the specified provider doesn't exists.
5153 * LoginStatus.cs: Complete events.
5155 2005-08-22 Jackson Harper <jackson@ximian.com>
5157 * DataGrid.cs (CreateControlHierarchy): Clear out the old pager after creating the
5159 (InitializeNumericPager): Now that the pager actually renders
5160 properly I can see that I was computing it incorrectly.
5162 2005-08-22 Jackson Harper <jackson@ximian.com>
5164 * DataGrid.cs (RenderTable): Make sure the new table gets the
5166 (CreateColumnSet): Clear the data source columnbs before adding
5167 new ones regardless of whether or not a property descriptor was
5169 (InitializePager): pager_cell needs to be a member so it isn't
5170 created more then once per a render.
5171 (InitializeNumericPager): Compute start and end more
5173 - Link commands are 1 indexed.
5174 (CreateControlHierarchy): Clear the table before we begin
5176 - Revert patch that made adding the pagers conditional. This is
5177 incorrect, the pagers are always added. Only their visibility is
5178 affected by the pager style.
5179 - Save the entire count in the viewstate, not just the rendered
5180 count. So when paging is enabled the pager's count isn't broken by
5183 2005-08-22 Chris Toshok <toshok@ximian.com>
5185 * LinkButton.cs (ValidationGroup): implement.
5186 (IPostBackEventHandler.RaisePostBackEvent): in the 2.0 profile,
5187 pass ValidationGroup to Page.Validate.
5189 2005-08-22 Chris Toshok <toshok@ximian.com>
5191 * ImageButton.cs (ValidationGroup): implement.
5192 (IPostBackEventHandler.RaisePostBackEvent): if we cause
5193 validation, call Page.Validate properly (in both profiles).
5195 2005-08-22 Chris Toshok <toshok@ximian.com>
5197 * Button.cs (IPostBackEventHandler.RaisePostBackEvent): in the 2.0
5198 case, pass ValidationGroup to Page.Validate.
5199 (ValidationGroup): implement using ViewState.
5201 2005-08-22 Chris Toshok <toshok@ximian.com>
5203 * BaseValidator.cs (Text): 2.0 only. implement naively, just
5205 (OnInit): add 2.0 support for validation groups.
5208 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
5210 * LoginName.cs: New (2.0) web control.
5211 * LoginStatus.cs: New (2.0) web control.
5213 2005-08-19 Chris Toshok <toshok@ximian.com>
5215 * LinkButton.cs (ValidationGroup): implement getter/setter.
5216 (RaisePostBackEvent): implement naively, by c&p'ing the old
5217 implementation of IPostBackEventHandler.RaisePostBackEvent, but
5218 making use of the ValidationGroup in the call to Page.Validate.
5222 * Style.cs (LoadViewState): set our style flags for all the things
5223 we have flags for. Seems like the subclass flags should be
5224 handled in overridden LoadViewState methods, but none of the Style
5225 subclasses seem to override this method.
5227 2005-08-19 Chris Toshok <toshok@ximian.com>
5229 * TableStyle.cs (Merge, MergeWith): make these look a bit more
5230 like Copy/CopyFrom, with the styles checks instead of just
5233 * TableItemStyle.cs: same, only also make Copy/CopyFrom work as in
5236 2005-08-19 Chris Toshok <toshok@ximian.com>
5238 * DataGrid.cs (InitializePager): don't unconditionally set
5239 pager_cell to the numeric pager (especially after setting it
5240 conditionally to the nextprev pager.)
5241 (InitializeNumericPager): the link buttons don't participate in
5243 (InitializeNextPrevPager): same.
5244 (CreateControlHierarchy): create the top/bottom pagers only if the
5245 PagerStyle says too.
5247 2005-08-19 Sebastien Pouliot <sebastien@ximian.com>
5249 * TableCell.cs: Added AssociatedHeaderCellID property for 2.0.
5251 2005-08-18 Chris Toshok <toshok@ximian.com>
5253 * DataList.cs (CreateControlHierarchy): Call Controls.Clear() at
5254 the start of this method so templates are created properly.
5256 2005-08-18 Dick Porter <dick@ximian.com>
5258 * Button.cs, DetailsView.cs, Xml.cs, Table.cs, Menu.cs,
5259 DataControlButton.cs, Label.cs, ObjectDataSource.cs, CheckBox.cs,
5260 RadioButton.cs, ListControl.cs, Image.cs, SiteMapPath.cs,
5261 BaseDataList.cs, DataList.cs, BulletedList.cs,
5262 DataBoundControl.cs, Login.cs, GridView.cs,
5263 CompositeDataBoundControl.cs, Wizard.cs, BaseValidator.cs,
5264 TextBox.cs, CheckBoxList.cs, RadioButtonList.cs, FormView.cs,
5265 AdRotator.cs, Repeater.cs, MenuItemTemplateContainer.cs,
5266 DropDownList.cs, HyperLink.cs, ImageMap.cs, MultiView.cs,
5267 CompositeControl.cs, HierarchicalDataBoundControl.cs, Calendar.cs,
5268 ListBox.cs, TableCell.cs, WebControl.cs, Literal.cs,
5269 BaseDataBoundControl.cs, ValidationSummary.cs, ImageButton.cs,
5270 LinkButton.cs, TreeView.cs: 2.0 API fixes and stubs, and attribute
5273 2005-08-18 Sebastien Pouliot <sebastien@ximian.com>
5275 * BaseDataList.cs: Added a TODO for DataKeyField as we're not using it
5277 * DataList.cs: Reworked CreateControlHierarchy to avoid allocating an
5278 empty array of objects just to get the number of items.
5279 * Login.cs: Implemented OnBubbleEvent and parts of the authentication
5280 but we're missing some bits from the class lib to complete all this...
5282 2005-08-17 Jackson Harper <jackson@ximian.com>
5284 * DataGrid.cs: Only create one pager and add it to both the top
5285 and bottom of the grid, this way all the id numbers stay the same
5286 and we save a bunch of cycles.
5288 2005-08-17 Jackson Harper <jackson@ximian.com>
5290 * DataGrid.cs: The top and bottom pagers are always created. Just
5291 the visibility is changed by the PagerStyle::Position.
5293 2005-08-17 Chris Toshok <toshok@ximian.com>
5295 * CompositeControl.cs (RecreateChildControls): implement naively -
5296 just call CreateChildControls. We might need to call
5297 Controls.Clear() as well, but for the time being, this is ok.
5299 2005-08-17 Sebastien Pouliot <sebastien@ximian.com>
5301 * BaseDataList.cs: Completed implementation for 2.0.
5303 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
5305 * BaseDataList.cs: Added missing properties/methods/attributes for 2.0.
5306 * DataList.cs: Added missing [Browseable] attribute on SelectedValue.
5308 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
5310 * BaseDataList.cs: Removed old internal ctor as DataList TagKey was
5312 * DataList.cs: Implemented {Load|Save}ControlState and OnInit (2.0).
5313 Adjusted size and ordering of the ViewState (new element #0 is still
5314 unknown). Properly fixed the TagKey in 2.0.
5315 * Login.cs: Implemented {Load|Save|Track}ViewState. Added checks for
5316 all properties using enums.
5317 * Panel.cs: Fixed NoWrap rendering unit test (for 2.0).
5318 * TableItemStyle.cs: Fixed attribute rendering to use style to render
5319 "nowrap" in 2.0 (it used the HTML nowrap attribute in 1.x).
5321 2005-08-15 Jackson Harper <jackson@ximian.com>
5323 * EditCommandColumn.cs: Use a normal LinkButton.
5325 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
5327 * Image.cs: Don't remove GenerateEmptyAlternateText (2.0) from the
5328 viewstate (even if assigned to the default value).
5329 * TableRow.cs: Implement TableSection property (2.0). It has no effect
5330 on the rendering of the table row.
5332 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
5334 * BaseDataList.cs: Added new [Themeable] and [Localizable] attributes
5335 and removed [Bindable] attributes for 2.0.
5336 * DataList.cs: Added new 2.0 attributes on class and removed [Bindable]
5337 attributes (for 2.0).
5338 * DataListCommandEventArgs.cs: Not sealed in 2.0.
5339 * DataListItemEventArgs.cs: Not sealed in 2.0.
5340 * Image.cs: Fixed [Designer] attribute on class and all [Editor]
5341 attributes for URLs.
5342 * Login.cs: Fixed [Designer] attribute on class and all [Editor]
5343 attributes for URLs.
5344 * Table.cs: Fixed [Editor] attribute for 2.0.
5345 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
5346 * TableCell.cs: Fixed [Designer] attribute. Fixed property name for
5347 AssociatedHeaderCellID and it's [DefaultValue] attribute.
5348 * TableHeaderCell.cs: Fix [DefaultValue] attributes for CategoryText
5349 and Scope attributes.
5350 * TableRow.cs: Fixed [Designer] attribute. Added missing [DefaultValue]
5351 on TableSection attribute.
5352 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
5354 2005-08-14 Sebastien Pouliot <sebastien@ximian.com>
5356 * Image.cs: Fixed attributes for 2.0 profile.
5357 * Login.cs: Fixed some attributes and default values.
5358 * Table.cs: Fixed attributes for 2.0 profile. Added protected method
5359 RaisePostBackEvent (TODO) in 2.0 profile.
5360 * TableCell.cs: Fix properties (Bindable, Localizable, Designer...)
5361 and added AssociateHeaderCellID property (TODO).
5362 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
5363 * TableFooterRow.cs: New (2.0). TableRow that always shows on each
5364 page (if the device requires to breaks the table into multiple pages).
5365 This seems to be a "flag" class, the real work will be in Table.
5366 * TableHeaderCell.cs: Added CategoryText and Scope properties for 2.0.
5367 * TableHeaderRow.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 * TableItemStyle.cs: Remove [Bindable (true)] from 2.0 profile.
5371 * TableRow.cs: Remove [Bindable (true)] from properties and add
5372 [Bindable (false)] and [Designer] on class. Added new TableSection
5374 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
5375 * TableSectionStyle.cs: New (2.0). Add Visible to Style - but it's
5376 broken (int beta2) for IsEmpty, CopyFrom, MergeWith...
5377 * TableStyle.cs: Fixed attributes for 2.0 profile. Added new
5378 FillStyleAttributes method (2.0).
5380 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
5382 * Login.cs: New (2.0). Mostly a stub with copy-n-pasted code and
5383 attributes from existing controls.
5384 * LoginCancelEventArgs.cs: New (2.0). Required to build Login.
5385 * LoginCancelEventHandler.cs: New (2.0). Required to build Login.
5387 2005-08-12 Jackson Harper <jackson@ximian.com>
5389 * TableRow.cs: No AutoID for TableRows.
5391 2005-08-12 Jackson Harper <jackson@ximian.com>
5393 * DataGrid.cs (CreateRenderColumns): If we aren't using data
5394 binding grab the rendercols from the data source columns.
5395 (LoadViewState): Restore the bound columns when reloading the
5397 (InitializeNumericPager): Create elipsised pagers.
5398 (CreateItem): Don't set the item's ID.
5399 (CreateItem): Add the control to the table before it is databound
5400 so that it's value is saved in the viewstate.
5401 (CreateControlHierarchy): Create a fake data source when not using
5402 databinding. Don't add controls to the table as they are added in
5404 (PrepareControlHierarchy): Make footers and header non visible if
5405 they aren't enabled.
5407 2005-08-12 Chris Toshok <toshok@ximian.com>
5409 * CompositeControl.cs (DataBind, Render, get_Controls): the MSDN
5410 docs says these methods/properties "ensure the child controls are
5411 created" -- so call EnsureChildControls() before invoking the base
5414 2005-08-12 Jackson Harper <jackson@ximian.com>
5416 * BoundColumn.cs: Set the controls text instead of adding a
5417 literal control. So it is saved in the controls viewstate.
5419 2005-08-11 Jackson Harper <jackson@ximian.com>
5421 * CheckBoxList.cs: Set the tabindex on the checkbox control and
5422 don't render it on the main table (Setting it to zero causes it to
5423 not be rendered). Also use the invariant culture on the id.
5425 2005-08-11 Dick Porter <dick@ximian.com>
5427 * CheckBox.cs: Let ViewState manage removals; apply styles and
5428 "style" attributes in a surrounding <span>. Fixes unit tests.
5430 2005-08-10 Chris Toshok <toshok@ximian.com>
5432 * Label.cs (LoadViewState): set the Text attribute from our
5433 ViewState (if it exists) to clear out any child controls. Fixes
5434 jsunit test label/label-child-control-postback.aspx.
5436 2005-08-10 Jackson Harper <jackson@ximian.com>
5438 * PagedDataSource.cs: Respect paging with all data source types.
5440 2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
5442 * BaseDataList.cs: Changed Controls property from "virtual new"
5443 (2.0 doc) to "override" (monop) to fix the Visible bug (see
5444 datalist-invisible.aspx). Fixed AddParsedSubObject not to accept
5445 any controls (required due to change to Controls). Implemented
5446 DataBind(bool) for 2.0.
5447 * DataListItem.cs: Fix the multiple table when extractRows is used.
5448 Removed extra span tags by rendering contents (not control). Added
5449 support for IDataItemContainer (2.0).
5451 2005-08-08 Jackson Harper <jackson@ximian.com>
5453 * DataGrid.cs: Apply the styles to each item type.
5455 2005-08-08 Jackson Harper <jackson@ximian.com>
5457 * PagedDataSource.cs: If paging is not enabled keep enumerating to
5458 the end of the list.
5460 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
5462 * BaseDataList.cs: Remove old compatibility stuff.
5463 * DataList.cs: Fix the edit|update for datalist-style-edit.aspx.
5464 * WebControl.cs: Always call CreateControlStyle to create the
5465 ControlStyle. Fix the exception for datalist-style-edit.aspx.
5467 2005-08-05 Jackson Harper <jackson@ximian.com>
5469 * DataGrid.cs: Don't make the current page index a link in the
5472 2005-08-05 Jackson Harper <jackson@ximian.com>
5474 * DataGrid.cs: Honour PagerPosition.
5476 2005-08-05 Jackson Harper <jackson@ximian.com>
5478 * PagedDataSource.cs: Round PageCount properly.
5480 2005-08-05 Dick Porter <dick@ximian.com>
5482 * CheckBox.cs: Shut corcompare up a bit more. Still need to
5483 figure out how to not use AddAttributesToRender to get it
5486 * ButtonColumn.cs: Implement Initialize() and InitializeCell()
5488 * DataGridColumn.cs: Added the duplicate viewstate manipulation
5491 2005-08-05 Chris Toshok <toshok@ximian.com>
5493 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): treat "" as
5494 null when it comes to the format string.
5495 (FormatDataTextValue): same.
5497 2005-08-04 Chris Toshok <toshok@ximian.com>
5499 * BaseValidator.cs (Validate): only test a validator if it's both
5500 enabled and visible.
5502 2005-08-04 Chris Toshok <toshok@ximian.com>
5504 * BaseValidator.cs (AddAttributesToRender): add "enabled" if
5507 2005-08-04 Jackson Harper <jackson@ximian.com>
5509 * DataGrid.cs: Add a new space control for each link. Also make
5510 the link's text 1 indexed. Don't add the space after the last
5513 2005-08-04 Ben Maurer <bmaurer@ximian.com>
5515 * LinkButton.cs: Fix up the test suite here.
5517 * Panel.cs: Fix up nowrap
5519 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5521 * ListBox.cs: Use WriteXXXX to render HTML, this way it matches MS output
5522 * ListControl.cs: Clear item list before adding data (again)
5524 2005-08-04 Jordi Mas i Hernandez <jordi@ximian.com>
5526 * Calendar.cs: fixes issues with OnDayRender event and others
5528 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5530 * DataGrid.cs(CreateControlHierarchy): Consider the EditItemIndex when
5532 * ListControl.cs(OnDataBinding): Only apply DataTextFormatString to text
5533 if DataTextField is bound
5534 * EditCommandColumn.cs(InitializeCell): MS inserts a between the
5535 two controls in edit mode, lets do the same
5537 2005-08-03 Jackson Harper <jackson@ximian.com>
5539 * BoundColumn.cs: Respek for the thisExpr when data binding.
5541 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5543 * EditCommandColumn.cs: No need to offer edit when in edit mode.
5546 2005-08-04 Dick Porter <dick@ximian.com>
5548 * DataGridColumn.cs: New implementation
5551 * DataGridColumnCollection.cs: Set the DataGridColumn's owner
5553 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5555 * WebControl.cs(CopyBaseAttributes): Use Enabled setter to also
5558 2005-08-03 Ben Maurer <bmaurer@ximian.com>
5560 * RepeatInfo.cs: Finally figured out how to use base control
5562 2005-08-03 Jackson Harper <jackson@ximian.com>
5564 * ButtonColumn.cs: Partial implementation.
5566 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5568 * DataGridPagerStyle.cs(PageButtonCount): Throw exception on
5571 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
5573 * Calendar.cs: fixes Save/Load state
5575 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
5577 * Calendar.cs: bug fixes
5579 2005-08-03 Jackson Harper <jackson@ximian.com>
5581 * DataGrid.cs: Merge the table style with the render table. Some
5582 initial work on the numeric pager. Remove some debugging code.
5584 2005-08-03 Jackson Harper <jackson@ximian.com>
5586 * BoundColumn.cs: Implement Initialize and InitializeCell. When
5587 Data is formated it uses the DataFormatString that was set at the
5588 time Initialize was called (or null if initialize was never
5591 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
5593 * RadioButtonList.cs: bug fixes
5595 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
5597 * CheckBox.cs, RadioButton.cs: mecanism to avoid exposing
5598 AddAttributesToRender
5599 * RadioButtonList.cs: Implementation
5601 2005-08-01 Jackson Harper <jackson@ximian.com>
5603 * TableStyle.cs: Copy style bit when copying from another style.
5605 2005-08-01 Jackson Harper <jackson@ximian.com>
5607 * PagedDataSource.cs: Implement missing properties, use yield for
5608 the Enumerator methods. Only allow the enums to return one page at
5611 2005-08-01 Chris Toshok <toshok@ximian.com>
5613 * HyperLinkColumn.cs (ItemDataBinding): remove incorrect comment.
5615 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
5617 * WebControl.cs: Track enabled state across sessions
5619 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
5621 * ListControl.cs(OnDatabinding): Value is equivalent to text if
5624 2005-08-01 Jordi Mas i Hernandez <jordi@ximian.com>
5626 * ImageButton.cs: fixes, complete missing parts
5628 2005-07-31 Ben Maurer <bmaurer@ximian.com>
5630 * TextBox.cs: Html encode for multiline text boxes
5632 * HyperLink.cs: Resolve images
5634 2005-07-30 Chris Toshok <toshok@ximian.com>
5636 * BaseValidator.cs: initial version of 2.0 properties
5637 ValidationGroup and SetFocusOnError.
5639 2005-07-30 Chris Toshok <toshok@ximian.com>
5641 * HyperLinkColumn.cs (InitializeCell): clean this up.
5643 2005-07-30 Chris Toshok <toshok@ximian.com>
5645 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): just use
5646 DataBinder.FormatResult.
5647 (FormatDataTextValue): same.
5648 (Initialize): call base.Initialize.
5649 (ItemDataBinding): new function, get the text/navigateurl and set
5650 them on our HyperLink control.
5651 (InitializeCell): create a hyperlink control in the
5652 Item/EditItem/AlternatingItem case.
5654 2005-07-30 Ben Maurer <bmaurer@ximian.com>
5656 * RepeatInfo.cs: Handle 0 items situations correctly
5658 * HyperLink.cs: Resolve urls correctly
5660 * CheckBox.cs: use the correct ID for the label element.
5662 * Label.cs: Correct AddParsedSubObject impl. See FAQ
5664 2005-07-29 Chris Toshok <toshok@ximian.com>
5666 * BaseCompareValidator.cs (GetDateElementOrder): implement.
5668 2005-07-29 Chris Toshok <toshok@ximian.com>
5670 * BaseCompareValidator.cs (GetFullYear): implement two ways. The
5671 #if'ed out version follows microsoft's docs on msdn, but doesn't
5672 match ms's behavior. The other matches their behavior but not
5673 their docs. we use the latter. go figure.
5674 (get_CutoffYear): implement using
5675 CultureInfo.CurrentCulture.Calendar.TwoDigitYearMax.
5677 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5680 - Name property now throws exception when set to null
5681 - Names now handles situation where our bit tells us we have
5682 a font, but it's not in the StateBag (null removal)
5683 * RangeValidator.cs: Removed unused vars
5685 2005-07-29 Ben Maurer <bmaurer@ximian.com>
5687 * Label.cs: ClientID should be used rather than UniqueID to get
5690 2005-07-29 Chris Toshok <toshok@ximian.com>
5692 * BaseValidator.cs (Validatate): not sure if this is entirely
5693 correct (some fairly deep testing required), but setting Enabled =
5694 false has the effect of setting IsValid = true.
5696 2005-07-29 Ben Maurer <bmaurer@ximian.com>
5698 * RadioButton.cs: The "remove from groupstate" isn't needed any
5699 more, now that statebag is correct.
5701 2005-07-29 Dick Porter <dick@ximian.com>
5703 * RadioButton.cs: Hide nonstandard API; remove GroupName from the
5704 ViewState when it is null.
5706 * CheckBox.cs: Hide nonstandard API
5708 2005-07-29 Jordi Mas i Hernandez <jordi@ximian.com>
5710 * Calendar.cs: fixes exceptions, bug fixes, new features
5711 * SelectedDatesCollection.cs: Fixes bugs discovered by the tests
5712 * CalendarDay.cs: fixes default value
5714 2005-07-28 Ben Maurer <bmaurer@ximian.com>
5716 * CompositeControl.cs: Stub
5718 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5720 * EditCommandColumn.cs: Implemented
5722 2005-07-27 Chris Toshok <toshok@ximian.com>
5724 * RegularExpressionValidator.cs (EvaluateIsValid): "" is valid.
5726 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5728 * CustomValidator.cs: Bug fixes (Thanks to Chris for creating the
5731 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5733 * DataGrid.cs: DataGridPagerStyle does not need DataGrid as argument
5734 for it's constructor, so remove it
5735 * DataGridPagerStyle.cs: Removed DataGrid argument from constructor
5737 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5739 * DataGridPagerStyle.cs: Implemented
5740 * TableItemStyle.cs (MergeWith): Now only sets style bits it owns
5741 * Style.cs: Added Styles enum values for DataGridPagerStyle
5743 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
5745 * Calendar.cs: get the styles right, honors more properties, fixes, fix
5748 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5750 * DataGridItem.cs: Implemented
5752 2005-07-26 Chris Toshok <toshok@ximian.com>
5754 * LinkButton.cs (AddParsedSubObject): reversed the order of
5755 Controls.Add() and Text = null
5756 (set_Text): call Controls.Clear()
5757 (RenderContents): use HasControls() for the if test instead of
5760 * HyperLink.cs (AddParsedSubObject): reversed the order of
5761 Controls.Add () and Text = null;
5763 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5765 * DataGridItemCollection.cs: Implemented
5767 2005-07-26 Chris Toshok <toshok@ximian.com>
5769 * LinkButton.cs (AddParsedSubObject): copy implementation from
5771 (RenderContents): only call writer.Write(Text) if Text != "".
5772 Otherwise default to base.RenderContents.
5774 2005-07-26 Chris Toshok <toshok@ximian.com>
5776 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
5777 ImageButton.cs, LinkButton.cs (AddAttributesToRender): add if
5778 (Page != null) around my last commit.
5780 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5782 * FontInfo.cs, CheckBox.cs, RadioButton.cs, ListItemCollection.cs:
5783 Fixed use of literal strings, instead using Consts
5784 * Xml.cs, RegularExpressionValidator.cs, TemplateColumn.cs,
5785 TextBox.cs, RequiredFieldValidator.cs, Repeater.cs, RepeaterItem.cs,
5786 Panel.cs, Literal.cs: Added attributes
5787 * BaseValidator.cs: Added missing override
5789 2005-07-26 Chris Toshok <toshok@ximian.com>
5791 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
5792 ImageButton.cs, LinkButton.cs (AddAttributesToRender): call
5793 Page.VerifyRenderingInServerFormHere.
5795 2005-07-26 Chris Toshok <toshok@ximian.com>
5797 * BaseValidator.cs: remove some MonoTODO's about the client side
5800 2005-07-26 Jordi Mas i Hernandez <jordi@ximian.com>
5802 * Calendar.cs: selection of dates, state load, save, track, support
5803 for new properties, many fixes.
5805 2005-07-26 Miguel de Icaza <miguel@novell.com>
5807 * Style.cs: Temporary methods to help buliding .NET 2.x
5809 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5811 * BaseValidator.cs: Added AssociateControlID (new in sp1), fixed
5813 * Xml.cs: Fixed base class, attributes
5814 * Button.cs, DataGridColumnCollection.cs, HyperLinkColumn.cs,
5815 Label.cs, ListItem.cs, ListControl.cs, CustomValidator.cs,
5816 CheckBoxList.cs, AdRotator.cs, DropDownList.cs, HyperLink.cs,
5817 DataGrid.cs, ButtonColumn.cs, CompareValidator.cs, Calendar.cs,
5818 ListBox.cs, ImageButton.cs, LinkButton.cs: Attribute fixes
5820 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5822 * RepeatInfo.cs: WOOHOOO! all tests pass. Boy is this class
5825 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5827 * RepeatInfo.cs: If the repeater has one column, the separators
5828 are rendered on a different line
5830 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5832 * DataGridSortCommandEventArgs: Sealed class
5833 * ButtonColumn.cs, Calendar.cs: Added Attributes
5835 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5837 * Button.cs, Style.cs, BaseCompareValidator.cs, RangeValidator.cs,
5838 BaseValidator.cs, AdRotator.cs, BoundColumn.cs: Added Attributes
5840 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5842 * FontInfo.cs, Style.cs, RangeValidator.cs, ListItemCollection.cs,
5843 DropDownList.cs, WebControl.cs, ValidationSummary.cs: Added Attributes
5845 2005-07-25 Chris Toshok <toshok@ximian.com>
5847 * ValidationSummary.cs (AddAttributesToRender): add client side
5849 (OnPreRender): set the "been here" flag.
5850 (Render): add client side support.
5852 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5854 * RepeatInfo.cs: Split the horiz and vertical cases, because this
5855 class has rules that are beyond strange. Continue working to make
5858 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5860 * RepeatInfo.cs: Misc fixes for my test suite.
5862 2005-07-25 Jackson Harper <jackson@ximian.com>
5864 * DataGrid.cs: Set the command name and args on the link buttons.
5866 2005-07-25 Jackson Harper <jackson@ximian.com>
5868 * DataGrid.cs: Lots o implementation.
5870 2005-07-25 Jackson Harper <jackson@ximian.com>
5872 * BoundColumn.cs: Partial implementation to get the DataGrid tests
5875 2005-07-23 Jordi Mas i Hernandez <jordi@ximian.com>
5877 * Button.cs: fixes events, adds attributes
5879 2005-07-23 Chris Toshok <toshok@ximian.com>
5881 * BaseValidator.cs (GetControlValidateValue): handle ListItems as
5882 prop.GetValue results.
5883 (Render): fix the static non-uplevel case, so that we display text
5884 when there's an error.
5886 2005-07-22 Chris Toshok <toshok@ximian.com>
5888 * RegularExpressionValidator.cs (AddAttributesToRender): only
5889 output ValidationExpression if it's != null.
5891 2005-07-22 Chris Toshok <toshok@ximian.com>
5893 * BaseValidator.cs (AddAttributesToRender): fix up the Display
5894 rendering such it matches MS's output.
5895 (Render): stop using the huge complicated if's for each output
5896 stage and move to boolean flags, and fix the static-nonuplevel
5897 case, where a validator outputs as nothing but
5899 2005-07-22 Jordi Mas i Hernandez <jordi@ximian.com>
5900 * Calendar.cs: Initial implementation
5901 * CalendarSelectionMode.cs: fix enum order
5903 2005-07-22 Sebastien Pouliot <sebastien@ximian.com>
5905 * DataList.cs: Rewrote the IRepeatInfoUser.RenderItem to support all
5906 (or more?) specific cases - including correct support for separators.
5907 Added some (commented) debugging code.
5908 * HyperLink.cs: Only render href and target attributes if they're not
5909 empty. Add "border=0" when rendering <img> tag. Fix Target default
5912 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
5914 * Style.cs (CopyFrom): Reset must go, MS doesn't do it (See tests)
5916 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
5918 * Style.cs (CopyFrom): Reset our styles and don't set bits from
5919 target explicitly, properties will set them
5921 2005-07-22 Dick Porter <dick@ximian.com>
5924 * ButtonColumn.cs: Initial stubs
5926 2005-07-22 Dick Porter <dick@ximian.com>
5929 * CheckBox.cs: Add assembly attributes
5931 2005-07-22 Ben Maurer <bmaurer@ximian.com>
5933 * HyperLink.cs: Handle non-literal children.
5935 2005-07-21 Ben Maurer <bmaurer@ximian.com>
5937 * Label.cs: SP1 stuff
5939 2005-07-21 Chris Toshok <toshok@ximian.com>
5941 * BaseValidator.cs (RegisterValidatorCommonScript): remove the NS4
5942 stuff that I c&p'ed from elsewhere - NS4 doesn't support the DOM1
5943 stuff WebUIValidation.js uses, so we don't support it for uplevel
5946 2005-07-21 Chris Toshok <toshok@ximian.com>
5948 * BaseValidator.cs (DetermineRenderUplevel): include checks for
5949 the EcmaScriptVersion and W3CDomVersion.
5951 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
5953 * BaseDataList.cs: Support IEnumerable.
5954 * DataList.cs: Fix alternate items.
5955 * TableCell.cs: Fixed AddParsedSubObject to work nicely with existing
5956 controls and the Text property.
5958 2005-07-21 Ben Maurer <bmaurer@ximian.com>
5960 * TextBoxMode.cs: Wrong ordering of enum...
5962 2005-07-21 Chris Toshok <toshok@ximian.com>
5964 * BaseValidator.cs (OnPreRender): call DetermineRenderUplevel and
5967 2005-07-21 Chris Toshok <toshok@ximian.com>
5969 * BaseValidator.cs (get_PropertiesValid): use our containing
5970 NamingContainer, not ourselves, to look up controls.
5971 (CheckControlValidationProperty): same.
5972 (GetControlRenderID): same.
5973 (GetControlValidationValue): same.
5974 (AddAttributesToRender): add the display style attribute if
5975 Display != Static, and add the value of IsValid if it's false.
5976 (DetermineRenderUplevel): use a try block around (Page.Request)
5977 since that can raise an exception.
5978 (OnPreRender): set pre_render_called, so we can consult it in
5980 (Render): complicate this method more to handle more of the
5981 Display/pre_render_called permutations.
5983 2005-07-21 Peter Dennis Bartok <pbartok@novell.com>
5985 * CustomValidator.cs: Initial implementation, still work in progress
5987 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
5989 * DataList.cs: Fix rendering for special items (-1).
5991 2005-07-21 Ben Maurer <bmaurer@ximian.com>
5993 * RepeatInfo.cs: Fix most of the tests.
5995 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
5997 * Image.cs: Call ResolveUrl for ImageUrl and DescriptionUrl properties.
5998 Add a border=0 attribute if no style is defined.
5999 * TableCell.cs: Use HtmlTextWriterTag (not a string).
6000 * TableHeaderCell.cs: Use HtmlTextWriterTag (not a string).
6001 * TableRow.cs: Use HtmlTextWriterTag (not a string).
6003 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6005 * BaseDataList.cs: Fix attributes.
6006 * HorizontalAlign.cs: Fix attributes.
6007 * Image.cs: Fix attributes and enums checks.
6008 * Table.cs: Fix attributes an enums checks.
6009 * TableCell.cs: Fix attributes.
6010 * TableCellCollection.cs: Fix attributes.
6011 * TableItemStyle.cs: Fix attributes and enums checks.
6012 * TableRowCollection.cs: Fix attributes.
6013 * TableRow.cs: Fix attributes.
6014 * TableStyle.cs: Fix attributes and enums checks.
6015 * VerticalAlign.cs: Fix attributes.
6017 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
6019 * BaseDataList.cs: Remove/#if-out useless/2.0 stuff.
6020 * DataList.cs: Added rendering support when ExtractTemplatesRows
6021 property is true (but RepeatInfo needs to be fixed to see it works).
6022 * DataListItem.cs: Added rendering support when extractRows parameter
6023 is true (but RepeatInfo still needs to be fixed ;-)
6025 2005-07-21 Duncan Mak <duncan@novell.com>
6027 * HyperLinkColumn.cs: Initial implementation.
6028 Todo: Figure out Initialize and InitializeCell.
6030 2005-07-20 Chris Toshok <toshok@ximian.com>
6032 * BaseValidator.cs: don't use Page.FindControl, use this Control's
6033 FindControl, so it'll use the same naming container.
6035 2005-07-21 Duncan Mak <duncan@novell.com>
6037 * DataGridCommandEventArgs.cs:
6038 * DataGridPageChangedEventArgs.cs:
6039 * RepeaterCommandEventArgs.cs: Fixed visibility.
6041 * DataGridPageChangedEventArgs.cs (CommandSource): Fixed typo.
6042 * DataGridSortCommandEventArgs.cs (CommandSource): Ditto..
6044 2005-07-20 Chris Toshok <toshok@ximian.com>
6046 * Button.cs: hook up the client side validation stuff.
6048 * ImageButton.cs: same.
6050 * LinkButton.cs: same, although it's a little more complicated
6053 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6056 - Implemented RaisePostDataChangedEvent()
6057 - Spewing postback command if AutoPostBack is true
6059 2005-07-20 Chris Toshok <toshok@ximian.com>
6061 * BaseValidator.cs: another Page != null check when uplevel
6064 2005-07-20 Chris Toshok <toshok@ximian.com>
6066 * BaseValidator.cs: check Page != null when determining if we're
6067 rendering uplevel or not.
6069 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6071 * ListItemCollection.cs: Removed obsolete method that's no longer
6074 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6076 * DropDownList.cs: Oops. Forgot to implement LoadPostData
6077 * ListItemCollection.cs: Added convenience method to have faster
6080 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6083 - Automatically select the first item if none are selected
6084 - Throw exception if more than one item is selected
6086 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6088 * DataList.cs: Fix style handling for RepeatLayout.Flow (which isn't
6089 handled by RepeatInfo).
6091 2005-07-20 Jackson Harper <jackson@ximian.com>
6093 * DataGrid.cs: Store the data source created columns in a
6094 DataGridColumnCollection. This way they can be put in the
6095 view state more easily, and accessed without casting.
6097 2005-07-20 Chris Toshok <toshok@ximian.com>
6099 * BaseValidator.cs (AddAttributesToRender): render the client side
6100 attributes if we're in uplevel mode.
6101 (DetermineRenderUplevel): flesh out a bit - for now basically
6102 return true unless the control has it disabled.
6103 (OnInit): only add the validator to Page's list if there is, in
6105 (OnUnload): same for removal.
6106 (OnPreRender): hook up client scripting stuff here. Only the call
6107 to RegisterValidatorCommonScript is a for sure thing here, the
6108 registering of the submit statement and startup script should
6109 probably go elsewhere, but I don't know where.
6110 (RegisterValidatorCommonScript): register the <script
6111 src=".../WebUIValidation.js"> tag, if it's not already there.
6112 (RegisterValidatorDeclaration): add our span object to the
6113 Page_Validators JS array.
6114 (Render): always render the tags (although this is probably not
6115 right), and call RegisterValidatorDeclaration here.
6117 * BaseCompareValidator.cs (AddAttributesToRender): render the
6118 client side attributes if we're in uplevel mode.
6119 (DetermineRenderUplevel): add MonoTODO.. why override this? Just
6120 call base.DetermineRenderUplevel for now.
6122 * RegularExpressionValidator.cs (AddAttributesToRender): render
6123 the client side attributes if we're in uplevel mode.
6125 * RequiredFieldValidator.cs (AddAttributesToRender): same.
6127 * CompareValidator.cs (AddAttributesToRender): same.
6129 2005-07-20 Jackson Harper <jackson@ximian.com>
6131 * DataGrid.cs: Save the data source created column set in the
6134 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6136 * DataList.cs: Fix events and properties exceptions. Give the right
6137 informations to RenderItem.
6139 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6141 * ValidationSummary.cs: Implemented rendering
6143 2005-07-20 Jackson Harper <jackson@ximian.com>
6145 * DataGrid.cs: column names are cached and only regenerated if useDataSource
6146 is set to true. Otherwise they are just fetched from the last set that
6147 was generated from the source.
6149 2005-07-20 Jackson Harper <jackson@ximian.com>
6151 * DataGrid.cs: Assign some properties of newly created BoundColumns.
6153 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6155 * DataList.cs: Fix viewstate ordering.
6157 2005-07-20 Ben Maurer <bmaurer@ximian.com>
6159 * SelectedDatesCollection.cs: Apprarently, I don't write code well
6162 * Repeater.cs: Uh, actually add stuff to the items collection
6165 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6167 * BaseDataList.cs: EnsureChildControls on Controls property.
6168 * DataList.cs: Fix rendering and Controls/Items differences.
6169 * DataListItem.cs: Added rendering of controls.
6171 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6173 * BaseDataList.cs: Don't call base.Render (or we'll get an extra span).
6175 2005-07-20 Jackson Harper <jackson@ximian.com>
6177 * DataGrid.cs: Add some of the collections. Implement
6180 2005-07-20 Jackson Harper <jackson@ximian.com>
6182 * PagedDataSource.cs: Implement GetItemProperties, this is
6183 needed for the datagrid.
6185 2005-07-20 Ben Maurer <bmaurer@ximian.com>
6187 * DataGridColumnCollection.cs: New impl
6189 * TemplateColumn.cs: New impl
6191 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
6193 * BaseDataList.cs: Call PrepareControlHierarchy from Render.
6194 * DataList.cs: Work in progress... Added attributes, proper
6195 IRepeatInfoUser support and cool things stolen from other classes.
6196 * DataListCommandEventArgs.cs: Class is sealed.
6197 * DataListItem.cs: RenderItem is public.
6199 2005-07-19 Jackson Harper <jackson@ximian.com>
6201 * ListControl.cs: Use Events Add/RemoveHandler. Don't create
6202 a viewstate object if all the viewstate stuff is null.
6204 2005-07-19 Jackson Harper <jackson@ximian.com>
6206 * DataGrid.cs: Implement style properties and viewstate
6207 saving/loading/tracking.
6209 2005-07-19 Chris Toshok <toshok@ximian.com>
6211 * BaseValidator.cs: more fixes from pdb.
6213 2005-07-19 Chris Toshok <toshok@ximian.com>
6215 * BaseValidator.cs: some test-driven fixes.
6217 2005-07-19 Chris Toshok <toshok@ximian.com>
6219 * BaseValidator.cs: Initial implementation.
6221 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
6223 * Repeater.cs: Fix small typo.
6225 2005-07-19 Peter Dennis Bartok <pbartok@novell.com>
6227 * ValidationSummaryTest.cs: Started implementation
6228 * RangeValidator.cs: Implemented
6229 * ValidatedControlConverter.cs: Implemented
6230 * DropDownList.cs: Implemented
6232 2005-07-19 Jackson Harper <jackson@ximian.com>
6234 * DataGrid.cs: Implement bubble event.
6236 2005-07-19 Jackson Harper <jackson@ximian.com>
6238 * DataGrid.cs: New implementation. Just properties and events for
6241 2005-07-18 Chris Toshok <toshok@ximian.com>
6243 * BaseCompareValidator.cs: Initial implementation, with some NYI.
6245 2005-07-19 Ben Maurer <bmaurer@ximian.com>
6247 * FontUnit.cs: Corcompare fixes
6249 * UnitConverter.cs: Fix api diffs
6251 2005-07-18 Ben Maurer <bmaurer@ximian.com>
6253 * ListControl.cs: Fix api differences
6255 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
6257 * Table.cs: Fix indentation for caption. Simplify check when adding
6259 * TableRow.cs: Simplify check when adding controls.
6261 2005-07-18 Chris Toshok <toshok@ximian.com>
6263 * CompareValidator.cs: wtf, just use the base class's methods.
6265 2005-07-18 Chris Toshok <toshok@ximian.com>
6267 * CompareValidator.cs: do comparisons based on
6268 BaseCompareValidator.Type.
6270 2005-07-18 Chris Toshok <toshok@ximian.com>
6272 * CompareValidator.cs: initial implementation.
6274 2005-07-18 Chris Toshok <toshok@ximian.com>
6276 * RegularExpressionValidator.cs: initial implementation.
6278 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
6280 * DataList.cs: Fixed to match 1.1 behaviour (and new unit tests).
6282 2005-07-18 Jackson Harper <jackson@ximian.com>
6284 * CheckBoxList.cs: Implement LoadPostBackData. Also register
6285 checkboxes for postback if they are checked so we can find
6286 out when they are unchecked. Copy the AutoPostBack variable
6287 to the to be rendered checkbox when rendering.
6289 2005-07-18 Ben Maurer <bmaurer@ximian.com>
6291 * TextBox.cs: Finish this up.
6293 * AdRotator.cs: Fix issues in the test suite. Minor style
6296 * Repeater.cs: Fix a bug where the datasource is null and we do
6299 * WebColorConverter.cs: Optimize by not doing a concat on a
6302 2005-07-17 Ben Maurer <bmaurer@ximian.com>
6304 * ListItemCollection.cs: Multiple uses of equals rather than
6305 string.compare as below. Remove unreachable code warning.
6307 * WebColorConverter.cs (ConvertTo): Use the == operator on string
6308 rather than an invariant non-case ignoring compare. They are
6309 exactly the same thing. Use proper coding style in this method.
6311 * WebControl.cs: Return null when saving the view state if there
6312 is no state in any of the things we save. This creates a fairly
6313 large savings, because we can avoid saving anything about many
6314 levels of deaply nested controls.
6316 2005-07-15 Jackson Harper <jackson@ximian.com>
6318 * CheckBoxList.cs: Use the index as the ID, the rest of the
6319 id is built by being in the NamingContainer.
6321 2005-07-15 Jackson Harper <jackson@ximian.com>
6323 * ListControl.cs: Use enum instead of string. Saves a lookup.
6325 2005-07-15 Jackson Harper <jackson@ximian.com>
6327 * CheckBoxList.cs: FindControl always returns 'this' according
6330 2005-07-15 Jackson Harper <jackson@ximian.com>
6332 * CheckBoxList.cs: New impl.
6334 2005-07-15 Jackson Harper <jackson@ximian.com>
6336 * WebControl.cs: Use the ClientID when rendering a controls ID
6337 attribute so that naming containers are honoured.
6339 2005-07-15 Jackson Harper <jackson@ximian.com>
6341 * ListControl.cs: use the state manager interface for tracking
6344 2005-07-15 Ben Maurer <bmaurer@ximian.com>
6346 * Repeater.cs (DoItem): Add the DataItem before we call user
6347 methods, as it seems to be there with msft.
6349 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
6351 * BaseDataList.cs: New. (mostly complete) implementation.
6352 * DataKeyCollection.cs: New. Implementation (complete).
6353 * DataList.cs: New. (mostly incomplete) implementation.
6354 * DataListItem.cs: New. (mostly complete) implementation.
6355 * DataListItemCollection.cs: New. Implementation (complete).
6357 2005-07-15 Ben Maurer <bmaurer@ximian.com>
6359 * Repeater.cs (DoItem): We need to .Add the control *before* we
6360 data bind it so that the state gets tracked correctly. Fixes the
6363 2005-07-15 Jackson Harper <jackson@ximian.com>
6365 * ListControl.cs: Simplify comparison.
6367 2005-07-15 Jackson Harper <jackson@ximian.com>
6370 * Repeater.cs: Use new utility class for resolving data sources.
6372 2005-07-15 Jackson Harper <jackson@ximian.com>
6374 * ListControl.cs: Add attributes so the sub items get parsed
6375 properly. Remove old unneeded code for resolving lists.
6377 2005-07-15 Jackson Harper <jackson@ximian.com>
6379 * ListControl.cs: Use the DataSourceHelper so DataMembers are
6382 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6385 - Some optimizations
6386 * Don't use enum formatting stuff, it is 1) expensive 2) does
6387 allocations. Use a new method in HtmlControl to do the right
6389 * Don't use Enum.IsDefined but an explicit check.
6390 * (x == "" || x.Length < 2) is not needed since "".Length == 0 < 2
6391 - Use the correct coding style.
6393 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6395 * WebColorConverter.cs:
6396 - Alpha of 255 is only set if the hex number is exactly 6 digits
6397 - Ben didn't like the catch { throw; } (even though MS documents to
6399 - Use Invariant Culture for parsing (thanks, Ben)
6401 2005-07-14 Jackson Harper <jackson@ximian.com>
6403 * ListControl.cs: Use DataBinder.Eval for data binding. This is more
6404 code-reuse-arific. Also use the IStateManager interface for loading
6405 data instead of the old internal method.
6407 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6409 * WebColorConverter.cs: Implemented
6411 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6413 * Repeater.cs: Cleanup; use the DataSourceHelper thingy.
6415 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6417 * Repeater.cs: Get it working
6419 2005-07-14 Jackson Harper <jackson@ximian.com>
6421 * ListControl.cs: Initial implementation of Databinding. Make sure
6422 that the ListItemCollection is created when we load its ViewState.
6424 2005-07-14 Jackson Harper <jackson@ximian.com>
6426 * ListControl.cs: Fix typo.
6428 2005-07-14 Jackson Harper <jackson@ximian.com>
6430 * ListControl.cs: New Implementation. Lacks databinding support.
6432 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6434 * Repeater.cs: The beginnings of this control
6436 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6438 * TargetConverter.cs: Implemented
6440 2005-07-14 Duncan Mak <duncan@novell.com>
6442 * PagedDataSource.cs: Initial implementation.
6444 Methods that need to be figured out:
6445 CopyTo, GetItemProperties, PageCount, IsLastPage.
6447 To complete: CollectionEnumerator, ListEnumerator.
6449 2005-07-13 Duncan Mak <duncan@novell.com>
6451 * RepeatDirection.cs:
6453 * ValidationCompareOperator.cs:
6454 * ValidationDataType.cs:
6455 * ValidationSummaryDisplayMode.cs:
6456 * ValidatorDisplay.cs: Added remaining enumerations.
6458 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6460 * FontNamesConverter.cs: Implemented
6462 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6464 * RepeaterItem.cs: Compile fix
6466 * RepeaterItemCollection.cs: New file
6468 * RepeaterItem.cs: get OnBubbleEvent right.
6470 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6472 * ListItemCollection.cs: Count can be derived from the array, which
6473 allows us to use a Pair instead of a Triplet and save some space
6475 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6477 * RepeaterItem.cs: Stub
6479 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6481 * ListItemCollection.cs: Implemented
6482 * WebControl.cs: Added check for enumeration validity (thanks Jackson)
6484 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6486 * RepeatInfo.cs: Impl.
6488 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6490 * FirstDayOfWeek.cs: Added
6492 2005-07-13 Jackson Harper <jackson@ximian.com>
6494 * ListBox.cs: Some parameter checking.
6496 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6498 * Image.cs: Added support for DescriptionUrl as this property was
6499 added in Fx 1.1 SP1.
6501 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6503 * Style.cs (AddAttributesToRender): Don't render attributes if they
6504 contain only their default value
6506 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6508 * Table.cs: New. Initial re-implementation.
6509 * TableCell.cs: New. Initial re-implementation.
6510 * TableCellCollection.cs: New. Initial re-implementation.
6511 * TableHeaderCell.cs: New. Initial re-implementation.
6512 * TableItemStyle.cs: New. Initial re-implementation.
6513 * TableRow.cs: New. Initial re-implementation.
6514 * TableRowCollection.cs: New. Initial re-implementation.
6515 * TableStyle.cs: New. Initial re-implementation.
6517 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6519 * Style.cs: Removed the call to Reset in CopyFrom. This fix the new
6520 unit tests (for Style) and more tests in Table* classes.
6522 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6524 * Style.cs: TableStyle and TableItemStyle don't override IsEmpty,
6525 however IsEmpty returns false if any of their properties are set.
6526 Looks ugly but it's compatible with MS implementation (feature and
6529 2005-07-13 Dick Porter <dick@ximian.com>
6531 * CheckBox.cs: Reverted Ben's enum-to-int ViewState change, remove
6532 null Text properties from the ViewState, test for TextAlign being
6533 out of range. All to make tests pass on both mono and ms
6536 2005-07-13 Jackson Harper <jackson@ximian.com>
6538 * ListBox.cs: Use invariant culture when doing a ToString,
6539 set value to the item's value, not to its Text.
6541 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6543 * WebControl.cs (AddAttributesToRender): Added ID to rendered
6546 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6548 * Style.cs(MergeWith): Handle null styles
6550 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
6552 * TableCaptionAlign.cs: This enum was added in 1.1 SP1 so I removed
6553 the #if NET_2_0 on it.
6555 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6557 * Style.cs: Only render font elements if fontinfo object exists
6559 - Implemented SaveViewState()
6560 - Added loading of Style to LoadViewState
6561 - Implemented IAttributeAccessor methods
6563 2005-07-12 Jackson Harper <jackson@ximian.com>
6565 * ListBox.cs: Even track default values in the viewstate. Call
6566 base's RenderContents.
6568 2005-07-12 Jackson Harper <jackson@ximian.com>
6570 * ListBox.cs: New impl.
6572 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6575 - Implemented methods
6578 2005-07-12 Ben Maurer <bmaurer@ximian.com>
6580 * ListItem.cs: New impl.
6582 2005-07-12 Duncan Mak <duncan@novell.com>
6584 * DayNameFormat.cs: Added.
6586 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6588 * WebControl.cs: Implemented properties
6590 2005-07-12 Ben Maurer <bmaurer@ximian.com>
6592 * TextBox.cs: Passwords seem 1) not to be rendered to the client
6593 if set, 2) not kept in view state (for security reasons...)
6596 * Button.cs: Page.Validate () if needed. Gets the validator tests
6599 * TextBox.cs: Properties to get the validator stuff to work.
6601 2005-07-12 Miguel de Icaza <miguel@novell.com>
6603 * Unit.cs: If the units are pixels, then truncate the value.
6605 2005-07-12 Dick Porter <dick@ximian.com>
6607 * RadioButton.cs: New implementation
6609 * CheckBox.cs: Rearrange the attributes rendering to allow
6610 RadioButton to derive from this
6612 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
6614 * TitleFormat.cs: Add attribute
6615 * TextBoxMode.cs: Add attribute
6616 * CalendarDay.cs: Initial implementation
6617 * ImageButton.cs: Initial implementation
6618 * CalendarSelectionMode.cs:Initial implementation
6620 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
6622 * TextBoxMode.cs: simple enum
6623 * TitleFormat.cs: simple enum
6625 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6627 * FontInfo.cs: Now using BenM's fancy internal StateBag methods
6629 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6631 * FontUnit.cs: Added TypeConverter attribute to class
6632 * FontUnitConverter.cs: Implemented
6634 2005-07-11 Ben Maurer <bmaurer@ximian.com>
6637 * Button.cs: Bubble the Command event.
6639 2005-07-11 Ben Maurer <bmaurer@ximian.com>
6642 - Clean up style (with my wonderful state bag hack!)
6643 - Fix a view state typo.
6644 - Use AddAttributesToRender
6645 - Don't add an extra <span>
6647 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6649 * Style.cs: Handle null constructor argument for bag
6651 2005-07-11 Dick Porter <dick@ximian.com>
6653 * CheckBox.cs: New implementation
6655 * RadioButton.cs: Initial stubbed version that just compiles
6657 2005-07-10 Jordi Mas i Hernandez <jordi@ximian.com>
6659 * Button.cs: Initial Button implementation
6661 2005-07-10 Sebastien Pouliot <sebastien@ximian.com>
6663 * VerticalAlign.cs: Fixed enum name (copy/paste from HorizontalAlign).
6665 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
6667 * HorizontalAlign.cs: Typo in header.
6668 * VerticalAlign.cs: New. Required enum for TableRow control.
6670 2005-07-09 Ben Maurer <bmaurer@ximian.com>
6672 * TextBox.cs: More work on this
6674 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
6676 * GridLines.cs: New. Required enum for Table control.
6677 * HorizontalAlign.cs: New. Required enum for Table control.
6679 2005-07-09 Duncan Mak <duncan@novell.com>
6681 * CommandEventHandler.cs:
6682 * DataGridCommandEventHandler.cs:
6683 * DataGridItemEventHandler.cs:
6684 * DataGridPageChangedEventHandler.cs:
6685 * DataGridSortCommandEventHandler.cs:
6686 * DataListCommandEventHandler.cs:
6687 * DayRenderEventHandler.cs:
6688 * RepeaterCommandEventHandler.cs:
6689 * ServerValidateEventHandler.cs: Add delegates.
6692 * ListSelectionMode.cs:
6693 * NextPrevFormat.cs:
6695 * PagerPosition.cs: Add enums.
6697 2005-07-09 Ben Maurer <bmaurer@ximian.com>
6699 * TextBox.cs: Add the work I did on this today. It's not complete
6700 yet, but its a start!
6702 2005-07-09 Duncan Mak <duncan@novell.com>
6704 * CommandEventArgs.cs:
6705 * DataGridCommandEventArgs.cs:
6706 * DataGridItemEventArgs.cs:
6707 * DataGridPageChangedEventArgs.cs:
6708 * DataGridSortCommandEventArgs.cs:
6709 * DataListCommandEventArgs.cs:
6710 * DataListItemEventArgs.cs:
6711 * DayRenderEventArgs.cs:
6712 * RepeaterCommandEventArgs.cs:
6713 * RepeaterItemEventArgs.cs:
6714 * ServerValidateEventArgs.cs: Implemented.
6716 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
6718 * Image.cs: New. Image class implementation.
6719 * ImageAlign.cs: New. ImageAlign enum definitions.
6721 2005-07-08 Jackson Harper <jackson@ximian.com>
6723 * Literal.cs: New implentation.
6724 * MonthChangedEventArgs.cs: new
6725 * MonthChangedEventHandler.cs: new
6727 2005-07-08 Ben Maurer <bmaurer@ximian.com>
6729 * LinkButton.cs: Command impl
6731 2005-07-08 Ben Maurer <bmaurer@ximian.com>
6733 * LinkButton.cs: Initial impl
6735 2005-07-08 Jackson Harper <jackson@ximian.com>
6737 * AdCreatedeventArgs.cs: New implementation.
6739 2005-07-08 Dick Porter <dick@ximian.com>
6742 * BorderStyle.cs: Added
6744 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
6746 * FontInfo.cs: Fixed behaviour discrepancies showed by tests
6748 2005-07-07 Miguel de Icaza <miguel@novell.com>
6750 * Xml.cs: New implementation. R00lz.
6752 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
6754 * FontInfo.cs: Added and implemented.
6755 * Style.cs: Fixed behaviour discrepancies showed by tests
6757 2005-07-07 Ben Maurer <bmaurer@ximian.com>
6759 * PlaceHolderControlBuilder.cs: new file
6761 * LabelControlBuilder.cs: New file
6763 * HyperLink.cs: use control builder; fix parsing stuff
6765 * HyperLinkControlBuilder.cs: new file
6767 * Panel.cs: misc fixes
6769 2005-07-07 Miguel de Icaza <miguel@novell.com>
6771 * Unit.cs: Add TypeConverter, so that web_panel.aspx works again.
6773 * UnitConverter.cs: Add new file, learned from the
6774 System.Drawing.ColorConverter.
6776 2005-07-07 Ben Maurer <bmaurer@ximian.com>
6778 * PlaceHolder.cs: New file. Seems to do nothing
6780 * Label.cs: Use my new statebag trick to reduce typing
6782 * HyperLink.cs: New file
6784 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
6786 * Style.cs: Added and implemented.
6788 2005-07-06 Miguel de Icaza <miguel@novell.com>
6790 * FontUnit.cs: New file.
6792 * Unit.cs: New file.
6794 Added support for null and empty string constructors.
6796 2005-07-06 Ben Maurer <bmaurer@ximian.com>
6798 * Unit.cs: cctor not needed; static fields are 0 init'd by default
6800 * WebControl.cs: Kothari & Datye's book explains how these work.
6802 * IRepeatInfoUser.cs: Reimpl.
6804 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
6806 * WebControl.cs: Added stub
6808 2005-07-05 Miguel de Icaza <miguel@novell.com>
6810 * Label.cs: First control.
6812 2005-06-27 Lluis Sanchez Gual <lluis@novell.com>
6814 * DataControlField.cs: Ignore the ShowHeader property when
6815 building the control's content. It is the resposability of
6816 the field container to decide if the header should be shown
6819 2005-06-10 Lluis Sanchez Gual <lluis@novell.com>
6822 * ImageFieldMode.cs:
6823 * DynamicImageParameterMode.cs:
6824 * TableViewMode.cs: Removed.
6828 * TableRowSection.cs:
6829 * AutoCompleteType.cs:
6830 * DayNameFormat.cs: Track changes in 2.0 api.
6832 * StringArrayConverter.cs: This class is 2.0 only.
6834 2005-06-06 Lluis Sanchez Gual <lluis@novell.com>
6838 * DetailsView.cs: Bind the control after creating all child
6840 * DataBoundControl.cs: Call OnDataBinding and OnDataBound in
6841 the correct methods.
6842 * BaseDataBoundControl.cs: Don't call DataBind nor OnDataBound
6843 in this class. This is done in DataBoundControl. All this fixes
6846 2005-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6848 * ListItemCollection.cs: Patch from Curtis (eto@shaw.ca) that fixes
6849 FindByText. Closes bug #74205.
6851 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6853 * PagedDataSource.cs: patch by Suresh Kumar that makes PageCount return
6854 1 when there's a datasource and 0 pages. Closes bug #73864.
6856 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
6863 * MenuItemTemplateContainer.cs:
6864 * DetailsView.cs: Track changes in the IDataItemContainer interface.
6866 * CommandField.cs: Added CausesValidation property. Set that
6867 property value to all buttons of the field.
6869 * SqlDataSourceView.cs:
6870 * CollectionDataSource.cs:
6871 * XmlDataSourceView.cs: Properly initialize the base class.
6873 * SiteMapDataSource.cs:
6874 * SiteMapHierarchicalDataSourceView.cs:
6875 * SiteMapNodeItem.cs:
6876 * SiteMapDataSourceView.cs:
6877 * SiteMapPath.cs: Mostly implemented.
6879 * HierarchicalDataBoundControl.cs: Always bind the control when the
6880 page is loaded for the first time.
6882 * TreeView.cs: Properly bind the control when loaded from a callback.
6884 2005-05-21 Ben Maurer <bmaurer@ximian.com>
6886 * BaseDataList.cs: Caption is in 1.1 too, though not
6887 documented. Gonz owes me [more] ice cream. Yummmmm.
6889 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6891 * BaseDataList.cs: implemented 2.0 Caption property.
6893 2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
6895 * TreeView.cs: Always render the startup script. This fixes
6898 2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
6900 * WizardStepBase.cs:
6901 * WizardStep.cs: Added missing attributes.
6902 * Wizard.cs: Implemented missing methods and properties. It can now
6903 be considered feature complete.
6905 2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6907 * DataGrid.cs: cleanup in AutoCreateColumns. Don't throw at the end of
6908 the method if the data source was en empty IEnumerator. Fixes
6911 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
6915 * Menu.cs: Implemented some new properties from beta 2.
6917 * DataControlButton.cs: Render the ControlStyle if it
6921 * FontUnitConverter.cs: Improved the conversion to InstanceDescriptor.
6922 It will now generate an object creation, instead of a Parse call.
6924 * GridViewCommandEventArgs.cs: Added missing property.
6925 * SubMenuStyleCollection.cs: This class is not sealed.
6926 * MultiView.cs: Set Visible=false to all views that are not
6927 shown. This ensures that it's view state is saved.
6929 * BaseDataBoundControl.cs:
6930 * GridViewDeletedEventArgs.cs: Minor api fixes.
6932 * FormViewDeleteEventArgs.cs:
6933 * DetailsViewDeletedEventArgs.cs:
6934 * ListControl.cs: Fix warnings.
6938 * HotSpotCollection.cs
6941 * RectangleHotSpot.cs
6942 * WizardStepCollection.cs : Implemented.
6946 * Wizard.cs: Initial implementation.
6948 2005-05-04 Lluis Sanchez Gual <lluis@novell.com>
6950 * DataControlField.cs:
6954 * DataControlCommands.cs:
6955 * DetailsView.cs: Use constants to identify commands.
6957 * SubMenuStyle.cs: Use Unit instead of int for padding.
6958 * SubMenuStyleCollection.cs: Implemented.
6961 * Menu.cs: Added some missing methods and properties.
6964 * DataGridPagerStyle.cs: Fixed default value attributes.
6965 * ListControl.cs: Implemented IEditableTextControl interface.
6967 * MenuItemBinding.cs: Added Selectable property.
6968 * CustomValidator.cs: removed interface.
6970 * MenuItem.cs: Added support for custom binding.
6971 * DropDownList.cs: Moved text properties to base class.
6973 2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6975 * Calendar.cs: OnDayRender can toggle IsSelectable on our back.
6977 2005-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6979 * Calendar.cs: when the day is active, modify the text of the literal
6980 control that holds the number, not the text of the TableCell. Also call
6981 OnDayRender before updating that text. Fixes bug #74718.
6983 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
6985 * DataKey.cs: Added virtual TrackViewState and IsTrackingViewState
6987 * DataControlFieldHeaderCell.cs: Save Scope in view state.
6988 Added AbbreviatedText property.
6989 * AutoGeneratedField.cs: The constructor should actually be internal.
6990 * DataGridItem.cs: Added implemented interface in 2.0.
6991 * DataControlFieldCollection.cs: Implemented CloneFields and
6995 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6997 * StringArrayConverter.cs:
6998 * Calendar.cs: warnings.
7000 2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
7002 * FormViewDeleteEventArgs.cs:
7003 * FormViewInsertEventArgs.cs:
7004 * FormViewUpdateEventArgs.cs:
7005 * FormViewDeletedEventArgs.cs:
7006 * FormViewUpdatedEventArgs.cs:
7007 * FormViewInsertedEventArgs.cs: Implemented some missing properties.
7010 * IButtonControl.cs:
7011 * Button.cs: Removed SoftKey property.
7013 * CheckBox.cs: Don't try to load post back data if the control
7017 * AutoGeneratedField.cs:
7018 * DataControlField.cs:
7020 * ButtonFieldBase.cs:
7024 * ButtonField.cs: Don't bind fields in Insert state.
7025 Implemented CreateField and CopyProperties.
7028 * DetailsView.cs: Removed some unneeded interfaces. Don't
7029 generate the field rows if there are no items in the data source.
7030 Don't get the current keys until the whole control has been
7033 * DetailsViewInsertedEventArgs.cs:
7034 * DataBoundControl.cs:
7035 * ObjectDataSourceView.cs: Made some methods private.
7038 * Menu.cs: Changed some properties from int to Unit.
7040 * DataControlButton.cs: javascript prefix is needed when raising
7041 the postback event from a link.
7043 * PagedDataSource.cs: Some fixes in Count and IsLastPage properties.
7044 The result was wrong when the total data source count was 0.
7046 * FormView.cs: Implemented.
7047 * FormViewRow.cs: Implemented.
7050 * Localize.cs: Fixed base interface.
7052 * BaseDataBoundControl.cs: In DataBind() call the base class
7053 DataBind method, so the binding context is properly set.
7055 2005-04-15 Lluis Sanchez Gual <lluis@novell.com>
7057 * DetailsView.cs: Added some null checks.
7058 * TemplateField.cs: Implemented support for two-way bindings.
7060 2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
7062 * DetailsView.cs: Implemented support for Insert operation.
7063 Added header and footer templates. Added missing style
7065 * ObjectDataSourceView.cs: Use ParameterCollection.GetValues
7066 to get filter values. Other minor fixes.
7067 * CommandField.cs: Properly render the Insert and New buttons.
7068 * ObjectDataSource.cs: Update the parameter collections after
7069 the page is loaded. This will fire the ParameterChanged event
7071 * DataBoundControl.cs: The OnDataSourceViewChanged method
7072 is called when the view changes, not when the datasource
7075 * DetailsViewInsertedEventArgs.cs:
7076 * DetailsViewInsertEventArgs.cs: Implement Values property.
7079 * AutoGeneratedField.cs
7082 Take into account the Insert mode.
7084 * ParameterCollection.cs: Implemented UpdateValues and fixed
7085 GetValues (values can't be cached because can change).
7086 * Parameter.cs: Detect value changes in GetValue, and fire
7087 the change event if needed. Removed unused ParameterValue
7088 property. Other fixes.
7090 2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
7092 * DetailsView.cs: Initial implementation.
7093 * ObjectDataSourceView.cs: Notify changes in the parameters.
7094 * DetailsViewDeletedEventArgs.cs, DetailsViewUpdatedEventArgs.cs,
7095 DetailsViewDeleteEventArgs.cs, DetailsViewUpdateEventArgs.cs:
7096 Implemented some properties.
7097 * GridView.cs: Added null check in SelectedValue. Don't return null
7098 for empty DataKeyNames list.
7099 * DetailsViewRowCollection.cs: Implemented.
7100 * DetailsViewRow.cs: Implemented.
7101 * ButtonFieldBase.cs: By default button field don't have headers.
7102 * BoundField.cs: Don't bind header fields.
7104 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
7106 * ButtonField.cs: Get data item properties using TypeDescriptor.
7107 Made OnDataBindField private.
7108 * ObjectDataSourceView.cs: Implemented support for Delete and
7109 Insert operations, support for filtering and sorting,
7110 conflict detection, etc. It's now complete.
7111 * ObjectDataSource.cs: Completed most of functionality. Only
7112 caching support is missing.
7113 * ObjectDataSourceFilteringEventHandler.cs: New event handler.
7114 * TreeNode.cs: Get data item properties using TypeDescriptor.
7115 * PagerSettings.cs: Flush.
7116 * ObjectDataSourceFilteringEventArgs.cs: New event args.
7117 * GridView.cs: Get data item properties using TypeDescriptor
7118 and cache them. Properly set descending order in the sort
7119 expression. In UpdateRow, make sure we get the old values
7120 before the control is bound again.
7121 * ImageField.cs: Implemented.
7122 * AutoGeneratedField.cs: Initialize the field's sort
7123 expression in the constructor.
7124 * MenuItem.cs: Get data item properties using TypeDescriptor.
7125 * BoundField.cs: Get data item properties using TypeDescriptor.
7126 * CheckBoxField.cs: Added missing attributes.
7127 * TemplateField.cs: Implemented.
7129 2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7132 * FontUnitConverter.cs: fixed ConvertTo to work with target
7133 InstanceDescriptor and value as a string.
7135 * Unit.cs: culture might be null.
7139 2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
7141 * ButtonField.cs: Mostly implemented.
7142 * DataControlFieldHeaderCell.cs: Implemented.
7143 * ObjectDataSourceView.cs: Initial implementation.
7144 * DataControlButton.cs: Added support for real buttons.
7145 * Label.cs, DataControlField.cs: Flush.
7146 * ObjectDataSource.cs: Initial implementation.
7147 * HiddenField.cs: Added class stub.
7148 * GridView.cs: Load autogenerated field properties before
7149 creating the children, to make sure that column info is ready.
7150 * ControlParameter.cs: Implemented Evaluate method.
7151 * ImageField.cs: Added class stub.
7152 * BoundField.cs: Added HtmlEncode property.
7153 * DataControlFieldCell.cs: Moved AccessibleDataControlFieldCell
7155 * CheckBoxField.cs: Mostly implemented.
7156 * TemplateField.cs: Added class stub.
7157 * ObjectDataSourceSelectingEventArgs.cs: Added missing property.
7158 * ObjectDataSourceMethodEventArgs.cs: Fixed base class.
7159 * Parameter.cs: Added internal GetValue method (Evaluate is protected)
7161 2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
7163 * DataControlField.cs: Added missing InsertVisible property.
7164 * AutoGeneratedFieldProperties.cs: Implemented.
7165 * PagerSettings.cs: Minor fix.
7166 * GridView.cs: Implemented support for autogenerated fields, templates,
7167 accessible headers. Implemented paging using PagedDataSource.
7168 Implemented missing overridable methods.
7169 * AutoGeneratedField.cs: Initial implementation.
7170 * BoundField.cs: Added ReadOnly property.
7171 * PagedDataSource.cs: Implemented 2.0 api.
7172 * DataControlFieldCell.cs: Implemented AccessibleDataControlFieldCell
7173 cell class to be used by accessible headers.
7174 * TableCell.cs: Removed unneded constructor. If the cell is bound to
7175 a template, call the default RenderContents method.
7177 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
7179 * TreeNode.cs, TreeView.cs: Don't raise the SelectedNodeChanged
7180 event when loading the view state. Fixes #73746.
7182 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
7184 * ListControl.cs: Load selected indices in the right place. Fixes #73745.
7186 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
7188 * Button.cs, ImageButton.cs: Interpret PostBackOptions.ClientSubmit
7190 * CommandField.cs: Mostly implemented.
7191 * Menu.cs: Use callback methods moved to ClientScriptManager.
7192 * DataControlButton.cs: Internal control used to implement buttons
7193 for navigating in data bound controls.
7194 * DataControlField.cs, PagerSettings.cs: Use the new DataControlButton
7195 to render the column headers.
7196 * CheckBox.cs, RadioButton.cs, BulletedList.cs, TextBox.cs
7197 DropDownList.cs, Calendar.cs, ListBox.cs, LinkButton.cs, TreeView.cs:
7198 Don't use Page.GetPostBackClientEvent
7199 since it is deprecated in 2.0.
7200 * GridView.cs: Implemented some several interfaces.
7201 Implemented support client sorting and page navigation (using callbacks).
7202 Implemented the autogenerated command column using the new CommandField
7204 * ButtonFieldBase.cs: Implemented.
7205 * GridView.js: New helper script to support client side sorting and
7206 paging in the grid view.
7208 2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
7210 * DataKey.cs: Implemented.
7211 * XmlDataSourceView.cs: Implemented support for row pagging.
7212 * Table.cs: Fixed attribute value.
7213 * DataControlField.cs: Added support for sorting headers.
7214 * ChildTable.cs: Created.
7215 * ListControl.cs: Delay selection assignment, since control state
7216 is now loaded before view state.
7217 * GridViewDeleteEventArgs.cs, GridViewUpdateEventArgs.cs,
7218 GridViewDeletedEventArgs.cs, GridViewUpdatedEventArgs.cs: Implemented
7219 several missing properties.
7220 * PagerSettings.cs: Fully implemented.
7221 * BaseDataList.cs: Added null check.
7222 * GridView.cs: Implemented more functionality.
7223 * BoundField.cs: Added support for cell editing.
7224 * StringArrayConverter.cs: Implemented.
7225 * DataKeyArray.cs: Implemented.
7226 * BaseDataBoundControl.cs: Reset the requires binding flag before
7227 executing the query. This avoids recursive query calls.
7228 * GridViewRow.cs: Handler commands raised from row childs.
7230 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
7232 * XmlDataSourceView.cs: ExecuteSelect now returns a list of
7233 XmlDataSourceNodeDescriptor instead of a list of nodes. In this way
7234 it is possible to query for properties fore each data item.
7235 * Menu.cs, TreeView.cs: Make sure that objects are correctly created
7236 when loading its view state.
7237 * DataControlField.cs: Implement properties using a StateBag.
7238 * XmlDataSourcePropertyDescriptor.cs: Implemented.
7239 * PagerSettings.cs: Mostly implemented.
7240 * AccessDataSourceView.cs, AccessDataSource.cs: Added security attribute.
7241 * DataBoundControl.cs: Added null check.
7242 * GridView.cs: Initial implementation.
7243 * CompositeDataBoundControl.cs: Implemented.
7244 * BoundField.cs: Initial implementation.
7245 * GridViewRowCollection.cs: Initial implementation.
7246 * DataControlFieldCollection.cs: Initial implementation.
7247 * DataControlFieldCell.cs: Fixed control tag.
7248 * GridViewRow: Initial implementation.
7249 * XmlDataSourceNodeDescriptor.cs: Implemented.
7251 2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7253 * WebControl.cs: correctly use TagName in RenderBeginTag, ie, if TagKey
7254 is zero, use the TagName no matter its value. Fixes bug #72415.
7256 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
7258 * Style.cs: Method name fix.
7259 * HyperLinkColumn.cs, HyperLink.cs: Moved SoftkeyLabel to HyperLink.
7260 * BaseCompareValidator.cs: Method signature fix.
7261 * CollectionDataSource.cs: Implemented DataSource wrapper for collections.
7262 * BaseDataList.cs, Repeater.cs: Fixed data binding code.
7263 * BulletedList.cs: Added missing method.
7264 * DataBoundControl.cs, BaseDataBoundControl.cs: Made it behave like MS.NET.
7266 2005-02-16 Lluis Sanchez Gual <lluis@novell.com>
7268 * HyperLinkColumn.cs, Label.cs: Added missing 2.0 properties.
7269 * RadioButton.cs: Added missing 2.0 methods.
7270 * ListItem.cs: Added Enabled property.
7271 * MailMessageEventArgs.cs: Use the correct message class.
7272 * ListControl.cs: Implemented missing properties and support for
7273 control state. Implemented base RenderContents method.
7274 * Image.cs: Implemented DescriptionUrl and GenerateEmptyAlternateText
7276 * BaseCompareValidator.cs: Implemented methods that support conditional
7277 use of the invariant culture.
7278 * DataBoundControl.cs: Set RequiresDataBinding to true in OnLoad.
7279 * SqlDataSourceCommandEventArgs.cs, SqlDataSourceStatusEventArgs.cs:
7280 It takes a DbCommand instead of a IDbCommand.
7281 * GridViewSortEventArgs.cs: Added SortDirection property.
7282 * TextBox.cs, CheckBoxList.cs: Added protected version of
7283 IPostBackDataHandler methods.
7284 * RadioButtonList.cs: Added protected version of
7285 IPostBackDataHandler and IRepeatInfoUser methods.
7286 * Repeater.cs: Updated some method names.
7287 * DropDownList.cs: Added protected version of
7288 IPostBackDataHandler methods. Reuse RenderContents from base class.
7289 * RepeaterItem.cs, Localize.cs, Literal.cs: Fix inheritance.
7290 * GridViewUpdatedEventArgs.cs: Fix typo.
7291 * ListBox.cs: Added protected version of IPostBackDataHandler methods.
7292 Reuse RenderContents from base class.
7293 * BaseDataBoundControl.cs: Several fixes.
7294 * ImageButton.cs, LinkButton.cs: Implemented several 2.0 properties.
7296 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
7298 * CheckBoxList.cs: Fix build.
7300 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
7302 * Button.cs: Use validation group when validating page.
7303 * XmlDataSourceView.cs: Implemented ExecuteSelect.
7304 * Menu.cs: Minor fix.
7305 * CheckBox.cs: Added 2.0 properties and methods.
7306 * BaseDataList.cs: Always databind the control if view state
7308 * DataList.cs: In 2.0, use control state to save the selected index.
7309 * DetailsViewUpdatedEventArgs.cs: Fix typo.
7310 * CustomValidator.cs: Implement IStaticTextControl interface.
7311 * CheckBoxList.cs: Added missing 2.0 methods.
7312 * DropDownList.cs: Added missing 2.0 methods. Implemented ITextControl
7314 * XmlDataSource.cs: Return childs of DocumentElement, not the root
7316 * DayRenderEventArgs.cs, CompareValidator.cs, DataListItem.cs:
7317 Implemented 2.0 API.
7320 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
7322 * Button.cs: Implemented all missing 2.0 features.
7323 * Table.cs: Render the table caption, when specified.
7324 * Calendar.cs: Implemented most of missing 2.0 features.
7325 * TableCell.cs: Fixed attributes.
7327 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
7329 * ControlPropertyNameConverter.cs: Added file.
7331 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
7333 * Button.cs, MonthChangedEventArgs.cs, FontInfo.cs, Xml.cs, Style.cs,
7334 CookieParameter.cs, HyperLinkColumn.cs, Table.cs,
7335 RegularExpressionValidator.cs, WizardNavigationEventArgs.cs,
7336 ServerValidateEventArgs.cs, Menu.cs, DataControlField.cs,
7337 DataGridPagerStyle.cs, Label.cs, CheckBox.cs, ListItem.cs,
7338 RadioButton.cs, TableStyle.cs, ListControl.cs, Image.cs,
7339 BaseCompareValidator.cs, FontUnit.cs, DataListCommandEventArgs.cs,
7340 IButtonControl.cs, BaseDataList.cs, DataList.cs, BulletedList.cs,
7341 RangeValidator.cs, DataBoundControl.cs, ControlParameter.cs,
7342 RepeaterItemEventArgs.cs, SqlDataSource.cs, BaseValidator.cs,
7343 CustomValidator.cs, MenuItem.cs, SessionParameter.cs, TextBox.cs,
7344 QueryStringParameter.cs, Content.cs, ContentPlaceHolder.cs,
7345 CheckBoxList.cs, RepeaterCommandEventArgs.cs, RadioButtonList.cs,
7346 RequiredFieldValidator.cs, AdRotator.cs, DataListItemEventArgs.cs,
7347 DataGridSortCommandEventArgs.cs, Repeater.cs,
7348 MenuItemTemplateContainer.cs, HyperLink.cs, SqlDataSourceView.cs,
7349 XmlDataSource.cs, MultiView.cs, DataGridCommandEventArgs.cs,
7350 Panel.cs, CompositeControl.cs, DataGrid.cs, ButtonColumn.cs,
7351 CompareValidator.cs, HierarchicalDataBoundControl.cs,
7352 EditCommandColumn.cs, Calendar.cs, SiteMapDataSource.cs,
7353 ListBox.cs, TableCell.cs, ObjectDataSourceSelectingEventArgs.cs,
7354 ObjectDataSourceMethodEventArgs.cs,DataGridPageChangedEventArgs.cs,
7355 WebControl.cs, BaseDataBoundControl.cs, FormParameter.cs,
7356 ValidationSummary.cs, View.cs, ImageButton.cs, TableRow.cs,
7357 LinkButton.cs, DataGridColumn.cs, Parameter.cs, TableItemStyle.cs,
7358 AdCreatedEventArgs.cs:
7360 General 2.0 API fixes: missing attributes, incorrect inheritance,
7361 missing sealed keywords, wrong signatures, etc.
7363 2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
7365 * Table.cs: Added some 2.0 properties.
7366 * FontUnitConverter.cs, UnitConverter.cs: Implemented conversion to
7368 * BaseValidator.cs: Fix warning.
7369 * MultiView.cs, ViewCollection.cs, View.cs: Implemented.
7371 2005-01-26 Lluis Sanchez Gual <lluis@novell.com>
7373 * Menu.cs: Rendering fixes.
7375 2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
7377 * Content.cs, ContentPlaceHolder.cs, ContentControlBuilder.cs
7378 ContentPlaceHolderBuilder.cs: Implemented.
7380 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7382 * CheckBox.cs: when rendering the input tag inside a span tag, keep the
7383 attributes that are meant to be in the input tag in their place.
7385 2005-01-10 Juraj Skripsky <juraj@hotfeet.ch>
7387 * RepeatInfo.cs: fixed bug #68927 (DataList with RepeatLayout='Flow'
7388 generates invalid html).
7390 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
7392 * Menu.cs: Implemented most of missing properties. Added support for
7393 item templates. Implemented menu scrolling.
7394 * MenuItemBinding.cs: Implemented most of missing properties.
7395 * MenuItem.cs: Implemented most of missing properties.
7396 * Menu.js: Implemented scrolling and menu reposition into screen.
7397 * MenuItemTemplateContainer.cs: Implemented.
7398 * SubMenuStyle.cs: Implemented.
7400 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
7402 * Style.cs: Implemented RegisteredCssClass property. Added
7403 CopyTextStylesFrom method, which copies styles that only apply to text.
7404 * Menu.cs, Menu.js: Added hover style support. Define all menu styles
7405 in the page stylesheet. Added support for ItemSpacing property.
7406 * MenuItemStyle.cs: Implemented FillStyleAttributes method.
7408 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
7410 * Style.cs: Generate styles using a CssStyleCollection, so the code can
7411 be reused for the 2.0 FillStyleAttributes method.
7412 * Menu.cs: Implemented more properties and events. Rendering is very
7414 * MenuItem.cs: Added PopOutImageUrl property.
7415 * Menu.js: More work on submenu management.
7417 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
7419 * Menu.cs: Implemented basic rendering. Added some missing properties.
7420 * MenuItem.cs: Improved implementation of Depth.
7421 * Unit.cs: Added serializable attribute.
7422 * TreeView.cs: Moved GetScriptLiteral method to ClientScriptManager,
7423 so it can be reused.
7424 * Menu.js: New script to support he Menu control.
7426 2004-12-03 Lluis Sanchez Gual <lluis@novell.com>
7428 * MenuEventArgs.cs: Changed to sealed.
7429 * TreeView.cs: Minor fix.
7430 * Menu.cs, MenuItemBindingCollection.cs, MenuItemCollection.cs,
7431 MenuItemStyle.cs, MenuItemBinding.cs, MenuItem.cs,
7432 MenuItemStyleCollection.cs: Initial Menu code.
7434 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
7436 * TreeNodeBindingCollection.cs, TreeNodeStyleCollection.cs:
7437 Implemented SetDirtyObject.
7438 * Style.cs: Implemented SetDirty().
7439 * TreeNodeBinding.cs: Added missing attributes. Implemented SetDirty().
7440 * TreeNode.cs: Added missing attributes added support for
7441 PopulateOnDemand. Added some missing property bindings.
7442 * TreeNodeCollection.cs: Several minor fixes. SetDirty must be called
7443 to newly added elements to make sure al new data is saved.
7444 * TreeView.js: Implemented support for client population of nodes.
7445 * TreeNodeStyle.cs: Added missing attributes.
7446 * TreeView.cs: Implemented support for PopulateNodesFromClient and
7447 PopulateOnDemand. Improved rendering.
7449 2004-11-29 Sanjay Gupta <gsanjay@novell.com>
7451 * DataControlField.cs:
7452 * DataControlFieldCell.cs: Initial implementation.
7454 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
7456 * TreeNodeBindingCollection.cs: Implemented.
7457 * TreeNodeBinding.cs: Implemented.
7458 * TreeNode.cs: Added support for data binding.
7459 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif
7460 TreeView_Default_NoExpand.gif: Moved to resources directory.
7461 * ListControl.cs: Fixed api.
7462 * XmlHierarchicalEnumerable.cs: Made internal.
7463 * DataBoundControl.cs: Modified api to match latest ms.net.
7464 * TreeView.js: New javascript file to support TreeView in the client.
7465 * XmlDataSource.cs: Added missing attributes.
7466 * HierarchicalDataBoundControl.cs: Mostly implemented.
7467 * BaseDataBoundControl.cs: Mostly implemented.
7468 * XmlHierarchyData.cs: Made internal.
7469 * TreeView.cs: Mostly implemented. The major missing feature is
7470 client side tree population.
7472 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
7475 * DataBountControl.cs:
7476 * Repeater.cs: Added SelectArguments property and updated.
7477 * SiteMapDataSourceView.cs:
7478 * SqlDataSourceView.cs:
7479 * XmlDataSourceView.cs: Removed extra method, which was there to
7480 keep things compiling.
7482 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
7484 * TreeNodeBindingCollection.cs, TreeNodeBinding.cs, TreeNode.cs,
7485 TreeNodeCollection.cs, TreeNodeStyleCollection.cs, TreeNodeStyle.cs,
7486 TreeView.cs: Initial implementation.
7487 * DataBoundControl.cs: Set the correct base class.
7488 * HierarchicalDataBoundControl.cs, BaseDataBoundControl.cs: Created stub.
7489 * TreeNodeSelectAction.cs: Formatting.
7490 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif,
7491 TreeView_Default_NoExpand.gif: TreeView images.
7493 2004-11-22 Sanjay Gupta <gsanjay@novell.com>
7495 * SqlDataSourceView.cs: Updated methods and added one property.
7497 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7499 * AccessDataSource.cs:
7500 * SqlDataSourceView.cs: Implemented CreateDataSourceView () method.
7501 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7503 * SqlDataSource.cs: Updated call to constructor of SqlDataSourceView.cs.
7504 * SqlDataSourceView.cs: Updated constructor.
7506 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7508 * AccessDataSourceView.cs: Added new class.
7510 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7512 * SqlDataSourceView.cs: Corrected exception handling in
7513 ExecuteSelect method.
7515 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
7517 * SiteMapHierarchicalDataSourceView.cs, SiteMapDataSource.cs: New files.
7518 * SiteMapDataSourceView.cs: Minor fix.
7520 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7522 * SqlDataSourceView.cs: Updated ExecuteSelect method.
7524 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7526 * SqlDataSource.cs: Corrected Select method.
7528 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7530 * SqlDataSource.cs: Updated Select method definition.
7531 * SqlDataSourceStatusEventArgs.cs: Updated class.
7533 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
7535 * SqlDataSourceView.cs: Removed implementation of Events (it is inherited
7536 from DataSourceView.cs).
7538 2004-11-10 Raja R Harinath <rharinath@novell.com>
7540 * SqlDataSourceView.cs (Select): Add 'override' to make it compile.
7542 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
7544 * SqlDataSource.cs: Corrected method calls.
7545 * SqlDataSourceView.cs: Partial implementation of few methods.
7547 2004-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7549 * ListItemCollection.cs: fixed bug when indexing changed elements in
7550 LoadViewState. Patch from Alois Bělaška.
7552 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
7554 * SiteMapDataSourceView.cs:
7555 * SqlDataSourceView.cs:
7556 * XmlDataSourceView.cs: Cosmetic changes because of modifications in
7557 base class, DataSourceView. Changes are to keep things compiling.
7559 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
7561 * SiteMapDataSourceView.cs: Corrected class definition and updated.
7562 * XmlHierarchicalDataSourceView.cs: Modified according to changes in
7565 2004-10-14 Sanjay Gupta <gsanjay@novell.com>
7567 * AdRotator.cs: Updated.
7569 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
7571 * AccessDataSource.cs: Updated.
7573 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7575 * ValidatedControlConverter.cs: Updated.
7577 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7579 * AssociatedControlConverter.cs: Implemented.
7581 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7583 * ControlIDConverter.cs: Initial implementation.
7585 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7587 * IButtonControl.cs: Corrected property name.
7589 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7591 * ParameterCollection.cs: Updated.
7593 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7595 * Parameter.cs: Updated and completed implementation.
7597 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
7599 * ParameterCollection.cs: Resolved warnings, "Unreachable code detected"
7602 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
7604 * AccessDataSource.cs: Initial implementation.
7606 2004-09-30 Sanjay Gupta <gsanjay@novell.com>
7608 * DataControlRowState.cs:
7610 * TreeNodeTypes.cs: Added attribute.
7611 * DataControlRowType.cs:
7613 * SortDirection.cs: Corrected enumeration values.
7614 * TableRowSection.cs: Added new enumeration.
7615 * ObjectDataSourceStatusEventHandler.cs: Corrected method name.
7617 2004-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7619 * TableStyle.cs: don't render empty 'rules' attribute (again).
7621 2004-09-21 Sanjay Gupta <gsanjay@novell.com>
7623 * FormViewUpdatedEventArgs.cs: Spelling mistake.
7625 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
7627 * Literal.cs: Added new method Focus().
7629 2004-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7631 * RadioButton.cs: fix GroupName when the control is inside a
7632 NamingContainer different from Page. Closes bug #65586.
7634 2004-09-07 Sanjay Gupta <gsanjay@novell.com>
7636 * Localize.cs: Added new class.
7638 2004-09-03 Gaurav Vaish <gvaish_mono AT lycos.com>
7640 * CompositeControl.cs : Completed
7641 * Login.cs : Initial implementation.
7643 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7645 * Xml.cs: fixed get_DocumentContent (it was returning "" always!) and
7646 don't call MapPathSecure on the content itself.
7648 * XmlBuilder.cs: handle XML documents written inside asp:xml. The
7649 document is checked at parse time and will be checked again at run time.
7653 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
7655 * AuthenticateEventHandler.cs:
7656 * CreateUserErrorEventArgs.cs:
7657 * CreateUserErrorEventHandler.cs:
7658 * DetailsViewCommandEventHandler.cs:
7659 * DetailsViewDeleteEventArgs.cs:
7660 * DetailsViewDeleteEventHandler.cs:
7661 * DetailsViewDeletedEventArgs.cs:
7662 * DetailsViewDeletedEventHandler.cs:
7663 * DetailsViewInsertEventArgs.cs:
7664 * DetailsViewInsertEventHandler.cs:
7665 * DetailsViewInsertedEventArgs.cs:
7666 * DetailsViewInsertedEventHandler.cs:
7667 * DetailsViewModeEventArgs.cs:
7668 * DetailsViewModeEventHandler.cs:
7669 * DetailsViewPageEventHandler.cs:
7670 * DetailsViewUpdateEventArgs.cs:
7671 * DetailsViewUpdateEventHandler.cs:
7672 * DetailsViewUpdatedEventArgs.cs:
7673 * DetailsViewUpdatedEventHandler.cs:
7674 * FormViewCommandEventHandler.cs:
7675 * FormViewDeleteEventArgs.cs:
7676 * FormViewDeleteEventHandler.cs:
7677 * FormViewDeletedEventArgs.cs:
7678 * FormViewDeletedEventHandler.cs:
7679 * FormViewInsertEventArgs.cs:
7680 * FormViewInsertEventHandler.cs:
7681 * FormViewInsertedEventArgs.cs:
7682 * FormViewInsertedEventHandler.cs:
7683 * FormViewModeEventHandler.cs:
7684 * FormViewPageEventHandler.cs:
7685 * FormViewUpdateEventArgs.cs:
7686 * FormViewUpdateEventHandler.cs:
7687 * FormViewUpdatedEventArgs.cs:
7688 * FormViewUpdatedEventHandler.cs:
7689 * GridViewCancelEditEventArgs.cs:
7690 * GridViewCancelEditEventHandler.cs:
7691 * GridViewCommandEventHandler.cs:
7692 * GridViewDeleteEventArgs.cs:
7693 * GridViewDeleteEventHandler.cs:
7694 * GridViewDeletedEventArgs.cs:
7695 * GridViewDeletedEventHandler.cs:
7696 * GridViewEditEventHandler.cs:
7697 * GridViewPageEventHandler.cs:
7698 * GridViewRowEventHandler.cs:
7699 * GridViewSelectEventHandler.cs:
7700 * GridViewSortEventArgs.cs:
7701 * GridViewSortEventHandler.cs:
7702 * GridViewUpdateEventArgs.cs:
7703 * GridViewUpdateEventHandler.cs:
7704 * GridViewUpdatedEventArgs.cs:
7705 * GridViewUpdatedEventHandler.cs:
7706 * ImageMapEventHandler.cs:
7707 * MailMessageEventHandler.cs:
7708 * MenuEventHandler.cs:
7709 * ObjectDataSourceDisposingEventHandler.cs:
7710 * ObjectDataSourceEventHandler.cs:
7711 * ObjectDataSourceMethodEventArgs.cs:
7712 * ObjectDataSourceMethodEventHandler.cs:
7713 * ObjectDataSourceSelectingEventArgs.cs:
7714 * ObjectDataSourceSelectingEventHandler.cs:
7715 * ObjectDataSourceStatusEventArgs.cs:
7716 * ObjectDataSourceStatusEventHandler.cs:
7717 * SendMailErrorEventHandler.cs:
7718 * SiteMapNodeItemEventHandler.cs:
7719 * SqlDataSourceSelectingEventArgs.cs:
7720 * SqlDataSourceSelectingEventHandler.cs:
7721 * TreeNodeEventHandler.cs:
7722 * WizardNavigationEventArgs.cs:
7723 * WizardNavigationEventHandler.cs: Minor modifications, compiler error
7724 corrections and removing "sealed" access specifier from *EventHandler.cs
7726 2004-08-18 Sanjay Gupta <gsanjay@novell.com>
7728 * Literal.cs: Added new attributes and property for .Net 2.0
7730 2004-08-13 Sanjay Gupta <gsanjay@novell.com>
7732 * GridViewDeleteEventArgs.cs: Removed extra code.
7734 2004-08-12 Sanjay Gupta <gsanjay@novell.com>
7736 * SendMailErrorEventArgs.cs:
7737 * SendMailErrorEventHandler.cs:
7738 * SiteMapNodeItemEventArgs.cs:
7739 * SiteMapNodeItemEventHandler.cs:
7740 * SqlDataSourceSelectingEventArgs.cs:
7741 * SqlDataSourceSelectingEventHandler.cs:
7742 * TreeNodeEventArgs.cs:
7743 * TreeNodeEventHandler.cs:
7744 * WizardNavigationEventArgs.cs:
7745 * WizardNavigationEventHandler.cs: Added new delegates.
7747 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7749 * ImageMapEventArgs.cs:
7750 * ImageMapEventHandler.cs:
7751 * MailMessageEventArgs.cs:
7752 * MailMessageEventHandler.cs:
7754 * MenuEventHandler.cs:
7755 * ObjectDataSourceDisposingEventArgs.cs:
7756 * ObjectDataSourceDisposingEventHandler.cs:
7757 * ObjectDataSourceEventArgs.cs:
7758 * ObjectDataSourceEventHandler.cs:
7759 * ObjectDataSourceMethodEventArgs.cs:
7760 * ObjectDataSourceMethodEventHandler.cs:
7761 * ObjectDataSourceSelectingEventArgs.cs:
7762 * ObjectDataSourceSelectingEventHandler.cs:
7763 * ObjectDataSourceStatusEventArgs.cs:
7764 * ObjectDataSourceStatusEventHandler.cs: Added new delegates.
7766 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7768 * DetailsViewCommandEventArgs.cs:
7769 * FormViewCommandEventArgs.cs:
7770 * GridViewCommandEventArgs.cs: Corrected constructor.
7772 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7774 * GridViewCancelEditEventArgs.cs:
7775 * GridViewCancelEditEventHandler.cs:
7776 * GridViewCommandEventArgs.cs:
7777 * GridViewCommandEventHandler.cs:
7778 * GridViewDeletedEventArgs.cs:
7779 * GridViewDeletedEventHandler.cs:
7780 * GridViewDeleteEventArgs.cs:
7781 * GridViewDeleteEventHandler.cs:
7782 * GridViewEditEventArgs.cs:
7783 * GridViewEditEventHandler.cs:
7784 * GridViewPageEventArgs.cs:
7785 * GridViewPageEventHandler.cs:
7786 * GridViewRowEventArgs.cs:
7787 * GridViewRowEventHandler.cs:
7788 * GridViewSelectEventArgs.cs:
7789 * GridViewSelectEventHandler.cs:
7790 * GridViewSortEventArgs.cs:
7791 * GridViewSortEventHandler.cs:
7792 * GridViewUpdatedEventArgs.cs:
7793 * GridViewUpdatedEventHandler.cs:
7794 * GridViewUpdateEventArgs.cs:
7795 * GridViewUpdateEventHandler.cs: Added new delegates.
7797 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7799 * FormViewUpdatedEventArgs.cs: Corrected constructor.
7801 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7803 * FormViewCommandEventArgs.cs: Corrected name of class.
7805 2004-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7807 * Xml.cs: use MapPath in DocumentSource and documentContent. Fixes
7810 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
7812 * FormViewCommandEventArgs.cs:
7813 * FormViewCommandEventHandler.cs:
7814 * FormViewDeletedEventArgs.cs:
7815 * FormViewDeletedEventHandler.cs:
7816 * FormViewDeleteEventArgs.cs:
7817 * FormViewDeleteEventHandler.cs:
7818 * FormViewInsertedEventArgs.cs:
7819 * FormViewInsertedEventHandler.cs:
7820 * FormViewInsertEventArgs.cs:
7821 * FormViewInsertEventHandler.cs:
7822 * FormViewModeEventArgs.cs:
7823 * FormViewModeEventHandler.cs:
7824 * FormViewPageEventArgs.cs:
7825 * FormViewPageEventHandler.cs:
7826 * FormViewUpdatedEventArgs.cs:
7827 * FormViewUpdatedEventHandler.cs:
7828 * FormViewUpdateEventArgs.cs:
7829 * FormViewUpdateEventHandler.cs: Added new delegates.
7831 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
7833 * DetailsViewCommandEventArgs.cs:
7834 * DetailsViewCommandEventHandler.cs:
7835 * DetailsViewDeletedEventArgs.cs:
7836 * DetailsViewDeletedEventHandler.cs:
7837 * DetailsViewDeleteEventArgs.cs:
7838 * DetailsViewDeleteEventHandler.cs:
7839 * DetailsViewInsertedEventArgs.cs:
7840 * DetailsViewInsertedEventHandler.cs:
7841 * DetailsViewInsertEventArgs.cs:
7842 * DetailsViewInsertEventHandler.cs:
7843 * DetailsViewModeEventArgs.cs:
7844 * DetailsViewModeEventHandler.cs:
7845 * DetailsViewPageEventArgs.cs:
7846 * DetailsViewPageEventHandler.cs:
7847 * DetailsViewUpdatedEventArgs.cs:
7848 * DetailsViewUpdatedEventHandler.cs:
7849 * DetailsViewUpdateEventArgs.cs:
7850 * DetailsViewUpdateEventHandler.cs: Added new delegates.
7852 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
7854 * AuthenticateEventArgs.cs:
7855 * AuthenticateEventHandler.cs:
7856 * CreateUserErrorEventArgs.cs:
7857 * CreateUserErrorEventHandler.cs: Added new delegates.
7859 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
7861 * IButtonControl.cs:
7862 * ICallbackContainer.cs:
7863 * ICompositeControlDesignerAccessor.cs:
7864 * IPostBackContainer.cs: Added new interfaces.
7866 2004-08-03 Sanjay Gupta <gsanjay@novell.com>
7869 * AutoCompleteType.cs:
7870 * ContentDirection.cs:
7871 * DataControlCellType.cs:
7872 * DataControlRowState.cs:
7873 * DataControlRowType.cs:
7874 * DetailsViewMode.cs:
7875 * DynamicImageParameterMode.cs:
7878 * ImageFieldMode.cs:
7885 * SiteMapNodeItemType.cs:
7886 * SiteMapNodeType.cs:
7887 * SiteMapViewType.cs:
7889 * TableCaptionAlign.cs:
7890 * TableHeaderScope.cs:
7892 * TreeNodeSelectAction.cs:
7894 * TreeViewImageSet.cs:
7895 * WizardStepType.cs: Added enumerations
7897 2004-08-02 Duncan Mak <duncan@ximian.com>
7900 * LoginFailureAction.cs:
7901 * LoginTextLayout.cs: Added enumerations.
7903 2004-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7905 * BaseValidator.cs: in Validate(), when the control is not visible or
7906 enabled, return inmediately after setting IsValid to true. Fixes bug
7909 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7911 * DataList.cs: s/HasChildren/HasControls()/.
7913 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7915 * DataList.cs: style.
7917 2004-07-27 Alon Gazit <along@mainsoft.com>
7918 * DataList.cs: Replaced foreach statement with for statement,
7919 in order to improve performence.
7921 2004-07-27 Alon Gazit <along@mainsoft.com>
7922 * WebControl.cs: changed RenderBeginTag()to use TagKey instead of
7924 * Unit.cs : changed GetTypeFromString() and GetStringFromPixel() to use
7925 switch statements in order to improve performance.
7927 2004-06-10 Alon Gazit <along@mainsoft.com>
7928 * WebControl.cs: fixed LoadViewState().
7929 Creates new attributes state bag only when the current is null.
7931 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7933 * Calendar.cs: implemented OnPreRender and HasWeekSelectors.
7935 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7937 * Calendar.cs: set the title class attribute if we have it. Fixes bug
7940 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7942 * Style.cs: added SetBit.
7944 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7947 * CompareValidator.cs:
7950 * WebControl.cs: Added protected missing members and attributes.
7952 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7954 * TextBox.cs: don't save the Text if in ViewState if it's a password.
7955 Save it if the control is not visible or not enabled. Fixes bug #58497.
7957 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7959 * Calendar.cs: fire OnDayRender after assigning the calendar cell text.
7962 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
7964 * SqlDataSourceCommandEventArgs:
7965 * XmlDataSource.cs : removed temporary workarounds for CLS
7966 compliance as System.Data is now CLS compliant
7968 2004-05-06 Alon Gazit <along@mainsoft.com>
7969 * WebControl.cs: fixed LoadViewState() and SaveViewState().
7970 Before the change the Enabled property wasn't updated when a postback
7972 * ListControl.cs: fixed SelectedIndex property implementation.
7973 Prevents throwing ArgumentOutOfRangeException (that should not be
7974 thrown), when the list is empty.
7976 2004-04-28 Alon Gazit <along@mainsoft.com>
7977 * WebControl.cs: fixed LoadViewState().
7978 Always loading the saved attributes collection.
7980 2004-04-18 Alon Gazit <along@mainsoft.com>
7981 * Repeater.cs: fixed InstantiateItem() and DataSource property.
7982 The change in DataSource prevents throwing ArgumentException while
7983 setting property value to null.
7984 The change in InstantiateItem() prevents NullReferenceException.
7986 2004-04-07 Lluis Sanchez Gual <lluis@ximian.com>
7988 * BaseValidator.cs: Store Display property in the correct ViewState
7989 property. Don't render anything if Display is ValidatorDisplay.None.
7991 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
7993 * Xml.cs: In LoadXpathDoc(), don't use MapPathSecure with documentSource,
7994 since it is already a physical path. Fixes bug #55334.
7996 2004-02-13 Jackson Harper <jackson@ximian.com>
7998 * Calendar.cs: Match MS postback data. This allows sites that
7999 parse the postback data manually to work.
8001 2004-02-04 Alon Gazit <along@mainsoft.com>
8002 * EditCommandColumn.cs: fixed InitializeCell().
8003 The rendered LiteralControl should contain " " and not " ".
8005 2004-02-01 Alon Gazit <along@mainsoft.com>
8007 * DataGrid.cs: fixed a problem in the paging mechanism in the method
8009 the problem was when (PagerStyle.Mode == PagerMode.NumericPages),
8010 while clicking the "..." link in the second page.
8012 2004-01-28 Alon Gazit <along@mainsoft.com>
8014 * Calendar.cs: prevent NullReferenceException in RenderAllDays().
8016 2004-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8018 * Calendar.cs: when rendering days, add a LiteralControl containing the
8019 day before OnDayRender is called. Only generate the default links for
8020 days when IsSelectable is true after OnDayRender. Fixes bug #53372.
8022 2004-01-21 Martin Baulig <martin@ximian.com>
8024 * XmlHierarchyData.cs: Make this compile with csc.
8026 * BulletedList.cs (BulletedList.SelectedItem): Removed the `set'
8027 accessor since the base class doesn't have one.
8029 2004-01-18 Alon Gazit <along@mainsoft.com>
8031 * CheckBoxList.cs: fix problem with negative TabIndex (wasn't rendered).
8033 2004-01-18 Alon Gazit <along@mainsoft.com>
8035 * Style.cs: CopyFrom method shouldn't copy a value that is equal to
8036 Property default value.
8037 * FontInfo.cs : CopyFrom method shouldn't copy a value that is equal to
8038 Property default value.
8040 2004-01-15 Alon Gazit <along@mainsoft.com>
8042 * RadioButtonList.cs: RepeatLayout property should affect the rendered
8045 2004-01-15 Alon Gazit <along@mainsoft.com>
8046 * FontInfo.cs: Add validation check to Size property.
8048 2004-01-07 Alon Gazit <along@mainsoft.com>
8049 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
8050 merge the column's style to the cell's style and not to
8051 the item's(row) style.
8053 2004-01-04 Alon Gazit <along@mainsoft.com>
8054 * RangeValidator.cs: Fixed ControlPropertiesValid().
8056 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8058 * Xml.cs: mono-stylized and removed warnings.
8060 2004-1-1 Alon Gazit <along@mainsoft.com>
8061 * RadioButtonList.cs: update RenderItem() so that each RadioButton
8062 is enabled or disabled like the RadioButtonList.
8063 * CheckBoxList.cs: update RenderItem() so that each CheckBox
8064 is enabled or disabled like the CheckBoxList.
8066 2004-1-1 Alon Gazit <along@mainsoft.com>
8067 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
8068 The Header or Footer Style shouldn't merge with the cells Style.
8070 2004-1-1 Alon Gazit <along@mainsoft.com>
8071 * DataGridColumn.cs: Headers and Footers are initialized
8072 with the relevant Style object.
8074 2003-12-30 Alon Gazit <along@mainsoft.com>
8075 * RepeatInfo.cs: Fixed DoVerticalRendering () and
8076 DoHorizontalRendering().
8077 Current implementation produces few extra html tags.
8079 2003-12-29 Alon Gazit <along@mainsoft.com>
8081 * CheckBox.cs: change the implementation of LoadPostData.
8082 Currently, while the AutoPostBack property equals true ,
8083 it isn't possible to perform uncheck.
8085 2003-12-19 Jackson Harper <jackson@ximian.com>
8087 * TableCell.cs: Setting a cells text should clear its control
8088 collection as per la specification. This fixes bug #51825.
8090 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8092 * DataGridColumn.cs: stylized LoadViewState.
8093 * DataGridColumnCollection.cs: when TrackViewState is called, also
8094 call it on all the existing columns. Fixes bug #52334.
8096 2003-12-18 Alon Gazit <along@mainsoft.com>
8098 * DataGridPagerStyle.cs: merge DataGridPagerStyle properties when Style
8101 2003-12-18 Alon Gazit <along@mainsoft.com>
8103 * TableStyle.cs: merge TableStyle properties when Style is empty.
8105 2003-12-16 Alon Gazit <along@mainsoft.com>
8107 * HyperLink.cs: Change Text property implementation. in MS when the Text
8108 property is set, all the controls in the HyperLink are being deleted.
8109 This fixes bug #52239.
8111 2003-12-15 Alon Gazit <along@mainsoft.com>
8112 * RepeatInfo.cs: Fixed DoVerticalRendering () and
8113 DoHorizontalRendering().
8114 Both methods add additional empty table row in the head of each item
8115 table when the variable named isTable equals true (happenes with the
8116 default instantiation of RepeatInfo). These additional rows should be
8117 added when isTable equals false.
8118 This fixes bug #52225.
8120 2003-12-15 Alon Gazit <along@mainsoft.com>
8122 * RepeatInfo.cs: Fixed DoVerticalRendering() and
8123 DoHorizontalRendering().
8124 Both methods add to rendered Header a colspan attribute according to the
8125 rows count. after the change the colspan is added according to the
8128 2003-12-15 Alon Gazit <along@mainsoft.com>
8129 * CheckBox.cs: Disabled CheckBox does not produce same HTML as .NET.
8130 In .NET if the checkbox is disabled ,its text appears disabled too.
8131 In Mono the text appears enabled. the fix is in Render().
8132 This fixes bug #52180.
8134 2003-12-15 Alon Gazit <along@mainsoft.com>
8135 * Repeater.cs: Change the implementation of CreateControlHierarchy().
8136 The current implementation renders extra Header and footer
8137 without Repeater.DataSource assign.
8138 This fixes bug #52179.
8140 2003-12-15 Alon Gazit <along@mainsoft.com>
8141 * DataGrid.cs: Change the implementation of the property
8142 BackImageUrl. The current implementation has no influence
8143 on the rendered Html.
8145 2003-12-15 Alon Gazit <along@mainsoft.com>
8146 * WebControl.cs: Change the implementation of the property
8147 Enabled. Before the change the WebControl also looked at
8148 parent.Enabled . fixed bug #52171.
8150 2003-12-11 Jackson Harper <jackson@ximian.com>
8152 * RepeatInfo.cs: When rendering vertically figure out how many
8153 colmns are not going to be filled in in the last row, and adjust
8154 things accordingly. This fixes bug #51863.
8156 2003-12-10 Alon Gazit <along@mainsoft.com>
8157 * TableRow.cs: Change the implementation of the properties
8158 HorizontalAlign and VerticalAlign. The current implementation
8159 has no influence on the rendered Html.
8161 2003-12-10 Alon Gazit <along@mainsoft.com>
8162 * TableItemStyle.cs: Add setting of The WRAP flag in the Wrap
8163 property's set method.
8165 2003-12-09 Jackson Harper <jackson@ximian.com>
8167 * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
8168 Increment counter when moving to start. Fixes bug #51926.
8170 2003-12-08 Jackson Harper <jackson@ximian.com>
8172 * HyperLinkColumn.cs: Fix navigate url rendering. Patch by
8173 Benjamin Jemlich. Fixes bug #51823.
8175 2003-12-07 Alon Gazit <along@mainsoft.com>
8176 * Panel.cs: Panel doesn't render nowrap attribute while the Wrap
8177 property is set to false. Fixes bug #58120.
8179 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8181 * TableItemStyle.cs: merge TableItemStyle properties when Style is
8182 empty. Fixes bug #51689. Patch by Alon Gazit <along@mainsoft.com>.
8184 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8186 * RadioButtonList.cs: render tabindex attribute if needed. Fixes bug
8189 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8191 * WebControl.cs: don't create the attributes when GetAttribute is
8194 2003-12-01 Jackson Harper <jackson@ximian.com>
8196 * WebControl.cs: Only allow access keys to be null or a single
8197 char. Patch by Alon Gazit <along@mainsoft.com>.
8199 2003-11-30 Jackson Harper <jackson@ximian.com>
8201 * CheckBoxList.cs: A checkbox will have null post data if it is
8202 unselected. This fixes bug #51516.
8204 2003-11-29 Jackson Harper <jackson@ximian.com>
8206 * DataGrid.cs: Display paging controls even when there is no
8207 data. Path by Mohammad DAMT. Fixes bug #51487.
8209 2003-11-29 Jackson Harper <jackson@ximian.com>
8211 * DataGrid.cs: Call TrackViewState when loading bound columns view
8212 state. So that their state is saved. This fixes bug #51424. Also
8215 2003-11-26 Jackson Harper <jackson@ximian.com>
8217 * BaseDataList.cs: Change && to || We will call that a typo so no
8218 one gets embarrased.
8220 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8222 * BaseDataList.cs: allow setting null as Datasource.
8224 * DataGrid.cs: keep autogenerated columns in the ViewState.
8226 Patches by Alon Gazit <along@mainsoft.com>.
8228 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
8230 * SqlDataSource*: Implement almost everything. Data access is
8233 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
8235 * Calendar.cs (SaveViewState):
8236 - We were allocating a 11 item array, we only used 10 items,
8237 so only allocate 10.
8238 - We only need to save the selected dates if there are any.
8239 * DataGrid.cs (SaveViewState):
8240 * DataGridColumn.cs (SaveViewState):
8241 * DataGridColumnCollection.cs (SaveViewState):
8242 - Only return the array if there is anything in it
8243 * Style.cs (SaveViewState):
8244 - Only save the bits if there were changes.
8245 * WebControl.cs (SaveViewState), (LoadViewState):
8246 - Don't save Enabled into the viewstate here, we already
8247 do it in the property. This just caused *EVERY* control
8248 to have a non-null state, taking up lots of extra room
8250 - The style will always be created with this control's
8251 viewstate, so the style will always return null for the
8252 viewstate. As such, we do not need to store it. We can
8253 also reduce the triplet to a pair because of this.
8255 2003-11-22 Jackson Harper <jackson@ximian.com>
8257 * ValidationSummary.cs: Fix number of messages and message array computation.
8259 2003-11-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8261 * Xml.cs: Corrected attribute
8262 * XmlBuilder.cs: Added
8264 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8266 * Xml.cs: class status based fixes.
8268 2003-11-19 Jackson Harper <jackson@ximian.com>
8270 * HyperLink.cs: Use ResolveUrl instead of ResolveBaseUrl.
8272 2003-11-19 Jackson Harper <jackson@ximian.com>
8274 * HyperLink.cs: Use ResolveBaseUrl so that ~/ is interpreted as
8275 teh applications base directory. This fixes bug #51092.
8277 2003-11-18 Todd Berman <tberman@gentoo.org>
8279 * ControlParameter.cs:
8280 * CookieParameter.cs:
8282 * QueryStringParameter.cs:
8283 * SessionParameter.cs: added public .ctor ()
8284 * Parameter.cs: added public .ctor (), internal SetOwnerCollection
8285 and handling, as well as internal ParameterValue for easy access.
8286 NOTE: ParameterValue doesnt respect TreatEmptyStringAsNull yet.
8287 * ParameterCollection.cs: implementation redux.
8289 2003-11-18 Todd Berman <tberman@gentoo.org>
8291 * ParameterCollection.cs: Implemented
8292 * Parameter.cs: Added _owner, SetOwnerCollection and proper handling.
8293 ToString () now matches asp.net
8295 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
8297 * ControlParameter.cs:
8298 * CookieParameter.cs:
8301 * QueryStringParameter.cs: New v2 files. Mostly
8302 implemented, still need a few methods.
8304 2003-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8306 * ListItem.cs: prevent nullrefs ni Get/SetAttribute. Thanks to Alon
8307 Gazit <along@mainsoft.com>.
8309 2003-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8311 * RadioButton.cs: fixed RenderInputTag for negative TabIndex values.
8312 Patch by Alon Gazit <along@mainsoft.com>.
8314 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8316 * DataBoundControl.cs: Implement
8317 * ListControl.cs: inherit from the above.
8318 * Repeater.cs, BaseDataList.cs: should reset whenever we databind.
8320 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8325 * Repeater.cs: add v2 databinding stuff
8326 * XmlDataSource.cs: make it load the xml.
8328 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8331 * XmlDataSourceView.cs:
8332 * XmlHierarchicalDataSourceView.cs:
8333 * XmlHierarchicalEnumerable.cs:
8334 * XmlHierarchyData.cs: Implement
8336 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
8338 * SiteMapDataSourceView.cs: Implement.
8340 2003-11-07 Jackson Harper <jackson@ximian.com>
8342 * ImageButton.cs: This is a workaround for bug #49819. It appears
8343 that the .x and .y values are not being posted, and only the x
8344 value is being posted with the ctrl's id as the key.
8346 2003-11-07 Jackson Harper <jackson@ximian.com>
8348 * DataGrid.cs (CreateControlHierarchy): Current page index is
8349 alolowed to equal page count. This prevents an exception being
8350 thrown when both are zero.
8352 2003-11-06 Jackson Harper <jackson@ximian.com>
8354 * ValidationSummary.cs: Add Render method. Patch by Yaron Shkop.
8355 * BaseValidator.cs: Disable base control so the isValid flag is
8358 2003-11-03 Jackson Harper <jackson@ximian.com>
8360 * TemplateColumn.cs: Use the same renderer for selected items as
8361 normal items. This fixes bug #49744.
8363 2003-11-03 Jackson Harper <jackson@ximian.com>
8366 * WebControl.cs: Fix argument out of range exceptions on
8367 properties. Patch by Yaron Shkop.
8369 2003-11-03 Jackson Harper <jackson@ximian.com>
8371 * TemplateColumn.cs: If the item is selected but there is no
8372 editItemTemplate use the itemTemplate. This matches MS behvoir.
8374 2003-11-03 Jackson Harper <jackson@ximian.com>
8376 * Repeater.cs: Always set alternating items to the AlternatingItem
8377 type, when instantiating alternating items use the itemTemplate if
8378 the alternatingItem template is null. This matches MS behavoir and
8381 2003-11-03 Jackson Harper <jackson@ximian.com>
8383 * DataGridPagerStyle.cs: Name of view state attribute is
8384 PagerVisible not Visible. Call owner.OnPagerChanged when the pager
8385 visibility is changed. Patch by Yaron Shkop.
8387 2003-11-03 Jackson Harper <jackson@ximian.com>
8389 * RepeatInfo.cs: When doing horizontal rendering use the repeat
8390 columns as the number of columns in a row. This fixes bug #49016.
8392 2003-11-03 Jackson Harper <jackson@ximian.com>
8394 * PagedDataSource.cs (PageCount): Return page count of 1 if there
8395 paging is disabled. Patch by Yaron Shkop.
8396 * PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
8397 * TableStyle.cs (AddAttributesToRender): Render border style
8398 collapse. Patch by Yaron Shkop.
8400 * TableItemStyle.cs:
8401 * DataGridPagerStyle.cs: Call base copy and merge even if style is of
8402 the wrong type. Patch by Yaron Shkop.
8404 2003-11-03 Jackson Harper <jackson@ximian.com>
8406 * BoundColumn.cs: Render readonly columns. Patch by Mohammad DAMT.
8408 2003-11-02 Ben Maurer <bmaurer@users.sourceforge.net>
8411 * BulletedListDisplayMode.cs:
8412 * BulletedListEventHandler.cs:
8414 * BulletedListEventArgs.cs: V2 controls (yay!)
8416 2003-10-30 Jackson Harper <jackson@ximian.com>
8418 * Repeater.cs: Throw an exception if the datasource is set to
8419 something that does not implement either IListSource or
8420 IEnumerable. This fixes bug #50155.
8422 2003-10-30 Jackson Harper <jackson@ximian.com>
8424 * DataGridPagerStyle.cs: Do not allow page button counts to be set
8425 to less then 1. Patch by Yaron Shkop. This fixes bug #50236.
8427 2003-10-29 Jackson Harper <jackson@ximian.com>
8429 * ButtonColumn.cs: Format string and text to format were
8430 inversed. This fixes bug #50171.
8432 2003-10-29 Jackson Harper <jackson@ximian.com>
8434 * DataGridColumn.cs: If an item style is set apply it to the
8435 cell. This fixes bug #50173.
8437 2003-10-29 Ben Maurer <bmaurer@users.sourceforge.net>
8439 * HyperLinkColumn.cs: Patch by Yaron Shkop. Fixes #50234. Remove
8440 old debugging value.
8442 2003-10-29 Jackson Harper <jackson@ximian.com>
8444 * PagedDataSource.cs:
8445 * DataGrid.cs: Patch by Mohammad DAMT. Do not go past the
8446 end of the last page. Fixes bug #5085.
8448 2003-10-29 Jackson Harper <jackson@ximian.com>
8450 * CheckBox.cs: Do not change the status of a checkbox when there
8451 is no post data. This fixes bug #49091.
8452 * CheckBoxList.cs: Do not change the status of the checkboxes when
8453 there is no post data. This fixes bug #49093.
8455 2003-10-26 Ben Maurer <bmaurer@users.sourceforge.net>
8457 * RadioButton.cs: Patch by Yaron Shkop. Enables disabling a
8458 RadioButton. Fixes #50132
8460 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
8462 * PagedDataSource.cs: Patch by Ivo Haamer. Typo prevented
8463 paging from working. Fixes #48814.
8465 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
8467 * DataGrid.cs: A few typos kept us from viewing datagrids
8468 that were based on customized collections.
8470 2003-10-24 Ben Maurer <bmaurer@users.sourceforge.net>
8472 * DataGridCommandEventArgs.cs: typo, cmdSrc was becoming origionalArgs.
8474 2003-10-23 Ben Maurer <bmaurer@users.sourceforge.net>
8476 * Calendar.cs: render the next month button so that aligns to the
8479 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8481 * BaseCompareValidator.cs: splitted Convert. Fixed bug #49927. The fix
8482 was just changing && by || after the first Match.
8484 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8486 * Calendar.cs: apply header style in RenderHeader. Fixes bug #49144.
8487 Patch by Yaron Shkop.
8489 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8491 * DataGrid.cs: applied patch from Yaron Shkop (yaronsh@mainsoft.com)
8492 that fixes bug #49744. Now the selection doesn't lose its data.
8494 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
8496 * EditCommandColumn.cs: Implement; fix #49736
8498 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
8500 * ButtonColumn.cs: Use the DataGridLinkButton, so that we inherit
8501 the forground color. bug #49738
8503 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8505 * Calendar.cs: fixed bug #49727.
8507 2003-10-18 Ben Maurer <bmaurer@users.sourceforge.net>
8509 * TableStyle.cs: fix #49740.
8511 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8513 * SelectedDatesCollection.cs: fix by Yaron for bug #49698.
8514 * ValidationSummary.cs: fixes bug #49669.
8516 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8518 * Calendar.cs: apply the calendar style to the new Table, not to itself.
8521 * CheckBox.cs: render the hidden fields if AutoPostBack.
8523 * Style.cs: don't render empty width/height. Small improvement in
8526 * Table.cs: fixed condition for border width.
8529 (CopyFrom): always call the base class to copy other attributes. Fixes
8530 bug #49408. Don't render empty 'rules' attribute.
8532 * WebControl.cs: track viewstate when enabled. Don't overwrite source
8533 control attributes in CopyBaseAttributes.
8535 * ChangeLog: fixed dates.
8538 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
8540 * WebControl.cs : Attributes { get; } - Is Complete.
8541 * ValidationSummary.cs : AddAttributesToRender(HtmlTextWriter)
8544 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
8546 * BaseValidator.cs : DetermineRenderUplevel() - Completed.
8547 : RegisterValidatorCommonScript()
8548 - More code, I need HELP!
8549 : RegisterValidatorDeclaration()
8550 - More code, I need HELP!
8552 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8554 * CheckBoxList.cs: don't lose state when enabling/disabling. See bug
8557 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8559 * Repeater.cs: fixed bug #48807. It needed to use a DummyDataSource and
8560 ClearViewState only called when no items.
8562 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8564 * RadioButtonList.cs: fix for bug #48874 by Yaron Shkop.
8566 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8568 * RadioButtonList.cs: fix for bug #48870 by Yaron Shkop.
8570 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8572 * DataList.cs: fixed bug #48217. Patch by yaronsh@mainsoft.com (Yaron
8575 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8577 * AdRotator.cs: fixes bug #48691. Patch by yaronsh@mainsoft.com (Yaron
8580 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8582 * CheckBox.cs: render the 'disabled' attribute in the correct tag.
8583 * WebControl.cs: fixed Enabled property and save it in ViewState.
8587 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8589 * ListControl.cs: fixed bug #48668. Thanks to Yaron Shkop.
8591 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8593 * ListBox.cs: patch by yaronsh@mainsoft.com (Yaron Shkop) that fixes
8596 2003-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8598 * FontInfo.cs: fixed Name property as suggested by Rich Alimi
8599 <rich@velvetsea.net>.
8601 2003-09-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8603 * RegularExpressionValidator.cs: fix for EvaluateIsValid by Juraj
8604 Skripsky <juraj@hotfeet.ch>
8606 2003-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8608 * BaseValidator.cs: patch by Juraj Skripsky (juraj@hotfeet.ch) that
8609 fixes rendering of the end tag.
8611 2003-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8613 * Repeater.cs: fix for Items property provided by yaronsh@mainsoft.com
8614 (Yaron Shkop). Closes bug #48060.
8616 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8618 * CheckBox.cs: in LoadPostData, only return
8619 true when the new data is different from the one we had. Fixed
8620 conditions to save Checked state. Thanks to yaronshkop@hotmail.com
8623 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8625 * Style.cs: Font.Strikeout renders as 'line-through'. Fixes bug #47871.
8627 2003-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8629 * WebControl.cs: removed dangling ^M and unneeded fields. Keep track
8630 of Enable in ViewState. Fixes bug #47865.
8632 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8634 * Style.cs: the MARKED bit is not send set in ViewState unless something
8635 is changed. Fixed TrackViewState condition.
8637 * WebControl.cs: save the base ViewState *after* ControlStyle is done,
8638 because it uses the same ViewState as the control. Fixes bug #47725.
8640 2003-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8642 * HyperLinkColumn.cs: patch from David Pickens <dsp@rci.rutgers.edu>
8643 that fixes databinding when only DataTextField or DataNavigateUrlField
8646 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8648 * ListControl.cs: patch sent by Yaacov Akiba Slama <ya@slamail.org> on
8649 behalf of Yaron Shkop <yaronsh@mainsoft.com> that fixes selection of
8650 values before assigning a data source and other issues.
8652 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8654 * CheckBox.cs: save viewstate when needed and correctly handle post
8655 data. Fixes bug #47462.
8657 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8659 * ButtonColumn.cs: Removed additional attributes
8660 * CheckBox.cs: Added attribute
8661 * DataGrid.cs: Added attributes
8662 * HyperLinkColumn.cs: Changed attributes, added lamespec
8663 * Style.cs: Removed attributes
8664 * TextBox.cs: Added/ removed attributes
8666 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8668 * AdRotator.cs: Added all attributes
8669 * BaseDataList.cs: Added all attributes, added lamespec, removed additional attributes
8670 * BaseValidator.cs: Added all attributes
8671 * BoundColumn.cs: Added all attributes
8672 * Button.cs: Added all attributes
8673 * ButtonColumn.cs: Added all attributes, added lamespec
8674 * Calendar.cs: Added all attributes, added error checks, throws more exceptions
8675 * CheckBox.cs: Added all attributes
8676 * CheckBoxList.cs: Added all attributes
8677 * CompareValidator.cs: Added all attributes
8678 * CustomValidator.cs: Added all attributes
8679 * DataGrid.cs: Added all attributes, more verbose exceptions, fixed signature, removed additional attributes
8680 * DataGridColumn.cs: Added all attributes
8681 * DataGridColumnCollection.cs: Added all attributes
8682 * DataGridPagerStyle.cs: Added all attributes
8683 * DataGridTableInternal.cs: Made DataGridTableInternal internal
8684 * DataList.cs: Added all attributes, more verbose exceptions, removed non-existing member
8685 * DropDownList.cs: Added all attributes
8686 * FontInfo.cs: Added all attributes
8687 * HyperLink.cs: Added all attributes
8688 * HyperLinkColumn.cs: Added all attributes
8689 * Image.cs: Added all attributes
8690 * ImageButton.cs: Added all attributes
8691 * Label.cs: Added all attributes
8692 * LinkButton.cs: Added all attributes
8693 * ListBox.cs: Added all attributes, added error checks, throws more exceptions
8694 * ListControl.cs: Added all attributes
8695 * ListItem.cs: Added all attributes
8696 * ListItemCollection.cs: Added attribute
8697 * Literal.cs: Added all attributes
8698 * Panel.cs: Added all attributes
8699 * RadioButton.cs: Added all attributes
8700 * RadioButtonList.cs: Added all attributes, added error checks, throws more exceptions
8701 * RangeValidator.cs: Added all attributes
8702 * RegularExpressionValidator.cs: Added all attributes
8703 * Repeater.cs: Added all attributes
8705 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8707 * RequiredFieldValidator.cs: Added all attributes
8708 * Style.cs: Added all attributes
8709 * Table.cs: Added all attributes
8710 * TableCell.cs: Added all attributes, added error checks, throws more exceptions
8711 * TableCellCollection.cs: Added attribute
8712 * TableRow.cs: Added all attributes
8713 * TableRowCollection: Added attribute
8714 * TableStyle.cs: Added all attributes, improved error messages
8715 * TemplateColumn.cs: Added all attributes
8716 * TextBox.cs: Added all attributes, added error checks, throws more exceptions
8717 * ValidationSummary.cs: Added all attributes
8718 * WebControl.cs: Added all attributes
8719 * Xml.cs: Added all attributes
8721 2003-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8723 * DataGrid.cs: fixed signature of ItemCreated and PageIndexChanged.
8724 * DataList.cs: fixed signature of ItemCreated and ItemDataBound.
8726 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8728 * CheckBoxList.cs: fixes bug reported on the list about the state of
8729 the CheckButtons not being preserved across posts.
8731 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8733 * ListControl.cs: added SelectedValue property (1.1). Closes 46412.
8735 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8737 * AdRotator.cs: fixed bug #44271 and a few others bugs. Mono-stylized.
8739 2003-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8741 * ListControl.cs: save viewstate data when any of the 3 values is not
8742 null. Fixed condition to save selection indices. Closes bug #45493.
8744 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8746 * DataGrid.cs: fixed bug #43823.
8748 2003-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8750 * DataGrid.cs: fixed delegate type for SortCommand.
8752 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8754 * DataGridColumnCollection.cs: added missing return in RemoveAt.
8756 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8758 * DataGridColumnCollection.cs: fixed LoadViewState for the columns.
8759 Don't save ViewState is the number of columns is 0.
8761 2003-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8763 * DataGrid.cs: get the right item Type for the property we're reading
8764 fromt the data source.
8766 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8769 * TextBox.cs: added control builder attribute.
8771 2003-03-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8773 * DataGrid.cs: Fixed SaveViewState and type of ItemDataBound.
8775 2003-03-17 George Kodinov <gkodinov@openlinksw.co.uk>
8777 * Unit.cs: Called the correct method to get the Numeric locale for the
8780 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8782 * ButtonColumn.cs: fixed a couple of infinite loop problems and render
8783 correctly the header of the column.
8785 * DataGridTableInternal.cs: don't assign a default ID to this control.
8787 * LinkButton.cs: raise bubble event in OnCommand.
8789 * TableCellCollection.cs: fixed the index returned by Add.
8791 * TableRowCollection.cs: ditto.
8793 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8795 * Xml.cs: don't call MapPathSecure when setting DocumentSource.
8797 2003-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8799 * RangeValidator.cs: fixed bug #37577. Thanks to Stephane Tombeur
8800 for reporting the bug and providing the fix.
8802 2003-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8804 * DataGrid.cs: AutoGenerateColumns defaults to true. Fixed
8805 CreateColumnSet. Set the owner of the column when auto generated.
8806 In PrepareControlHierarchyForItem, fixed for loop bound.
8808 * LinkButtonInternal.cs: fixed infinite recursion bug.
8812 2003-01-22 Zdravko Tashev <ztashev@openlinksw.co.uk>
8814 * Xml.cs: a few fixes.
8816 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8818 * DataList.cs: handle the exception when adding new keys to
8821 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8823 * BaseDataList.cs: what can I say for this one? I spent so many time
8824 until I finally found this that I'm gonna miss this f....g bug... ;-).
8825 Farewell. Now we can get events from image buttons inside Data*.
8827 * DataList.cs: now the value stored in ViewState for item count is
8830 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8832 * DataGrid.cs: default value for ShowHeaders is true. Fixed style for
8834 * DataGridColumn.cs: added SetOwner method.
8835 * DataGridColumnCollection.cs: set the owner of the column when added.
8837 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8839 * BoundColumn.cs: typo.
8840 * DataGrid.cs: use 'as' instead of casting. Typo.
8841 * HyperLinkColumn.cs: call OnColumnChanged when any property change.
8844 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8846 * HyperLink.cs: fixes bug #36336.
8848 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8850 * DataList.cs: fixed IRepeatInfoUser.GetItemStyle.
8852 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8854 * BaseValidator.cs: return an empty string in GetControlValidationValue
8855 when GetValue returned null.
8857 * CompareValidator.cs: fixed EvaluateIsValid.
8859 * RegularExpressionValidator.cs: fixed EvaluateIsValid.
8861 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8863 * Xml.cs: use MapPathSecure to get the path of the document.
8865 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8867 * DataList.cs: fixed header & footer.
8869 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8871 * DataList.cs: for header and footer don't use data source.
8872 Instantiate in the DataListItem, not in the DataList.
8873 databind-template.aspx works now.
8875 2002-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8878 (Render): call RenderContents (), not base.RenderContents ().
8880 * DataList.cs: style.
8882 But I still haven't found what i'm looking for....
8884 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8886 * Calendar.cs: fixed loading/saving selected dates.
8887 * SelectedDatesCollection.cs: added internal function to get the
8888 underlying ArrayList.
8890 Calendar navigation works again. Selecting dates too.
8892 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8894 * DataList.cs: added a few attributes and fixed infinite recursion.
8896 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8898 * ListItemCollection.cs: fixed LoadViewState.
8900 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8902 * TableItemStyle.cs: TypeDescriptor.GetConverter seems to fail.
8903 Commented out some code until it works.
8905 2002-10-29 Gaurav Vaish <gvaish_mono@lycos.com>
8907 * BaseCompareValidator.cs - Fixed operator bug in
8908 Compare(string, string, ...)
8909 * CompareValidator.cs - EvaluateIsValid() : Implemented.
8911 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8913 * BoundColumn.cs - InitializeCell(TableCell, int, ListItemType)
8915 - All Properties : Now make use of ViewState.
8917 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8919 * BaseValidator.cs - Uncomment NotImplementedException.
8921 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8923 * BaseValidator.cs - Minor changes in TODO comments.
8925 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8927 * BaseValidator.cs - DetermineRenderUpLevel() : Uncomment
8928 the NotImplementedException being thrown.
8929 * DataGridPagerStyle.cs - Mode { set; } : Implemented.
8930 * DataGridLinkButton.cs - Added new class (private) : Implemented.
8931 * DataGrid.cs - InitializePager(DataGridItem, int,
8932 PagedDataSource) : Implemented.
8934 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8936 * DataList.cs - PrepareControlHierarchy() : Implemented.
8938 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8940 * DataList.cs - RenderContents(HtmlTextWriter) : Implemented.
8941 - GetItem(ListItemType, int) : Removed TODO.
8942 - CreateControlHierarchy(bool) : Implemented.
8943 - CreateItem(int, ListItemType) : Implemented.
8944 - CreateItem(int, ListItemType,
8945 bool, object) : Implemented.
8946 - InitializeItem(DataItem) : Implemented.
8947 * DataGrid.cs - CreateControlHierarchy(bool) : Bug fix.
8948 The ViewState["_!ItemCount"],
8949 ViewState["_!DataSource_ItemCount"]
8950 are shared by DataList and DataGrid, and hence
8951 should share the same name.
8952 - ResolveDataSource(object, string)
8953 : Removed. Use System.Web.UI.Utils.DataSourceHelper
8954 ::GetResolvedDataSource(object, string).
8957 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8959 * DataGrid.cs: fixed compilation
8961 2002-09-12 Gaurav Vaish <gvaish_mono@lycos.com>
8963 * PagedDataSource.cs - FirstIndexInPage : Fixed bug.
8964 * DataGrid.cs - CreateControlHierarchy(bool)
8965 : working towards completion.
8966 - ResolveDataSource(object, string)
8967 : stubbed new method
8969 : stubbed new method
8970 Well. It's almost done.
8971 * DataGridTableInternal.cs
8972 - Added new internal class.
8974 2002-08-28 Gaurav Vaish <gvaish_mono@lycos.com>
8976 * DataSourceInternal.cs - Added new class (internal).
8978 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8981 * HorizontalAlign.cs:
8983 * VerticalAlign.cs: fixes based on class status page.
8985 * HorizontalAlignConverter.cs: implemented.
8986 * VerticalAlignConverter.cs: implemented.
8988 * FontUnitConverter.cs: implemented GetStandardValues ().
8990 * WebColorConverter.cs: implemented ConvertFrom () and ConvertTo ().
8992 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
8994 * DataGrid.cs - AutoCreateColumns: Bug fixes.
8996 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
8998 * DataGrid.cs - AutoCreateColumns: completed, hopefully!
9000 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9002 * DataGrid.cs - Working on the undocumented protected
9003 method CreateColumnSet. AutoCreateColumns method
9004 stubbed. Left CreateControlHierarchy for the time
9005 being, looks like I'm going insane. ;-)
9007 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
9009 * Button.cs - Steffen's OnCommand bug fix.
9011 2002-08-12 Gaurav Vaish <gvaish_mono@lycos.com>
9013 * DataGrid.cs - Added protected method (skeleton)
9014 CreateColumnSet(PagedDataSource, bool)
9015 Still trying to know how will it be used
9018 2002-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9020 * PagedDataSource.cs: fixed compilation.
9022 2002-08-08 Gaurav Vaish <gvaish_mono@lycos.com>
9024 * DataGrid.cs - Added private method
9025 CreatePagedDataSource
9027 CreateControlHierarchy(bool)
9028 * PagedDataSource.cs - Bug fixed.
9029 CurrentPageIndex is writable.
9031 2002-08-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9033 * DataGrid.cs: fixed typo.
9034 * DataGridPagerStyle.cs: added IsPagerOnTop and IsPagerOnBottom.
9036 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
9038 * DataGridColumn.cs - Added internal methods to get the
9039 various styles (needed in DataGrid.cs)
9040 * DataGrid.cs - Completed the method
9041 PrepareControlHierarchy()
9043 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
9045 * DataGrid.cs - Wokring on PrepareControlHierarchy()
9046 - Added private method
9047 PrepareControlHierarchyForItem()
9049 2002-08-05 Gaurav Vaish <gvaish_mono@lycos.com>
9051 * DataGrid.cs - Completed method
9052 OnBubbleEvent(object, EventArgs)
9054 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9056 * Xml.cs: implemented document/transform load.
9058 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9060 * Calendar.cs: added myself to the list of authors.
9061 * DropDownList.cs: fixed a few properties.
9062 * ListControl.cs: fixed SelectedIndex.
9064 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9066 * Calendar.cs: lots of fixes. Render days. Still left to persist
9067 selected days when changing month.
9069 * Unit.cs: fixed Percentage and Pixel.
9071 * WebControl.cs: a few properties are now using ControlStyle instead
9072 of ViewState to persist.
9074 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9076 * BaseValidator.cs: it works now.
9077 * DataGridColumn.cs: added attribute and made it abstract.
9078 * RequiredFieldValidator.cs: fixed return value in EvaluateIsValid.
9080 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9082 * TextBox.cs: default for Wrap is true.
9083 (OnPreRender): don't save Text if there are no listeners on TextChanged.
9085 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9091 (LoadViewState): fixed.
9093 * ListItemCollection.cs:
9094 (TrackViewState): use items instead of 'this' in foreach.
9097 (LoadViewState): more checking of parameters.
9099 * WebControl.cs: implemented LoadViewState and SaveViewState.
9102 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9104 * ListItem.cs: there was no code to unset the flags!!!
9106 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9108 * FontUnit.cs: use a hashtable for mapping size name to value.
9109 * HyperLink.cs: fixed a bug and a typo.
9110 * Unit.cs: some fixes to internal constructor.
9112 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9114 * ListControl.cs: fixed a couple of range checks.
9115 * WebControl.cs: MS lies! Not all WebControls must be rendered inside
9116 an HtmlForm (p.e., Label).
9118 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9128 * HyperLinkColumn.cs:
9137 * RadioButtonList.cs:
9141 * WebControl.cs: removed attributes added by mistake (i used
9142 GetCustomAttributes (true), d'oh!).
9144 * DataListItem.cs: implemented RenderItem.
9146 * Repeater.cs: implemented CreateItem and InitializeItem.
9148 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9150 * BaseDataList.cs: a couple of fiex and added attributes.
9151 * DataGrid.cs: little fixes.
9153 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9162 * RadioButtonList.cs:
9165 * Xml.cs: forgot to add using System.ComponentModel.
9167 * BaseValidator.cs: use explicitly
9168 System.ComponentModel.AttributeCollection as there is another class
9169 with the same name under System.Web.UI.
9171 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9190 * RadioButtonList.cs:
9195 * Xml.cs: added/fixed all attributes used by xsp.
9197 * BaseValidator.cs: some fixes.
9199 2002-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9202 (AddAttributesToRender): correctly default to border=1.
9204 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9207 (LoadAdFile): make the dictionary null after every iteration.
9211 * ListItem.cs: fixed warnings.
9213 Mon Jul 1 16:23:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
9215 * Style.cs, TableRow.cs, DataListItem.cs: fix compilation.
9217 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9219 * DataGridColumn.cs:
9220 * DataGridPagerStyle.cs:
9227 * ListItemCollection.cs:
9229 * ServerValidateEventArgs.cs:
9233 * Xml.cs: more class status page based changes.
9235 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9238 (.ctor): fixed to render the correct tag.
9239 (IPostBAckEventHandler.RaisePostBackEvent): fixed.
9241 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9244 (AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
9245 WebControl derived classes should be rendered inside a HtmlForm.
9247 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9249 * Repeater.cs: implemented CreateControlHierarchy. Fixed some event
9252 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9254 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
9255 * RepeatInfo.cs: implemented DoHorizontalRendering.
9257 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9259 * System.Web.UI.WebControls/Repeater.cs:
9261 (OnDataBinding): fixed stack overflow.
9263 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9265 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
9266 * RepeatInfo.cs: implemented DoHorizontalRendering.
9268 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9271 (CopyBaseAttributes): copy Attributes and don't throw exception.
9273 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9275 * ListBox.cs: mono-stylized.
9276 (AddAttributesToRender): call parent class method.
9278 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9280 * Style.cs: fixed IsEmpty and Width.
9282 * Table.cs: mono-stylized.
9283 (TableRowControlCollection.AddAt): fixed.
9284 (AddAttributesToRender): fixed.
9286 * TableCell.cs: mono-stylized.
9287 (.ctor): use PreventAutoID.
9288 (AddAttributesToRender): fixed.
9289 (AddParsedSubObject): fixed.
9291 * TableRow.cs: mono-stylized. Added
9292 ParseChildren attribute.
9295 (get_GridLine): fixed.
9297 2002-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9299 * Panel.cs: fixed stack overflow.
9300 * Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
9301 and SingleConverter.
9303 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9305 * RadioButton.cs: mono-stylized and some little fixes.
9307 * TextBox.cs: mono-stylized.
9308 (MaxLength): fixed typo.
9310 (AddAttributesToRender): don't render the text between the tags for
9311 SingleLine, use value attribute for it. Don't render the text for
9314 (OnPreRender): don't throw exception and call base.OnPreRender.
9316 (Render): for MultiLine, render the text between the opening and
9317 closing tags encoded as HTML.
9319 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9322 (AddAttributesToRender): fixer another stack overflow.
9325 (TagName): modified to use TagKey instead of tagKey as the property
9328 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9330 * LinkButton.cs: mono-stylized.
9331 (AddParsedSubObject):
9332 (RenderControls): little fixes.
9335 (AddAttributesToRender): fixed usage of IEnumerator.
9337 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9339 * Literal.cs: beautified.
9341 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9343 * Label.cs: beautified and fixed a couple of 'classic' bugs.
9345 * WebControl.cs: use Span as default tag when no other provided in
9346 constructor. That is what MS renders.
9348 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9351 (AddAttributesToRender): fixed (classic) stack overflow.
9353 * CheckBox.cs: mono-stylized.
9354 (AutoPostBack): fixed stack overflow.
9355 (Render): fixed alignment issues. Also set the For attribute always
9358 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9360 * AdRotator.cs: GetData does not work as it should, but now it returns
9361 useful data (only the first ad in the file). Set the NavigateUrl
9362 property in the hyperlink if available.
9364 * HyperLink.cs: fixed constructor and a couple of stack overflows.
9366 * Image.cs: added an attribute and fixed stack overflow.
9369 (RenderBeginTag): fixed.
9370 (TagName): don't call Enum.IsDefined twice.
9372 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9374 * WebControl.cs: added attributes PersistChildrenAttribute and
9375 ParseChildrenAttribute.
9377 2002-05-24 Duncan Mak <duncan@ximian.com>
9379 * DataGridItem.cs (SetItemType): Changed function signature to
9382 * ListItemCollection.cs (this): Changes the visibility level of
9385 * Repeater.cs (OnItemCommand):
9387 (OnItemDataBound): Added necessary casts.
9389 2002-05-07 Duncan Mak <duncan@ximian.com>
9391 * Button.cs (AddAttributesToRender):
9392 * ImageButton.cs (AddAttributesToRender): Added a missing argument to the
9393 GetClientValidatedEvent method.
9395 2002-03-27 Gaurav Vaish <gvaish@iitk.ac.in>
9397 * Removed extra methods, corrected access modifiers to several
9400 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
9402 * <SeveralFiles>.cs - Added some attributes
9403 * FontUnitConverter.cs - Added stubs for GetStandardValues*(..)
9404 methods. Will complete them later. Right now, busy with
9405 the attributes part.
9406 * RepeaterItem.cs - Completed.
9408 Oh God! Mercy! I will die applying attributes. I look at the missing
9409 part in the class-status - daemon! Kyrie eleison!
9411 2002-03-19 Gaurav Vaish <gvaish@iitk.ac.in>
9415 * AdRotator.cs - Added definition for Font.
9416 * BaseCompareValidator.cs - Added definition for Controls.
9417 * Calendar.cs - SelectMonthText definition corrected.
9418 * DataList.cs - Added definition for SeparatorTemplate.
9419 * BorderStyle.cs - Namespace correction. It belongs not to UI,
9420 but to UI.WebControls.
9422 2002-03-17 Gaurav Vaish <gvaish@iitk.ac.in>
9424 Finally, I have made it. Today I did a second build for the
9425 System.Web assembly. It compiled 195 classes today.
9426 I am waiting eagerly for the runtime to come up so that the objects
9427 may be tested to their last levels. Several of the methods are still
9428 under the tag of "TODO" throwing NotImplementedException. Well, I
9429 hope to remove them soon, but how far is this soon - even I don't
9430 know, though I am happy to make the build a success even before
9431 the vacations to come.
9433 2002-03-07 Gaurav Vaish <gvaish@iitk.ac.in>
9435 Yesterday and today I tried to do some building of the aseembly,
9436 but was dumped with uncoutably infinite errors. ;-)
9437 I have put the copies of the recent errors on my home page, want
9438 to have a look at them? See:
9439 http://mastergaurav.virtualave.net/mono/
9440 I don't know what to do with these errors. Oh! The buggy me! How
9441 will I overcome myself. Hopefully, by when my vacations over, I
9442 should have made a repository where the build will not fail.
9444 2002-03-05 Gaurav Vaish <gvaish@iitk.ac.in>
9446 I am now going to do a build that will include the
9447 System.Web.UI.WebControls namespace. Hoping that I will make it
9448 soon. My exams are coming near and I have to pack up soon.
9451 2002-03-04 Gaurav Vaish <gvaish@iitk.ac.in>
9454 And with this, ie, today's work, all the objects mentioned in the
9455 namespace appear in the implementation. But it may not be worth
9456 trying to go for a build because of dependence of several of the
9457 internal methods that may clash with already available assembly
9460 Also, the classes lack possible attributes, like those informing
9461 about child-controls etc. But I have to first create the attribute
9462 classes before I attach the attributes to the classes.
9464 * CustomValidator.cs - Completed. In process realized that
9465 I have to complete / rejuvinate BaseValidator class.
9466 * BaseValidator.cs - Complete rejuvination. Completed 80%
9467 of the job. All that is left is Render(HtmlTextWriter),
9468 DetermineRenderUplevel(), RegisterValidatorCommonScript()
9469 RegisterValidatorDeclaration()
9470 * DataGridPagerStyle.cs - Completed. That adds one more missle
9472 * DataKeyCollection.cs - Completed. Petty small.
9473 * Repeater.cs - Work started off. This is a quite
9475 * DataGridItemEventArgs.cs,
9476 * DataGridShortCommandEventArgs.cs,
9477 * DataListItemEventArgs.cs,
9478 * MonthChangedEventArgs.cs,
9479 * RepeaterItemEventArgs.cs,
9480 * ServerValidateEventArgs.cs,
9481 * DataGridPageChangedEventArgs.cs
9482 - Damn, I marked them "*", while they
9484 * Repeater.cs - Done all except for an undocumented
9485 method CreateControlHierarchy(bool). Though the method
9486 is quite clear by its name, but it will take some time
9487 for me to come with some material to flush in.
9489 2002-03-03 Gaurav Vaish <gvaish@iitk.ac.in>
9491 * SelectedDatesCollection.cs - Completed.
9492 * PagedDataSource.cs - Completed. Pathetically nice class.
9493 * RegularExpressionValidator.cs
9494 - Completed. Ridiculously small and
9495 annoyinglyc crazy-driving class, basically the method
9497 * RangeValidator.cs - Completed.
9498 * DataGridColumn.cs - Completed.
9499 * EditCommandColumn.cs - All is complete except for the
9500 InitializeCell(TableCell, int, ListItemType) method.
9501 * DataListItem.cs - All done except for a longish method
9502 RenderItem(HtmlTextWriter, bool, bool)
9504 2002-03-02 Gaurav Vaish <gvaish@iitk.ac.in>
9506 * RepeaterItemCollection.cs - Completed.
9507 I love *Collection classes. I am planning to make a
9508 program that will generate a *Collection class. It's so
9509 simple and the same. ;-)
9510 * DataGridColumnCollection.cs - Completed.
9511 ... except probably for *ColumnCollection classes, where
9512 you have to put in some more effort. Still, these class
9513 generation can be automated.
9514 * DataListItemCollection.cs - Completed.
9515 See, how easily, in less than a quarter of a minute, I
9516 completed this class - manually. Copy-Paste/Cut-Replace.
9518 2002-02-21 Gaurav Vaish <gvaish@iitk.ac.in>
9520 * DataGrid.cs - Following methods implemented:
9521 TrackViewState(), LoadViewState(object), SaveViewState(),
9522 On* -- The event raisers.
9523 OnBubbleEvent(object, EventArgs) is still incomplete.
9524 * DataGridItem.cs - Initial Implementation
9525 * DataGridItemCollection.cs - Completed.
9527 2002-02-08 Gaurav Vaish <gvaish@iitk.ac.in>
9529 * DataGrid.cs - Initial Implementation. Worked
9530 primarily with some properties.
9532 2002-02-07 Gaurav Vaish <gvaish@iitk.ac.in>
9534 * ListBox.cs - Completed. Implemented
9535 LoadPostData(string, NameValueCollection)
9536 * RequiredFieldValidator.cs - Completed. Pretty simple class.
9538 2002-02-06 Gaurav Vaish <gvaish@iitk.ac.in>
9540 * ListBox.cs - Implemented the following:
9541 RaisePostDataChangedEvent()
9543 2002-02-02 Gaurav Vaish <gvaish@iitk.ac.in>
9545 * ListBox.cs - Supports the following properties:
9546 BorderColor, BorderStyle, BorderWidth, Rows, SelectionMode,
9549 AddAttributesToRender(HtmlTextWriter), OnPreRender(EventArgs),
9550 RenderContents(HtmlTextWriter)
9553 2002-02-01 Gaurav Vaish <gvaish@iitk.ac.in>
9555 * TargetConverter.cs - Completed
9556 * TemplateColumn.cs - Completed
9557 * DataList.cs - Corrected the get-er methods for the
9558 *Style objects. Corrected the get/set-er methods for ViewState
9560 Addded support for properties:
9561 GridLines, HeaderStyle, HeaderTemplate, ItemStyle, ItemTemplate,
9562 RepeatColumns, RepeatDirection, RepeatLayout, SelectedIndex,
9563 SelectedItem, SelectedItemStyle, SelectedItemTemplate,
9564 SeparatorStyle, SeparatorItemTemplate.
9566 CancelCommand, DeleteCommand, EditCommand, ItemCommand,
9567 ItemCreated, ItemDataBound, UpdateCommand.
9569 CreateControlStyle(), LoadViewState(object),
9570 SaveViewState(), TrackViewState
9572 OnBubbleEvent, OnCancelCommand, OnDeleteCommand,
9573 OnEditCommand, OnItemCommand, OnItemCreated,
9574 OnItemDataBound, OnUpdateCommand
9575 Added dummy methods for some undocumented methods:
9576 CreateControlHierarchy(bool), CreateItem(int, ListItemType),
9577 CreateItem(int, ListItemType, bool, object),
9578 PrepareControlHierarchy(), InitializeItem(DataListItem)
9579 * ListBox.cs - Started working.
9583 2002-01-31 Gaurav Vaish <gvaish@iitk.ac.in>
9585 * RepeaterInfo.cs - Initial Implementation. Done all
9586 except for RepeatDirection.Vertical
9587 * TableStyle.cs - Completed
9589 2002-01-30 Gaurav Vaish <gvaish@iitk.ac.in>
9591 * DropDownList.cs - Completed
9592 * ListItemCollection.cs - Added method FindByValueInternal to
9593 assist in the derived classes.
9594 Discovered bug in FindByValue. Removed
9595 * UnitConverter.cs - Completed
9596 * PlaceHolder.cs - What can be simpler than this?
9597 * PlaceHolderControlBuilder.cs
9598 - Uh! Damn cool one.
9599 * RadioButtonList.cs - Initial Implementation. All is done
9600 except for the implementation of
9601 method IRepeatInfoUser.RenderItem(...)
9602 * ValidatedControlConverter.cs
9603 ^^^^^^^^^^^^^^^^^^^^^^^^^ - Looks complete. Doubtful though !!
9604 * ValidationSummary.cs - Initial Implementation.
9605 * WebColorConverter.cs - Initial Implementation
9607 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
9609 * FontNamesConverter.cs - Completed
9610 * FontUnitConverter.cs - Partial Implementation
9611 * ListItemControlBuilder.cs - Completed
9613 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
9615 * TextBox.cs - All done except *Render* methods
9616 * TextBoxControlBuilder.cs - Completed
9617 * Xml.cs - Partial Implementation
9619 2002-01-26 Gaurav Vaish <gvaish@iitk.ac.in>
9621 * RadioButton.cs - Completed
9622 * TextBox.cs - Partial Implementation
9624 2002-01-25 Gaurav Vaish <gvaish@iitk.ac.in>
9626 * Panel.cs - Completed
9627 * TableItemStyle.cs - Completed
9629 2002-01-18 Gaurav Vaish <gvaish@iitk.ac.in>
9631 * TableCellCollection.cs - Completed
9632 * TableRowCollection.cs - Completed
9633 * TableHeaderCell.cs - Completed
9634 * TableRow.cs - Completed
9636 2002-01-09 Gaurav Vaish <gvaish@iitk.ac.in>
9638 * TableCellControlBuilder.cs - Completed
9639 * Table.cs - Completed
9640 * TableCell.cs - Completed
9642 2002-01-07 Gaurav Vaish <gvaish@iitk.ac.in>
9644 * CheckBoxList.cs - Completed
9645 * ButtonColumn.cs - Completed
9646 * Button.cs - Completed
9648 2001-12-28 Gaurav Vaish <gvaish@iitk.ac.in>
9650 * HyperLink.cs - Completed
9651 * Image.cs - Completed
9652 * ImageButton.cs - Completed
9653 * Label.cs - Completed
9654 * LabelControlBuilder.cs - Completed
9655 * LinkButton.cs - Completed
9656 * LinkButtonControlBuilder.cs - Completed
9657 * Literal.cs - Completed
9658 * LieteralControlBuilder.cs - Completed
9659 * FontUnit.cs - Completed
9662 2001-12-27 Gaurav Vaish <gvaish@iitk.ac.in>
9664 * Calendar.cs - Completed the functions of Render*,
9665 ViewStates (Track/View/Save),
9667 Left: RenderAllDays (partially)
9669 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
9671 * Calendar.cs - Added some more functions
9672 * Style.cs - Completed
9673 * ListItem.cs - Completed
9674 * ListItemCollection.cs - Completed
9676 Made the first successful build of System.Web.dll that included
9677 System.Web.UI.WebControls!
9679 2001-12-20 Gaurav Vaish <gvaish@iitk.ac.in>
9681 FontInfo.cs - Complete revamp. Completed
9683 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
9685 ListItemCollection.cs - Completed
9686 ListItem.cs - Initial Implementation
9687 Style.cs - Initial Implementation
9689 Right now I am in a total mood to do a successful build. Creating so many
9690 classes, completing classes in System.Web System.Web.UI namespaces.
9692 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
9694 TODO - Properly added
9695 CheckBox.cs - Completed
9696 BaseDataList.cs - Completed
9697 DayRenderEventArgs.cs - Completed
9698 RepeaterItem.cs - Initial implementation
9700 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
9702 BaseCompareValidator.cs - Completed
9703 AdRotator.cs - Completed
9705 2001-12-15 Gaurav Vaish <gvaish@iitk.ac.in>
9707 CommandEventArgs.cs - Completed
9708 DataGridCommandEventArgs.cs - Completed
9709 RepeaterCommandEventArgs.cs - Completed
9710 DataListCommandEventArgs.cs - Completed
9711 CompareValidator.cs - Partial Implementation
9713 2001-12-02 Gaurav Vaish <gvaish@iitk.ac.in>
9715 CheckBoxList.cs - Partial Implementation.
9718 2001-12-01 Gaurav Vaish <gvaish@iitk.ac.in>
9720 ListControl.cs - Completed
9722 2001-11-30 Gaurav Vaish <gvaish@iitk.ac.in>
9724 CheckBox.cs - Completed
9725 ListControl.cs - Initial Implementation
9726 CheckBoxList.cs - Started with it, but first needed
9727 ListControl. Left it.
9729 2001-11-29 Gaurav Vaish <gvaish@iitk.ac.in>
9731 CalendarDay.cs - Making a note that this
9732 has been implemented
9733 Calendar.cs - Making a note that have made some changes.
9734 Unimplmented functions throw
9735 NotImplementedException
9736 CheckBox.cs - Can now "Render" and "LoadPostData"
9739 2001-11-08 Gaurav Vaish <gvaish@iitk.ac.in>
9740 WebControl.cs - Total Revamp, Partial Implementation
9741 AdRotator.cs - Able to load files
9742 AdCreatedEventArgs.cs - Implemented
9744 2001-11-05 Gaurav Vaish <gvaish@iitk.ac.in>
9745 Calendar.cs - Initial Implementation
9746 ButtonColumn.cs - Initial Implementation
9747 Button.cs - Initial Implementation
9748 BoundColumn.cs - Initial Implementation
9749 BaseCompareValidator.cs - Minor Changes
9750 DataList.cs, BaseValidator.cs, BaseDataList.cs
9751 - Added more functions, other changes
9753 2001-10-28 Gaurav Vaish <gvaish@iitk.ac.in>
9754 WebControl.cs - Initial Implementation
9755 DataList.cs - Initial Implementation
9756 BaseValidator.cs - Initial Implementation
9757 BaseDataList.cs - Initial Implementation
9759 2001-10-27 Gaurav Vaish <gvaish@iitk.ac.in>
9761 AdCreatedEventArgs.cs - Initial Implementation
9762 AdCratedEventHandler.cs - Implemented
9763 AdRotator.cs - Initial Implementation
9764 BorderStyle.cs - Implemented
9765 ButtonColumnStyle.cs - Implemented
9766 CalendarSelectionMode.cs - Implemented
9767 DayNameFormat.cs - Implemented
9768 FirstDayOfWeek - Implemented
9769 FontInfo.cs - Partial Implementation
9770 FontSize.cs - Implemented
9771 GridLines.cs - Implemented
9772 HorizontalAlign.cs - Implemented
9773 HyperLink.cs - Initial Implementation
9774 ImageAlign.cs - Implemented
9775 IRepeatInfoUser.cs - Implemented
9776 ListItemType.cs - Implemented
9777 ListSelectionMode.cs - Implemented
9778 NextPrevFormat.cs - Implemented
9779 PagerMode.cs - Implemented
9780 PagerPosition.cs - Implemented
9781 RepeatDirection.cs - Implemented
9782 RepeatLayout.cs - Implemented
9783 TextAlign.cs - Implemented
9784 TextBoxMode.cs - Implemented
9785 TitleFormat.cs - Implemented
9786 UnitType.cs - Implemented
9787 ValidationCompareOperator.cs
9789 ValidationDataType.cs - Implemented
9790 ValidationSummaryDisplayMode.cs
9792 ValidatorDisplay.cs - Implemented
9793 VerticalAlign.cs - Implemented
9797 i/ File Created 2001-11-13