1 2009-10-30 Marek Habersack <mhabersack@novell.com>
3 * PasswordRecovery.cs: mail message replacements should include <%
4 Password %> and <% UserName %> and matching should be
5 case-insensitive. Fixes bug #545370
7 2009-10-28 Marek Habersack <mhabersack@novell.com>
9 * ListControl.cs: OnDataBinding must call base implementation
10 before performing the binding, so that DataSource can be assigned
11 from within the handler.
13 2009-10-13 Marek Safar <marek.safar@novell.com>
15 * WebColorConverter.cs: Delegate ConvertFrom to
16 ColorTranslator.FromHtml, it is correctly implemented and knows
19 2009-10-13 Marek Habersack <mhabersack@novell.com>
21 * WebColorConverter.cs: don't use a dictionary to check for valid
22 color names, use Color.IsKnownColor instead. Update for bug
24 Added more CSS2 color name mappings.
26 2009-10-12 Marek Habersack <mhabersack@novell.com>
28 * WebColorConverter.cs: when converting from color name, check if
29 the returned color's name is a member of the
30 System.Drawing.KnownColor enumeration to test for error condition,
31 as some colors might be #000000. Preserve the old error check as a
33 Map "captiontext" and "background" color names to
34 "ActiveCaptionText" and "Desktop", respectively, before passing
35 them to Color.FromName (). Fixes bug #546173
37 2009-10-02 Marek Habersack <mhabersack@novell.com>
39 * GridView.cs: added two 3.5 properties - SelectedPersistedDataKey
40 and IPersistedSelector.DataKey.
42 * BaseDataBoundControl.cs: slight optimizations to FindDataSource
44 2009-09-28 Marek Habersack <mhabersack@novell.com>
46 * DataBoundControl.cs: Initialize sets RequiresDataBinding
47 properly, only when we're not data-bound already, when we aren't
48 in postback or when we are in postback, but with viewstate
49 enabled. Fixes bug #542076
51 2009-09-01 Marek Habersack <mhabersack@novell.com>
53 * ObjectDataSourceView.cs: ExecuteSelect must call
54 QueryTotalRowCount after executing the select method (that's what
57 2009-08-25 Marek Habersack <mhabersack@novell.com>
59 * WebColorConverter.cs: inform the user that the might need to
60 check if libgdiplus is installed when parsing a color name
61 fails. Fixes bug #533749
63 2009-08-21 Marek Habersack <mhabersack@novell.com>
65 * Menu.cs: separator image is rendered next to the item in
66 horizontal layout and is preceeded by 3px spacer (unless
67 itemSpacing is set) to make output match .NET. Fixes bug #474716
69 * TreeNodeCollection.cs: {Save,Load}ViewState now store/load the
70 type of the node, if node is a of a custom type. Fixes bug #475997
72 2009-06-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
74 * Parameter.cs: add new DbType property.
76 2009-06-16 Marek Habersack <mhabersack@novell.com>
78 * IPersistedSelector.cs: removed AspNetHostingPermission
79 attributes from the 4.0 profile.
81 * IDataBoundControl.cs, IDataBoundItemControl.cs,
82 IDataBoundListControl.cs, IFieldControl.cs: added
84 * DetailsView.cs: control implements 4.0 IDataBoundItemControl
87 * DataBoundControl.cs: implemented 4.0 property DataSourceObject
88 (internal for 2.0) and made the InternalPerformDataBinding method
89 internal for the 4.0 profile.
91 2009-06-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
93 * ContentControlBuilderInternal.cs: detect missing
94 ContentPlaceHolderID attribute when parsing instead of throwing a
97 2009-05-29 Marek Habersack <mhabersack@novell.com>
99 * ListItem.cs: when tracking view state is turned on after
100 attributes have been set, make sure that the associated state bag
101 begins tracking state and that all of its existing items are
102 marked as dirty. Do the same after loading view state. Fixes bug
105 2009-04-29 Marek Habersack <mhabersack@novell.com>
107 * DataBoundControl.cs: added InternalGetDataSource method, used by
110 2009-04-28 Marek Habersack <mhabersack@novell.com>
112 * GridView.cs: implemented ColumnsGenerator and enabled its use in
115 * DetailsView.cs: implemented the RowsGenerator property and
116 enabled its use in CreateFieldSet.
118 2009-04-07 Marek Habersack <mhabersack@novell.com>
120 * TreeView.js: removed nodeText parameter from the JS calls.
122 * TreeView.cs: encode | characters into U+007C, so that
123 RaiseCallbackEvent doesn't get confused.
124 Removed nodeText parameter from the JS calls.
126 2009-04-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
128 * TreeNode.cs: reset the path data for all child nodes too.
129 * TreeView.cs: HtmlAttribute encode the node text. When rebuilding the
130 node tree, set the correct index for the nodes so that the Path is
133 2009-04-06 Marek Habersack <mhabersack@novell.com>
135 * TreeView.js: TreeView_ToggleExpand now takes more parameters - a
136 full definition of treeview's node contents.
137 Added new function, TreeView_PopulateNode, which partially takes
138 over role of the PopulateNode function generated in
139 TreeView.OnPreRender (see below). Fixes bug #492307
141 * TreeView.cs: RaiseCallbackEvent needs to recreate the event
142 target's parental tree all the way from the root to the node and
143 populate only the leaf (requested) node. This avoids calling the
144 TreeNodePopulate handler more times than needed. Fixes bug #492307
145 OnPreRender: moved the script code to constants and the script
146 body is now generated using StringBuilder instead of a series of
148 GetClientExpandEvent: adjusted code for new TreeView JavaScript
151 2009-03-17 Marek Habersack <mhabersack@novell.com>
153 * Unit.cs: introduced a field to tell the difference between empty
154 (as in Unit.Empty) and 0px units.
156 2009-03-06 Marek Habersack <mhabersack@novell.com>
158 * WebControl.cs: if savedState is not an instance of Pair in
159 LoadViewState, do not attempt to load from it.
161 2009-02-10 Marek Habersack <mhabersack@novell.com>
163 * ImageButton.cs: AddAttributesToRender renders the onclick
164 attribute only if any of the following is true:
165 - OnClientClick is not empty
166 - Validation is enabled for the control
167 - PostBackUrl is used
168 PostBackOptions now indicate that control requires the javascript
169 protocol for the handler.
170 RaisePostBackEvent passes String.Empty as the argument.
173 2009-02-09 Marek Habersack <mhabersack@novell.com>
175 * ObjectDataSourceView.cs: ExecuteSelect returns a single-item
176 array of objects containing the result, if the result isn't one of
177 DataSet, DataTable or IEnumerable. Fixes bug #471767
179 2009-02-06 Marek Habersack <mhabersack@novell.com>
181 * Style.cs: if CssClass is null, return String.Empty. Fixes bug
183 Added a range check to the BorderStyle property.
185 2009-02-05 Marek Habersack <mhabersack@novell.com>
187 * Login.cs: check the value of DisplayRememberMe when creating
188 the child controls. Fixes #468359
190 2009-01-20 Marek Habersack <mhabersack@novell.com>
192 * Substitution.cs: added. Fixes bug #467460
194 2009-01-13 Marek Habersack <mhabersack@novell.com>
196 * XmlBuilder.cs: updates related to ControlBuilder cleanup.
198 2008-12-01 Marek Habersack <mhabersack@novell.com>
200 * Style.cs: WriteStyleAttributes must not use the fontinfo field
201 directly, it has to be done via the Font property. Fixes bug
204 2008-11-15 Marek Habersack <mhabersack@novell.com>
206 * ContentPlaceHolder.cs, Content.cs, FormViewPagerRow.cs,
207 ChangePassword.cs, DetailsViewPagerRow.cs: implements
208 INonBindingContainer interface.
210 * Wizard.cs: implement INonBindingContainer interface for several
211 private/internal classes.
213 2008-10-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
215 * ImageButton.cs: clicking an image causes a postback.
218 2008-10-24 Marek Habersack <mhabersack@novell.com>
220 * CheckBox.cs: register for event validation in Render ().
222 2008-10-21 Marek Habersack <mhabersack@novell.com>
224 * XmlDataSource.cs: DataFile may be an URL.
226 2008-10-17 Marek Habersack <mhabersack@novell.com>
228 * ImageMap.cs: added the SupportsEventValidation attribute to the
230 Validate the event in RaisePostBackEvent ().
231 Register for event validation in Render ().
233 * DropDownList.cs, ListBox.cs: validate the event in LoadPostData ().
235 * TextBox.cs: validate the event in LoadPostData ().
236 Register for event validation in AddAttributesToRender ().
238 * HiddenField.cs: validate the event in RaisePostDataChangedEvent.
239 Register for event validation in Render ().
241 * RadioButton.cs: validate the event in LoadPostData ().
242 Register for event validation in InternalAddAttributesToRender.
244 * CheckBox.cs, RadioButtonList.cs: validate the event in
245 RaisePostDataChangedEvent.
247 * Menu.cs: added the SupportsEventValidation attribute to the
249 Validate the event in RaisePostBackEvent ().
250 Register for event validation in GetClientEvent ().
252 * DetailsView.cs, GridView.cs: validate the event in
253 RaisePostBackEvent ().
254 Register for validation in GetCallbackScript () and in OnPreRender
256 * Button.cs, Table.cs, BulletedList.cs, Calendar.cs, LinkButton.cs,
257 ImageButton.cs, TreeView.cs: validate the event in RaisePostBackEvent ().
259 2008-10-14 Marek Habersack <mhabersack@novell.com>
261 * CompositeDataBoundControl.cs: renamed the itemcount ViewState
262 item from "_ItemCount" to "_!ItemCount" for .NET
263 compatibility. This item is accessed and used by some commercial
266 * DataBoundControl.cs: OnPagePreLoad must force databinding also
267 when the request is not a postback.
269 2008-10-13 Marek Habersack <mhabersack@novell.com>
271 * Table.cs, TableRowCollection.cs, TableRow.cs: render table
272 sections when necessary. Fixes bug #434555
274 2008-10-08 Marek Habersack <mhabersack@novell.com>
276 * ControlParameter.cs: Evaluate calls DataBinder.Eval to do the
277 evaluation now. This makes it support complex expressions.
279 2008-09-30 Sebastien Pouliot <sebastien@ximian.com>
281 * RoleGroupCollection.cs: Fix recursive calls (wrong target)
282 [Found using Gendarme's BadRecursiveInvocationRule]
284 2008-09-28 Sebastien Pouliot <sebastien@ximian.com>
286 * XmlDataSource.cs: Make sure the result of the multiplication is a
287 long (not an integer casted into a long since it could overflow).
288 [Found using Gendarme's ReviewCastOnIntegerMultiplicationRule]
290 2008-09-17 Juraj Skripsky <js@hotfeet.ch>
292 * RadioButton.cs (ValueAttribute, LoadPostData): Fixes bug #426959.
294 2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
296 * IPersistedSelector.cs : new in 3.5 SP1.
298 2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
300 * DataBoundControlMode.cs : new 3.5 SP1 type.
302 2008-08-25 Marek Habersack <mhabersack@novell.com>
304 * DataBoundControl.cs: set RequiresDataBinding to true in
305 Initialize only if not in a postback, if not data bound and if the
306 view state is enabled. Fixes bug #398318
307 UpdateViewData removes the OnDataSourceViewChanged handler before
308 connecting to the datasource and restores it before returning to
310 OnLoad gets the data source before initialization, to avoid
311 premature OnDataSourceViewChanged triggers. Fixes bug #398318
312 Do not reconnect to the data source if we already have a valid one.
314 2008-08-18 Marek Habersack <mhabersack@novell.com>
316 * Unit.cs: rewrote the unit parser in a slightly slower, but more
317 correct, way. Fixes bug #417502
319 2008-07-28 Marek Habersack <mhabersack@novell.com>
321 * TreeView.cs: when TreeView is displaying a site map and there is
322 no node selected by the user, select the node corresponding to the
323 current page, if any.
325 2008-07-24 Marek Habersack <mhabersack@novell.com>
327 * DataGrid.cs: removed the private class TableID and moved its
328 code to ChildTable.cs (see below). 2.0 instantiates teh ChildTable
329 with the owner parameter now. Fixes bug #400377
331 * ChildTable.cs: refactoring - moved code from TableID previously
332 defined in DataGrid.cs to here and made the class available under
333 different names for both 1.x and 2.x profiles. Fixes bug #400377
335 * MailDefinition.cs: look for the mail body file in the correct
336 path. Patch from Jackson Harper <jaharper@novell.com>,
337 thanks! Fixes bug #408699
339 * PasswordRecovery.cs: do not ask password recovery question if
340 it's disabled. Patch from Jackson Harper <jaharper@novell.com>,
341 thanks! Fixes bug #408696
343 2008-07-16 Marek Habersack <mhabersack@novell.com>
345 * XmlDataSource.cs: check if Page isn't null before stringifying
346 it in GetDataKey (), fixes bug #409492
348 2008-07-13 Roei Erez <roeie@mainsoft.com>
350 * GridView.cs: When the RowDataBound event is invoked, the value
351 of GridView1.DataKeys should contains all the keys up untill the
352 current row, and not be empty.
353 I only changed the order of the user event invocation and the addition
356 2008-07-13 Roei Erez <roeie@mainsoft.com>
358 * TreeView.cs: In case of multiple tree node bingings, select
359 The first one and not the last one.
361 2008-07-10 Roei Erez <roeie@mainsoft.com>
363 * HyperlinkField.cs: Changed behavior of HyperLinkField bound field key
364 to be case insensitive.
366 2008-07-03 Marek Habersack <mhabersack@novell.com>
368 * CheckBox.cs: do not render the language="javascript" attribute
371 2008-07-02 Marek Habersack <mhabersack@novell.com>
373 * GridView.cs: minor optimizations (removed a foreach loop,
374 replaced calls to Array.Length with a variable containing the
377 2008-06-30 Marek Habersack <mhabersack@novell.com>
379 * ObjectDataSourceView.cs, Menu.cs, DataList.cs,
380 CustomValidator.cs: hush the warnings
382 2008-06-10 Noam Lampert <noaml@mainsoft.com>
384 * ListItemCollection.cs: Provide viewstate for dirty collection even if it is empty.
386 2008-05-30 Marek Habersack <mhabersack@novell.com>
388 * BaseDataBoundControl.cs, ChangePassword.cs, CustomValidator.cs,
389 DataControlFieldCollection.cs, DataControlField.cs,
390 PasswordRecovery.cs, PagerSettings.cs: do not use synthetized
391 event accessors (to avoid locks).
393 2008-05-18 Marek Habersack <mhabersack@novell.com>
395 * HierarchicalDataBoundControl.cs: Modified GetData method to check if
396 DataSource implements IHierarchicalEnumerable and if so constructs and
397 returns a new instance of ReadOnlyDataSourceView. This provides functional
398 compatibility with the Microsoft.NET framework. Fixes bug
399 #395209. Patch contributed by James Fitzsimons
400 <james.fitzsimons@gmail.com>, thanks!
402 2008-05-06 Marek Habersack <mhabersack@novell.com>
404 * Calendar.cs: do not create dateInfo in the constructor - culture
405 might be not set yet at this point. Fixes bug #323566
406 Added a private property, DateInfo, which creates the dateInfo
409 2008-05-05 Sebastien Pouliot <sebastien@ximian.com>
411 * BulletedList.cs: Avoid calling ToString on a string.
412 * ButtonField.cs: Throw, not just create, the exceptions.
413 * HyperLinkField.cs: Throw, not just create, the exceptions.
414 * ImageField.cs: Throw, not just create, the exception. Avoid calling
415 ToString on a string.
416 * ListControl.cs: Avoid calling ToString on a string.
417 [All issues were found using Gendarme]
419 2008-04-30 Marek Habersack <mhabersack@novell.com>
421 * SiteMapDataSource.cs: when no starting node is found, return
422 null instead of Provider.RootNode. Fixes bug #323994
424 2008-04-24 Marek Habersack <mhabersack@novell.com>
426 * SqlDataSource.cs: raise the DataSourceChangedEvent when setting
427 ConnectionString, ProviderName or DataSourceMode properties only
428 when the new value differs from the old one. Fixes bug #359392
430 2008-04-16 Marek Habersack <mhabersack@novell.com>
432 * ObjectDataSourceView.cs: ExecuteSelect should return an empty
433 aray when no data has been retrieved from the specified source
434 type. Fixes bug #380106
436 2008-04-15 Marek Habersack <mhabersack@novell.com>
438 * MailDefinition.cs: dispose of streams the way it should
441 2008-04-10 Marek Habersack <mhabersack@novell.com>
443 * RadioButton.cs: adjust 'name' and 'value' attribute values to
444 match MS.NET. Fixes bug #378024
446 * CheckBoxList.cs: set the Selected property to the value in POST
447 data only if the item in question was enabled before postback
448 occurred. Fixes bug #377703
450 * ListControl.cs: make sure the owned items' Enabled property is
451 set to the same value what ListControl's. Fixes bug #377703
453 * ListItemCollection.cs: fixed SetDirty to store the index of the
454 last dirtied item properly. Fixes bug #377703
455 For the 2.0 profile, set the ListItem instances Enabled property
456 to the value of the owning ListControl (internal ItemsEnabled
457 property was added to make it possible). Fixes bug #377703
459 2008-04-08 Dean Brettle <dean@brettle.com>
461 * DataBoundControl.cs (InternalPerformDataBinding),
462 HierarchicalDataBoundControl.cs (InternalPerformDataBinding),
463 WebControl.cs (Render): fixed cast errors when a ControlAdapter
464 that wasn't of the type corresponding to the control was used.
466 2008-04-03 Marek Habersack <mhabersack@novell.com>
468 * DataList.cs: use the value of SelectedIndex, not selectedIndex,
469 to return the key value in the SelectedValue property. Fixes bug
470 #376519. Patch from Sergey Kuleshov <svyatogor@gmail.com>, thanks!
472 2008-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
474 * AutoGeneratedField.cs, CheckBoxField.cs: fixed OnDataBindField,
475 should hide checkbox only if DataItem is not defined
477 2008-03-09 Dean Brettle <dean@brettle.com>
479 * DetailsView.cs, ListControl.cs, DataBoundControl.cs,
480 FormView.cs, HierarchicalDataBoundControl.cs, WebControl.cs:
481 added support for using ControlAdapters when present.
483 * WebControl.cs: fixed implementation of IsEnabled to match
486 * Menu.cs (RenderMenuBody): call Adapter.RenderItem() instead of
487 RenderMenuItem() if an adapter is present. MenuAdapter.RenderItem()
488 calls back to new Menu.RenderItem() internal method which calls
489 RenderMenuItem() with the appropriate parameters.
491 2008-02-25 Igor Zelmanovich <igorz@mainsoft.com>
494 at Update and Delete use not read only coppies of dictionaries
495 in event argumens, that allows user to change them before corresponding
496 DataSource's method is called.
498 2008-02-20 Igor Zelmanovich <igorz@mainsoft.com>
500 * Login.cs: render id attribute of root element correctly.
502 2008-02-18 Marek Habersack <mhabersack@novell.com>
504 * FormView.cs: the ItemCreated must be fired before data is bound
505 to the FormView. Fixes bug #360434
507 2008-02-07 Igor Zelmanovich <igorz@mainsoft.com>
509 * Login.cs: render id attribute of root element correctly.
511 2008-02-05 Marek Habersack <mhabersack@novell.com>
513 * FileUpload.cs: make sure FileContent always returns the input
514 stream positioned at the beginning. Fixes bug #356846
516 2008-01-31 Igor Zelmanovich <igorz@mainsoft.com>
518 * Calendar.cs: resolve Next/Prev. month link date correctly.
520 2008-01-29 Igor Zelmanovich <igorz@mainsoft.com>
522 * TreeView.cs: add XPFileExplorer icon set.
524 2008-01-28 Igor Zelmanovich <igorz@mainsoft.com>
526 * Menu.js: dynamic nodes are positioned after hover style of
527 parent node is applied.
529 2008-01-24 Vladimir Krasnov <vladimirk@mainsoft.com>
531 * DataSourceCacheManager.cs: fixed GetKeyFromParameters, incase more
532 than one datasource using the same object with the same select method
534 2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>
536 * ValidationSummary.cs:
537 refactoring: If page contents instance of IScriptManager, it calls
538 it's API instead Page.ClientScript.
540 2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>
542 * Menu.cs: fixed rendering.
544 2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
547 manage history state on "MovePrevious" action.
549 2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
552 resolve BulletImageUrl,
553 register for event validation.
555 2008-01-13 Igor Zelmanovich <igorz@mainsoft.com>
559 upgrade client side script due to changes in webform.js.
561 2008-01-07 Igor Zelmanovich <igorz@mainsoft.com>
563 * BaseCompareValidator.cs:
565 * CompareValidator.cs:
566 * CustomValidator.cs:
568 * RegularExpressionValidator.cs:
569 * RequiredFieldValidator.cs:
570 refactoring: If page contents instance of IScriptManager, validators call
571 it's API instead Page.ClientScript.
573 2008-01-07 Igor Zelmanovich <igorz@mainsoft.com>
578 for TARGET_J2EE used CreateActionUrl instead ResolveClientUrl
579 in GetPostBackOptions.
581 2008-01-06 Igor Zelmanovich <igorz@mainsoft.com>
583 * DetailsView.cs: render invisible rows correct.
585 2008-01-06 Igor Zelmanovich <igorz@mainsoft.com>
587 * DataControlField.cs: prevent infinite recursion
589 2008-01-01 Vladimir Krasnov <vladimirk@mainsoft.com>
591 * DataSourceCacheManager.cs: fixed SetCachedObject. fixed sliding
594 2007-12-31 Vladimir Krasnov <vladimirk@mainsoft.com>
596 * DataSourceCacheManager.cs: fixed SetCachedObject, fixed
599 2007-12-24 Igor Zelmanovich <igorz@mainsoft.com>
601 * TreeView.cs: revert changes from r91230
603 2007-12-18 Vladimir Krasnov <vladimirk@mainsoft.com>
605 * ListControl.cs: fixed Load/SaveViewState, removed selected indices
607 * ListItem.cs: fixed Load/SaveViewState, added selected state storing
608 * ListItemCollection.cs: fixed Load/SaveViewState, added flag to not
609 rebuild the collection if was'nt changed
611 2007-12-13 Marek Habersack <mhabersack@novell.com>
613 * Menu.cs, TreeView.cs: optimize use of String.Format in
615 Speed optimization - use String.Concat instead of String.Format in
618 * GridView.cs, DetailsView.cs: optimize use of String.Format in
621 * CheckBox.cs, AccessDataSource.cs, WebColorConverter.cs,
622 WebControl.cs,TextBox.cs, DropDownList.cs, ValidationSummary.cs,
623 ListBox.cs, Panel.cs, BaseValidator.cs, LinkButton.cs: speed
624 optimization - use String.Concat instead of String.Format in some cases.
626 2007-12-13 Vladimir Krasnov <vladimirk@mainsoft.com>
628 * Menu.cs: fixed rendering without head tag on page
630 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
632 * Calendar.cs: performance optimizations:
633 BuildLink fixed, StringBuilder used.
634 TodaysDate DateTime.Today call cahced.
636 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
638 * Unit.cs: performance optimization: ToString fixed, string.Concat used
639 instead of string.Format
641 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
643 * Style.cs: performance optimization: suppress finalizer added
645 2007-11-08 Igor Zelmanovich <igorz@mainsoft.com>
649 evaluate bound value using ThisExpession ("!") properly
651 2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>
653 * WebControl.cs: enabled state restored properly.
655 2007-11-06 Igor Zelmanovich <igorz@mainsoft.com>
658 refactoring for NET_2_0:
659 Text is removed from view state in case of need at SaveViewState phase.
661 2007-11-06 Igor Zelmanovich <igorz@mainsoft.com>
664 SelectedValue/SelectedIndex is set during DataBinding always.
666 2007-11-06 Marek Habersack <mhabersack@novell.com>
668 * DataGrid.cs: add RenderTable before the DataGridItems, so that
669 numbering of children is the same what on MS.NET.
670 If there are any data items, require a postback script.
673 * ChildTable.cs: removed DOS EOLs.
675 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
678 does not perform authentication if Page.IsValid returns false;
679 the fix makes control works with disabled client side validation.
681 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
684 state of DataList.Items are restored correct on PostBack
685 such Items.Count and ItemType.
687 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
690 validator is rendered correct if EnabledClientClient is false.
692 2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>
694 * Image.cs: fixed management state of Enabled property.
695 * WebControl.cs: refactoring in management state of Enabled property.
697 2007-10-23 Marek Habersack <mhabersack@novell.com>
699 * ListBox.cs, Table.cs: use Render{Begin,End}Tag
700 instead of the Write* counterparts when rendering contents.
702 2007-10-18 Marek Habersack <mhabersack@novell.com>
704 * Menu.js: a workaround for an IE bug. IE recalculates element's
705 offsetWidth when the element's _height_ is set - which in case of
706 elements with overflowing content results in a value that's just
707 slightly smaller than the client window width. In effect, a long
708 submenu will also be very wide, which isn't desirable. Fixes bug
711 2007-10-15 Marek Habersack <mhabersack@novell.com>
713 * ObjectDataSourceView.cs: use HttpApplication.LoadType instead of
716 * BulletedList.cs: html encode the item text. Fixes bug #333550.
718 2007-10-01 Marek Habersack <mhabersack@novell.com>
720 * ListItem.cs: make HasAttributes available for the 1.1 profile as
723 * DropDownList.cs: render custom ListItem attributes in the 1.1
724 profile. Fixes bug #326288
726 2007-09-27 Marek Habersack <mhabersack@novell.com>
728 * Button.cs: added missing OnPreRender method.
730 2007-09-25 Marek Habersack <mhabersack@novell.com>
732 * WebControl.cs: added an internal method, BuildScriptAttribute,
733 which merges the specified JavaScript code in an attribute, with
734 the value of that attribute specified by the user.
736 * CheckBox.cs, DropDownList.cs: AutoPostBack handling makes sure to
737 preserve user-specified attribute value, if present.
739 * ListBox.cs, TextBox.cs: AddAttributesToRender calls the base
740 after doing its job. AutoPostBack handling makes sure to preserve
741 user-specified attribute value, if present. Fixes bug #327816.
743 2007-09-21 Marek Habersack <mhabersack@novell.com>
745 * ListItem.cs: don't save StateBag in the control state - the
746 class is not serializable and therefore ObjectStateFormatter
747 cannot convert it. Instead have the sb object save its own state
748 and store the returned value. Fixes bug #326288.
750 2007-09-20 Marek Habersack <mhabersack@novell.com>
752 * LoginView.cs: implemented RoleGroups support. Fixes bug
755 2007-09-19 Marek Habersack <mhabersack@novell.com>
757 * GridView.cs: copy attributes from GridView to the child table,
758 as this is where the rendering takes place. Fixes bug #326309.
760 2007-09-18 Marek Habersack <mhabersack@novell.com>
762 * Calendar.cs: correctly apply day cell style. Fixes bug #315903
764 2007-09-17 Marek Habersack <mhabersack@novell.com>
766 * Calendar.cs: style attribute value must be enclosed in quotes.
768 * TableStyle.cs: do not capitalize the align styles. Fixes bug
771 2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
773 * ListControl.cs: partially restored r85314
774 whenever a property that can affect data binding
775 is set, make sure to set RequiresDataBinding.
777 2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
779 * DataBoundControl.cs: fixed DataBind flow:
780 prevent double binding when not necessary.
783 2007-08-31 Marek Habersack <mhabersack@novell.com>
785 * GridView.cs: instead of not adding hidden fields to the rows,
786 mark the cells they would contain as invisible. Fixes bug #82615.
788 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
792 make Menu work in multi form environment.
794 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
796 * ListControl.cs: fixed selected items state management.
798 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
800 * BaseCompareValidator.cs:
802 * CompareValidator.cs:
803 * CustomValidator.cs:
805 * RegularExpressionValidator.cs:
806 * RequiredFieldValidator.cs:
807 all Validators use RegisterExpandoAttribute for
808 not XHTML compliant attributes.
810 2007-08-23 Igor Zelmanovich <igorz@mainsoft.com>
812 * Panel.cs: client script consider MultiForm environment.
814 2007-08-21 Marek Habersack <mhabersack@novell.com>
816 * ObjectDataSourceView.cs: get rid of PrivateBinPath property,
819 2007-08-20 Marek Habersack <mhabersack@novell.com>
821 * ContentPlaceHolderBuilder.cs: store place holder id in the
822 parser's internal place holder id list for later reference. Fixes
825 2007-08-19 Vladimir Krasnov <vladimirk@mainsoft.com>
827 * BoundField.cs: FormatDataValue, refactored multiple use of ToString
829 2007-08-14 Marek Habersack <mhabersack@novell.com>
831 * ObjectDataSourceView.cs: remove unused variable.
833 * ChangePassword.cs: remove unused variable.
834 The change password button id changed to
835 "ChangePasswordPushButton", the cancel button id changed to
836 "CancelPushButton". The change makes the generated ids the same
837 what on MS.NET. Fixes bug #82418.
839 * RoleGroupCollection.cs: OnValidate shouldn't be overridden.
841 2007-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
843 * ParameterCollection.cs: fixed IndexOfString, should use ordinal
846 2007-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
848 * Menu.cs: performance refactoring, used AddAttribute overload without
849 encoding on known attribute values, optimized DynamicMenu rendering
851 2007-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
853 * TreeView.cs: refactoring, used AddAttribute overload without encoding
854 on known attribute values,
855 used Page.ClientScript.GetWebResourceUrl call instead of
856 AssemblyResourceLoader.GetResourceUrl
858 2007-08-06 Igor Zelmanovich <igorz@mainsoft.com>
860 * AccessDataSource.cs: does not subscribed on view changed event.
861 * ObjectDataSource.cs: fixed state management.
862 * SqlDataSource.cs: fixed state management.
864 2007-08-05 Vladimir Krasnov <vladimirk@mainsoft.com>
867 DataControlFieldHeaderCell.cs, FileUpload.cs, Table.cs,
868 RegularExpressionValidator.cs, CheckBox.cs, HiddenField.cs,
869 TableStyle.cs, Image.cs, BulletedList.cs, RangeValidator.cs,
870 BaseValidator.cs, CustomValidator.cs, RepeatInfo.cs, TextBox.cs,
871 RequiredFieldValidator.cs, AdRotator.cs, TableHeaderCell.cs,
872 ImageMap.cs, Panel.cs, CompareValidator.cs, Calendar.cs, ListBox.cs,
873 TableCell.cs, WebControl.cs, ImageButton.cs, TableItemStyle.cs:
874 refactoring, used AddAttribute overload without encoding on known attribute
877 2007-08-01 Igor Zelmanovich <igorz@mainsoft.com>
879 * DropDownList.cs: fixed onchange attibute.
881 2007-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
883 * ListItemCollection.cs: fixed LoadViewState, items restored from
884 viewstate were not saved, fixes bug #82192
886 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
888 * BaseValidator.cs: All client scripts are rendered
889 according IsMultiForm property.
891 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
893 * TreeView.cs: refactoring:
895 used ClientScriptManager.GetCallbackEventReference API instead calling
896 WebForm_DoCallback explicit.
898 2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
900 * BaseValidator.cs: for NET_2_0: fixed client side validation.
901 validation is performed in WebForm_DoPostback,
902 and there is no need to do it twice in ValidatorOnSubmit.
904 2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
906 * Calendar.cs: fixed: correct 'id' attribute is rendered.
908 2007-07-10 Vladimir Krasnov <vladimirk@mainsoft.com>
910 * ListItemCollection.cs: optimized SetDirty method
912 2007-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
916 * ListItemCollection.cs: controls based on ListControl should not save
917 view state before than TrackViewState called
919 2007-07-04 Vladimir Krasnov <vladimirk@mainsoft.com>
921 * WebControl.cs: fixed AddDisplayStyleAttribute, returns if
922 ControlStyle is not created
924 2007-07-02 Marek Habersack <mhabersack@novell.com>
926 * WebControl.cs: Revert r80368, as it wasn't the correct
927 fix. Fixes bug #81945.
929 * ListControl.cs: if there are no items in the collection, do not
930 return an empty ArrayList from GetSelectedIndicesInternal. Fixes
931 bug #81945 and properly fixes bug #78533.
933 * ListItemCollection.cs: if there are no items in collection,
936 2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
939 the Pager is created but unvisible for only one page.
940 the Patch submitted by Dumitru Ban [dban@dako.ro]
942 2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
947 does not requires data binding if any ITemplate property is set.
949 2007-06-24 Vladimir Krasnov <vladimirk@mainsoft.com>
951 * CheckBox.cs: fixed Render, HasAttributes called instead
954 2007-06-24 Igor Zelmanovich <igorz@mainsoft.com>
956 * GridView.cs: fixed AllowPaging feature:
957 When the AllowPaging is true the GridView control should automatically
958 hide the pager row when the data source contains fewer than 2 records.
959 patch Patch submitted by Dumitru Ban [dban@dako.ro]
961 2007-06-20 Marek Habersack <mhabersack@novell.com>
963 * WebControl.cs: if savedState is a Triplet, take the actual state
964 data from savedState.First. Also make sure that the data is a
965 Pair. Fixes bug #78533.
967 * DataSourceCacheManager.cs: use HttpContext.Current.InternalCache
968 to keep private entries.
969 * XmlDataSource.cs: as above
971 2007-05-31 Vladimir Krasnov <vladimirk@mainsoft.com>
973 * BaseValidator.cs: RegisterValidatorCommonScript, fixed type passed
974 to ClientScriptManager
976 2007-05-29 Igor Zelmanovich <igorz@mainsoft.com>
978 * ObjectDataSourceView.cs:
979 * SiteMapDataSource.cs:
981 * SqlDataSourceView.cs:
982 DataSourceChanged and DataSourceViewChanged are raised in right case, when
983 different properties changed their value.
985 2007-05-27 Igor Zelmanovich <igorz@mainsoft.com>
987 * ObjectDataSourceView.cs: fixed SelectMethod and SelectCountMethod properties:
988 when changed, DataSourceViewChanged event is raised.
990 * SqlDataSourceView: fixed SelectCommand property:
991 when changed, DataSourceViewChanged event is raised.
993 2007-05-25 Marek Habersack <mhabersack@novell.com>
995 * ObjectDataSourceView.cs: CreateDataObject must pay attention to
996 TypeConverter attributes on the property being converted.
998 2007-05-24 Igor Zelmanovich <igorz@mainsoft.com>
1000 * Menu.cs: fixed: alt attribute is rendered as well.
1002 2007-05-16 Marek Habersack <mhabersack@novell.com>
1004 * CompareValidator.cs: formatting changes
1006 2007-05-15 Marek Habersack <mhabersack@novell.com>
1008 * ObjectDataSourceView.cs: refactoring - use
1009 HttpApplication.LoadType to look up types.
1011 2007-05-10 Marek Habersack <mhabersack@novell.com>
1013 * Table.cs: render rows, not controls
1015 * HyperLink.cs: RenderContents must check if the render method
1016 delegate is present and, if yes, call the base RenderContents.
1018 * LinkButton.cs: as above.
1020 * Label.cs: as above.
1022 * TableCell.cs: as above.
1023 This change makes the HeaderTemplate in the Wizard control work.
1025 * Wizard.cs: if a next/previous step handler modifies
1026 ActiveStepIndex do not, respectively, increase/decrease the
1027 current step, but use whatever was set in the handler.
1029 2007-05-09 Marek Habersack <mhabersack@novell.com>
1031 * TreeNodeStyleCollection.cs: do not set font's underline flag to
1032 false, set it to its own value instead.
1034 * TreeView.cs: if level style exists and has ChildNodesPadding
1035 set, it takes precedence over the node style setting (if any).
1037 2007-05-08 Marek Habersack <mhabersack@novell.com>
1039 * TreeView.cs: children padding is rendered only before and after
1040 the children are rendered, not between them. Also, render padding
1041 only if there are any nodes to follow the current one.
1043 2007-05-07 Marek Habersack <mhabersack@novell.com>
1045 * Wizard.cs: additional checks to see whether the wizard needs to
1046 move to a next step or not. Fixes bug #81532. Patch sent by Mike
1047 Morano <mmorano@mikeandwan.us>, thanks!
1049 2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>
1051 * FormView.cs: fixed:
1052 avoid NullReferenceException when used EditTemplate w/o binding
1053 directive such Eval or Bind.
1055 2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>
1057 * MenuItem.cs: fixed:
1058 when 'Value' property is not set, value of 'Text' property is used
1059 instead and vice versa.
1061 2007-05-06 Igor Zelmanovich <igorz@mainsoft.com>
1063 * TreeNode.cs: fixed:
1064 when 'Value' property is not set, value of 'Text' property is used
1065 instead and vice versa.
1067 2007-05-04 Marek Habersack <mhabersack@novell.com>
1069 * AdRotator.cs: use the new GetPhysicalFilePath method to look up
1070 the physical path of the ad file.
1072 2007-05-03 Marek Habersack <mhabersack@novell.com>
1074 * TreeView.cs: honor ChildNodesPadding of the NodeStyle.
1076 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
1078 * ControlPropertyNameConverter.css:
1079 * FontUnitConverter.cs:
1081 * ValidatedControlConverter.cs:
1084 2007-05-03 Marek Habersack <mhabersack@novell.com>
1086 * TreeNode.cs: correct version of the fix in r76488. Nodes
1087 retrieved from a navigation data source which have empty URL will
1090 * TreeView.cs: revert r76488, it wasn't entirely correct. I need
1091 to investigate the special cases it solved a bit more.
1093 2007-05-02 Igor Zelmanovich <igorz@mainsoft.com>
1095 * SqlDataSourceView.cs:
1096 make CancelSelectOnNullParameter property works.
1098 2007-05-01 Marek Habersack <mhabersack@novell.com>
1100 * BaseValidator.cs: do not use User-Agent directly, we must take
1101 ClientTarget into account.
1103 2007-04-30 Marek Habersack <mhabersack@novell.com>
1105 * TreeView.cs: bring rendering closer to the MS.NET rendering.
1107 * SqlDataSource.cs: do not catch the exception if ProviderName is
1108 not null or empty (as per docs and what MS.NET does).
1110 2007-04-19 Igor Zelmanovich <igorz@mainsoft.com>
1112 * ChangePassword.cs:
1113 does not accept invalid new password.
1115 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
1119 added MonoLimitation attributes
1121 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
1123 * BaseValidator.cs: for TARGET_J2EE:
1124 used Page.Request.Browser to determine RenderUplevel
1126 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1129 when databound with AutoGenerateColumns = true,
1130 data source enumerator created only once.
1132 2007-04-18 Marek Habersack <mhabersack@novell.com>
1134 * SiteMapDataSource.cs: query the site map for the current node
1135 when configured to use it as the start point. Fixes bug #81376,
1136 patch from Mike Morano <mmorano@mikeandwan.us>.
1138 * Calendar.cs: change year/month format to be culture aware. Fix
1139 for bug #81390. Patch submitted by Atsushi Enomoto
1140 <atsushi@ximian.com>
1142 2007-04-17 Daniel Nauck <dna@mono-project.de>
1144 * PasswordRecovery.cs: fixed typo (AnswerLabel.Text).
1146 2007-04-17 Marek Habersack <mhabersack@novell.com>
1148 * BaseValidator.cs: use the new uplevel browser detection code.
1150 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1152 * SqlDataSourceView.cs: fixed: InitializeParameters:
1153 restored flow, broken in r75137.
1155 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1157 * Menu.cs: popup menu is posed correctly if menu is placed within
1158 container with position=relative
1160 2007-04-12 Marek Habersack <mhabersack@novell.com>
1162 * LoginView.cs: do not call CreateChildControls directly from the
1163 IsAuthenticated setter since that would destroy the controls the
1164 user might've configured from their Page_PreRender method.
1165 Do not use IsAuthenticated in CreateChildControls since that
1166 prevents the _correct_ template from being instantiated before the
1167 control is transferred to the user's OnPreRender handler. Fixes
1170 2007-04-11 Marek Habersack <mhabersack@novell.com>
1172 * ImageButton.cs: implement the Enable property and do not
1173 register for post back if the control isn't enabled.
1175 2007-04-06 Marek Habersack <mhabersack@novell.com>
1177 * GridView.cs: don't render invisible fields. Fixes bug #80061.
1179 * DetailsView.cs: don't render invisible fields.
1181 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
1183 * Menu.cs: resolve selected MenuItem if bounded with SiteMapeDataSource.
1185 2007-04-05 Marek Habersack <mhabersack@novell.com>
1187 * BaseDataBoundControl.cs: restore the LAMESPEC note and code it
1188 describes - tests show this is what's happening on MS.NET as
1191 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
1194 * BaseDataBoundControl.cs:
1195 Break recursion when the property is set from within the OnSelect handler
1196 in user's code. fixes bug #81175.
1198 2007-04-05 Marek Habersack <mhabersack@novell.com>
1200 * SiteMapDataSource.cs: fix GetStartNode for situations when the
1201 current URL is not defined in the sitemap file. Fixes bug
1202 #81314. Patch from Mike Morano <mmorano@mikeandwan.us>.
1204 2007-04-03 Marek Habersack <mhabersack@novell.com>
1206 * BaseDataBoundControl.cs: adjust for lame specs on MSDN.
1208 2007-04-02 Gert Driesen <drieseng@users.sourceforge.net>
1210 * MenuItem.cs: Use INavigateUIData.Description as ToolTip. Fixed line
1213 2007-03-29 Adar Wesley <adarw@mainsoft.com>
1215 * ObjectDataSourceView.cs: fixed events so they are raized at the
1216 right times. Added many tests to verify the correct time.
1217 * SqlDataSourceView.cs: fixed events so they are raized at the right
1218 times. Added many tests to verify the correct time.
1220 2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
1224 avoid Exception if HierarchicalDataSourceView.Select() returns null.
1226 2007-03-22 Igor Zelmanovich <igorz@mainsoft.com>
1228 * ObjectDataSource.cs:
1229 * ObjectDataSourceView.cs:
1231 * SqlDataSourceView.cs:
1232 fixed flow: changes in Insert/Update/DeleteParameters does not
1233 cause DataSourceViewChanged event.
1235 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
1237 * BaseDataBoundControl.cs: fix as per MSDN - the property is set
1238 only if data binding doesn't occur.
1240 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
1242 * GridView.cs: fixed: PageIndex considers PageCount.
1244 2007-03-20 Marek Habersack <mhabersack@novell.com>
1246 * DataBoundControl.cs: avoid endless recursion here. Fixes bug #81175
1248 * LoginStatus.cs: render login/logout controls with the CssClass
1249 set from the parent control. Fixes bug #81196
1251 2007-03-19 Igor Zelmanovich <igorz@mainsoft.com>
1253 * DataGrid.cs: fixed Save/Load view state, applying styles.
1255 2007-03-12 Igor Zelmanovich <igorz@mainsoft.com>
1257 * Style.cs: optimization: used CssStyleCollection .ctor w/o parameters.
1259 2007-03-09 Marek Habersack <mhabersack@novell.com>
1261 * Login.cs: Make command name comparison case-insensitive in
1262 OnBubbleEvent. Patch from Mike Morano <mmorano@mikeandwan.us>
1264 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1266 * DataGrid.cs: fixed:
1267 Auto-generated columns are restored properly on postback from view state.
1269 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1272 when AddAttributesToRender(System.Web.UI.HtmlTextWriter, WebControl)
1273 is called, WebControl parameter is passed as argument to
1274 FillStyleAttributes (CssStyleCollection, IUrlResolutionService) method.
1276 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1280 fixed applying styles if ExtractTemplateRows=true.
1282 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1284 * DropDownList.cs: in 2.0 first item is rendered with selected attribute
1285 is Enabled=false and no selected items.
1287 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1289 * CheckBoxList.cs: in 2.0 access key attribute is rendered in 'input' tags.
1291 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1297 * RadioButtonList.cs:
1298 fixed: list controls consider ListItem.Attributes property on render.
1300 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1302 * CheckBox.cs: fixed: 'span' tag is not rendered if all attributes
1303 are rendered in 'input' tag.
1305 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1309 used "ONLY_1_1" instead "!NET_2_0"
1311 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1313 * BaseDataBoundControl.cs:
1314 * DataBoundControl.cs:
1315 * HierarchicalDataBoundControl.cs:
1316 refactoring: DataBoundControl and HierarchicalDataBoundControl use internal
1317 method in BaseDataBoundControl to find a data source control.
1319 2007-03-05 Marek Habersack <mhabersack@novell.com>
1321 * Unit.cs: Support parsing of units in the form ".9em" etc.
1323 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1325 * TemplateColumn.cs: fixed: if ItemTemplate is null, " " is rendered.
1327 2007-03-05 Marek Habersack <mhabersack@novell.com>
1329 * BaseValidator.cs: make validators work correctly with
1330 ListItems. Patch from Daniel Nauck <dna@informatik.uni-kiel.de>
1332 2007-03-04 Marek Habersack <mhabersack@novell.com>
1334 * HierarchicalDataBoundControl.cs: Use the method described below
1335 to get the data source named in DataSourceID.
1337 * BaseDataBoundControl.cs: add an internal method to find a data
1338 source control within all the naming containers above a given
1339 control. The method makes it possible to find controls that reside
1342 2007-03-01 Igor Zelmanovich <igorz@mainsoft.com>
1344 * Repeater.cs: fixed: data-binding flow for 2.0 features.
1346 2007-03-01 Igor Zelmanovich <igorz@mainsoft.com>
1349 * ParameterCollection.cs:
1350 fixed GetValue/s and UpdateValue/s.
1352 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1354 * TreeNodeCollection.cs:
1355 fixed Save/Load viewstate.
1357 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1359 * MenuItemCollection.cs:
1360 fixed Save/Load viewstate.
1362 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1364 * CreateUserWizard.cs:
1366 fixed CausesValidaion and ValidationGroup for navigation buttons.
1368 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1372 fixed LoadPostData to restore checked state for node's checkboxes.
1374 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1376 * TreeNodeCollection.cs: 'dirty' flag is assigned if 'marked' only
1378 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1380 * BaseDataBoundControl.cs: setting DataSource to null does not
1381 call ValidateDataSource.
1382 * HierarchicalDataBoundControl.cs: ValidateDataSource does not
1383 throw exception if argument is null.
1385 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1387 * WebControl.cs: implemented IsEnabled and HasAttributes.
1389 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1391 * BaseDataList.cs: fixed: data-binding flow for 2.0 features.
1393 2007-02-27 Marek Habersack <grendello@gmail.com>
1395 * FileUpload.cs: HasFile is true only if PostedFile is not null
1396 and it actually has an associated file.
1398 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1400 * LoginView.cs: fixed:
1401 ViewChanging and ViewChanged are fired.
1402 optimized Save/Load control state.
1404 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1406 * CreateUserWizard.cs: fixed: does not attempt to send email if
1407 MailDefinition is not defined.
1409 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1412 considers FormsAuthentication.ReturnUrl only if is placed in
1413 the login page defined in web.config.
1415 2007-02-23 Marek Habersack <grendello@gmail.com>
1417 * ObjectDataSourceView.cs: Fix saving/restoring the view state.
1419 * CreateUserWizard.cs: support for sending mail when a new user is
1420 created. Patch from dban@dako.ro.
1422 2007-02-22 Marek Habersack <grendello@gmail.com>
1424 * LoginStatus.cs: Handle OnLoggedOut properly. Patch from
1427 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1429 * ObjectDataSourceView.cs: fixed ViewState behavior to match MS. Added relevant tests.
1431 2007-02-20 Gert Driesen <drieseng@users.sourceforge.net>
1433 * Calendar.cs: Fixed bug #80881 by using Thread's CurrentCulture
1434 instead of CurrentUICulture for DateFormatInfo.
1436 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1438 * SqlDataSource.cs: fixed ViewState behavior to conform to MS. Added relevant tests.
1439 * SqlDataSourceView.cs: fixed ViewState behavior to conform to MS. Added relevant tests.
1441 2007-02-20 Igor Zelmanovich <igorz@mainsoft.com>
1443 * ChangePassword.cs: fixed:
1444 ChangePasswordContainer and SuccessContainer cannot be BindingContainer.
1446 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1448 * SqlDataSourceView.cs: Fixed parameter merging logic and some bug fixing.
1451 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
1456 implemented Form.SubmitDisabledControls feature.
1458 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1460 * GridView.cs: IsBindableType for decimal returns true.
1462 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1464 * Menu.js: client script: support IE6.
1466 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1468 * Menu.cs: fixed: considers item.ToolTip, render image inside 'a' tag.
1470 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
1472 * Button.cs, ImageButton.cs, LinkButton.cs: Hanlding of PostbackOptions for
1473 TARGET_J2EE is now centralized in ClientScriptManager.
1474 * TreeView.cs, DetailsView.cs, GridView.cs, TreeView.js, DetailsView.js,
1475 GridView.js: Added a field to the controls JavaScript 'data' object. The
1476 form is initialized to the page 'theForm'. This is used for J2EE portlets
1479 2006-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1482 first step is recognized as 'finish' if only two steps
1483 and last step is 'complete'
1485 2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
1487 * BaseValidator: ControlPropertiesValid is called on PreRender
1488 * CompareValidator.cs:
1489 * RangeValidator.cs: fixed ControlPropertiesValid, EvaluateIsValid.
1491 2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
1493 * BaseCompareValidator.cs: fixed: support for type=Currency on client side.
1495 2007-02-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1497 * ParameterCollection.cs: fixed IndexOfString, this indexer should be
1500 2007-02-13 Igor Zelmanovich <igorz@mainsoft.com>
1502 * TreeView.js: refactoring:
1503 removed TreeView_ErrorCallback, used TreeView_PopulateCallback instead.
1505 2007-02-13 Adar Wesley <adarw@mainsoft.com>
1507 * ObjectDataSourceView.cs: fixed parameter merging and added more tests
1509 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1511 * Literal.cs: implemented 2.0 feature - Mode.
1513 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1515 * ViewCollection.cs: fixed public API.
1517 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1519 * RepeaterItem.cs: implemented IDataItemContainer interface.
1521 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1523 * TreeNodeStyle.cs: fixed public API.
1525 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1527 * MenuItemStyle.cs: fixed public API.
1529 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1532 * DayRenderEventArgs.cs:
1533 implemented 2.0 feature - SelectUrl.
1535 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1537 * GridViewRowCollection.cs: implemented IsReadOnly property.
1539 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1541 * BaseValidator.cs: implemented SetFocusOnError feature.
1543 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1545 * Wizard.cs: refactoring:
1546 used ContainedTable for ID attribute is rendered properly.
1548 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1550 * CreateUserWizard.cs:
1554 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1556 * DataList.cs: fixed: OnBubbleEvent() will return true if event is handled
1558 2007-02-09 Gert Driesen <drieseng@users.sourceforge.net>
1560 * FontUnit.cs: Fixed ToString () to use current locale.
1562 2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>
1564 * BaseValidator.cs: fixed render, works in static mode properly
1565 * CreateUserWizard.cs: fixed display mode for validators.
1567 2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>
1571 implemented FormViewPagerRow class
1573 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1576 header and footer visibility is set at creation.
1578 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1580 * FormView.cs: fixed:
1581 header and footer are not created with empty row.
1583 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1585 * FormView.cs: fixed:
1586 works properly with not ICollection data source.
1588 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1590 * DetailsView.cs: fixed:
1591 PageIndex, CreateChildControls,
1592 works properly with not ICollection data source.
1594 2007-02-06 Eyal Alaluf <eyala@mainsoft.com>
1596 * Menu.cs ImageMap.cs Panel.cs TreeView.cs: Ensure that the NavigateUrl
1597 property is rendered as a RenderURL for J2EE portlets.
1599 2007-02-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1601 * BaseValidator.cs: refactored RegisterValidatorCommonScript to use
1602 RegisterClientScriptInclude instead of RegisterClientScriptBlock
1604 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1606 * DataBoundControl.cs:
1609 PerformDataBinding is called with RequiresDataBinding was set false
1611 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1614 fixed validation flow.
1616 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1619 fixed validation flow.
1621 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1623 * CustomValidator.cs:
1624 ValidateEmptyText is considered on client side.
1626 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1631 * DataControlButton.cs:
1632 * DataControlField.cs:
1635 Internal classes are used in databound controls for buttons
1636 are derived from right types. It allows to have access to them by casting
1637 to public types. This trick is used in one of starter kits of MS.
1639 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1641 * Panel.cs: fixed: reverted r71441.
1642 * TreeView.cs: used internal RegisterWebFormClientScript API
1643 to cause the relevant script be included.
1645 2007-02-01 Adar Wesley <adarw@mainsoft.com>
1647 * FormView.cs: fixed events ModeChanging and ModeChanged
1648 to be raized in all relevant situations.
1650 2007-02-01 Igor Zelmanovich <igorz@mainsoft.com>
1652 * ValidationSammary.cs: fixed:
1653 control is rendered even if there is no validators on the page.
1654 important if the page contain a client side script that refer to the
1655 id of the validation summary div.
1657 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1662 * RadioButtonList.cs:
1663 EnsureDataBound is called when PostData is processed to restore
1664 'state' of control if EnableViewState is false
1666 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1668 * GridView.cs: fixed:
1669 RowDataBound is fired for PagerRow.
1670 Styles are applied using MergeWith instead CopyFrom
1671 to allow using custom styles for rows in code-behind.
1673 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1675 * GridView.cs: fixed: RowCommand event is fired properly.
1677 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1679 * GridView.cs: fixed: created rows are added in table after initialization.
1682 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1684 * Panel.cs: fixed 'background-image' attribute.
1686 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1688 * BaseDataBoundControl.cs:
1689 * DataBoundControl.cs:
1690 fixed DataBinding flow: RequiresDataBinding is set to false in
1692 * HierarchicalDataBoundControl.cs: implemented MarkAsDataBound().
1694 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1698 fixed DataBinding flow for Insert mode.
1700 2007-01-30 Igor Zelmanovich <igorz@mainsoft.com>
1703 does not RegisterRequiresPostBack if is not enabled.
1705 2007-01-30 Igor Zelmanovich <igorz@mainsoft.com>
1709 fixed PopulateOnDemand: used UniqueID to call WebForms_DoCallBack().
1711 2007-01-29 Igor Zelmanovich <igorz@mainsoft.com>
1713 * MultyView.cs: OnActiveViewChanged is called.
1715 2007-01-29 Vladimir Krasnov <vladimirk@mainsoft.com>
1717 * Panel.cs: fixed AddAttributesToRender for 2.0, text align should be
1720 2007-01-29 Adar Wesley <adarw@mainsoft.com>
1722 * EditCommandColumn.cs: implemented CausesValidation and
1723 ValidationGroup and coresponding tests.
1724 * DataGrid.cs: fixed generated table to be compatible with MS 2.0
1726 2007-01-28 Vladimir Krasnov <vladimirk@mainsoft.com>
1728 * WebControl.cs: added internal method AddDisplayStyleAttribute for
1729 display:inline-block style attribute
1732 * CheckBox.cs: added call to AddDisplayStyleAttribute on rendering
1734 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
1736 * TreeView.js: Used WebForm_GetFormFromCtrl to lookup the form.
1738 2007-01-24 Vladimir Krasnov <vladimirk@mainsoft.com>
1740 * TextBox.cs: implemented AutoCompleteType property, fixed
1741 AddAttributesToRender
1743 2007-01-24 Ilya Kharmatsky <ilya -at- decode-systems.com>
1745 * DetailsView.cs: fixed problems with rendering of control, when
1746 empty data source is provided. Respective tests are provided
1747 in DetailsViewTest.cs
1749 2007-01-21 Konstantin Triger <kostat@mainsoft.com>
1751 * TreeView.js, DetailsView.js, Menu.js, GridView.js:
1752 suppress exception if eval() fails.
1754 2007-01-20 Miguel de Icaza <miguel@novell.com>
1756 * DataControlFieldCollection.cs (RemoveAt): remove unused
1759 * RoleGroupCollection.cs (OnValidate): Flag as protected, as it
1762 * RadioButton.cs (RaisePostDataChangedEvent): This method was not
1763 used in 1.0, so put the whole method in 2.0
1765 2007-01-18 Adar Wesley <adarw@mainsoft.com>
1767 * Xml.cs: added support for XPathNavigator, fixed DocumentContent
1768 to be compatible with MS 2.0, implemented EnableTheming, implemented
1769 SkinID, fixed Focus behavior.
1771 2007-01-18 Vladimir Krasnov <vladimirk@mainsoft.com>
1773 * Menu.js, Menu.js: added null reference checking for every getTree or
1776 2007-01-18 Adar Wesley <adarw@mainsoft.com>
1778 * SiteMapDataSource.cs: implemented logic of GetStartNode when
1779 StartingNodeOffset is positive.
1781 2007-01-17 Konstantin Triger <kostat@mainsoft.com>
1783 * BaseValidator.cs: ToString the validating property value or
1784 if null return an empty string.
1786 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1788 * TreeView.cs: fixed RegisterStyle, style names should be without
1789 leading underscore. fixed RenderNode, node icons should be taken also
1792 2007-01-17 Adar Wesley <adarw@mainsoft.com>
1794 * Repeater.cs: refactored GetData to return data both from DataSource
1795 and DataSrouceID, Implemented EnableTheming, updated initialization of
1796 DataBinding according to the pattern of BaseDataBoundControl, fixed
1797 SelectArguments implementation to call the virtual
1798 CreateDataSourceSelectArguments method.
1800 2007-01-17 Konstantin Triger <kostat@mainsoft.com>
1802 * GridView.cs: don't force creating rows collection when SelectedIndex
1803 changes; EnsureDatabound on select.
1805 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1807 * TreeNode.cs: fixed Bind, fixed Value updating
1809 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1811 * DataList.cs: fixed OnBubbleEvent, added SelectedIndex updating
1813 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1815 * DetailsView.cs: fixed CreateChildControls, PageIndex cannot be less
1818 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
1820 * DetailsView.cs: fixed CreateChildControls, PageIndex should be less
1821 or equal to PageCount
1823 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
1825 * Menu.cs: added z-index attribute to popup div's.
1827 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
1829 * FileUpload.cs: fixed FileName property, should return filename
1830 without full path on client side
1832 2007-01-15 Ilya Kharmatsky <ilya -at- decode-systems.com>
1837 Implemented the protected net_2_0 method 'VerifyMultiSelect' with
1838 proper overloading in derived types.
1840 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
1843 considers INavigateUIData.NavigateUrl when bound.
1845 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
1847 * CompleteWizardStep.cs
1848 * CreateUserWizard.cs
1849 * CreateUserWizardStep.cs
1850 * TemplatedWizardStep.cs
1852 make the design complied to .NET
1853 build all possible controls at once and manage render by Visible property
1855 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
1856 * Button.cs, HyperLink.cs, DataGrid.cs, ImageButton.cs, LinkButton.cs,
1857 PagedDataSource.cs: Added J2EE Portal support for TARGET_J2EE.
1859 2007-01-14 Ilya Kharmatsky <ilyak-at-mainsoft.com>
1860 * BaseCompareValidator
1862 Added support for CultureInvariantValues property, which should be
1863 counted in new 2.0 methods such as - Compare, Convert etc. The code
1864 has been changed in such way, that the old - 1.1 method implementation
1865 could use the new methods defined for 2.0 version.
1867 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
1869 * XmlDataSource.cs: refactored to use cached collection.
1870 * SqlDataSource.cs: refactored to use cached collection;
1871 don't throw exception on 'DefaultView'.
1872 * ObjectDataSource.cs: refactored to use cached collection.
1874 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
1876 * ObjectDataSourceView.cs: consider parameter names and
1877 DataObjectMethodAttribute during method resolution.
1879 2007-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
1881 * SqlDataSourceView.cs: fixed OnUpdating, OnInserting call with
1882 SqlDataSourceCommandEventArgs
1884 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
1886 * ObjectDataSourceView.cs: use case unsensitive comparer for
1887 parameters collection.
1889 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
1891 * LoginStatus.cs: fixed: not causes page validation.
1893 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
1895 * CreateUserWizard.cs: fixed: resolves ErrorMessage control correct.
1896 * CreateUserWizardStep.cs:
1898 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
1900 * TreeView.cs: fixed: SelectedNode, CheckedNodes.
1902 * TreeNodeCollection.cs:
1904 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
1906 * GridView.cs: fixed: header and footer does not appear in no items.
1907 * CompositeDataBoundControl.cs:
1909 2007-01-09 Konstantin Triger <kostat@mainsoft.com>
1911 * AdRotator.cs: Backport the fix for AdRotator AbsoluteUri to 1.1.
1913 2007-01-09 Igor Zelmanovich <igorz@mainsoft.com>
1915 * GridView.cs: fixed: SelectedDataKey.
1917 2007-01-09 Igor Zelmanovich <igorz@mainsoft.com>
1921 implemented 2.0 features.
1923 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
1925 * SqlDataSourceView.cs: fixed parameters init for ExecuteUpdate
1927 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
1929 * DataSourceCacheManager.cs:
1930 * ObjectDataSource.cs:
1932 fixed: cache considers parameters values changes.
1934 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
1936 * DetailsView.cs: fixed DeleteItem, excluded keys for new values
1937 * SqlDataSourceView.cs: fixed ExecuteDelete, check cancel in
1940 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
1942 * GridView.cs: fixed: show all rows when AllowPaging=false
1944 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
1946 * SqlDataSourceView.cs: fixed CreateDbParameter, used DBNull for value=null.
1948 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
1950 * ButtonField.cs: fixed: consider its CausesValidation property.
1952 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
1954 * GridView.cs: fixed:
1955 ReadOnly property is false for AutoGeneratedColumn if field is DataKey.
1956 causesValidation parameter is considered properly in UpdateRow.
1957 OldValues contains readonly fields values
1959 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
1961 * SqlDataSourceView.cs: fixed InitializeParameters, added
1962 ParameterPrefix when check that param is already in collection
1964 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
1966 * AdRotator.cs: fixed: considers absolute uri such html://......
1968 2007-01-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1970 * SqlDataSourceView.cs: fixed insert, delete, update methods, added
1971 calls to OnDataSourceViewChanged
1973 2007-01-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1975 * added ProfileParameter.cs
1977 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
1979 * Label.cs: fixed: according MSDN OnPreRender is not overridden.
1981 2007-01-04 Adar Wesley <adarw@mainsoft.com>
1983 * ImageButton.cs: implemented GenerateEmptyAlternateText
1985 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
1987 * FormView.cs: fixed data binding flow considers Insert mode.
1989 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
1991 * DataBoundControl.cs: fixed Init flow.
1993 2007-01-4 Adar Wesley <adarw@mainsoft.com>
1995 * RadioButtonList.cs: Implemented properties of IRepeatInfoUser as public virtual
1997 2007-01-03 Marek Habersack <grendello@gmail.com>
1999 * ObjectDataSourceView.cs: Look for unqualified type also in the top-level assemblies.
2001 2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>
2003 * FormView.cs: fixed PageIndex property.
2005 2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>
2007 * ListControl.cs: fixed SelectedValue and SelectedIndex properties.
2008 set accessor works differently in 2.0.
2010 2007-01-02 Vladimir Krasnov <vladimirk@mainsoft.com>
2012 * SqlDataSourceView.cs,ObjectDataSourceView.cs: fixed parameter merge
2013 when values and old values are null
2015 2006-01-02 Igor Zelmanovich <igorz@mainsoft.com>
2017 * ListControl.cs: reverted r70112, fixed in r70319.
2019 2007-01-02 Igor Zelmanovich <igorz@mainsoft.com>
2021 * DetailsView.cs: fixed CreateAutoGeneratedRows.
2023 2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
2025 * AutoGeneratedField.cs: is editable in Insest mode.
2026 * BoundField.cs: is editable in Insest mode.
2027 * CheckBoxField.cs: is editable in Insest mode.
2028 * DetailsView.cs: fixed DataBinding flow.
2030 2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
2032 * BaseDataBoundControl.cs:
2033 * CompositeDataBoundControl.cs: fixed DataBinding flow.
2035 2006-12-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2037 * LinkButton.cs: show the validation summary when client validation
2038 and linkbuttons are used. Patch by Juraj Skripsky.
2040 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
2042 * TextBox.cs: consider ToolTip property
2044 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
2046 * ContainedTable.cs:
2047 * DataControlButton.cs:
2048 * DetailsView.cs: fixed EnablePagingCallbacks
2051 * GridView.js: fixed EnableSortingAndPagingCallbacks
2053 2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
2056 ResolveClientUrl used with LineImagesFolder, ExpandImageUrl,
2057 CollapseImageUrl and NoExpandImageUrl properties.
2059 2006-12-28 Vladimir Krasnov <vladimirk@mainsoft.com>
2061 * SqlDataSource.cs: Added parameters update on OnInit
2063 2006-12-28 Vladimir Krasnov <vladimirk@mainsoft.com>
2065 * LoginView.cs: fixed rendering LoggedInTemplate even after user
2068 2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
2073 control's behavior depends on using DataSource or DataSourceID
2074 property for binding
2076 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
2078 * CommandField.cs: fixed:
2079 when ShowEditButton=false Update/Cancel button doesn't appear.
2080 when ShowInsertButton=false Insert/Cancel button doesn't appear.
2082 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2084 * Login.cs: fixed AuthenticateUser, should redirect to ReturnUrl when
2086 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2088 * Parameter.cs: fixed ConvertValue to coorect handle TypeCode.Empty
2089 * ObjectDataSourceView.cs: fixed MergeParameterValues,
2090 call Parameter.ConvertValue
2091 fixed ConvertParameter to hanlde TypeCode.Empty
2092 * SqlDataSourceView.cs: fixed InitializeParameters,
2093 call Parameter.ConvertValue
2094 fixed ParameterPrefix property
2095 fixed CreateDbParameter, added usege of ParameterPrefix
2097 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
2099 * ListControl.cs: fixed: when is used with DataSourceID data bind is not
2100 perfomed on PostBack because Items collection is restored from View state.
2102 2006-12-26 Igor Zelmanovich <igorz@mainsoft.com>
2104 * DataGridPagerStyle.cs:
2109 * TableItemStyle.cs:
2114 fixed: Load/Save viewstate of WebControl does not call Load/Save viewstate
2115 for it's ControlStyle, but the shared ViewState is used to manage style's
2118 2006-12-21 Igor Zelmanovich <igorz@mainsoft.com>
2120 * CompleteWizardStep.cs:
2121 * CreateUserWizard.cs:
2122 * CreateUserWizardStep.cs:
2123 * TemplatedWizardStep.cs:
2125 fixed: CreateUserWizard works properly in advanced scenarios
2126 such being used with additional steps or/and with custom templates.
2127 Styles are aplied properly.
2129 2006-12-21 Vladimir Krasnov <vladimirk@mainsoft.com>
2131 * SqlDataSourceView.cs: fixed InitializeParameters, parameters order
2132 parameters case insensetive search
2133 * ObjectDataSourceView.cs: fixed MergeParameterValues, parameters
2134 case insensetive search
2136 2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
2138 * Menu.cs: fixed: ResolveClientUrl used with src and href attributes
2140 2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
2144 TreeNodeCollapsed is not raised for leaf node.
2146 2006-12-14 Vladimir Krasnov <vladimirk@mainsoft.com>
2148 * DataGrid.cs, RepeatInfo.cs: fixed accessibility features
2150 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2152 * Calendar.cs: support DayNameFormat.Shortest
2154 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2156 * HiddenField.cs: implemented
2158 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2160 * FormView.cs: fixed: FillRowDataKey
2161 * DetailsView.cs: fixed: FillRowDataKey
2163 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2165 * TreeView.cs: fixed: ResolveClientUrl used with ImageUrl and NavigateUrl
2167 2006-12-14 Vladimir Krasnov <vladimirk@mainsoft.com>
2169 * Login.cs: refactored rendering, fixed OnAuthenticate event
2171 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
2173 * GridView.cs: fixed: Update works not only for EditRow
2175 * CompositeDataBoundControl.cs:
2177 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
2179 * RadioButton.cs: fixed:
2180 When GroupName is not defined UniqueID is used instead for name attribute.
2181 CheckedChanged is raised only when control is checked.
2183 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2185 * Menu.cs: fixed: rendering.
2187 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2189 * Menu.cs: fixed: rendering.
2191 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2196 fixed rendering for 2.0
2198 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
2200 * DetaisView.cs: fixed: rendering.
2201 * DataControlButton.cs:
2204 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
2206 * FormView.cs: fixed: avoid empty row rendering.
2208 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2210 * AdRotator.cs: fixed:
2211 MSDN: The ImageUrl and NavigateUrl attributes can be a full URL, a
2212 root-relative path, or a relative path. If you use a root-relative path,
2213 the path is relative to the same Web site. If you use a relative path,
2214 the path is relative to the directory that contains the advertisement file.
2216 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2218 * BaseCompareValidator.cs: fixed: support for type=Date on client side.
2220 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2222 * TreeView.cs: fixed: support for event validation.
2224 2006-12-04 Igor Zelmanovich <igorz@mainsoft.com>
2226 * DataGridPagerStyle.cs: chenged values of DataGridPagerStyles flags.
2228 2006-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2230 * CreateUserWizard.cs: implement GeneratePassword based on Membership.
2232 2006-11-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2234 * Wizard.cs: fixed GetStepType method that returned wrong type if the
2235 last step type is Complete.
2236 fixed ProcessEvent method, corrected FinishButtonClick behavior
2238 2006-11-26 Marek Habersack <grendello@gmail.com>
2240 * Calendar.cs: Fixed event validation registration. Now it
2241 registers all the arguments that can be passed by this control to
2244 2006-11-25 Marek Habersack <grendello@gmail.com>
2246 * FileUpload.cs: Implementation of SaveAs
2248 * TreeView.cs: A few optimizations for empty style collections.
2250 * Menu.cs: A few optimizations for empty style collections.
2252 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
2254 * BoundField.cs: fixed: GetDesignTimeValue()
2256 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
2258 * SiteMapDataSource.cs: fixed: GetViewNames()
2260 2006-11-23 Vladimir Krasnov <vladimirk@mainsoft.com>
2262 * ChangePassword.cs: implemented functionality
2263 * MailDefinition.cs: implemented CreateMailMessage method
2264 * PasswordRecovery.cs: implemented functionality
2266 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2268 * CircleHotSpot.cs: fixed:
2269 setting Radius with value <0 throws ArgumentOutOfRangeException.
2271 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2273 * CookieParameter.cs: fixed Evaluate method.
2275 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2277 * Parameter.cs: fixed Evaluate, ToString methods.
2278 * QueryStringParameter.cs: fixed Evaluate method.
2279 * SessionParameter.cs: fixed Evaluate method.
2281 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2283 * ImageMap.cs: fixed rendering.
2285 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2287 * HotSpot.cs: fixed: AccessKey and HotSpotMode
2288 throw ArgumentOutOfRangeException.
2290 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2292 * ControlParameter.cs: fixed: Evaluate method
2293 throws exceptions correctly.
2295 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2297 * CheckBox.cs: fixed: new 2.0 features such
2298 LabelAttributes and InputAttributes.
2300 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2302 * GridView.cs: fixed: header, footer and empty rows are databound.
2304 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2306 * Style.cs: added internal helper method RemoveTextStyles.
2308 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2310 * Button.cs: fixed: support for event validation.
2311 * CheckBox.cs: fixed: support for event validation.
2312 * FormView.cs: fixed: support for event validation.
2313 * ImageButton.cs: fixed: support for event validation.
2314 * ListBox.cs: fixed: support for event validation.
2315 * TextBox.cs: fixed: support for event validation.
2317 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2319 * DropDownList.cs: fixed: support for event validation.
2321 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2323 * LinkButton.cs: optimized: support for event validation.
2324 * DataControlButton.cs: Added support for event validation.
2325 * DetailsView.cs: fixed: RowIndex for DetailsViewRow.
2327 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2329 * LinkButton.cs: Added support for event validation.
2331 2006-11-17 Marek Habersack <grendello@gmail.com>
2333 * ImageButton.cs: Added support for event validation.
2335 * ListBox.cs: Added support for event validation.
2337 * Calendar.cs: Added support for event validation.
2339 * DropDownList.cs: Added support for event validation.
2341 * FormView.cs: Added support for event validation.
2343 * RadioButtonList.cs: Added support for event validation.
2345 * TextBox.cs: Added support for event validation.
2347 * BulletedList.cs: Added support for event validation.
2349 * CheckBox.cs: Added support for event validation.
2351 * Button.cs: Added support for event validation.
2353 2006-11-16 Igor Zelmanovich <igorz@mainsoft.com>
2355 * CreateUserWizard.cs: fixed: ActiveStepIndex property.
2357 2006-11-15 Igor Zelmanovich <igorz@mainsoft.com>
2359 * ListControl.cs: fixed: DataBinding for 2.0, for 1.x - refactoring only.
2361 2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>
2363 * GridView.cs: fixed: Rows property, DataBinding flow.
2364 * DataBoundControl.cs:
2365 * BaseDataBoundControl.cs:
2367 2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>
2369 * CompositeDataBoundControl.cs: fixed:
2370 DataBind call Controls.Clear().
2372 2006-11-13 Igor Zelmanovich <igorz@mainsoft.com>
2374 * CompositeDataBoundControl.cs: fixed:
2375 DataBind sets ChildControlsCreated=true.
2377 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2379 * Login.cs: fixed CreateChildControls, throws exception if needed
2381 * LoginView.cs: fixed CreateChildControls, check templates for null
2383 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2385 * Wizard.cs: fixed ActiveStepIndex property, fixed SideBar button
2386 rendering, fixed history updating
2387 * WizardStepCollection.cs: fixed implemented interfaces
2389 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2391 * XmlDataSource.cs: CacheKeyDependency fixed
2393 2006-11-12 Igor Zelmanovich <igorz@mainsoft.com>
2395 * DetailsView.cs: fixed: DataKeys, PageCount, DataBinding flow.
2397 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2399 * DetailsViewPagerRow.cs: fixed: must be not resolved as BindingContainer.
2401 2006-11-09 Vladimir Krasnov <vladimirk@mainsoft.com>
2403 * ParameterCollection.cs: fixed SetDirtyObject method
2404 * ObjectDataSource.cs, ObjectDataSourceView.cs: removed VievState
2405 utilization for control's properties, implemented caching
2406 * SqlDataSource.cs, SqlDataSourceView.cs: implemented caching
2408 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2410 * GridView.cs: fixed: DataKeys, PageCount, DataBinding flow.
2412 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2414 * DataBoundControl.cs: fixed:
2415 ConfirmInitState method s called by
2416 the DataBoundControl class in its OnLoad method.
2418 2006-11-06 Igor Zelmanovich <igorz@mainsoft.com>
2420 * FormView.cs: fixed: DataBinding flow.
2422 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
2424 * CustomValidator.cs: implemented ValidateEmptyText fixture.
2426 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
2428 * BaseCompareValidator.cs: fixed: CultureInvariantValues, Type properties.
2430 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2432 * Menu.cs: fixed: RenderEndTag.
2433 Dynamic menu is rendered when StaticDisplayLevels=1
2435 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2437 * GridView.cs: fixed: UpdateRow, DeleteRow, RowCreated.
2439 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2441 * FormView.cs: fixed: UpdateItem, DeleteItem.
2443 2006-10-31 Igor Zelmanovich <igorz@mainsoft.com>
2445 * DetailsView.cs: fixed: PageIndex, UpdateItem, InsertItem.
2447 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2449 * RadioButtonList.cs: fixed: has no html output when Items.Count=0.
2451 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2453 * ListControl.cs: fixed: setting SelectedVolue for 2.0.
2455 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2457 * DataBoundControl: fixed: ValidateDataSource allows null as dataSource.
2459 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2461 * ListControl.cs: fixed: assigning SelectedIndex with too hight value.
2463 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2465 * ListControl.cs: fixed: DataBinding for 2.0.
2466 for 1.x refactoring only.
2468 2006-10-25 Igor Zelmanovich <igorz@mainsoft.com>
2470 * ChangePassword.cs: new class was implemented.
2472 2006-10-25 Igor Zelmanovich <igorz@mainsoft.com>
2474 * EmbeddedMailObject.cs: new class was implemented.
2475 * EmbeddedMailObjectsCollection.cs: new class was implemented.
2476 * MailDefinition.cs: new class was implemented.
2478 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2480 * PagerSettings.cs: fixed: CreatePagerControl.
2482 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2484 * CommandField.cs: fixed:
2485 considers CaseValidation, ValidationGroup, ButtonType.
2486 * DataControlButton.cs: refactoring:
2488 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2490 * DetailsView.cs: implemented: GetCallbackScript method.
2492 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2494 * FormView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
2496 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2498 * FormFiew.cs: fixed: UpdateItem, InsertItem.
2500 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2502 * FormFiew.cs: fixed: PageIndex, rendering.
2504 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2506 * DropDownList.cs: fixed: rendering "name" attribute".
2508 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2510 * GridView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
2511 * DataControlButton.cs:
2512 * CommandField.cs: CausesValidation feature must be implemented other way
2514 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2516 * CompositeDataBoundControl.cs: fixed: CreateChildControls flow.
2518 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2520 * FormView.cs: fixed: OnBubbleEvent returns true when event is handled.
2522 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2524 * DetailsView.cs: fixed: OnBubbleEvent works properly.
2526 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2528 * DetailsView.cs: fixed: considers DataControlField.InsertVisible.
2530 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2532 * DetailsView.cs: fixed: CurrentMode property.
2534 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2536 * DetailsView.cs: fixed: current state are not changed during paging.
2538 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2540 * DetailsView.cs: fixed:
2541 in Insert mode Select not invoked from DataSource
2543 2006-10-18 Konstantin Triger <kostat@mainsoft.com>
2545 * ObjectDataSourceView.cs: use Type.GetType for loading full qualified types.
2547 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2549 * FormView.cs: fixed: CreateDataSourceSelectArguments method.
2550 (corresponding test does not work because bug in ObjectDataSourceView)
2552 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2554 * DataBoundControl.cs: fixed: DataBind calls
2555 CreateDataSourceSelectArguments() and stores result in SelectArguments
2557 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2561 fixed: EnablePagingCallbacks feature.
2562 when postback is invoked after callback control state is restored
2565 2006-10-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2567 * SqlDataSource.cs, SqlDataSourceView.cs: redesign and bug fixes
2569 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2571 * DetailsView.cs: fixed: CreateDataSourceSelectArguments method.
2572 (corresponding test does not work because bug in ObjectDataSourceView)
2574 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2576 * GridView.cs: fixed: EnableSortingAndPagingCallbacks feature.
2577 when postback is invoked after callback control state is restored
2580 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2582 * GridView.cs: fixed: Sorting feature.
2583 When sorting EditIndex and PageIndex are reseted
2585 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2587 * GridView.cs: fixed: Sorting feature.
2588 CreateDataSourceSelectArguments considers SortExpression and SortDirection.
2589 (corresponding test does not work because bug in ObjectDataSourceView)
2591 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
2593 * GridView.cs: fixed:
2594 CreateDataSourceSelectArguments works according to MSDN.
2595 (corresponding test does not work because bug in ObjectDataSourceView)
2597 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
2599 * ObjectDataSourceView.cs: fixed:
2600 CanRetrieveTotalRowCount returns true if EnablePaging = false
2602 2006-10-10 Igor Zelmanovich <igorz@mainsoft.com>
2604 * DataBoundControl.cs: fixed: DataBind flow
2605 CreateDataSourceSelectArguments() is called
2606 each time as DataBind() is called
2608 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
2610 * BoundField.cs: implemented ValidateSupportsCallback().
2612 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
2614 * CommandField.cs: ValidateSupportsCallback(): exception's message.
2616 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
2618 * FormView.cs: fixed: CurrentMode property.
2620 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
2626 reverted r66222, problem solved in r66283: command buttons inherit ForeColor
2628 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2630 * Image.cs: write 'alt' after 'src' so that the HyperLink test do not
2633 2006-10-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2635 * HyperLink.cs: don't render the img tag 'by hand' but use an Image
2636 instead, which takes care of the 0/0px case. Also set the ToolTip
2637 property. Fixes bug #79585.
2639 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2641 * DetailsView.cs: optimization for previous patch
2643 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2645 * FormView.cs: optimization for previous patch
2647 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2650 * DetailsViewRow.cs:
2651 implemented PrepareControlHierarchy()
2652 styles are applied correct
2654 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2657 implemented PrepareControlHierarchy()
2658 styles are applied correct
2660 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2663 * DataControlButton.cs:
2664 * DataControlField.cs:
2665 implemented PrepareControlHierarchy()
2666 styles are applied correct
2667 command buttons inherit ForeColor
2669 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2671 * WebControl.cs: fixed: CreateControlStyle()
2673 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
2679 corrected pager rendering: Color style applied to A tag,
2680 Input type="image" used if ImageUrl is not empty.
2682 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
2684 * GridView.cs: corrected rendering
2685 * ContainedTable.cs: added new helper class
2687 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
2689 * FormView.cs: fixed:
2690 in Insert mode Select not invoked from DataSource
2692 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
2694 * FormView.cs: fixed:
2695 Pager is not shown when page count < 1
2696 in Edit mode use EmptyDataTemplate if there is no DataItem
2697 when page changed FormView stays in current state.
2699 2006-09-28 Igor Zelmanovich <igorz@mainsoft.com>
2701 * FormView.cs: fixed: OnBubbleEvent works properly
2703 2006-09-25 Igor Zelmanovich <igorz@mainsoft.com>
2705 * DataBoundControl.cs: fixed: DataBind flow
2706 GetData return "empty" DataSourceView when no DataSource and DataSourceID
2707 was assigned to cause PerformDataBinding be called.
2709 2006-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2711 * DataList.cs: use ExtractTemplateRows to determine if the style is
2712 applied to the Table in a template or to its rows. Fixes bug #78058.
2714 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2716 * ListBox.cs: if the list is not enabled, don't require a postback.
2719 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2721 * HyperLink.cs: don't output the nabvigate url if disabled.
2722 * LinkButton.cs: always call base.AddAttributesToRender(). Don't output
2723 the link URL if disabled.
2726 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2728 * RadioButtonList.cs:
2729 make it to consider CausesValidation and ValidationGroup properties
2731 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2734 make it to consider CausesValidation and ValidationGroup properties
2736 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2739 Page.Validate() is called when CausesValidation=true
2741 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2744 make onclick attribute to consider ValidationGroup property.
2746 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2749 make rendering of the href attribute to consider ValidationGroup property.
2750 Page.Validate() is called when CausesValidation=true
2752 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2755 make rendering of the onchange attribute to consider ValidationGroup
2757 Page.Validate() is called when CausesValidation=true
2759 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2762 make rendering of the onclick attribute to consider ValidationGroup property
2763 Page.Validate() is called when CausesValidation=true
2765 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2768 VewState saving and restoring rolled back to 1.1 implementation
2769 (fixed corresponding test), corrected public interface (there are no
2770 overriden methods SaveControlState, LoadControlState and OnInit),
2771 implemented CausesValidation and ValidationGroup properties.
2773 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2776 make rendering of the onclick attribute to consider ValidationGroup property
2777 Page.Validate() is called when CausesValidation=true
2779 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
2782 implemented: RaisePostBackEvent,
2783 refactoring: GetPostBackOptions used to build onclick client event
2785 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
2787 * ImageButton.cs: implemented IButtonControl.Click, RaisePostBackEvent
2789 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
2791 * BaseValidator.cs: implemented ValidationGroup feature on client side
2792 * ValidationSummary.cs:
2794 2006-09-12 Igor Zelmanovich <igorz@mainsoft.com>
2796 * TreeView.cs: corrected rendering
2799 2006-09-11 Konstantin Triger <kostat@mainsoft.com>
2801 * Login.cs: ensure the urls are correctly resolved.
2803 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
2805 * TreeView.cs: corrected rendering: styles are applied correct
2809 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
2811 * TreeView.cs: corrected rendering: HoverNodeStyle works
2815 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
2817 * TreeNodeStyle.cs: fixed: ViewState restored properly
2819 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
2823 * TableItemStyle.cs:
2824 * DataGridPagerStyle.cs:
2825 refactoring: makes Style class more flexible for inheriting and reuse
2827 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
2829 * TreeView.cs: fixed: for PopulateOnDemand nodes expanded and checked
2830 state restored correct on PostBack.
2833 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2835 * ObjectDataSourceView.cs: correctly find the type when it is not in the
2836 executing assembly. Fixes bug #78321. Patch by Marek Habersack.
2838 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2840 * ControlParameter.cs: fix search for controls so that they use their
2841 NamingContainer, not the Page. Patch by Marek Habersack that fixes
2844 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2846 * Login.cs: fix problem with the login control and master pages.
2847 Patch by Marek Habersack that fixes bug #78219.
2849 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
2851 * TreeView.cs: fixed: populating nodes.
2854 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
2856 * TreeNode.cs: fixed: ToggleExpandState.
2858 2006-09-07 Andrew Skiba <andrews@mainsoft.com>
2860 * SqlDataSourceView.cs: return DataView from ExecuteSelect when
2861 DataSourceMode is DataSet.
2863 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
2865 * TreeView.cs: fixed: populating nodes flow.
2866 * TreeNodeCollection.cs
2869 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
2871 * TreeNodeCollection.cs: fixed: ViewState saved and restored correct.
2873 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
2875 * TreeView.cs: corrected rendering: RenderBeginTag, RenderEndTag.
2877 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
2879 * TreeView.cs: fixed: when specified value is not one of
2880 the TreeNodeTypes values exception is threw.
2882 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
2884 * TreeView.cs: fixed: when specified image set is not one of
2885 the TreeViewImageSet values exception is threw.
2887 2006-09-05 Igor Zelmanovich <igorz@mainsoft.com>
2889 * TreeNodeStyleCollection.cs: fixed: ViewState saved and restored correct.
2891 2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
2893 * Style.cs: implemented SetBit().
2895 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
2897 * CompareValidator.cs: fixed controltocompare attribute.
2899 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
2902 when login attempt was not successful FailureText is shown.
2904 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
2906 * CreateUserWizard.cs: fixed: InvalidPasswordErrorMessage
2907 is formatted correct.
2909 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
2911 * CreateUserWizard.cs:
2912 * CompleteWizardStep.cs:
2913 * CreateUserWizardStep.cs:
2915 fixed: ContinueButtonClick occurs when the user clicks
2916 the Continue button in the final user account creation step.
2917 ContinueDestinationPageUrl - redirected after clicking
2918 the Continue button on the success page.
2920 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
2922 * Wizard.cs: refactoring: Button, ImageButton and LinkButton are used
2923 insted internal DataControlButton.
2925 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
2927 * Button.cs: implemented GetPostBackOptions + refactoring
2929 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
2931 * ImageButton.cs: implemented 2.0 features
2932 OnClientClick attached to onclick attribute.
2933 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
2934 generate onclick attribute.
2936 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
2938 * LinkButton.cs: typo fix
2940 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
2942 * Button.cs: refactoring
2944 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
2946 * LinkButton.cs: implemented 2.0 features
2947 OnClientClick attached to onclick attribute.
2948 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
2951 2006-08-29 Igor Zelmanovich <igorz@mainsoft.com>
2953 * Button.cs: implemented 2.0 features
2955 2006-08-28 Igor Zelmanovich <igorz@mainsoft.com>
2957 * Menu.cs: refactoring
2960 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
2962 * TreeView.cs: fixed data binding
2964 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
2966 * TreeNodeBinding.cs: fixed ToString method
2968 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
2970 * MenuItem.cs: typo fix
2972 2006-08-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2974 * CreateUserWizardStep.cs: fixed validators message display
2976 2006-08-25 Kornél Pál <kornelpal@gmail.com>
2978 * FileUpload.cs: Use assembly name constants.
2980 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2982 * TemplateField.cs: fixed ExtractValuesFromCell, .net aspx parser not
2983 always creates ExtractTemplateValuesMethod delegate
2985 2006-08-24 Igor Zelmanovich <igorz@mainsoft.com>
2987 * TreeNodeBinding.cs: corrected public interface
2990 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2992 * TextBox.cs: fix for bugs #76771 and #79020. A test breaks for the 2.0
2993 case, but there are many others.
2995 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
2997 * Menu.cs: corrected rendering of static and dynamic items
3000 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3004 fixed: AddAttributesToRender method calls FillStyleAttributes,
3005 text styles applied correct.
3007 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3010 fixed: when removed the names from the bag also removed FontStyles.Names flag from fontstyles.
3011 refactoring: Name and Names properties has same source in bag.
3013 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3015 * Style.cs: restored r63894: for 1.x is refactoring only
3017 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
3020 fixed: CopyFrom and MergeWith behave differently between 1.1 and 2.0.
3021 added ClearDefaults method for 2.0.
3023 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3025 * ObjectDataSourceStatusEventArgs.cs: ExceptionHandled default value
3028 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
3030 * SubMenuStyle.cs: fixed:
3031 Unit.ToString() already include unit (e.g. "3px")
3033 2006-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3036 * ChangeLog: revert r63894. It modified the 1.x profile, it wasn't
3037 submitted for review and it only added tests for the 2.0 profile.
3039 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3041 * FormView.cs: added explicit implementation of
3042 IDataItemContainer.DataItemIndex, as documented
3044 2006-08-17 Igor Zelmanovich <igorz@mainsoft.com>
3047 When style is registered with StyleSheet AddAttributesToRender method
3048 adds class attribute but not style to writer
3050 2006-08-15 Igor Zelmanovich <igorz@mainsoft.com>
3053 OnBubleEvent works properly - controls like Button, LinkButton nested into template
3054 can raise MenuItemClick event,
3055 ViewState of Items saved and restored properly.
3057 2006-08-14 Andrew Skiba <andrews@mainsoft.com>
3059 * TableStyle.cs: replace ResolveUrl with ResolveClientUrl to match
3062 2006-08-14 Igor Zelmanovich <igorz@mainsoft.com>
3064 * Menu.cs: fixed databinding feature:
3065 ensure that items initialization occurs only once
3067 2006-08-10 Igor Zelmanovich <igorz@mainsoft.com>
3069 * Menu.cs, MenuItem.cs: fixed databinding feature
3071 2006-08-09 Robert Jordan <robertj@gmx.net>
3073 * DataControlButton.cs, Image.cs, AdRotator.cs, HyperLink.cs:
3074 replace ResolveUrl with ResolveClientUrl to match MS.NET's
3075 behaviour. Fixes bug #77539.
3077 2006-08-09 Igor Zelmanovich <igorz@mainsoft.com>
3079 * HierarchicalDataBoundControl.cs: fixed DataBind flow
3081 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3087 * WebControl.cs: fixed ParseChildren attribute to be compliant
3090 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3092 * MultiView.cs: fixed: EnableTheming property
3094 2006-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3098 * TreeView.cs: Patch by Marek Habersack that fixes bug #78968 take 2.
3100 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3102 * Style.cs: fixed restoring FontInfo from ViewState
3104 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3106 * XmlDataSource.cs: implemented caching functionality
3108 2006-07-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3110 * PagerSettings.cs: Fixed the pager range calculation formula. The old
3111 one didn't work with more than 20 pages. Patch by Marek Habersack that
3114 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3116 * FormView.cs: fixes to make Render more similar to dotnet.
3118 2006-07-30 Vladimir Krasnov <vladimirk@mainsoft.com>
3120 * Wizard.cs: fixed return value of OnBubbleEvent
3122 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3124 * FormView.cs: init BottomPagerRow.ItemIndex with 0; gracefully
3125 handle null result of GetData().
3127 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3129 * FormView.cs: use TableStyle for ControlStyle.
3131 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3133 * FormView.cs: save DataKeyNames and DefaultMode in ControlState.
3135 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3137 * FormView.cs: init DataKeys and fix null reference.
3139 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3141 * TreeView.cs: several changes to improve compatibility with MS.
3142 Patch by Marek Habersack that fixes bug #77551.
3144 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3146 * Style.cs: output the text-decoration value even when it is 'none'.
3147 Patch by Marek Habersack that fixes bug #78968.
3149 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3151 * FormView.cs: initialize PageCount with 0; fix IsBindableType to
3154 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3156 * DetailsViewRowCollection.cs: returns this in SyncRoot.
3158 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3160 * FormView.cs: throw ArgumentOutOfRange exception on bad CellSpacing
3163 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3165 * ObjectDataSource.cs: add doc and fix usage of MergeParameterValues
3167 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3169 * AutoGeneratedField.cs: fix the internal constructor according to test
3170 DetailsView_CreateAutoGenerateRow.
3172 2006-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
3174 * XmlDataSource.cs: implemented XSLT, removed properties from
3176 * XmlDataSourceView.cs: fixed default xpath
3178 2006-07-26 Andrew Skiba <andrews@mainsoft.com>
3180 * DetailsView.cs: fix IsBindableType in accordance with MSDN and tests.
3182 2006-07-25 Vladimir Krasnov <vladimirk@mainsoft.com>
3184 * Wizard.cs: fixed ActiveStep property
3185 fixed templated side bar
3187 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
3189 * ImageField.cs: fix null reference bug.
3191 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
3193 * DetailsView.cs: init DataKey property with empty collection.
3194 * DataKey.cs: fix unexpected exception bug.
3195 * DataControlField.cs: override ToString according to MSDN.
3197 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3199 * DetailsView.cs: create table style in CreateControlStyle.
3201 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3203 * DetailsView.cs: don't throw the exception which .Net does not throw.
3205 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3207 * DetailsView.cs: save DefaultMode and DataKeyNames in control state,
3208 to match .Net; fix PageCount to match record count.
3210 2006-07-24 Vladimir Krasnov <vladimirk@mainsoft.com>
3212 * Menu.cs: fixed properties default values, fixed rendering
3215 2006-07-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3217 * Wizard.cs: implemented SkipLinkText, TagKey
3218 fixed rendering bugs, fixed templated button bar rendering
3219 fixed side bar rendering
3220 * WizardStepBase.cs: fixed Name property
3222 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3224 * DetailsView.cs: fix the regressions, caused by the previous commit.
3226 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3228 * DetailsView.cs: correct handling the different default values of
3229 DetailsView.CellSpacing and Table.CellSpacing.
3231 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3233 * DetailsView.cs: create a pager row when needed.
3235 2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3239 * PagedDataSource.cs:
3242 * LinkButton.cs: implement GetPostBackOptions for the 2.0 controls that
3243 support it. The GridView control will no longer throw an exception when
3244 rendered in the paging mode. Patch by Marek Habersack. Fixes bug #78288.
3246 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3248 * DetailsView.cs: many fixes: initialize PageCount with 0; initialize
3249 Rows with empty collection; call EnsureChildControls from get Row;
3250 NullReference in DeleteItem; fix RenderGrid (ideas from GridView);
3251 implemented IPostBackContainer.GetPostBackOptions.
3253 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3255 * DetailsView.cs: create HeaderRow and FooterRow even when HeaderText
3256 and FooterText are empty, to match .NET. Otherwise we have NullReference
3259 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3261 * DetailsView.cs: Render fix.
3263 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3265 * BoundField.cs: don't call DataBinder.GetPropertyValue with empty
3268 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3270 * DetailsView.cs: NullReferenceException fix
3272 2006-07-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3274 * PagerSettings.cs: implemented PropertyGhanged event
3276 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
3278 * DetailsView.cs: throw ArgumentOutOfRangeException for compatibility
3279 with .Net; don't throw NotImplemented when base class implementation
3282 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
3284 * DetailsViewPagerRow.cs: add a stub for this class
3286 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
3288 * GridView: fixed DataKeyNames property, moved to ControlState
3289 fixed PageCount property, initial PageCount ahould be zero
3290 fixed SelectedDataKey, should throw exception if not initialized
3291 fixed CreateColumns, wrong order of columns
3292 fixed CreateControlStyle,
3293 fixed InitializePager, no columnspan attrib on only one column
3294 fixed LoadControlState, SaveControlState added DataKeyNames
3295 fixed Render, RenderGrid should render within div tag
3296 implemented GetPostBackOptions
3297 * DataControlButton.cs: fixed Render, fixed style for img button
3299 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
3301 * CheckBoxField.cs: fixed InitializeDataCell, tooltip only in edit
3304 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3306 * CommandField.cs: fixed ValidateSupportsCallback
3308 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3310 * Image.cs: prepare to use HttpBrowserCapabilities. Does not
3311 affect the flow yet.
3313 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3315 * SiteMapPath.cs: fixes for SiteMapPathTest.Render_xxx tests.
3317 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
3319 * WebControl.cs: fix for AddAttributesToRender - add display
3320 style when appropriate
3322 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
3324 * CommandField.cs: fixed InitializeCell, wrong order of command
3326 * ImageField.cs: image field with null src and ConvertEmptyStringToNull
3327 should be rendered as label
3328 * BoundField.cs: empty null value should be rendered as nbsp
3329 * GridViewRowCollection.cs: fixed SyncRoot
3331 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
3333 * SiteMapPath.cs: create Literal instead of Label according to the
3334 MSDN and test SiteMapPath_InitializeItem.
3336 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
3338 * Style.cs: BorderStyle should be added if BorderWidth greater than 0
3339 * Image.cs: in 2.0 there is no border attribute, but border-width
3342 2006-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3344 * Button.cs: always render the 'name' attribute. Fixes bug #78746.
3346 2006-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3348 * DataList.cs: correctly initialize editable items when there's an
3349 EditItemTemplate. Patch by Jarosław Pawlak.
3351 2006-07-13 Juraj Skripsky <js@hotfeet.ch>
3353 * CheckBox.cs (LoadPostData): the value of a disabled checkbox remains
3356 2006-07-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3358 * BulletedList.cs: fixed Render, RenderBulletText, various properties
3359 * ListItem.cs, ListItemCollection.cs: added Enabled property that is
3362 2006-07-12 Vladimir Krasnov <vladimirk@mainsoft.com>
3364 * MultiView.cs: 'initied' state variable was changed to views count in
3365 the views collection.
3367 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3369 * AutoGeneratedField.cs: fixed InitializeDataCell, autogenerated
3370 checkbox should have tooltip
3371 * HyperLinkField.cs: fixed InitializeCell, should create link control
3372 only in data cell (not in header or footer), initialization of
3374 * ImageField.cs: fixed InitializeDataCell, initialization of
3377 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3379 * MultiView.cs: removed exception throwing from ActiveViewIndex
3381 2006-07-11 Konstantin Triger <kostat@mainsoft.com>
3383 * DataControlFieldCollection.cs: added OnClearComplete override;
3384 refactor to eliminate null reference exception.
3386 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3388 * MultiView.cs: fixed ActiveViewIndex, AddParsedSubObject
3389 * View.cs: fixed Visible property
3391 2006-07-09 Konstantin Triger <kostat@mainsoft.com>
3393 * ImageField.cs: fixing .net compliancy.
3395 2006-07-10 Andrew Skiba <andrews@mainsoft.com>
3397 * SiteMapPath.cs: fix the default PathSeparator value.
3399 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
3401 * GridView.cs: always create Header/Fotter rows, but render only when
3402 ShowHeader/Footer is true. Compute Header/Footer rows from rows
3404 * CheckBoxField.cs: add override to ApplyFormatInEditMode,
3405 add ToolTip and Text to the created CheckBox,
3406 wrap exception thrown in OnDataBindField in httpException.
3408 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
3410 * DataControlField.cs,BoundField.cs: bug fixes found by BoundFieldTest.
3412 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
3414 * DataControlField.cs: correct handling empty header/footer text.
3415 * TemplateField.cs: correct initialization according to
3416 DataControlRowState.
3418 2006-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
3420 * Wizard.cs: added functionality for Templated WizardStep
3421 and CreateUserWizard
3422 * added CompleteWizardStep.cs, CreateUserWizard.cs,
3423 CreateUserWizardStep.cs, TemplatedWizardStep.cs
3425 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
3427 * AutoGeneratedField.cs: correcting default dataType.
3429 2006-07-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3431 * DataControlField.cs: fixed Initialize, should always return false
3433 2006-07-03 Lluis Sanchez <lluis@novell.com>
3435 * BoundField.cs: Fix setter for HtmlEncode (it was setting always True).
3437 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
3439 * DataBoundControl.cs: implement MarkAsDataBound and consider it while
3440 setting RequiresDataBinding in OnLoad event.
3441 * GridView.cs: DataBind rows before other control can access the data.
3442 * BoundField.cs: add unique ID to control for postback parameters.
3444 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
3446 * WebControl.cs: fix typo in EnableTheming.
3448 2006-07-02 Konstantin Triger <kostat@mainsoft.com>
3450 * MenuItemCollection.cs: save items if the collection is dirty.
3451 * MenuItem.cs: During data binding: initialize Text and invoke binding recoursively.
3452 Add item to collection before binding to let the state be correctly tracked.
3453 * Menu.cs: Add item to collection before binding to let the state be correctly
3456 2006-06-28 Juraj Skripsky <js@hotfeet.ch>
3458 * RegularExpressionValidator.cs (EvaluateIsValid): wrap regex to
3459 test against with "^...$" if necessary. MS.NET does this too.
3461 2006-06-28 Vladimir Krasnov <vladimirk@mainsoft.com>
3463 * WizardStepCollection.cs: Fixed Add methods to initialize
3464 WizardStep.Wizard property
3465 * Wizard.cs: Fixed ActiveStepIndex, it should be -1 if there no steps
3466 Fixed GetStepType, if only one step present, it should be FinishStep
3467 Fixed styles of tables for more accurate rendering, fixed Wizard
3470 2006-06-28 Konstantin Triger <kostat@mainsoft.com>
3472 * FormView.cs: instantiate correct template when the bounding data source is
3475 2006-06-25 Konstantin Triger <kostat@mainsoft.com>
3477 * FormView.cs: disabling setting out of range FormView.PageIndex.
3479 2006-06-21 Andrew Skiba <andrews@mainsoft.com>
3481 * FileUpload.cs: added
3483 2006-06-20 Andrew Skiba <andrews@mainsoft.com>
3485 * FormView.cs: handle CssClass attribute
3487 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3489 * Button.cs: do something in PostBackUrl.
3490 * Repeater.cs: when creating the RepeaterItemCollection, initialize
3491 'items' if it hasn't been done yet. Fixes bug #78417.
3493 2006-06-14 Vladimir Krasnov <vladimirk@mainsoft.com>
3495 * BaseDataList.cs: added ConnectToDataSource method that called from
3496 OnLoad, fixed GetData method
3497 * Wizard.cs: fixed bug when called MoveTo after that control hierarchy
3500 2006-06-14 Andrew Skiba <andrews@mainsoft.com>
3502 * Menu.cs: add CssStyle value to the rendered class attribute
3504 2006-06-13 Juraj Skripsky <js@hotfeet.ch>
3506 * Calendar.cs: Make sure WebControls.Enabled is respected.
3507 * SelectedDatesCollection.cs: Set time for all DateTime object passed in
3508 to 12:00am as MS.NET does the same.
3511 2006-06-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3513 * Repeater.cs: fixed ConnectToDataSource method, subscribed to
3514 DataSourceViewChanged, looks for a datasource in its parent control
3515 fixed GetData method, should not get data if datasource is null
3517 2006-06-13 Konstantin Triger <kostat@mainsoft.com>
3519 * ObjectDataSourceView.cs: raise OnDataSourceViewChanged events when data changes.
3521 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
3523 * GridView.cs: set the row index from GridRowView if CommandArgument does not contain this information.
3525 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
3527 * ObjectDataSourceViewTest.cs: return documented default for OldValuesParameterFormatString.
3529 2006-05-24 Vladimir Krasnov <vladimirk@mainsoft.com>
3531 * DataList.cs: Fixed LoadViewState method
3533 2006-05-04 Lluis Sanchez <lluis@novell.com>
3535 * BoundField.cs: Added missing throw kyword. Patch by Marek Habersack.
3537 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
3539 * BaseDataBoundControl.cs: ensure the control is bound if ViewState is disabled.
3541 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
3543 * FormView.cs: fix FormView.PageCount after data binding.
3545 2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3547 * CheckBox.cs: certain attributes have to be rendered in the input tag,
3548 not the <span>. Fixes bug #71251.
3550 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
3552 * BaseDataBoundControl.cs: RequiresDataBinding rebinds if the control prerendered.
3555 ensure rebinding when FormView.PageIndex is called.
3556 and bind to the correct PageIndex.
3558 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
3560 * MenuItem.cs: when binding to IHierarchyData, check whether
3561 it implements INavigateUIData and retrieve NavigateUrl.
3562 * CompositeDataBoundControl.cs: ensures data is bound before creating child controls.
3564 Enable DataBinding by not throwing NotImplementedException in OnDataBound event.
3565 Provide basic CreateChildControls implementation by ensuring the control is bound.
3566 Ensure the child controls are created when the postback event is raised.
3567 Provide default implementation for SkipLinkText to let the default functionality to work.
3569 2006-04-11 Lluis Sanchez <lluis@novell.com>
3571 * TreeNodeBinding.cs: Added HasPropertyValue property
3572 to check if some properties have a value in the
3574 * TreeNode.cs: Lazily get the dataPath. Instead of getting
3575 bound properties when they are requested, get all of
3576 them when the node is bound and store their values in
3577 the state bag. In this way it won't be necessary to
3578 query every time the datasource to get the values.
3579 * XmlHierarchyData.cs: Implemented IHierarchyData.Path.
3580 * TreeView.cs: Call base in OnInit(). Bind nodes after
3581 adding them to the list, to properly keep track of
3582 changes. Don't databind in postbacks.
3584 2006-04-11 Chris Toshok <toshok@ximian.com>
3586 * Login.cs (OnLoggingIn): use Events[loggingInEvent].
3588 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
3590 * BaseDataList.cs: Fix searching control by DataSourceID.
3591 * DataList.cs: Enable binding using DataSourceID for NET_2_0.
3594 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
3596 * Login.cs: Added LayoutTemplate property support.
3597 * LoginView.cs: Added LoggedInTemplate, AnonymousTemplate support.
3598 DataBind: correctly bind child controls.
3599 Implemented OnViewChanged, OnViewChanging, Render, Save/LoadControlState.
3601 2006-03-29 Robert Jordan <robertj@gmx.net>
3603 * DataGrid.cs: if custom paging is enabled the persisted item count
3604 must be the count of the rendered items, otherwise paging from the
3605 last to a previous page won't work correctly. Fixes bug #77556.
3607 2006-03-29 Vladimir Krasnov <vladimirk@mainsoft.com>
3609 * RepeatInfo.cs: fixed RenderBeginTag to set enabled value of table
3610 when rendering disabled list control
3612 2006-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3614 * Panel.cs: render the image url inside 'url()'. Fixes bug #77811.
3616 2006-03-28 Alexandre Miguel Pedro Gomes <alexmipego@gmail.com>
3618 * FontInfo.cs: Implemented ShouldSerializeNames
3620 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3622 * DataGrid.cs, DataList.cs, RepeatInfo.cs: added accessablity features
3624 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3626 * DataGrid.cs: fixed CreateControlHierarchy, added CurrentPageIndex
3628 in PrepareControlHierarchy fixed style applying to AlternatingItem
3630 2006-03-22 Vladimir Krasnov <vladimirk@mainsoft.com>
3632 * DataList.cs: fixed RepeatColumns property, added value validation
3633 in PrepareControlHierarchy method fixed style applying for
3634 AlternatingItem, EditItem and Separator item
3635 fixed RenderContents method, if no items exist, no nned to
3636 render emty table strructure.
3638 2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3640 * CompareValidator.cs: when searching for the control to compare, use
3641 NamingContainer instead of Page. Fixes bug #77793.
3643 2006-03-15 Chris Toshok <toshok@ximian.com>
3645 * SiteMapPath.cs (InitializeItem): in the Current and Root node
3646 cases, apply the NodeTemplate if it exists and there isn't a
3647 CurrentNodeTemplate or RootNodeTemplate, respectively.
3649 2006-03-15 Chris Toshok <toshok@ximian.com>
3651 * SiteMapDataSourceView.cs (OnDataSourceViewChanged): override.
3653 * SiteMapDataSource.cs (StartingNodeOffset): new property.
3654 (GetStartNode): add code to handle StartNodeOffset < 0.
3656 * CompositeControl.cs
3657 (ICompositeControlDesignerAccessor.RecreateChildControls): just
3658 call the non-iface method.
3660 * DataBoundControl.cs (GetDataSource): this is likely wrong, but
3661 traverse up the naming container tree looking for our datasource
3662 if we're bound using a DataSourceID. This fixes things in the
3663 sitemap1 test, which uses a mixture of templates and
3664 ContentPlaceholders with the sitemapdatasource and sitemappath at
3665 different levels in the naming container tree (let along the
3668 * SiteMapPath.cs (DataBind): implement this by chaining up to
3669 base.DataBind, then by looping over our children, emitting
3670 OnItemDataBound for each SiteMapNodeItem.
3671 (AddAttributesToRender): remove.
3672 (CreateChildControls): call DataBind as the final step here.. I
3673 have, of course, no idea if this is right.
3674 (CreateControlHierarchy): don't databind our children here, as
3675 they need to be in the Controls collection before we do.
3676 (RenderContents): render our accessibility/screenreader stuff
3677 here, if SkipLinkText != "".
3679 2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
3681 * DataGridPagerStyle.cs: fixed PrevPageText property
3683 2006-03-13 Chris Toshok <toshok@ximian.com>
3685 * BaseCompareValidator.cs (Convert): make the
3686 ValidationDataType.String case a bit more compact.
3688 2006-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3691 (RenderContents): don't call base.RenderContents. Fixes bug #77740.
3692 Patch by Hubert Fongarnand.
3694 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3696 * FontInfo.cs: fixed CopyFrom, this method should not reset the
3697 received fontinfo if it is the same instance
3698 fixed ToString, corrected output where only font size specified
3700 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3702 * Style.cs: fixed WriteStyleAttributes to set border style to solid,
3703 if it not set but the border has width
3704 fixes in CopyFrom, MergeWith correct unit compare when it has zero
3707 2006-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
3709 * DataGrid.cs: in AddColumnsFromSource method fixed columns from
3710 properties of custom class
3711 fixed InitializeNumericPager, pager numbers should be a Label control
3712 fixed CreateControlHierarchy, corrected dataset index of items if
3715 2006-03-09 Vladimir Krasnov <vladimirk@mainsoft.com>
3717 * DataList.cs: fixed DoItemInLoop method that fixes itemIndex
3719 fixed CreateControlStyle to set correct cellspacing of table style
3720 fixed InitializeItem to correct applying template to selected and
3723 2006-03-08 Chris Toshok <toshok@ximian.com>
3725 * SiteMapNodeType.cs: nuke.
3727 * BorderStyle.cs, ButtonColumnType.cs, CalendarSelectionMode.cs,
3728 DayNameFormat.cs, ListItemType.cs, ListSelectionMode.cs,
3729 NextPrevFormat.cs, PagerMode.cs, PagerPosition.cs,
3730 RepeatDirection.cs, RepeatLayout.cs, TableRowSection.cs,
3731 TextAlign.cs, TextBoxMode.cs, TitleFormat.cs,
3732 ValidationCompareOperator.cs, ValidationDataType.cs,
3733 ValidationSummaryDisplayMode.cs, ValidatorDisplay.cs: remove
3734 [Serializable] in 2.0.
3736 * DayNameFormat.cs: add "Shortest".
3738 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3740 * LinkButton.cs: fixed AddAttributesToRender, removed not needed
3743 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3745 * TextBox.cs: fixed missing value validations, fixed rendering
3746 of empty value attribute
3748 2006-03-07 Chris Toshok <toshok@ximian.com>
3750 * WebControl.cs (EnableTheming): leave the MonoTODO, but implement
3751 by chaining up to base.EnableTheming.
3753 2006-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
3755 * DataList.cs: fixed CreateControlHierarchy, fixes 77693
3757 2006-03-06 Vladimir Krasnov <vladimirk@mainsoft.com>
3759 * RadioButton.cs: added ValueAttribute property to store the button
3761 * RadioButtonList.cs: fixed tab index when rendering.
3763 2006-03-02 Chris Toshok <toshok@ximian.com>
3765 * WebControl.cs (SkinID): implement setter/getter, and have them
3766 just chain up to base.SkinID.
3768 2006-02-27 Chris Toshok <toshok@ximian.com>
3770 * SqlDataSource.cs: track change to DataSourceControl's protected
3773 * AccessDataSource.cs: same.
3775 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
3777 * ListControl.cs: fixed SelectedIndex property, fixed selection
3778 reset on incorrect value
3780 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
3782 * TableStyle.cs: fixed AddAttributesToRender function, style
3783 BorderCollapse:Collapse was added if table's CellSpacing is zero
3785 2006-02-23 Chris Toshok <toshok@ximian.com>
3787 * CheckBox.cs, ContentControlBuilderInternal.cs, Content.cs,
3788 ContentPlaceHolderBuilder.cs, ContentPlaceHolder.cs,
3789 DataControlFieldHeaderCell.cs, DataGridColumn.cs,
3790 HierarchicalDataBoundControl.cs, HyperLinkField.cs,
3791 ImageButton.cs, ImageField.cs, Literal.cs,
3792 ObjectDataSourceView.cs, TextBox.cs: more corcompare work.
3794 * BaseCompareValidator.cs, BaseValidator.cs, Button.cs,
3795 DataControlField.cs, DetailsView.cs, FormView.cs, GridView.cs,
3796 HotSpot.cs, LinkButton.cs, Login.cs, SiteMapDataSource.cs,
3797 SqlDataSourceCommandType.cs, TableSectionStyle.cs,
3798 TemplateField.cs, TreeNodeCollection.cs, TreeNode.cs, TreeView.cs,
3799 ValidationSummary.cs, WizardStepBase.cs: fix tons of corcompare
3800 errors. most were caused by a property/method being virtual when
3801 it shouldn't be, or vice versa.
3803 2006-02-22 Chris Toshok <toshok@ximian.com>
3805 * ObjectDataSource.cs: corcompare work.
3807 2006-02-22 Chris Toshok <toshok@ximian.com>
3809 * ParameterCollection.cs: add an EditorAttribute to the class.
3811 * Parameter.cs: cleanup, fix the Value property, and implement the
3814 * SqlDataSourceView.cs: clean things up a bit, and add handling
3817 2006-02-22 Chris Toshok <toshok@ximian.com>
3819 * SqlDataSourceFilteringEventArgs.cs: formatting.
3821 * SqlDataSourceSelectingEventArgs.cs: remove ExecutingSelectCount,
3822 both the property and ctor arg.
3824 * AccessDataSourceView.cs (ExecuteSelect): use SelectingEventArgs,
3825 not CommandEventArgs. Also, cast the return value of
3826 oleCommand.ExecuteReader.
3828 * AccessDataSource.cs (.ctor): fix the ctors and remove FIXME
3830 (GetDbProviderFactory): implement naively, and leave a MonoTODO.
3831 (GetPhysicalDataFilePath): implement, again naively. this is
3832 where the NRE is generated when we access ConnectionString in a
3834 (ConnectionString): dynamically generate this based on our
3836 (DataFile): clear the ConnectionString in the setter so we'll
3838 (ProviderName): use base.ProviderName in the getter, not
3839 this.ProviderName, so we don't recurse infinitely.
3841 * SqlDataSourceView.cs: start reworking this class.
3843 * SqlDataSource.cs (GetDbProviderFactory): implement this,
3844 following the MS docs on the matter (if ProviderName is null/"",
3845 return SqlClientFactory.Instance.)
3846 (GetDbProviderFactoryInternal): add an internal method for use by
3848 (TrackViewState): don't invoke View.TrackViewState unless we have
3850 (Selecting): change event handler type to match MS.
3851 (Filtering): add missing event.
3852 (View): call CreateDataSourceView, don't just create an
3855 2006-02-21 Chris Toshok <toshok@ximian.com>
3857 * BoundField.cs: ues the ViewState.Get* pattern with default
3858 instead of the explicit ViewState lookup + null check, and fix the
3859 scope of InitializeDataCell.
3861 * ButtonField.cs: ues the ViewState.Get* pattern with default
3862 instead of the explicit ViewState lookup + null check.
3864 * CommandField.cs: same.
3866 * CheckBox.cs: same.
3868 * AutoGeneratedFieldProperties.cs: same.
3870 * BaseDataList.cs: same.
3872 * CircleHotSpot.cs: same.
3874 * BulletedList.cs: same.
3876 * DataBoundControl.cs: same.
3878 * CookieParameter.cs: same.
3880 * ControlParameter.cs: same.
3882 * CustomValidator.cs: same.
3884 * ButtonFieldBase.cs: same.
3886 * CheckBoxField.cs: same, and fix the scope of InitializeDataCell.
3888 * AutoGeneratedField.cs: fix scope of InitializeDataCell.
3890 * BaseValidator.cs: same, and clean up the getter/setter formatting.
3892 * CompareValidator.cs: same.
3894 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3896 * ListControl.cs: fixed DataSource property, to throw
3897 ArgumentException on incorrect value
3899 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3901 * Image.cs: fixed missing border="0" attribute, when image has style,
3902 but border width is not specified.
3904 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3906 * CheckBox.cs: fixed InternalAddAttributesToRender, Render to
3907 correct the "disabled" attribute in CheckBoxList
3908 * CheckBoxList.cs: fixed RenderItem, to correct the "disabled"
3909 attribute in CheckBoxList
3911 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3913 * CheckBox.cs: fixed Render function, removed rendering of empty
3914 <span> element if ControlStyleCreated but it's empty.
3915 fixed "disabled" attribute, it should be placed into span element
3917 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3919 * BoundColumn.cs: fixed InitializeCell function, if DataField is
3920 null or empty string, the cell should not be bound.
3922 2006-02-08 Chris Toshok <toshok@ximian.com>
3924 * ListControl.cs (OnDataBinding): in 2.0, only clear our items if
3925 AppendDataBoundItems != false. Also, split all the databinding
3926 logic out to DoDataBinding, which we call from here only if
3928 (DoDataBinding): new function. actually perform the binding.
3929 (PerformDataBinding): implement.
3930 (PerformSelect): chain up to base class.
3932 2006-02-07 Chris Toshok <toshok@ximian.com>
3934 * ContentPlaceHolder.cs: fix ToolboxDataAttribute.
3936 * Content.cs: use ContentControlBuilderInternal, and add a bunch
3937 of unused (for now) EventHandler's here.
3939 * ContentControlBuilderInternal.cs: rename ContentControlBuilder
3942 2006-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3944 * ListControl.cs: bound checking for Items when loading the control
3945 state, as the number might have been changed on the fly. Patch by
3948 2006-01-22 Chris Toshok <toshok@ximian.com>
3950 * CheckBox.cs: s/GetPostBackClientEvent/GetPostBackEventReference.
3952 * MultiView.cs (OnBubbleEvent): case the rhs to a string to get
3953 the intended comparison right and quiet mcs.
3955 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
3957 * Button.cs: Add semicolon after client script if does not exist.
3959 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
3961 * Button.cs: preserve user logic when adding client validation.
3963 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
3965 * BaseValidator.cs: fixing visibility bahavior
3967 2006-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3969 * RangeValidator.cs: allow empty data from the control. Patch from Marek
3970 Habersack that fixes bug #77239.
3972 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3974 * Calendar.cs: use the DateTimeFormatInfo from the current thread. Patch
3975 by Cyrille Colin. Closes bug #77184.
3977 2006-01-08 Konstantin Triger <kostat@mainsoft.com>
3979 * PagedDataSource.cs, DataGrid.cs: TARGET_JVM changes to let the
3980 compilation pass with csc 1.1.
3982 2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3984 * DropDownList.cs: HtmlEncode the item text. Fixes bug #76949.
3986 2005-12-07 Chris Toshok <toshok@ximian.com>
3988 * BaseValidator.cs: in the uplevel rendering case, don't render
3989 the text if the validator's Display attribute is "None". Should
3992 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3994 * RadioButton.cs: if the 'value' attribute is set explicitly (as
3995 RadioButtonList does now), use that as the 'name' attribute.
3996 * RadioButtonList.cs: set the AutoPostBack and Enabled properties of
4001 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4003 * CheckBox.cs: add possible 'internal' attributes to the input tag. Fix
4004 the 'name' attribute when not aligninng to the right.
4005 * RadioButton.cs: use NameAttribute instead of GroupName when indexing
4006 the collection. Raise the OnCheckedChanged event. Fixes bug #76710.
4008 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4010 * DataGrid.cs: clear the control collection on every call to
4011 CreateControlHierarchy. Fixes bug #76732.
4013 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4015 * ListBox.cs: Rows and SelectionMode are virtual in 1.1
4017 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4019 * CheckBox.cs: use the NameAttribute property for setting 'name'.
4020 * RadioButton.cs: get a UniqueID based identifier for 'name'.
4023 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4025 * LinkButton.cs: don't output any javascript when the linkbutton is
4026 disabled. Fixes bug #76713.
4028 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4030 * DataGrid.cs: use TableHeaderCell instead of TableCell for headers when
4031 UseAccesibleHeader property is true. Patch by Robert Jordan.
4033 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4035 * BaseValidator.cs: 'controltovalidate' must be the ClientID of the
4036 control to validate. Fixes bug #76641.
4038 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4040 * BoundColumn.cs: when the column is readonly and we're in edit mode,
4041 keep it as a TextBox. Fixes bug #76714.
4043 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4045 * ListBox.cs: render the 'onchange' attribute when AutoPostback is
4046 enabled. Fixes bug #76608.
4048 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4050 * CheckBox.cs: AddAttributesToRender was extra in 1.1, so moved all
4051 the logic to Render and make it render the ID, which fixes bug #76596.
4053 2005-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4055 * Repeater.cs: someone forgot the curly brackets. Fixes bug 76537.
4057 2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4059 * Literal.cs: allow LiteralControl as child, but instead of adding it
4060 to the control collection, it just gets the Text out of it.
4062 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4064 * PagedDataSource.cs: fix range when we're at the last page.
4065 * DataGrid.cs: only need to keep the item count in the viewstate.
4068 2005-10-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4070 * ListControl.cs: made GetSelectedIndices() internal.
4071 * ListBox.cs: html-encode the item text. Fixed single and multiple
4072 selection handling. All the tests pass now. Closes bug #76478.
4074 2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4076 * ListControl.cs: throw when the selected value is not in the
4077 items collection. Fixes bug #76415.
4079 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4081 * BaseDataList.cs: Type.GetTypeCode was fixed and now does not
4082 throw a nullref, so we have to do it by ourselves here to make
4085 * BaseValidator.cs: render the text of the error message even if
4086 we set IsValid programatically. Don't use 'valid' directly, as
4091 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4093 * CustomValidator.cs: an empty ControlToValidate is valid.
4095 2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
4097 * RequiredFieldValidator.cs: Added missing permissions.
4099 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4101 * DataList.cs: copied and adapted PrepareControlHierarchy from DataGrid.
4102 Now the items get the attributes from the styles in datalist. Add the
4103 separators after each item, not before. GetItemStyle returns the actual
4104 item style, not the styles in the datalist. Fixes bug #76384 and all
4107 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4109 * Style.cs: add a 'border-style: solid' to make IE happy. Fixes bug
4112 2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4114 * TemplateColumn.cs: SelectedItem was missing from the select (). Fixes
4117 2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
4119 * FontInfo.cs: Gendarme strikes again. Sealed class have no need for
4120 inheritance demands.
4121 * FontUnit.cs: Structs are sealed so there's no need for inheritance
4123 * Unit.cs: Structs are sealed so there's no need for inheritance
4126 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4128 * PagedDataSource.cs: fix the upper bound for collection and ilist
4131 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4133 * DataGrid.cs: change the ListItemType for the item selected, set
4134 SelectedIndex before calling OnSelectedIndexChanged and set the selected
4135 item type correctly when creating the columns. Fixes bug #76334.
4138 * EditCommandColumn.cs: use a ForeColorLinkbutton, otherwise when
4139 selecting the row, the button keep the regular link color.
4141 * DataGridColumn.cs: made the class internal.
4143 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4145 * DataGrid.cs: fix breakaga of alternating item style in one of my
4148 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4150 * Calendar.cs: remove Console.
4151 * ListBox.cs: the name is the UniqueID, not the ClientID.
4152 * WebControl.cs: Attributes is case insensitive.
4154 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4156 * ImageButton.cs: use UniqueID in LoadPostData and also try just the
4157 UniqueID without appending a ".x" or ".y". Fixes several issues in
4158 mojoPortal. Thanks to Joe Audetter for his patience.
4160 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4162 * ButtonColumn.cs: it was lacking databinding, so copied most of it
4165 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4167 * FontInfo.cs: removed useless ctor.
4168 * Style.cs: keep here some commented out debugging code.
4169 * DataGrid.cs: the Items property does not create a new arraylist if
4170 the items_list was already initialized. Add case for Separator.
4171 * DataGridColumn.cs: when sorting is enabled, the linkbutton rendered
4172 in the header columns has a special ForeColor handling.
4174 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4176 * DataGrid.cs: PageCount must persist in ViewState too and returns the
4177 number of pages in the paged data source once we set that. Fix checks
4178 for visibility of the pager: no more 2 pagers when custom paging is
4181 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4183 * ImageButton.cs: fix a bug reported on the list. We were triggering the
4184 command event on every POST. And the 'name' attribute was not being
4185 rendered, so the 'x,y' coordinates didn't have 'uniqueid.' prepended
4186 and we couldn't find the values.
4188 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4190 * DataGrid.cs: fix the links for the numeric pager.
4192 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4194 * DataGrid.cs: when paging is enable, the actual number of items is not
4195 the number of items rendered before the postback, but that number times
4196 the number of pages. Now we store the page count in the viewstate. Also,
4197 as the number might be big, don't allocate an array of objects to fake
4198 the collection for the PagedDataSource, but use the new NCollection
4199 class instead, which provides cheap (memory wise) enumerator for an
4200 arbitrary number of items. Thanks to "Adriano" for the test case.
4202 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4204 * Xml.cs: the show must go on. Removed a few NotImplemented.
4206 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4208 * Button.cs: implemented 2.0 RaisePostBackEvent in terms of the
4209 existing code in 1.1 (or viceversa). RenderContents() does nothing.
4211 * DataGrid.cs: changed autoid api.
4213 * EditCommandColumn.cs: only 'Update' causes validation.
4215 * TableCell.cs: changed autoid api. RenderContents checks the number
4216 of controls to decide what to do, not the value of Text in the
4219 * TableRow.cs: changed autoid api.
4221 * BoundColumn.cs: SelectedItem was missing when attaching a DataBind
4222 event. When we get an EditItem, we need a TextBox to be created and
4223 this one will be the one that gets the event. Changed
4224 ItemDataBinding to deal with a TextBox too.
4226 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4228 * PagedDataSource.cs: fix IsLastPage. All tests pass.
4229 * DataGrid.cs: InitializePager always add a cell and it's brand new. No
4230 need to keep the old one in a field. Now all tests pass here too.
4232 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4234 * PagedDataSource.cs: don't use the properties when they just return a
4235 field. Fixed Count when paging is enabled. In GetEnumerator, IList goes
4236 before ICollection (otherwise, an IList will always fall under the
4237 ICollection case). The enumerator for lists will be empty if 'start'
4238 is beyond the list size. All existing tests pass, but one in
4239 DataGridTest that fails because of some problem with the paging.
4241 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4243 * Style.cs: fix the 2.0 build.
4245 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4247 * Style.cs: avoid unnecesary creation of a CssStyleCollection and
4248 instead write the style attributes directly to the HtmlTextWriter.
4250 * CheckBox.cs: adapted to new API.
4252 * DataGrid.cs: handle null data sources. Fixed the contions that make
4253 the table to be added to the Controls collection.
4255 * Calendar.cs: the table needed an ID and the attributes from the
4256 parent. Also don't create the ControlStyleCollection if it has not
4257 already been created.
4259 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4261 * DataGrid.cs: handle null data sources. Fixed the contions that make
4262 the table to be added to the Controls collection.
4264 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4266 * Calendar.cs: TrackViewState should be called upon creation, not on
4267 every get_XXX call. Cleanup.
4269 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4271 * DataGrid.cs: fix another test. The ID of the table generated by the
4272 datagrid is set to the one on the datagrid if no one set the ID for the
4275 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4277 * ListControl.cs: this fixes TestValueFieldAndTextFormat from
4280 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4282 * FontUnit.cs: use a table for FontSize names, as the X{1,2}.* ones are
4283 converted to string as X{1,2}-.*. All FontUnitTests pass now.
4284 * Unit.cs: throw a format exception when there's not number or minus
4285 sign in the first non-whitespace character.
4287 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4289 * ListControl.cs: SelectedIndex/SelectedValue can be set before
4290 DataBinding () is called on the control, so we have to keep this values
4291 around and use them after the data is read. If both properties are
4292 used, they must refer to the same item.
4294 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4296 * DataList.cs: fill in the data keys from BaseDataList so that the
4297 events can see them. Only assign DataItem when using data binding and
4298 nullify it after all events are raised.
4300 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4302 * DataList.cs: OnItemCommand() is raised any time OnBubbleEvent is
4305 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4307 * Button.cs: For 2.0 don't add the "name" attribute unless there's an
4309 * DataGrid.cs: Fix TagKey (table) for 2.0.
4310 * DataList.cs: Revert 2.0 specific stuff that was changed in RC.
4311 * DropDownList.cs: For 2.0 don't add the "name" attribute unless
4313 * ListBox.cs: For 2.0 don't add the "name" attribute unless there's an
4315 * RoleGroupCollection.cs: Fix "extra" exception in Remove method.
4316 * Style.cs: Fixed (2.0) RegisteredCssClass to returns String.Empty
4318 * TextBox.cs: For 2.0 don't add the "name" attribute unless there's an
4320 * TreeView.cs: Added declarative security (Link and Inheritance
4321 demands) for Minimal.
4322 * XmlDataSource.cs: Added declarative security (Link and Inheritance
4323 demands) for Minimal.
4325 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4327 * FontUnit.cs: Added, but only for 1.x, declarative security (Link and
4328 Inheritance demands) for Minimal.
4329 * Label.cs: Added declarative security (Link and Inheritance demands)
4331 * ListItem.cs: Added declarative security (LinkDemands) for Minimal.
4332 * ListItemCollection.cs: Added declarative security (LinkDemands) for
4334 * MonthChangedEventArgs.cs: Added declarative security (Link and, for
4335 2.0, Inheritance demands) for Minimal.
4336 * PagedDataSource.cs: Added declarative security (LinkDemands) for
4338 * Panel.cs: Added declarative security (Link and Inheritance demands)
4340 * Repeater.cs: Added declarative security (Link and Inheritance
4341 demands) for Minimal.
4342 * RepeatInfo.cs: Added declarative security (LinkDemands) for Minimal.
4343 * SelectedDatesCollection.cs: Added declarative security (LinkDemands)
4345 * TargetConverter.cs: Added declarative security (Link and Inheritance
4346 demands) for Minimal.
4347 * Unit.cs: Added, but only for 1.x, declarative security (Link and
4348 Inheritance demands) for Minimal.
4349 * ValidatedControlConverter.cs: Added declarative security (Link and
4350 Inheritance demands) for Minimal.
4351 * WebColorConverter.cs: Added declarative security (Link and
4352 Inheritance demands) for Minimal.
4353 * Xml.cs: Added declarative security (Link and Inheritance demands)
4355 * ValidationSummary.cs: Added declarative security (Link and
4356 Inheritance demands) for Minimal.
4358 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4360 * UnitConverter.cs: Remove conversion from Unit (see unit tests).
4362 2005-09-22 Ben Maurer <bmaurer@ximian.com>
4364 * BulletedList.cs: Remove the cacheEnabled thing. I was thinking
4365 it took O(height) time, not O(1).
4367 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
4369 * CheckBoxList.cs: Fix unit test failure (which matched bug #48802).
4371 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
4373 * AdCreatedEventArgs.cs: Added declarative security (Link and, for
4374 2.0, Inheritance demands) for Minimal.
4375 * BaseCompareValidator.cs: Added declarative security (Link and
4376 Inheritance demands) for Minimal.
4377 * BaseDataBoundControl.cs: Added declarative security (Link and
4378 Inheritance demands) for Minimal.
4379 * BaseValidator.cs: Added declarative security (Link and Inheritance
4380 demands) for Minimal.
4381 * BoundColumn.cs: Added declarative security (Link and Inheritance
4382 demands) for Minimal.
4383 * ButtonColumn.cs: Added declarative security (Link and Inheritance
4384 demands) for Minimal.
4385 * CalendarDay.cs: Added declarative security (Link and Inheritance
4386 demands) for Minimal.
4387 * CheckBoxList.cs: Added declarative security (Link and Inheritance
4388 demands) for Minimal.
4389 * CompareValidator.cs: Added declarative security (Link and
4390 Inheritance demands) for Minimal.
4391 * CustomValidator.cs: Added declarative security (Link and Inheritance
4392 demands) for Minimal.
4393 * DataBoundControl.cs: Added declarative security (Link and
4394 Inheritance demands) for Minimal.
4395 * DataGridItemCollection.cs: Added declarative security (Link and
4396 Inheritance demands) for Minimal.
4397 * DataKeyCollection.cs: Added declarative security (LinkDemands) for
4399 * DataListItemCollection.cs: Added declarative security (LinkDemands)
4401 * DataListItem.cs: Added declarative security (Link and Inheritance
4402 demands) for Minimal.
4403 * FontNamesConverter.cs: Added declarative security (Link and
4404 Inheritance demands) for Minimal.
4405 * HyperLink.cs: Added declarative security (Link and Inheritance
4406 demands) for Minimal.
4407 * HyperLinkColumn.cs: Added declarative security (Link and Inheritance
4408 demands) for Minimal.
4409 * Image.cs: Added declarative security (Link and Inheritance demands)
4412 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4414 * BaseDataList.cs: it's the DataKeysArray what is stored in "DataKeys",
4416 * DataGrid.cs: add the keys to BaseDataList.DataKeysArray. When using
4417 a data source, first try reflection, then componentmodel. If we get
4418 an enumerator, keep it around, as MS only calls GetEnumerator once.
4419 Throw an exception if no columns can be created from the given data
4420 source. Tested with DbDataRecord, DataTable, ArrayList and
4421 ICustomTypeDescriptor.
4423 2005-09-20 Sebastien Pouliot <sebastien@ximian.com>
4425 * AccessDataSource.cs: Added declarative security (Link and Inheritance
4426 demands) for Minimal. Added [ToolboxBitmap] on class.
4427 * AdRotator.cs: Added declarative security (Link and Inheritance
4428 demands) for Minimal. Removed extra Page and ViewState properties.
4429 * BulletedList.cs: Added declarative security (Link and Inheritance
4430 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4431 * Button.cs: Added declarative security (Link and Inheritance demands)
4432 for Minimal. Added [SupportsEventValidation] on class (2.0).
4433 * Calendar.cs: Added declarative security (Link and Inheritance
4434 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4435 * CheckBox.cs: Added declarative security (Link and Inheritance
4436 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4437 * CompositeControl.cs: Added declarative security (Link and Inheritance
4438 demands) for Minimal. Added new protected RecreateChildControls method.
4439 * DataControlCommands.cs: Added declarative security (LinkDemands) for
4440 Minimal. Added private ctor.
4441 * DataGrid.cs: Added declarative security (Link and Inheritance
4442 demands) for Minimal. Fixed properties for 2.0 (mostly removing
4443 [Bindable]). Added override for TagKey property.
4444 * DataGridColumn.cs: Added declarative security (Link and Inheritance
4445 demands) for Minimal. Added [UrlProperty] on HeaderImageUrl (2.0).
4446 * DataGridItem.cs: Added declarative security (Link and Inheritance
4447 demands) for Minimal. Added IDataItemContainer interface for 2.0.
4448 * DataGridPagerStyle.cs: Added declarative security (LinkDemands) for
4449 Minimal. Remove [Bindable] from 2.0 and add [Localizable].
4450 * DataList.cs: Removed [Load|Save]ControlState methods.
4451 * DropDownList.cs: Added declarative security (Link and Inheritance
4452 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4453 * EditCommandColumn.cs: Added declarative security (Link and
4454 Inheritance demands) for Minimal. Added missing attributes,
4455 [DefaultValue] and [Localize] for 2.0.
4456 * FontInfo.cs: Added declarative security (Link and Inheritance
4457 demands) for Minimal. Remove [Bindable] and added [RefreshProperties]
4459 * Login.cs: Added declarative security (Link and Inheritance demands)
4460 for Minimal. Fixed IsStyleEmpty. Removed extra [Themeable] attributes.
4461 * ImageButton.cs: Added declarative security (Link and Inheritance
4462 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4463 * LinkButton.cs: Added declarative security (Link and Inheritance
4464 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4465 * ListBox.cs: Added declarative security (Link and Inheritance demands)
4466 for Minimal. Added [SupportsEventValidation] on class (2.0).
4467 * Literal.cs: Added declarative security (Link and Inheritance demands)
4468 for Minimal. Removed [EditorBrowsable] on CreateControlCollection method.
4469 * LoginStatus.cs: Added missing [Themeable] attributes on properties.
4470 * MenuItemStyle.cs: Changed IsEmpty to public (required to compile -
4471 but will be shown as extra).
4472 * RadioButton.cs: Added declarative security (Link and Inheritance
4473 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4474 * RadioButtonList.cs: Added declarative security (Link and Inheritance
4475 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4476 * RangeValidator.cs: Added declarative security (Link and Inheritance
4477 demands) for Minimal. Added missing [Themeable] attributes.
4478 * RegularExpressionValidator.cs: Added declarative security (Link and
4479 Inheritance demands) for Minimal. Remove [Bindable] from 2.0 and add
4481 * RoleGroupCollection.cs: Added declarative security (Link and
4482 Inheritance demands) for Minimal. Fixed base class (changed in RC).
4483 Re-implemented CopyTo. Removed some methods.
4484 * Style.cs: Added declarative security (Link and Inheritance demands)
4485 for Minimal. Remove static IsStyleEmpty and ToString (from 2.0). IsEmpty
4486 is now public in 2.0.
4487 * Table.cs: Added declarative security (Link and Inheritance demands)
4488 for Minimal. Added [SupportsEventValidation] on class (2.0).
4489 * TableCell.cs: Fixed PersistenceMode for 2.0.
4490 * TextBox.cs: Added declarative security (Link and Inheritance demands)
4491 for Minimal. Added [SupportsEventValidation] on class (2.0).
4492 * TreeNodeStyle.cs: Changed IsEmpty to public (required to compile -
4493 but will be shown as extra).
4494 * WebControl.cs: Added declarative security (Link and Inheritance
4495 demands) for Minimal. Removed [EditorBrowsable] on ControlStyleCreated
4498 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4500 * TableStyle.cs: fixed typo that prevented restoring GridLines from
4503 * DataGrid.cs: the table does not get an auto ID. When restoring from
4504 viewstate, use all the saved columns, not just that data bound ones. Set
4505 the owner of the BoundColumns created. Save/restore columns.
4506 OnItemCreated happens after the item is initialized and the data item is
4507 set before the event and nullified after OnItemDataBound.
4508 Add the render_table to the Controls immediately, otherwise we might get
4509 errors from child controls such as "must be rendered inside a form".
4510 Keep the items created in the list waiting for them.
4511 The table uses the attributes from the DataGrid and ControlStyle.
4512 Raise OnItemCommand on all bubble events and don't propagate bubble
4513 event up in the hierarchy
4515 * TableCell.cs: it does not get an automatic ID.
4516 * BoundColumn.cs: FormatDataValue returns an empty string on null input
4517 (there was already a test for this).
4521 2005-09-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4523 * DataGridColumnCollection.cs: track the view state in the newly added
4526 2005-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4528 * DataGrid.cs: merge column styles too. Fixes bug #76106.
4529 * DataGridColumn.cs: new internal method to retrieve the styles without
4530 creating an instance for them.
4532 2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
4534 * DataControlField.cs, HotSpot.cs, MenuItem.cs, Parameter.cs,
4535 Style.cs, TreeNode.cs: Replace _empty_ StateBag.SetDirty () with
4536 StateBag.SetDirty (true).
4538 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
4540 * Menu.cs: Fixed parameter orders for CreateStyleRule.
4542 2005-09-13 Chris Toshok <toshok@ximian.com>
4544 * Style.cs: corcompare stuff.
4546 * RequiredFieldValidator.cs: more corcompare stuff.
4548 * CheckBoxList.cs: clean up some of the interface methods vs
4549 protected virtual 2.0 calls.
4551 * SubMenuStyle.cs: corcompare says this should implement
4552 ICustomTypeDescriptor... sooo, make it.
4554 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4556 * TableCell.cs: do the same as HyperLink and others in
4557 AddParsedSubobject so that adding a literal control does not remove the
4558 existing controls if any. Fixes bug #76078.
4560 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4562 * GridView.cs: don't duplicate class attribute. Fixes bug #75936.
4564 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4566 * ImageButton.cs: fix invalid cast exception.
4568 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4570 * ListItem.cs: throw in AddParsedSubObject if the object is not a
4572 * RadioButtonList.cs: implemented LoadPostData and
4573 RaisePostDataChangedEvent.
4575 2005-09-09 Chris Toshok <toshok@ximian.com>
4577 * CheckBox.cs, CheckBoxList.cs, DropDownList.cs, ImageButton.cs,
4578 ListBox.cs, RadioButton.cs, RadioButtonList.cs, TextBox.cs: fix up
4579 LoadPostData/RaisePostDataChangedEvent.
4581 2005-09-09 Chris Toshok <toshok@ximian.com>
4583 * FontInfo.cs (IsEmpty): new internal property, used by
4586 * Style.cs (IsEmpty): make sure the fontinfo is null or empty as
4589 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4591 * ListItemCollection.cs: remove obsoleted methods.
4592 * ListBox.cs: use IStateManager on the item collection.
4594 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
4596 * Use C# 1.0 style of delegate instantiating. Needed to compile
4597 Grasshopper (TARGET_J2EE) which uses MS C# 1.0 compiler and not msc.
4599 2005-09-07 Chris Toshok <toshok@ximian.com>
4601 * Calendar.cs (WriteDay): always add BackColor=Silver,
4602 ForeColor=White to selected day cells, before copying over the
4603 selectedDayStyle, if it exists.
4604 (WriteDays): fix nunit test - if the first day of the month falls
4605 on the first day of the week, go back one week (effectively adding
4606 a row of dates from the previous month.)
4607 (WriteTitle): don't copy the control style to the tableTitle,
4608 since it might have height specifications, which would make the
4609 title look rather off.
4611 2005-09-07 Chris Toshok <toshok@ximian.com>
4613 * ValidationSummary.cs (AddAttributesToRender): we only set
4614 display=none if there are no errors.
4616 * BaseValidator.cs (OnPreRender): fix a JS error - on submit we
4617 call ValidatorOnSubmit, not ValidatorCommonOnSubmit.
4619 2005-09-07 Chris Toshok <toshok@ximian.com>
4621 * ListControl.cs (SelectedIndex): add comment about how you'd
4622 think OnSelectedIndexChanged would be called.. and you'd be wrong.
4623 (Text): implement in terms of SelectedValue.
4624 (TagKey): do the HAVE_CONTROL_ADAPTERS two-step.
4625 (LoadControlState): implement - this is where the selected index
4626 ArrayList gets stuffed in 2.0.
4627 (OnInit): call Page.RegisterRequiresControlState.
4628 (OnTextChanged): implement.
4629 (RenderContents): for now just chain up to base.RenderContents.
4630 (SaveControlState): save our control state properly.
4631 (GetSelectedIndices): split this out from SaveViewState to it can
4632 be used by both that and SaveControlState.
4633 (SaveViewState): mangle this function so it works in both 2.0 and
4635 (LoadViewState): same.
4637 2005-09-06 Chris Toshok <toshok@ximian.com>
4639 * BaseValidator.cs (AddAttributesToRender): render our ClientID if
4640 we weren't assigned an ID.
4642 * ValidationSummary.cs (AddAttributesToRender): same.
4644 2005-09-06 Chris Toshok <toshok@ximian.com>
4646 * WebControl.cs: revert the last change.
4648 2005-09-06 Chris Toshok <toshok@ximian.com>
4650 * WebControl.cs (AddAttributesToRender): always render ClientID.
4652 * ValidationSummary.cs (Render): same.
4654 * BaseValidator.cs (RegisterValidatorDeclaration): use ClientID
4657 2005-09-06 Chris Toshok <toshok@ximian.com>
4659 * ValidationSummary.cs (Render): only do the JS stuff when the
4660 validators on the page are uplevel.
4662 * BaseValidator.cs (Render): remove unnecessary comment.
4664 2005-09-05 Chris Toshok <toshok@ximian.com>
4666 * BaseDataBoundControl.cs (DataSourceID): testing reveals this is
4667 stored in the ViewState.
4669 2005-09-02 Chris Toshok <toshok@ximian.com>
4671 * Repeater.cs (GetData): change this slightly so the Repeater
4672 doesn't keep a ref to the return value of GetData.
4674 2005-09-01 Chris Toshok <toshok@ximian.com>
4676 * ListControl.cs (AppendDataBoundItems): implement (2.0)
4679 2005-09-01 Chris Toshok <toshok@ximian.com>
4681 * System.Web.UI.WebControls/MonthChangedEventArgs.cs,
4682 System.Web.UI.WebControls/ValidatedControlConverter.cs,
4683 System.Web.UI.WebControls/Xml.cs,
4684 System.Web.UI.WebControls/RegularExpressionValidator.cs,
4685 System.Web.UI.WebControls/ServerValidateEventArgs.cs,
4686 System.Web.UI.WebControls/Menu.cs,
4687 System.Web.UI.WebControls/MailMessageEventArgs.cs,
4688 System.Web.UI.WebControls/MenuItemStyle.cs,
4689 System.Web.UI.WebControls/RangeValidator.cs,
4690 System.Web.UI.WebControls/RepeaterItemEventArgs.cs,
4691 System.Web.UI.WebControls/MenuItem.cs,
4692 System.Web.UI.WebControls/RepeaterCommandEventArgs.cs,
4693 System.Web.UI.WebControls/DataGridSortCommandEventArgs.cs,
4694 System.Web.UI.WebControls/DataGridCommandEventArgs.cs,
4695 System.Web.UI.WebControls/DataGridPageChangedEventArgs.cs,
4696 System.Web.UI.WebControls/XmlBuilder.cs,
4697 System.Web.UI.WebControls/ImageButton.cs: someone stop me. more
4700 2005-09-01 Chris Toshok <toshok@ximian.com>
4702 * System.Web.UI.WebControls/Button.cs,
4703 System.Web.UI.WebControls/ButtonField.cs,
4704 System.Web.UI.WebControls/DataControlField.cs,
4705 System.Web.UI.WebControls/BaseCompareValidator.cs,
4706 System.Web.UI.WebControls/AutoGeneratedField.cs,
4707 System.Web.UI.WebControls/CustomValidator.cs,
4708 System.Web.UI.WebControls/Content.cs,
4709 System.Web.UI.WebControls/BoundField.cs,
4710 System.Web.UI.WebControls/AdRotator.cs,
4711 System.Web.UI.WebControls/ButtonColumn.cs,
4712 System.Web.UI.WebControls/CompareValidator.cs,
4713 System.Web.UI.WebControls/AdCreatedEventArgs.cs: More corcompare
4714 work. Stub things out, and add attributes.
4716 2005-09-01 Chris Toshok <toshok@ximian.com>
4718 * Button.cs, ButtonField.cs, FontInfo.cs, Style.cs, Xml.cs,
4719 CommandField.cs, HyperLinkColumn.cs, Table.cs,
4720 RegularExpressionValidator.cs, DataGridPagerStyle.cs, Label.cs,
4721 CheckBox.cs, RadioButton.cs, TableStyle.cs, ListControl.cs,
4722 Image.cs, BaseCompareValidator.cs, BaseDataList.cs, DataList.cs,
4723 TemplateColumn.cs, RangeValidator.cs, ImageField.cs,
4724 BaseValidator.cs, CustomValidator.cs, TextBox.cs,
4725 ButtonFieldBase.cs, BoundField.cs, CheckBoxList.cs,
4726 RadioButtonList.cs, RequiredFieldValidator.cs, AdRotator.cs,
4727 Repeater.cs, DropDownList.cs, CheckBoxField.cs, HyperLink.cs,
4728 XmlDataSource.cs, Panel.cs, DataGrid.cs, ButtonColumn.cs,
4729 CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs,
4730 WebControl.cs, Literal.cs, ValidationSummary.cs, ImageButton.cs,
4731 TableRow.cs, LinkButton.cs, DataGridColumn.cs, BoundColumn.cs,
4732 TableItemStyle.cs: Add some WebCategory and WebSysDescription
4735 2005-09-01 Chris Toshok <toshok@ximian.com>
4737 * AccessDataSource.cs: corcompare work.
4739 * SqlDataSource.cs: same.
4741 2005-09-01 Miguel de Icaza <miguel@novell.com>
4743 * Various places: make sure that the DefaultValue matches the
4744 type. Thanks to Michael for pointing this out.
4746 In future audits, you might want to use the following awk command:
4748 awk '/DefaultValue/ { v=$0; looking = 1; } /public/ && looking &&
4749 !/string/ && !/ int / && !/ bool / { print FILENAME; print v;
4750 print $0; looking = 0; } /public/ && looking { looking = 0; } '
4753 The above skips bools, strings and ints as those were fine as we
4754 set them. The bug was on the other ones.
4756 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4758 * Repeater.cs: fix the build.
4760 2005-08-31 Chris Toshok <toshok@ximian.com>
4762 * Repeater.cs: lots of 2.0 work, much of it c&p'ed from
4763 {Base}DataList, and also from debug spew garnered from some
4764 Repeater subclass tests on MS.
4765 (CreateControlHierarchy): in 2.0 if IsBonudUsingDataSourceID get
4766 the IEnumerable by calling GetData().
4767 (DataBind): reset RequiresDataBinding to false (2.0).
4768 (DataMember): copy the set implementation from DataList, and add
4769 2.0 code to call OnDataPropertyChanged if we're !Initialiezd.
4770 (DataSource): more c&p.
4771 (DataSourceID); implement (2.0)
4772 (Initialized): implement (2.0)
4773 (IsBoundUsingDataSource): implement (2.0)
4774 (RequiresDataBinding): implement (2.0)
4775 (SelectArguments): implement (2.0)
4776 (CreateDataSourceSelectArguments): implement (2.0)
4777 (EnsureDataBound): implement (2.0)
4778 (GetData): implement.
4779 (OnDataPropertyChanged): remove the NIE, but leave the MonoTODO
4781 (OnDataSourceViewChanged): set RequiresDataBinding to true, but
4782 leave the MonoTODO. (2.0)
4783 (OnInit): call base.OnInit instead of throwing NIE, but leave the
4785 (OnLoad): implement.
4786 (OnPreRender): implement.
4787 (ConnectToDataSource): new method - look for the right control.
4789 2005-08-31 Chris Toshok <toshok@ximian.com>
4791 * XmlDataSourceView.cs: fix the scope of our select. Don't use
4792 call SelectNodes on the XmlDocument, not on
4793 XmlDocument.DocumentElement.
4795 2005-08-31 Chris Toshok <toshok@ximian.com>
4797 * XmlDataSourceView.cs (.ctor): remove the nodelist parameter.
4798 (DoXPathSelect): put the xpath selection stuff here.
4799 (ExecuteSelect): call DoXPathSelect if we need to (if nodes ==
4802 * XmlDataSource.cs (IDataSource.GetView): don't do the XPath
4803 select here, the view does it.
4805 2005-08-31 Jackson Harper <jackson@ximian.com>
4807 * DataList.cs: Remove some debugging code that was starting to bug
4810 2005-08-31 Chris Toshok <toshok@ximian.com>
4812 * XmlDataSourceNodeDescriptor.cs: implement IXPathNavigable, and
4813 create our Navigator by calling node.CreateNavigator().
4815 2005-08-31 Chris Toshok <toshok@ximian.com>
4817 * XmlDataSource.cs (GetXmlDataDocument): rename this to
4818 GetXmlDocument, and change the return value from XmlDataDocument
4820 (LoadXmlDataDocument): similar change.
4821 (Save): xmlDataDocument -> xmlDocument.
4822 (CanBeSaved): there's no ReadOnly attribute.
4823 (LoadViewState, SaveViewState, TrackViewState): nuke.
4824 (GetHierarchicalView): xmlDataDocument -> xmlDocument.
4825 (CacheDuration): stub out with NIE.
4826 (CacheExpirationPolocy): same.
4827 (CacheKeyDependency): same.
4828 (EnableCaching): same.
4830 (Data, DataFile): xmlDataDocument -> xmlDocument.
4831 (Schema, SchemaFile): nuke.
4832 (Transform, TransformFile): xmlDataDocument -> xmlDocument.
4834 2005-08-30 Lluis Sanchez Gual <lluis@novell.com>
4836 * SubMenuStyle.cs, MenuItemStyle.cs, TreeNodeStyle.cs:
4837 Don't use the obsolete IsSet method.
4838 * Menu.cs: Implement IPostBackEventHandler.RaisePostBackEvent.
4839 * CheckBox.cs: Implement some 2.0 methods.
4840 * GridView.cs: Removed some "throw new NotImplementedException"
4842 2005-08-29 Chris Toshok <toshok@ximian.com>
4844 * TreeView.cs: Use the StateBag accessors Ben added, and implement
4845 SkipLinkText and Visible.
4847 2005-08-29 Chris Toshok <toshok@ximian.com>
4849 * TreeView.cs: fix typo in an attribute.
4851 2005-08-29 Jackson Harper <jackson@ximian.com>
4853 * PagedDataSource.cs: If it's not a list or collection we don't
4854 use a bounded enumerator.
4856 2005-08-29 Chris Toshok <toshok@ximian.com>
4858 * LinkButton.cs: fix some 2.0 Page/ClientScript obsolete warnings.
4860 * CheckBox.cs: same.
4862 * BaseValidator.cs: same.
4864 * DropDownList.cs: same.
4866 * ValidationSummary.cs: same.
4868 2005-08-28 Chris Toshok <toshok@ximian.com>
4870 * XmlHierarchyData.cs: fix IHierarchyData.GetParent.
4872 2005-08-26 Chris Toshok <toshok@ximian.com>
4874 * TextBox.cs: implement ValidationGroup and CausesValidation
4877 2005-08-26 Lluis Sanchez Gual <lluis@novell.com>
4879 * Style.cs: Implemented FillStyleAttributes, GetStyleAttributes and
4882 2005-08-26 Chris Toshok <toshok@ximian.com>
4884 * Unit.cs: implement the 2.0 ToString(IFormatProvider) method.
4886 * FontUnit.cs: add two 2.0 ctors, and the 2.0
4887 ToString(IFormatProvider) method.
4889 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
4891 * CheckListBox.cs: Nothing is rendered (i.e. no empty table) in 2.0 if
4892 no items are present in the list.
4893 * RoleGroup.cs: Added missing attributes.
4894 * RoleGroupCollection.cs: Added missing attributes and some (yet-to-be-
4895 documented) methods.
4896 * TableStyle.cs: *for 2.0* adding a "url({0})" to background image
4897 must be done in the HtmlTextWriter (not in the TableStyle).
4899 2005-08-26 Chris Toshok <toshok@ximian.com>
4901 * Calendar.cs (UseAccessibleHeader): implement.
4902 (RaisePostBackEvent): some #ifdef ugliness to get this all working
4903 propertly between 1.x and 2.0
4904 (WriteDayHeader): if UseAccessibleHeader == true, render header
4905 cells as th's, not td's, and add abbr and scope attributes.
4907 2005-08-25 Chris Toshok <toshok@ximian.com>
4909 * Calendar.cs (Caption, CaptionAlign): implement these properties.
4910 (Render): if we have a non-empty caption, show it.
4911 (WriteCaption): new method, output the caption.
4913 2005-08-25 Chris Toshok <toshok@ximian.com>
4915 * Calendar.cs (Render): Copy the entire style from the Calendar to
4916 the Table, not just the font.
4917 (WriteDay): don't just write the link/text/etc. Create a
4918 LiteralControl as a child of the cell, before the call to
4919 OnDayRender, with its text set to the day number. After
4920 OnDayRender, set the literal's text to either the number again (if
4921 it's not selectable) or the full text of the js __doPostBack
4922 hyperlink (if it is.) Also, use cell.RenderControl here so we can
4923 render child controls with the id's listed properly (and arguably
4925 (ApplyTitleStyleCell): remove.
4926 (WriteTitle): apply the titleStyle to the enclosing table, not the
4927 table cell containing the month name. Also, copy from the
4928 Calendar's ControlStyle to populate tableTitle's style initially.
4929 We end up with more (superfluous) style attributes than MS, but
4930 it's better than having less.
4932 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
4934 * HyperLink.cs: Fixed 2.0 rendering for Alt and Border|BorderWidth when
4937 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
4939 * Style.cs: Implemented 2.0 CopyTextStylesFrom(), SetRegisteredCssClass()
4940 and RegisteredCssClass property
4942 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
4944 * LoginView.cs: Fixed attributes.
4945 * Style.cs: Change SetRegisteredCssClass to internal and not to throw
4946 an exception to allow pages to work on 2.x.
4948 2005-08-25 Chris Toshok <toshok@ximian.com>
4950 * LinkButton.cs (PostBackUrl): correct the UrlProperty attribute.
4952 * Unit.cs: add [Serializable] and the 2.0 specific ToString(), not
4955 * HiddenField.cs: stub out this class and label everything
4958 2005-08-25 Jackson Harper <jackson@ximian.com>
4960 * DataGrid.cs: Disable the pager row if there no paging enabled
4963 2005-08-25 Chris Toshok <toshok@ximian.com>
4965 * SqlDataSourceFilteringEventArgs.cs: add some usings, and fix a
4968 * SqlDataSourceSelectingEventArgs.cs: IDbCommand -> DbCommand, and
4969 add a using statement.
4971 2005-08-25 Chris Toshok <toshok@ximian.com>
4973 * SqlDataSourceFilteringEventArgs.cs: new 2.0 class, as per
4976 * SqlDataSourceFilteringEventHandler.cs: new 2.0 delegate, as per
4979 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
4981 * Login.cs: Added rendering and fixed parts of the authentication.
4982 Now using IStateManager to allow compilation in another assembly (e.g.
4983 to test the control under IIS). Needs more tests (error conditions)
4984 once we get a "real" Membership provider running.
4985 * Style.cs: Fixed IsStyleEmpty (name ;-) and when null is provided
4988 2005-08-25 Chris Toshok <toshok@ximian.com>
4990 * SqlDataSourceCommandType.cs: new 2.0 enum, as per corcompare.
4992 2005-08-25 Chris Toshok <toshok@ximian.com>
4994 * AdRotator.cs: stub out enough of the 2.0 methods/properties by
4995 calling base.Foo to get the standalone adrotator (1.0) tests to
4996 run without throwing exceptions.
4998 2005-08-25 Chris Toshok <toshok@ximian.com>
5000 * ValidationSummary.cs (ValidationGroup): implement.
5001 (Render): use Page.GetValidators in .net 2.0, so we can support
5002 ValidationGroups. Also, <br>'s get rendered as <br /> in .net
5005 2005-08-25 Chris Toshok <toshok@ximian.com>
5007 * ImageButton.cs (TagKey): disable (but flag) the "virtual new"
5008 2.0 attribute modifiers, and revert back to "override".
5010 * ListBox.cs (BorderColor): disable (but flag) the "virtual new"
5011 2.0 attribute modifiers, and revert back to "override".
5012 (BorderStyle): same.
5013 (BorderWidth): same.
5015 * TextBox.cs (SaveViewState): implement naively, calling
5017 (TagKey): disable (but flag) the "virtual new" 2.0 attribute
5018 modifiers, and revert back to "override".
5020 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
5022 * Style.cs, TableStyle.cs, TableItemStyle.cs, DataGridPagerStyle.cs:
5023 Load ViewState for derived classes; no public LoadViewState override
5024 exists in those classes
5025 * Style.cs: Added 2.0 IsStyleEmpty method
5027 2005-08-25 Jackson Harper <jackson@ximian.com>
5029 * DataGrid.cs: The number of pages set in the pager is specified
5032 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5034 * LoginView.cs: New (2.0). Work in progress.
5036 2005-08-24 Chris Toshok <toshok@ximian.com>
5038 * Button.cs, DetailsView.cs, FontInfo.cs, Style.cs, Xml.cs,
5039 Menu.cs, ObjectDataSource.cs, CheckBox.cs, RadioButton.cs,
5040 ListControl.cs, SiteMapPath.cs, BulletedList.cs,
5041 DataBoundControl.cs, ListItemCollection.cs, GridView.cs,
5042 Wizard.cs, TextBox.cs, CheckBoxList.cs, RadioButtonList.cs,
5043 PagedDataSource.cs, FormView.cs, AdRotator.cs, Repeater.cs,
5044 DropDownList.cs, MultiView.cs, HierarchicalDataBoundControl.cs,
5045 Calendar.cs, ListBox.cs, WebControl.cs, Literal.cs,
5046 ValidationSummary.cs, ImageButton.cs, LinkButton.cs, TreeView.cs:
5047 Add MonoTODO's for all things that throw NotImplementException.
5049 2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
5051 * RoleGroup.cs: New (2.0). Complete implementation.
5052 * RoleGroupCollection.cs: New (2.0). Mostly complete implementation.
5054 2005-08-23 Chris Toshok <toshok@ximian.com>
5056 * BaseCompareValidator.cs (GetFullYear): it turns out the docs up
5057 on msdn.microsoft.com tell exactly how the .net 2.0 stuff works,
5058 even though they were written for the 1.0 stuff.
5060 2005-08-23 Chris Toshok <toshok@ximian.com>
5062 * RepeatInfo.cs: some massaging to support both the 1.x and 2.0
5063 output. Our tests now pass on both mono and ms, with both 1.x and
5066 2005-08-23 Sebastien Pouliot <sebastien@ximian.com>
5068 * Login.cs: Throw exception if the specified provider doesn't exists.
5069 * LoginStatus.cs: Complete events.
5071 2005-08-22 Jackson Harper <jackson@ximian.com>
5073 * DataGrid.cs (CreateControlHierarchy): Clear out the old pager after creating the
5075 (InitializeNumericPager): Now that the pager actually renders
5076 properly I can see that I was computing it incorrectly.
5078 2005-08-22 Jackson Harper <jackson@ximian.com>
5080 * DataGrid.cs (RenderTable): Make sure the new table gets the
5082 (CreateColumnSet): Clear the data source columnbs before adding
5083 new ones regardless of whether or not a property descriptor was
5085 (InitializePager): pager_cell needs to be a member so it isn't
5086 created more then once per a render.
5087 (InitializeNumericPager): Compute start and end more
5089 - Link commands are 1 indexed.
5090 (CreateControlHierarchy): Clear the table before we begin
5092 - Revert patch that made adding the pagers conditional. This is
5093 incorrect, the pagers are always added. Only their visibility is
5094 affected by the pager style.
5095 - Save the entire count in the viewstate, not just the rendered
5096 count. So when paging is enabled the pager's count isn't broken by
5099 2005-08-22 Chris Toshok <toshok@ximian.com>
5101 * LinkButton.cs (ValidationGroup): implement.
5102 (IPostBackEventHandler.RaisePostBackEvent): in the 2.0 profile,
5103 pass ValidationGroup to Page.Validate.
5105 2005-08-22 Chris Toshok <toshok@ximian.com>
5107 * ImageButton.cs (ValidationGroup): implement.
5108 (IPostBackEventHandler.RaisePostBackEvent): if we cause
5109 validation, call Page.Validate properly (in both profiles).
5111 2005-08-22 Chris Toshok <toshok@ximian.com>
5113 * Button.cs (IPostBackEventHandler.RaisePostBackEvent): in the 2.0
5114 case, pass ValidationGroup to Page.Validate.
5115 (ValidationGroup): implement using ViewState.
5117 2005-08-22 Chris Toshok <toshok@ximian.com>
5119 * BaseValidator.cs (Text): 2.0 only. implement naively, just
5121 (OnInit): add 2.0 support for validation groups.
5124 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
5126 * LoginName.cs: New (2.0) web control.
5127 * LoginStatus.cs: New (2.0) web control.
5129 2005-08-19 Chris Toshok <toshok@ximian.com>
5131 * LinkButton.cs (ValidationGroup): implement getter/setter.
5132 (RaisePostBackEvent): implement naively, by c&p'ing the old
5133 implementation of IPostBackEventHandler.RaisePostBackEvent, but
5134 making use of the ValidationGroup in the call to Page.Validate.
5138 * Style.cs (LoadViewState): set our style flags for all the things
5139 we have flags for. Seems like the subclass flags should be
5140 handled in overridden LoadViewState methods, but none of the Style
5141 subclasses seem to override this method.
5143 2005-08-19 Chris Toshok <toshok@ximian.com>
5145 * TableStyle.cs (Merge, MergeWith): make these look a bit more
5146 like Copy/CopyFrom, with the styles checks instead of just
5149 * TableItemStyle.cs: same, only also make Copy/CopyFrom work as in
5152 2005-08-19 Chris Toshok <toshok@ximian.com>
5154 * DataGrid.cs (InitializePager): don't unconditionally set
5155 pager_cell to the numeric pager (especially after setting it
5156 conditionally to the nextprev pager.)
5157 (InitializeNumericPager): the link buttons don't participate in
5159 (InitializeNextPrevPager): same.
5160 (CreateControlHierarchy): create the top/bottom pagers only if the
5161 PagerStyle says too.
5163 2005-08-19 Sebastien Pouliot <sebastien@ximian.com>
5165 * TableCell.cs: Added AssociatedHeaderCellID property for 2.0.
5167 2005-08-18 Chris Toshok <toshok@ximian.com>
5169 * DataList.cs (CreateControlHierarchy): Call Controls.Clear() at
5170 the start of this method so templates are created properly.
5172 2005-08-18 Dick Porter <dick@ximian.com>
5174 * Button.cs, DetailsView.cs, Xml.cs, Table.cs, Menu.cs,
5175 DataControlButton.cs, Label.cs, ObjectDataSource.cs, CheckBox.cs,
5176 RadioButton.cs, ListControl.cs, Image.cs, SiteMapPath.cs,
5177 BaseDataList.cs, DataList.cs, BulletedList.cs,
5178 DataBoundControl.cs, Login.cs, GridView.cs,
5179 CompositeDataBoundControl.cs, Wizard.cs, BaseValidator.cs,
5180 TextBox.cs, CheckBoxList.cs, RadioButtonList.cs, FormView.cs,
5181 AdRotator.cs, Repeater.cs, MenuItemTemplateContainer.cs,
5182 DropDownList.cs, HyperLink.cs, ImageMap.cs, MultiView.cs,
5183 CompositeControl.cs, HierarchicalDataBoundControl.cs, Calendar.cs,
5184 ListBox.cs, TableCell.cs, WebControl.cs, Literal.cs,
5185 BaseDataBoundControl.cs, ValidationSummary.cs, ImageButton.cs,
5186 LinkButton.cs, TreeView.cs: 2.0 API fixes and stubs, and attribute
5189 2005-08-18 Sebastien Pouliot <sebastien@ximian.com>
5191 * BaseDataList.cs: Added a TODO for DataKeyField as we're not using it
5193 * DataList.cs: Reworked CreateControlHierarchy to avoid allocating an
5194 empty array of objects just to get the number of items.
5195 * Login.cs: Implemented OnBubbleEvent and parts of the authentication
5196 but we're missing some bits from the class lib to complete all this...
5198 2005-08-17 Jackson Harper <jackson@ximian.com>
5200 * DataGrid.cs: Only create one pager and add it to both the top
5201 and bottom of the grid, this way all the id numbers stay the same
5202 and we save a bunch of cycles.
5204 2005-08-17 Jackson Harper <jackson@ximian.com>
5206 * DataGrid.cs: The top and bottom pagers are always created. Just
5207 the visibility is changed by the PagerStyle::Position.
5209 2005-08-17 Chris Toshok <toshok@ximian.com>
5211 * CompositeControl.cs (RecreateChildControls): implement naively -
5212 just call CreateChildControls. We might need to call
5213 Controls.Clear() as well, but for the time being, this is ok.
5215 2005-08-17 Sebastien Pouliot <sebastien@ximian.com>
5217 * BaseDataList.cs: Completed implementation for 2.0.
5219 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
5221 * BaseDataList.cs: Added missing properties/methods/attributes for 2.0.
5222 * DataList.cs: Added missing [Browseable] attribute on SelectedValue.
5224 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
5226 * BaseDataList.cs: Removed old internal ctor as DataList TagKey was
5228 * DataList.cs: Implemented {Load|Save}ControlState and OnInit (2.0).
5229 Adjusted size and ordering of the ViewState (new element #0 is still
5230 unknown). Properly fixed the TagKey in 2.0.
5231 * Login.cs: Implemented {Load|Save|Track}ViewState. Added checks for
5232 all properties using enums.
5233 * Panel.cs: Fixed NoWrap rendering unit test (for 2.0).
5234 * TableItemStyle.cs: Fixed attribute rendering to use style to render
5235 "nowrap" in 2.0 (it used the HTML nowrap attribute in 1.x).
5237 2005-08-15 Jackson Harper <jackson@ximian.com>
5239 * EditCommandColumn.cs: Use a normal LinkButton.
5241 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
5243 * Image.cs: Don't remove GenerateEmptyAlternateText (2.0) from the
5244 viewstate (even if assigned to the default value).
5245 * TableRow.cs: Implement TableSection property (2.0). It has no effect
5246 on the rendering of the table row.
5248 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
5250 * BaseDataList.cs: Added new [Themeable] and [Localizable] attributes
5251 and removed [Bindable] attributes for 2.0.
5252 * DataList.cs: Added new 2.0 attributes on class and removed [Bindable]
5253 attributes (for 2.0).
5254 * DataListCommandEventArgs.cs: Not sealed in 2.0.
5255 * DataListItemEventArgs.cs: Not sealed in 2.0.
5256 * Image.cs: Fixed [Designer] attribute on class and all [Editor]
5257 attributes for URLs.
5258 * Login.cs: Fixed [Designer] attribute on class and all [Editor]
5259 attributes for URLs.
5260 * Table.cs: Fixed [Editor] attribute for 2.0.
5261 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
5262 * TableCell.cs: Fixed [Designer] attribute. Fixed property name for
5263 AssociatedHeaderCellID and it's [DefaultValue] attribute.
5264 * TableHeaderCell.cs: Fix [DefaultValue] attributes for CategoryText
5265 and Scope attributes.
5266 * TableRow.cs: Fixed [Designer] attribute. Added missing [DefaultValue]
5267 on TableSection attribute.
5268 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
5270 2005-08-14 Sebastien Pouliot <sebastien@ximian.com>
5272 * Image.cs: Fixed attributes for 2.0 profile.
5273 * Login.cs: Fixed some attributes and default values.
5274 * Table.cs: Fixed attributes for 2.0 profile. Added protected method
5275 RaisePostBackEvent (TODO) in 2.0 profile.
5276 * TableCell.cs: Fix properties (Bindable, Localizable, Designer...)
5277 and added AssociateHeaderCellID property (TODO).
5278 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
5279 * TableFooterRow.cs: New (2.0). TableRow that always shows on each
5280 page (if the device requires to breaks the table into multiple pages).
5281 This seems to be a "flag" class, the real work will be in Table.
5282 * TableHeaderCell.cs: Added CategoryText and Scope properties for 2.0.
5283 * TableHeaderRow.cs: New (2.0). TableRow that always shows on each
5284 page (if the device requires to breaks the table into multiple pages).
5285 This seems to be a "flag" class, the real work will be in Table.
5286 * TableItemStyle.cs: Remove [Bindable (true)] from 2.0 profile.
5287 * TableRow.cs: Remove [Bindable (true)] from properties and add
5288 [Bindable (false)] and [Designer] on class. Added new TableSection
5290 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
5291 * TableSectionStyle.cs: New (2.0). Add Visible to Style - but it's
5292 broken (int beta2) for IsEmpty, CopyFrom, MergeWith...
5293 * TableStyle.cs: Fixed attributes for 2.0 profile. Added new
5294 FillStyleAttributes method (2.0).
5296 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
5298 * Login.cs: New (2.0). Mostly a stub with copy-n-pasted code and
5299 attributes from existing controls.
5300 * LoginCancelEventArgs.cs: New (2.0). Required to build Login.
5301 * LoginCancelEventHandler.cs: New (2.0). Required to build Login.
5303 2005-08-12 Jackson Harper <jackson@ximian.com>
5305 * TableRow.cs: No AutoID for TableRows.
5307 2005-08-12 Jackson Harper <jackson@ximian.com>
5309 * DataGrid.cs (CreateRenderColumns): If we aren't using data
5310 binding grab the rendercols from the data source columns.
5311 (LoadViewState): Restore the bound columns when reloading the
5313 (InitializeNumericPager): Create elipsised pagers.
5314 (CreateItem): Don't set the item's ID.
5315 (CreateItem): Add the control to the table before it is databound
5316 so that it's value is saved in the viewstate.
5317 (CreateControlHierarchy): Create a fake data source when not using
5318 databinding. Don't add controls to the table as they are added in
5320 (PrepareControlHierarchy): Make footers and header non visible if
5321 they aren't enabled.
5323 2005-08-12 Chris Toshok <toshok@ximian.com>
5325 * CompositeControl.cs (DataBind, Render, get_Controls): the MSDN
5326 docs says these methods/properties "ensure the child controls are
5327 created" -- so call EnsureChildControls() before invoking the base
5330 2005-08-12 Jackson Harper <jackson@ximian.com>
5332 * BoundColumn.cs: Set the controls text instead of adding a
5333 literal control. So it is saved in the controls viewstate.
5335 2005-08-11 Jackson Harper <jackson@ximian.com>
5337 * CheckBoxList.cs: Set the tabindex on the checkbox control and
5338 don't render it on the main table (Setting it to zero causes it to
5339 not be rendered). Also use the invariant culture on the id.
5341 2005-08-11 Dick Porter <dick@ximian.com>
5343 * CheckBox.cs: Let ViewState manage removals; apply styles and
5344 "style" attributes in a surrounding <span>. Fixes unit tests.
5346 2005-08-10 Chris Toshok <toshok@ximian.com>
5348 * Label.cs (LoadViewState): set the Text attribute from our
5349 ViewState (if it exists) to clear out any child controls. Fixes
5350 jsunit test label/label-child-control-postback.aspx.
5352 2005-08-10 Jackson Harper <jackson@ximian.com>
5354 * PagedDataSource.cs: Respect paging with all data source types.
5356 2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
5358 * BaseDataList.cs: Changed Controls property from "virtual new"
5359 (2.0 doc) to "override" (monop) to fix the Visible bug (see
5360 datalist-invisible.aspx). Fixed AddParsedSubObject not to accept
5361 any controls (required due to change to Controls). Implemented
5362 DataBind(bool) for 2.0.
5363 * DataListItem.cs: Fix the multiple table when extractRows is used.
5364 Removed extra span tags by rendering contents (not control). Added
5365 support for IDataItemContainer (2.0).
5367 2005-08-08 Jackson Harper <jackson@ximian.com>
5369 * DataGrid.cs: Apply the styles to each item type.
5371 2005-08-08 Jackson Harper <jackson@ximian.com>
5373 * PagedDataSource.cs: If paging is not enabled keep enumerating to
5374 the end of the list.
5376 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
5378 * BaseDataList.cs: Remove old compatibility stuff.
5379 * DataList.cs: Fix the edit|update for datalist-style-edit.aspx.
5380 * WebControl.cs: Always call CreateControlStyle to create the
5381 ControlStyle. Fix the exception for datalist-style-edit.aspx.
5383 2005-08-05 Jackson Harper <jackson@ximian.com>
5385 * DataGrid.cs: Don't make the current page index a link in the
5388 2005-08-05 Jackson Harper <jackson@ximian.com>
5390 * DataGrid.cs: Honour PagerPosition.
5392 2005-08-05 Jackson Harper <jackson@ximian.com>
5394 * PagedDataSource.cs: Round PageCount properly.
5396 2005-08-05 Dick Porter <dick@ximian.com>
5398 * CheckBox.cs: Shut corcompare up a bit more. Still need to
5399 figure out how to not use AddAttributesToRender to get it
5402 * ButtonColumn.cs: Implement Initialize() and InitializeCell()
5404 * DataGridColumn.cs: Added the duplicate viewstate manipulation
5407 2005-08-05 Chris Toshok <toshok@ximian.com>
5409 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): treat "" as
5410 null when it comes to the format string.
5411 (FormatDataTextValue): same.
5413 2005-08-04 Chris Toshok <toshok@ximian.com>
5415 * BaseValidator.cs (Validate): only test a validator if it's both
5416 enabled and visible.
5418 2005-08-04 Chris Toshok <toshok@ximian.com>
5420 * BaseValidator.cs (AddAttributesToRender): add "enabled" if
5423 2005-08-04 Jackson Harper <jackson@ximian.com>
5425 * DataGrid.cs: Add a new space control for each link. Also make
5426 the link's text 1 indexed. Don't add the space after the last
5429 2005-08-04 Ben Maurer <bmaurer@ximian.com>
5431 * LinkButton.cs: Fix up the test suite here.
5433 * Panel.cs: Fix up nowrap
5435 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5437 * ListBox.cs: Use WriteXXXX to render HTML, this way it matches MS output
5438 * ListControl.cs: Clear item list before adding data (again)
5440 2005-08-04 Jordi Mas i Hernandez <jordi@ximian.com>
5442 * Calendar.cs: fixes issues with OnDayRender event and others
5444 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5446 * DataGrid.cs(CreateControlHierarchy): Consider the EditItemIndex when
5448 * ListControl.cs(OnDataBinding): Only apply DataTextFormatString to text
5449 if DataTextField is bound
5450 * EditCommandColumn.cs(InitializeCell): MS inserts a between the
5451 two controls in edit mode, lets do the same
5453 2005-08-03 Jackson Harper <jackson@ximian.com>
5455 * BoundColumn.cs: Respek for the thisExpr when data binding.
5457 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5459 * EditCommandColumn.cs: No need to offer edit when in edit mode.
5462 2005-08-04 Dick Porter <dick@ximian.com>
5464 * DataGridColumn.cs: New implementation
5467 * DataGridColumnCollection.cs: Set the DataGridColumn's owner
5469 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5471 * WebControl.cs(CopyBaseAttributes): Use Enabled setter to also
5474 2005-08-03 Ben Maurer <bmaurer@ximian.com>
5476 * RepeatInfo.cs: Finally figured out how to use base control
5478 2005-08-03 Jackson Harper <jackson@ximian.com>
5480 * ButtonColumn.cs: Partial implementation.
5482 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5484 * DataGridPagerStyle.cs(PageButtonCount): Throw exception on
5487 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
5489 * Calendar.cs: fixes Save/Load state
5491 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
5493 * Calendar.cs: bug fixes
5495 2005-08-03 Jackson Harper <jackson@ximian.com>
5497 * DataGrid.cs: Merge the table style with the render table. Some
5498 initial work on the numeric pager. Remove some debugging code.
5500 2005-08-03 Jackson Harper <jackson@ximian.com>
5502 * BoundColumn.cs: Implement Initialize and InitializeCell. When
5503 Data is formated it uses the DataFormatString that was set at the
5504 time Initialize was called (or null if initialize was never
5507 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
5509 * RadioButtonList.cs: bug fixes
5511 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
5513 * CheckBox.cs, RadioButton.cs: mecanism to avoid exposing
5514 AddAttributesToRender
5515 * RadioButtonList.cs: Implementation
5517 2005-08-01 Jackson Harper <jackson@ximian.com>
5519 * TableStyle.cs: Copy style bit when copying from another style.
5521 2005-08-01 Jackson Harper <jackson@ximian.com>
5523 * PagedDataSource.cs: Implement missing properties, use yield for
5524 the Enumerator methods. Only allow the enums to return one page at
5527 2005-08-01 Chris Toshok <toshok@ximian.com>
5529 * HyperLinkColumn.cs (ItemDataBinding): remove incorrect comment.
5531 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
5533 * WebControl.cs: Track enabled state across sessions
5535 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
5537 * ListControl.cs(OnDatabinding): Value is equivalent to text if
5540 2005-08-01 Jordi Mas i Hernandez <jordi@ximian.com>
5542 * ImageButton.cs: fixes, complete missing parts
5544 2005-07-31 Ben Maurer <bmaurer@ximian.com>
5546 * TextBox.cs: Html encode for multiline text boxes
5548 * HyperLink.cs: Resolve images
5550 2005-07-30 Chris Toshok <toshok@ximian.com>
5552 * BaseValidator.cs: initial version of 2.0 properties
5553 ValidationGroup and SetFocusOnError.
5555 2005-07-30 Chris Toshok <toshok@ximian.com>
5557 * HyperLinkColumn.cs (InitializeCell): clean this up.
5559 2005-07-30 Chris Toshok <toshok@ximian.com>
5561 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): just use
5562 DataBinder.FormatResult.
5563 (FormatDataTextValue): same.
5564 (Initialize): call base.Initialize.
5565 (ItemDataBinding): new function, get the text/navigateurl and set
5566 them on our HyperLink control.
5567 (InitializeCell): create a hyperlink control in the
5568 Item/EditItem/AlternatingItem case.
5570 2005-07-30 Ben Maurer <bmaurer@ximian.com>
5572 * RepeatInfo.cs: Handle 0 items situations correctly
5574 * HyperLink.cs: Resolve urls correctly
5576 * CheckBox.cs: use the correct ID for the label element.
5578 * Label.cs: Correct AddParsedSubObject impl. See FAQ
5580 2005-07-29 Chris Toshok <toshok@ximian.com>
5582 * BaseCompareValidator.cs (GetDateElementOrder): implement.
5584 2005-07-29 Chris Toshok <toshok@ximian.com>
5586 * BaseCompareValidator.cs (GetFullYear): implement two ways. The
5587 #if'ed out version follows microsoft's docs on msdn, but doesn't
5588 match ms's behavior. The other matches their behavior but not
5589 their docs. we use the latter. go figure.
5590 (get_CutoffYear): implement using
5591 CultureInfo.CurrentCulture.Calendar.TwoDigitYearMax.
5593 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5596 - Name property now throws exception when set to null
5597 - Names now handles situation where our bit tells us we have
5598 a font, but it's not in the StateBag (null removal)
5599 * RangeValidator.cs: Removed unused vars
5601 2005-07-29 Ben Maurer <bmaurer@ximian.com>
5603 * Label.cs: ClientID should be used rather than UniqueID to get
5606 2005-07-29 Chris Toshok <toshok@ximian.com>
5608 * BaseValidator.cs (Validatate): not sure if this is entirely
5609 correct (some fairly deep testing required), but setting Enabled =
5610 false has the effect of setting IsValid = true.
5612 2005-07-29 Ben Maurer <bmaurer@ximian.com>
5614 * RadioButton.cs: The "remove from groupstate" isn't needed any
5615 more, now that statebag is correct.
5617 2005-07-29 Dick Porter <dick@ximian.com>
5619 * RadioButton.cs: Hide nonstandard API; remove GroupName from the
5620 ViewState when it is null.
5622 * CheckBox.cs: Hide nonstandard API
5624 2005-07-29 Jordi Mas i Hernandez <jordi@ximian.com>
5626 * Calendar.cs: fixes exceptions, bug fixes, new features
5627 * SelectedDatesCollection.cs: Fixes bugs discovered by the tests
5628 * CalendarDay.cs: fixes default value
5630 2005-07-28 Ben Maurer <bmaurer@ximian.com>
5632 * CompositeControl.cs: Stub
5634 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5636 * EditCommandColumn.cs: Implemented
5638 2005-07-27 Chris Toshok <toshok@ximian.com>
5640 * RegularExpressionValidator.cs (EvaluateIsValid): "" is valid.
5642 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5644 * CustomValidator.cs: Bug fixes (Thanks to Chris for creating the
5647 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5649 * DataGrid.cs: DataGridPagerStyle does not need DataGrid as argument
5650 for it's constructor, so remove it
5651 * DataGridPagerStyle.cs: Removed DataGrid argument from constructor
5653 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5655 * DataGridPagerStyle.cs: Implemented
5656 * TableItemStyle.cs (MergeWith): Now only sets style bits it owns
5657 * Style.cs: Added Styles enum values for DataGridPagerStyle
5659 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
5661 * Calendar.cs: get the styles right, honors more properties, fixes, fix
5664 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5666 * DataGridItem.cs: Implemented
5668 2005-07-26 Chris Toshok <toshok@ximian.com>
5670 * LinkButton.cs (AddParsedSubObject): reversed the order of
5671 Controls.Add() and Text = null
5672 (set_Text): call Controls.Clear()
5673 (RenderContents): use HasControls() for the if test instead of
5676 * HyperLink.cs (AddParsedSubObject): reversed the order of
5677 Controls.Add () and Text = null;
5679 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5681 * DataGridItemCollection.cs: Implemented
5683 2005-07-26 Chris Toshok <toshok@ximian.com>
5685 * LinkButton.cs (AddParsedSubObject): copy implementation from
5687 (RenderContents): only call writer.Write(Text) if Text != "".
5688 Otherwise default to base.RenderContents.
5690 2005-07-26 Chris Toshok <toshok@ximian.com>
5692 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
5693 ImageButton.cs, LinkButton.cs (AddAttributesToRender): add if
5694 (Page != null) around my last commit.
5696 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5698 * FontInfo.cs, CheckBox.cs, RadioButton.cs, ListItemCollection.cs:
5699 Fixed use of literal strings, instead using Consts
5700 * Xml.cs, RegularExpressionValidator.cs, TemplateColumn.cs,
5701 TextBox.cs, RequiredFieldValidator.cs, Repeater.cs, RepeaterItem.cs,
5702 Panel.cs, Literal.cs: Added attributes
5703 * BaseValidator.cs: Added missing override
5705 2005-07-26 Chris Toshok <toshok@ximian.com>
5707 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
5708 ImageButton.cs, LinkButton.cs (AddAttributesToRender): call
5709 Page.VerifyRenderingInServerFormHere.
5711 2005-07-26 Chris Toshok <toshok@ximian.com>
5713 * BaseValidator.cs: remove some MonoTODO's about the client side
5716 2005-07-26 Jordi Mas i Hernandez <jordi@ximian.com>
5718 * Calendar.cs: selection of dates, state load, save, track, support
5719 for new properties, many fixes.
5721 2005-07-26 Miguel de Icaza <miguel@novell.com>
5723 * Style.cs: Temporary methods to help buliding .NET 2.x
5725 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5727 * BaseValidator.cs: Added AssociateControlID (new in sp1), fixed
5729 * Xml.cs: Fixed base class, attributes
5730 * Button.cs, DataGridColumnCollection.cs, HyperLinkColumn.cs,
5731 Label.cs, ListItem.cs, ListControl.cs, CustomValidator.cs,
5732 CheckBoxList.cs, AdRotator.cs, DropDownList.cs, HyperLink.cs,
5733 DataGrid.cs, ButtonColumn.cs, CompareValidator.cs, Calendar.cs,
5734 ListBox.cs, ImageButton.cs, LinkButton.cs: Attribute fixes
5736 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5738 * RepeatInfo.cs: WOOHOOO! all tests pass. Boy is this class
5741 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5743 * RepeatInfo.cs: If the repeater has one column, the separators
5744 are rendered on a different line
5746 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5748 * DataGridSortCommandEventArgs: Sealed class
5749 * ButtonColumn.cs, Calendar.cs: Added Attributes
5751 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5753 * Button.cs, Style.cs, BaseCompareValidator.cs, RangeValidator.cs,
5754 BaseValidator.cs, AdRotator.cs, BoundColumn.cs: Added Attributes
5756 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5758 * FontInfo.cs, Style.cs, RangeValidator.cs, ListItemCollection.cs,
5759 DropDownList.cs, WebControl.cs, ValidationSummary.cs: Added Attributes
5761 2005-07-25 Chris Toshok <toshok@ximian.com>
5763 * ValidationSummary.cs (AddAttributesToRender): add client side
5765 (OnPreRender): set the "been here" flag.
5766 (Render): add client side support.
5768 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5770 * RepeatInfo.cs: Split the horiz and vertical cases, because this
5771 class has rules that are beyond strange. Continue working to make
5774 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5776 * RepeatInfo.cs: Misc fixes for my test suite.
5778 2005-07-25 Jackson Harper <jackson@ximian.com>
5780 * DataGrid.cs: Set the command name and args on the link buttons.
5782 2005-07-25 Jackson Harper <jackson@ximian.com>
5784 * DataGrid.cs: Lots o implementation.
5786 2005-07-25 Jackson Harper <jackson@ximian.com>
5788 * BoundColumn.cs: Partial implementation to get the DataGrid tests
5791 2005-07-23 Jordi Mas i Hernandez <jordi@ximian.com>
5793 * Button.cs: fixes events, adds attributes
5795 2005-07-23 Chris Toshok <toshok@ximian.com>
5797 * BaseValidator.cs (GetControlValidateValue): handle ListItems as
5798 prop.GetValue results.
5799 (Render): fix the static non-uplevel case, so that we display text
5800 when there's an error.
5802 2005-07-22 Chris Toshok <toshok@ximian.com>
5804 * RegularExpressionValidator.cs (AddAttributesToRender): only
5805 output ValidationExpression if it's != null.
5807 2005-07-22 Chris Toshok <toshok@ximian.com>
5809 * BaseValidator.cs (AddAttributesToRender): fix up the Display
5810 rendering such it matches MS's output.
5811 (Render): stop using the huge complicated if's for each output
5812 stage and move to boolean flags, and fix the static-nonuplevel
5813 case, where a validator outputs as nothing but
5815 2005-07-22 Jordi Mas i Hernandez <jordi@ximian.com>
5816 * Calendar.cs: Initial implementation
5817 * CalendarSelectionMode.cs: fix enum order
5819 2005-07-22 Sebastien Pouliot <sebastien@ximian.com>
5821 * DataList.cs: Rewrote the IRepeatInfoUser.RenderItem to support all
5822 (or more?) specific cases - including correct support for separators.
5823 Added some (commented) debugging code.
5824 * HyperLink.cs: Only render href and target attributes if they're not
5825 empty. Add "border=0" when rendering <img> tag. Fix Target default
5828 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
5830 * Style.cs (CopyFrom): Reset must go, MS doesn't do it (See tests)
5832 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
5834 * Style.cs (CopyFrom): Reset our styles and don't set bits from
5835 target explicitly, properties will set them
5837 2005-07-22 Dick Porter <dick@ximian.com>
5840 * ButtonColumn.cs: Initial stubs
5842 2005-07-22 Dick Porter <dick@ximian.com>
5845 * CheckBox.cs: Add assembly attributes
5847 2005-07-22 Ben Maurer <bmaurer@ximian.com>
5849 * HyperLink.cs: Handle non-literal children.
5851 2005-07-21 Ben Maurer <bmaurer@ximian.com>
5853 * Label.cs: SP1 stuff
5855 2005-07-21 Chris Toshok <toshok@ximian.com>
5857 * BaseValidator.cs (RegisterValidatorCommonScript): remove the NS4
5858 stuff that I c&p'ed from elsewhere - NS4 doesn't support the DOM1
5859 stuff WebUIValidation.js uses, so we don't support it for uplevel
5862 2005-07-21 Chris Toshok <toshok@ximian.com>
5864 * BaseValidator.cs (DetermineRenderUplevel): include checks for
5865 the EcmaScriptVersion and W3CDomVersion.
5867 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
5869 * BaseDataList.cs: Support IEnumerable.
5870 * DataList.cs: Fix alternate items.
5871 * TableCell.cs: Fixed AddParsedSubObject to work nicely with existing
5872 controls and the Text property.
5874 2005-07-21 Ben Maurer <bmaurer@ximian.com>
5876 * TextBoxMode.cs: Wrong ordering of enum...
5878 2005-07-21 Chris Toshok <toshok@ximian.com>
5880 * BaseValidator.cs (OnPreRender): call DetermineRenderUplevel and
5883 2005-07-21 Chris Toshok <toshok@ximian.com>
5885 * BaseValidator.cs (get_PropertiesValid): use our containing
5886 NamingContainer, not ourselves, to look up controls.
5887 (CheckControlValidationProperty): same.
5888 (GetControlRenderID): same.
5889 (GetControlValidationValue): same.
5890 (AddAttributesToRender): add the display style attribute if
5891 Display != Static, and add the value of IsValid if it's false.
5892 (DetermineRenderUplevel): use a try block around (Page.Request)
5893 since that can raise an exception.
5894 (OnPreRender): set pre_render_called, so we can consult it in
5896 (Render): complicate this method more to handle more of the
5897 Display/pre_render_called permutations.
5899 2005-07-21 Peter Dennis Bartok <pbartok@novell.com>
5901 * CustomValidator.cs: Initial implementation, still work in progress
5903 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
5905 * DataList.cs: Fix rendering for special items (-1).
5907 2005-07-21 Ben Maurer <bmaurer@ximian.com>
5909 * RepeatInfo.cs: Fix most of the tests.
5911 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
5913 * Image.cs: Call ResolveUrl for ImageUrl and DescriptionUrl properties.
5914 Add a border=0 attribute if no style is defined.
5915 * TableCell.cs: Use HtmlTextWriterTag (not a string).
5916 * TableHeaderCell.cs: Use HtmlTextWriterTag (not a string).
5917 * TableRow.cs: Use HtmlTextWriterTag (not a string).
5919 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
5921 * BaseDataList.cs: Fix attributes.
5922 * HorizontalAlign.cs: Fix attributes.
5923 * Image.cs: Fix attributes and enums checks.
5924 * Table.cs: Fix attributes an enums checks.
5925 * TableCell.cs: Fix attributes.
5926 * TableCellCollection.cs: Fix attributes.
5927 * TableItemStyle.cs: Fix attributes and enums checks.
5928 * TableRowCollection.cs: Fix attributes.
5929 * TableRow.cs: Fix attributes.
5930 * TableStyle.cs: Fix attributes and enums checks.
5931 * VerticalAlign.cs: Fix attributes.
5933 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
5935 * BaseDataList.cs: Remove/#if-out useless/2.0 stuff.
5936 * DataList.cs: Added rendering support when ExtractTemplatesRows
5937 property is true (but RepeatInfo needs to be fixed to see it works).
5938 * DataListItem.cs: Added rendering support when extractRows parameter
5939 is true (but RepeatInfo still needs to be fixed ;-)
5941 2005-07-21 Duncan Mak <duncan@novell.com>
5943 * HyperLinkColumn.cs: Initial implementation.
5944 Todo: Figure out Initialize and InitializeCell.
5946 2005-07-20 Chris Toshok <toshok@ximian.com>
5948 * BaseValidator.cs: don't use Page.FindControl, use this Control's
5949 FindControl, so it'll use the same naming container.
5951 2005-07-21 Duncan Mak <duncan@novell.com>
5953 * DataGridCommandEventArgs.cs:
5954 * DataGridPageChangedEventArgs.cs:
5955 * RepeaterCommandEventArgs.cs: Fixed visibility.
5957 * DataGridPageChangedEventArgs.cs (CommandSource): Fixed typo.
5958 * DataGridSortCommandEventArgs.cs (CommandSource): Ditto..
5960 2005-07-20 Chris Toshok <toshok@ximian.com>
5962 * Button.cs: hook up the client side validation stuff.
5964 * ImageButton.cs: same.
5966 * LinkButton.cs: same, although it's a little more complicated
5969 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
5972 - Implemented RaisePostDataChangedEvent()
5973 - Spewing postback command if AutoPostBack is true
5975 2005-07-20 Chris Toshok <toshok@ximian.com>
5977 * BaseValidator.cs: another Page != null check when uplevel
5980 2005-07-20 Chris Toshok <toshok@ximian.com>
5982 * BaseValidator.cs: check Page != null when determining if we're
5983 rendering uplevel or not.
5985 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
5987 * ListItemCollection.cs: Removed obsolete method that's no longer
5990 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
5992 * DropDownList.cs: Oops. Forgot to implement LoadPostData
5993 * ListItemCollection.cs: Added convenience method to have faster
5996 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
5999 - Automatically select the first item if none are selected
6000 - Throw exception if more than one item is selected
6002 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6004 * DataList.cs: Fix style handling for RepeatLayout.Flow (which isn't
6005 handled by RepeatInfo).
6007 2005-07-20 Jackson Harper <jackson@ximian.com>
6009 * DataGrid.cs: Store the data source created columns in a
6010 DataGridColumnCollection. This way they can be put in the
6011 view state more easily, and accessed without casting.
6013 2005-07-20 Chris Toshok <toshok@ximian.com>
6015 * BaseValidator.cs (AddAttributesToRender): render the client side
6016 attributes if we're in uplevel mode.
6017 (DetermineRenderUplevel): flesh out a bit - for now basically
6018 return true unless the control has it disabled.
6019 (OnInit): only add the validator to Page's list if there is, in
6021 (OnUnload): same for removal.
6022 (OnPreRender): hook up client scripting stuff here. Only the call
6023 to RegisterValidatorCommonScript is a for sure thing here, the
6024 registering of the submit statement and startup script should
6025 probably go elsewhere, but I don't know where.
6026 (RegisterValidatorCommonScript): register the <script
6027 src=".../WebUIValidation.js"> tag, if it's not already there.
6028 (RegisterValidatorDeclaration): add our span object to the
6029 Page_Validators JS array.
6030 (Render): always render the tags (although this is probably not
6031 right), and call RegisterValidatorDeclaration here.
6033 * BaseCompareValidator.cs (AddAttributesToRender): render the
6034 client side attributes if we're in uplevel mode.
6035 (DetermineRenderUplevel): add MonoTODO.. why override this? Just
6036 call base.DetermineRenderUplevel for now.
6038 * RegularExpressionValidator.cs (AddAttributesToRender): render
6039 the client side attributes if we're in uplevel mode.
6041 * RequiredFieldValidator.cs (AddAttributesToRender): same.
6043 * CompareValidator.cs (AddAttributesToRender): same.
6045 2005-07-20 Jackson Harper <jackson@ximian.com>
6047 * DataGrid.cs: Save the data source created column set in the
6050 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6052 * DataList.cs: Fix events and properties exceptions. Give the right
6053 informations to RenderItem.
6055 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6057 * ValidationSummary.cs: Implemented rendering
6059 2005-07-20 Jackson Harper <jackson@ximian.com>
6061 * DataGrid.cs: column names are cached and only regenerated if useDataSource
6062 is set to true. Otherwise they are just fetched from the last set that
6063 was generated from the source.
6065 2005-07-20 Jackson Harper <jackson@ximian.com>
6067 * DataGrid.cs: Assign some properties of newly created BoundColumns.
6069 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6071 * DataList.cs: Fix viewstate ordering.
6073 2005-07-20 Ben Maurer <bmaurer@ximian.com>
6075 * SelectedDatesCollection.cs: Apprarently, I don't write code well
6078 * Repeater.cs: Uh, actually add stuff to the items collection
6081 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6083 * BaseDataList.cs: EnsureChildControls on Controls property.
6084 * DataList.cs: Fix rendering and Controls/Items differences.
6085 * DataListItem.cs: Added rendering of controls.
6087 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6089 * BaseDataList.cs: Don't call base.Render (or we'll get an extra span).
6091 2005-07-20 Jackson Harper <jackson@ximian.com>
6093 * DataGrid.cs: Add some of the collections. Implement
6096 2005-07-20 Jackson Harper <jackson@ximian.com>
6098 * PagedDataSource.cs: Implement GetItemProperties, this is
6099 needed for the datagrid.
6101 2005-07-20 Ben Maurer <bmaurer@ximian.com>
6103 * DataGridColumnCollection.cs: New impl
6105 * TemplateColumn.cs: New impl
6107 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
6109 * BaseDataList.cs: Call PrepareControlHierarchy from Render.
6110 * DataList.cs: Work in progress... Added attributes, proper
6111 IRepeatInfoUser support and cool things stolen from other classes.
6112 * DataListCommandEventArgs.cs: Class is sealed.
6113 * DataListItem.cs: RenderItem is public.
6115 2005-07-19 Jackson Harper <jackson@ximian.com>
6117 * ListControl.cs: Use Events Add/RemoveHandler. Don't create
6118 a viewstate object if all the viewstate stuff is null.
6120 2005-07-19 Jackson Harper <jackson@ximian.com>
6122 * DataGrid.cs: Implement style properties and viewstate
6123 saving/loading/tracking.
6125 2005-07-19 Chris Toshok <toshok@ximian.com>
6127 * BaseValidator.cs: more fixes from pdb.
6129 2005-07-19 Chris Toshok <toshok@ximian.com>
6131 * BaseValidator.cs: some test-driven fixes.
6133 2005-07-19 Chris Toshok <toshok@ximian.com>
6135 * BaseValidator.cs: Initial implementation.
6137 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
6139 * Repeater.cs: Fix small typo.
6141 2005-07-19 Peter Dennis Bartok <pbartok@novell.com>
6143 * ValidationSummaryTest.cs: Started implementation
6144 * RangeValidator.cs: Implemented
6145 * ValidatedControlConverter.cs: Implemented
6146 * DropDownList.cs: Implemented
6148 2005-07-19 Jackson Harper <jackson@ximian.com>
6150 * DataGrid.cs: Implement bubble event.
6152 2005-07-19 Jackson Harper <jackson@ximian.com>
6154 * DataGrid.cs: New implementation. Just properties and events for
6157 2005-07-18 Chris Toshok <toshok@ximian.com>
6159 * BaseCompareValidator.cs: Initial implementation, with some NYI.
6161 2005-07-19 Ben Maurer <bmaurer@ximian.com>
6163 * FontUnit.cs: Corcompare fixes
6165 * UnitConverter.cs: Fix api diffs
6167 2005-07-18 Ben Maurer <bmaurer@ximian.com>
6169 * ListControl.cs: Fix api differences
6171 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
6173 * Table.cs: Fix indentation for caption. Simplify check when adding
6175 * TableRow.cs: Simplify check when adding controls.
6177 2005-07-18 Chris Toshok <toshok@ximian.com>
6179 * CompareValidator.cs: wtf, just use the base class's methods.
6181 2005-07-18 Chris Toshok <toshok@ximian.com>
6183 * CompareValidator.cs: do comparisons based on
6184 BaseCompareValidator.Type.
6186 2005-07-18 Chris Toshok <toshok@ximian.com>
6188 * CompareValidator.cs: initial implementation.
6190 2005-07-18 Chris Toshok <toshok@ximian.com>
6192 * RegularExpressionValidator.cs: initial implementation.
6194 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
6196 * DataList.cs: Fixed to match 1.1 behaviour (and new unit tests).
6198 2005-07-18 Jackson Harper <jackson@ximian.com>
6200 * CheckBoxList.cs: Implement LoadPostBackData. Also register
6201 checkboxes for postback if they are checked so we can find
6202 out when they are unchecked. Copy the AutoPostBack variable
6203 to the to be rendered checkbox when rendering.
6205 2005-07-18 Ben Maurer <bmaurer@ximian.com>
6207 * TextBox.cs: Finish this up.
6209 * AdRotator.cs: Fix issues in the test suite. Minor style
6212 * Repeater.cs: Fix a bug where the datasource is null and we do
6215 * WebColorConverter.cs: Optimize by not doing a concat on a
6218 2005-07-17 Ben Maurer <bmaurer@ximian.com>
6220 * ListItemCollection.cs: Multiple uses of equals rather than
6221 string.compare as below. Remove unreachable code warning.
6223 * WebColorConverter.cs (ConvertTo): Use the == operator on string
6224 rather than an invariant non-case ignoring compare. They are
6225 exactly the same thing. Use proper coding style in this method.
6227 * WebControl.cs: Return null when saving the view state if there
6228 is no state in any of the things we save. This creates a fairly
6229 large savings, because we can avoid saving anything about many
6230 levels of deaply nested controls.
6232 2005-07-15 Jackson Harper <jackson@ximian.com>
6234 * CheckBoxList.cs: Use the index as the ID, the rest of the
6235 id is built by being in the NamingContainer.
6237 2005-07-15 Jackson Harper <jackson@ximian.com>
6239 * ListControl.cs: Use enum instead of string. Saves a lookup.
6241 2005-07-15 Jackson Harper <jackson@ximian.com>
6243 * CheckBoxList.cs: FindControl always returns 'this' according
6246 2005-07-15 Jackson Harper <jackson@ximian.com>
6248 * CheckBoxList.cs: New impl.
6250 2005-07-15 Jackson Harper <jackson@ximian.com>
6252 * WebControl.cs: Use the ClientID when rendering a controls ID
6253 attribute so that naming containers are honoured.
6255 2005-07-15 Jackson Harper <jackson@ximian.com>
6257 * ListControl.cs: use the state manager interface for tracking
6260 2005-07-15 Ben Maurer <bmaurer@ximian.com>
6262 * Repeater.cs (DoItem): Add the DataItem before we call user
6263 methods, as it seems to be there with msft.
6265 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
6267 * BaseDataList.cs: New. (mostly complete) implementation.
6268 * DataKeyCollection.cs: New. Implementation (complete).
6269 * DataList.cs: New. (mostly incomplete) implementation.
6270 * DataListItem.cs: New. (mostly complete) implementation.
6271 * DataListItemCollection.cs: New. Implementation (complete).
6273 2005-07-15 Ben Maurer <bmaurer@ximian.com>
6275 * Repeater.cs (DoItem): We need to .Add the control *before* we
6276 data bind it so that the state gets tracked correctly. Fixes the
6279 2005-07-15 Jackson Harper <jackson@ximian.com>
6281 * ListControl.cs: Simplify comparison.
6283 2005-07-15 Jackson Harper <jackson@ximian.com>
6286 * Repeater.cs: Use new utility class for resolving data sources.
6288 2005-07-15 Jackson Harper <jackson@ximian.com>
6290 * ListControl.cs: Add attributes so the sub items get parsed
6291 properly. Remove old unneeded code for resolving lists.
6293 2005-07-15 Jackson Harper <jackson@ximian.com>
6295 * ListControl.cs: Use the DataSourceHelper so DataMembers are
6298 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6301 - Some optimizations
6302 * Don't use enum formatting stuff, it is 1) expensive 2) does
6303 allocations. Use a new method in HtmlControl to do the right
6305 * Don't use Enum.IsDefined but an explicit check.
6306 * (x == "" || x.Length < 2) is not needed since "".Length == 0 < 2
6307 - Use the correct coding style.
6309 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6311 * WebColorConverter.cs:
6312 - Alpha of 255 is only set if the hex number is exactly 6 digits
6313 - Ben didn't like the catch { throw; } (even though MS documents to
6315 - Use Invariant Culture for parsing (thanks, Ben)
6317 2005-07-14 Jackson Harper <jackson@ximian.com>
6319 * ListControl.cs: Use DataBinder.Eval for data binding. This is more
6320 code-reuse-arific. Also use the IStateManager interface for loading
6321 data instead of the old internal method.
6323 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6325 * WebColorConverter.cs: Implemented
6327 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6329 * Repeater.cs: Cleanup; use the DataSourceHelper thingy.
6331 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6333 * Repeater.cs: Get it working
6335 2005-07-14 Jackson Harper <jackson@ximian.com>
6337 * ListControl.cs: Initial implementation of Databinding. Make sure
6338 that the ListItemCollection is created when we load its ViewState.
6340 2005-07-14 Jackson Harper <jackson@ximian.com>
6342 * ListControl.cs: Fix typo.
6344 2005-07-14 Jackson Harper <jackson@ximian.com>
6346 * ListControl.cs: New Implementation. Lacks databinding support.
6348 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6350 * Repeater.cs: The beginnings of this control
6352 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6354 * TargetConverter.cs: Implemented
6356 2005-07-14 Duncan Mak <duncan@novell.com>
6358 * PagedDataSource.cs: Initial implementation.
6360 Methods that need to be figured out:
6361 CopyTo, GetItemProperties, PageCount, IsLastPage.
6363 To complete: CollectionEnumerator, ListEnumerator.
6365 2005-07-13 Duncan Mak <duncan@novell.com>
6367 * RepeatDirection.cs:
6369 * ValidationCompareOperator.cs:
6370 * ValidationDataType.cs:
6371 * ValidationSummaryDisplayMode.cs:
6372 * ValidatorDisplay.cs: Added remaining enumerations.
6374 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6376 * FontNamesConverter.cs: Implemented
6378 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6380 * RepeaterItem.cs: Compile fix
6382 * RepeaterItemCollection.cs: New file
6384 * RepeaterItem.cs: get OnBubbleEvent right.
6386 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6388 * ListItemCollection.cs: Count can be derived from the array, which
6389 allows us to use a Pair instead of a Triplet and save some space
6391 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6393 * RepeaterItem.cs: Stub
6395 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6397 * ListItemCollection.cs: Implemented
6398 * WebControl.cs: Added check for enumeration validity (thanks Jackson)
6400 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6402 * RepeatInfo.cs: Impl.
6404 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6406 * FirstDayOfWeek.cs: Added
6408 2005-07-13 Jackson Harper <jackson@ximian.com>
6410 * ListBox.cs: Some parameter checking.
6412 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6414 * Image.cs: Added support for DescriptionUrl as this property was
6415 added in Fx 1.1 SP1.
6417 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6419 * Style.cs (AddAttributesToRender): Don't render attributes if they
6420 contain only their default value
6422 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6424 * Table.cs: New. Initial re-implementation.
6425 * TableCell.cs: New. Initial re-implementation.
6426 * TableCellCollection.cs: New. Initial re-implementation.
6427 * TableHeaderCell.cs: New. Initial re-implementation.
6428 * TableItemStyle.cs: New. Initial re-implementation.
6429 * TableRow.cs: New. Initial re-implementation.
6430 * TableRowCollection.cs: New. Initial re-implementation.
6431 * TableStyle.cs: New. Initial re-implementation.
6433 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6435 * Style.cs: Removed the call to Reset in CopyFrom. This fix the new
6436 unit tests (for Style) and more tests in Table* classes.
6438 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6440 * Style.cs: TableStyle and TableItemStyle don't override IsEmpty,
6441 however IsEmpty returns false if any of their properties are set.
6442 Looks ugly but it's compatible with MS implementation (feature and
6445 2005-07-13 Dick Porter <dick@ximian.com>
6447 * CheckBox.cs: Reverted Ben's enum-to-int ViewState change, remove
6448 null Text properties from the ViewState, test for TextAlign being
6449 out of range. All to make tests pass on both mono and ms
6452 2005-07-13 Jackson Harper <jackson@ximian.com>
6454 * ListBox.cs: Use invariant culture when doing a ToString,
6455 set value to the item's value, not to its Text.
6457 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6459 * WebControl.cs (AddAttributesToRender): Added ID to rendered
6462 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6464 * Style.cs(MergeWith): Handle null styles
6466 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
6468 * TableCaptionAlign.cs: This enum was added in 1.1 SP1 so I removed
6469 the #if NET_2_0 on it.
6471 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6473 * Style.cs: Only render font elements if fontinfo object exists
6475 - Implemented SaveViewState()
6476 - Added loading of Style to LoadViewState
6477 - Implemented IAttributeAccessor methods
6479 2005-07-12 Jackson Harper <jackson@ximian.com>
6481 * ListBox.cs: Even track default values in the viewstate. Call
6482 base's RenderContents.
6484 2005-07-12 Jackson Harper <jackson@ximian.com>
6486 * ListBox.cs: New impl.
6488 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6491 - Implemented methods
6494 2005-07-12 Ben Maurer <bmaurer@ximian.com>
6496 * ListItem.cs: New impl.
6498 2005-07-12 Duncan Mak <duncan@novell.com>
6500 * DayNameFormat.cs: Added.
6502 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6504 * WebControl.cs: Implemented properties
6506 2005-07-12 Ben Maurer <bmaurer@ximian.com>
6508 * TextBox.cs: Passwords seem 1) not to be rendered to the client
6509 if set, 2) not kept in view state (for security reasons...)
6512 * Button.cs: Page.Validate () if needed. Gets the validator tests
6515 * TextBox.cs: Properties to get the validator stuff to work.
6517 2005-07-12 Miguel de Icaza <miguel@novell.com>
6519 * Unit.cs: If the units are pixels, then truncate the value.
6521 2005-07-12 Dick Porter <dick@ximian.com>
6523 * RadioButton.cs: New implementation
6525 * CheckBox.cs: Rearrange the attributes rendering to allow
6526 RadioButton to derive from this
6528 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
6530 * TitleFormat.cs: Add attribute
6531 * TextBoxMode.cs: Add attribute
6532 * CalendarDay.cs: Initial implementation
6533 * ImageButton.cs: Initial implementation
6534 * CalendarSelectionMode.cs:Initial implementation
6536 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
6538 * TextBoxMode.cs: simple enum
6539 * TitleFormat.cs: simple enum
6541 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6543 * FontInfo.cs: Now using BenM's fancy internal StateBag methods
6545 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6547 * FontUnit.cs: Added TypeConverter attribute to class
6548 * FontUnitConverter.cs: Implemented
6550 2005-07-11 Ben Maurer <bmaurer@ximian.com>
6553 * Button.cs: Bubble the Command event.
6555 2005-07-11 Ben Maurer <bmaurer@ximian.com>
6558 - Clean up style (with my wonderful state bag hack!)
6559 - Fix a view state typo.
6560 - Use AddAttributesToRender
6561 - Don't add an extra <span>
6563 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6565 * Style.cs: Handle null constructor argument for bag
6567 2005-07-11 Dick Porter <dick@ximian.com>
6569 * CheckBox.cs: New implementation
6571 * RadioButton.cs: Initial stubbed version that just compiles
6573 2005-07-10 Jordi Mas i Hernandez <jordi@ximian.com>
6575 * Button.cs: Initial Button implementation
6577 2005-07-10 Sebastien Pouliot <sebastien@ximian.com>
6579 * VerticalAlign.cs: Fixed enum name (copy/paste from HorizontalAlign).
6581 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
6583 * HorizontalAlign.cs: Typo in header.
6584 * VerticalAlign.cs: New. Required enum for TableRow control.
6586 2005-07-09 Ben Maurer <bmaurer@ximian.com>
6588 * TextBox.cs: More work on this
6590 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
6592 * GridLines.cs: New. Required enum for Table control.
6593 * HorizontalAlign.cs: New. Required enum for Table control.
6595 2005-07-09 Duncan Mak <duncan@novell.com>
6597 * CommandEventHandler.cs:
6598 * DataGridCommandEventHandler.cs:
6599 * DataGridItemEventHandler.cs:
6600 * DataGridPageChangedEventHandler.cs:
6601 * DataGridSortCommandEventHandler.cs:
6602 * DataListCommandEventHandler.cs:
6603 * DayRenderEventHandler.cs:
6604 * RepeaterCommandEventHandler.cs:
6605 * ServerValidateEventHandler.cs: Add delegates.
6608 * ListSelectionMode.cs:
6609 * NextPrevFormat.cs:
6611 * PagerPosition.cs: Add enums.
6613 2005-07-09 Ben Maurer <bmaurer@ximian.com>
6615 * TextBox.cs: Add the work I did on this today. It's not complete
6616 yet, but its a start!
6618 2005-07-09 Duncan Mak <duncan@novell.com>
6620 * CommandEventArgs.cs:
6621 * DataGridCommandEventArgs.cs:
6622 * DataGridItemEventArgs.cs:
6623 * DataGridPageChangedEventArgs.cs:
6624 * DataGridSortCommandEventArgs.cs:
6625 * DataListCommandEventArgs.cs:
6626 * DataListItemEventArgs.cs:
6627 * DayRenderEventArgs.cs:
6628 * RepeaterCommandEventArgs.cs:
6629 * RepeaterItemEventArgs.cs:
6630 * ServerValidateEventArgs.cs: Implemented.
6632 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
6634 * Image.cs: New. Image class implementation.
6635 * ImageAlign.cs: New. ImageAlign enum definitions.
6637 2005-07-08 Jackson Harper <jackson@ximian.com>
6639 * Literal.cs: New implentation.
6640 * MonthChangedEventArgs.cs: new
6641 * MonthChangedEventHandler.cs: new
6643 2005-07-08 Ben Maurer <bmaurer@ximian.com>
6645 * LinkButton.cs: Command impl
6647 2005-07-08 Ben Maurer <bmaurer@ximian.com>
6649 * LinkButton.cs: Initial impl
6651 2005-07-08 Jackson Harper <jackson@ximian.com>
6653 * AdCreatedeventArgs.cs: New implementation.
6655 2005-07-08 Dick Porter <dick@ximian.com>
6658 * BorderStyle.cs: Added
6660 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
6662 * FontInfo.cs: Fixed behaviour discrepancies showed by tests
6664 2005-07-07 Miguel de Icaza <miguel@novell.com>
6666 * Xml.cs: New implementation. R00lz.
6668 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
6670 * FontInfo.cs: Added and implemented.
6671 * Style.cs: Fixed behaviour discrepancies showed by tests
6673 2005-07-07 Ben Maurer <bmaurer@ximian.com>
6675 * PlaceHolderControlBuilder.cs: new file
6677 * LabelControlBuilder.cs: New file
6679 * HyperLink.cs: use control builder; fix parsing stuff
6681 * HyperLinkControlBuilder.cs: new file
6683 * Panel.cs: misc fixes
6685 2005-07-07 Miguel de Icaza <miguel@novell.com>
6687 * Unit.cs: Add TypeConverter, so that web_panel.aspx works again.
6689 * UnitConverter.cs: Add new file, learned from the
6690 System.Drawing.ColorConverter.
6692 2005-07-07 Ben Maurer <bmaurer@ximian.com>
6694 * PlaceHolder.cs: New file. Seems to do nothing
6696 * Label.cs: Use my new statebag trick to reduce typing
6698 * HyperLink.cs: New file
6700 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
6702 * Style.cs: Added and implemented.
6704 2005-07-06 Miguel de Icaza <miguel@novell.com>
6706 * FontUnit.cs: New file.
6708 * Unit.cs: New file.
6710 Added support for null and empty string constructors.
6712 2005-07-06 Ben Maurer <bmaurer@ximian.com>
6714 * Unit.cs: cctor not needed; static fields are 0 init'd by default
6716 * WebControl.cs: Kothari & Datye's book explains how these work.
6718 * IRepeatInfoUser.cs: Reimpl.
6720 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
6722 * WebControl.cs: Added stub
6724 2005-07-05 Miguel de Icaza <miguel@novell.com>
6726 * Label.cs: First control.
6728 2005-06-27 Lluis Sanchez Gual <lluis@novell.com>
6730 * DataControlField.cs: Ignore the ShowHeader property when
6731 building the control's content. It is the resposability of
6732 the field container to decide if the header should be shown
6735 2005-06-10 Lluis Sanchez Gual <lluis@novell.com>
6738 * ImageFieldMode.cs:
6739 * DynamicImageParameterMode.cs:
6740 * TableViewMode.cs: Removed.
6744 * TableRowSection.cs:
6745 * AutoCompleteType.cs:
6746 * DayNameFormat.cs: Track changes in 2.0 api.
6748 * StringArrayConverter.cs: This class is 2.0 only.
6750 2005-06-06 Lluis Sanchez Gual <lluis@novell.com>
6754 * DetailsView.cs: Bind the control after creating all child
6756 * DataBoundControl.cs: Call OnDataBinding and OnDataBound in
6757 the correct methods.
6758 * BaseDataBoundControl.cs: Don't call DataBind nor OnDataBound
6759 in this class. This is done in DataBoundControl. All this fixes
6762 2005-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6764 * ListItemCollection.cs: Patch from Curtis (eto@shaw.ca) that fixes
6765 FindByText. Closes bug #74205.
6767 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6769 * PagedDataSource.cs: patch by Suresh Kumar that makes PageCount return
6770 1 when there's a datasource and 0 pages. Closes bug #73864.
6772 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
6779 * MenuItemTemplateContainer.cs:
6780 * DetailsView.cs: Track changes in the IDataItemContainer interface.
6782 * CommandField.cs: Added CausesValidation property. Set that
6783 property value to all buttons of the field.
6785 * SqlDataSourceView.cs:
6786 * CollectionDataSource.cs:
6787 * XmlDataSourceView.cs: Properly initialize the base class.
6789 * SiteMapDataSource.cs:
6790 * SiteMapHierarchicalDataSourceView.cs:
6791 * SiteMapNodeItem.cs:
6792 * SiteMapDataSourceView.cs:
6793 * SiteMapPath.cs: Mostly implemented.
6795 * HierarchicalDataBoundControl.cs: Always bind the control when the
6796 page is loaded for the first time.
6798 * TreeView.cs: Properly bind the control when loaded from a callback.
6800 2005-05-21 Ben Maurer <bmaurer@ximian.com>
6802 * BaseDataList.cs: Caption is in 1.1 too, though not
6803 documented. Gonz owes me [more] ice cream. Yummmmm.
6805 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6807 * BaseDataList.cs: implemented 2.0 Caption property.
6809 2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
6811 * TreeView.cs: Always render the startup script. This fixes
6814 2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
6816 * WizardStepBase.cs:
6817 * WizardStep.cs: Added missing attributes.
6818 * Wizard.cs: Implemented missing methods and properties. It can now
6819 be considered feature complete.
6821 2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6823 * DataGrid.cs: cleanup in AutoCreateColumns. Don't throw at the end of
6824 the method if the data source was en empty IEnumerator. Fixes
6827 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
6831 * Menu.cs: Implemented some new properties from beta 2.
6833 * DataControlButton.cs: Render the ControlStyle if it
6837 * FontUnitConverter.cs: Improved the conversion to InstanceDescriptor.
6838 It will now generate an object creation, instead of a Parse call.
6840 * GridViewCommandEventArgs.cs: Added missing property.
6841 * SubMenuStyleCollection.cs: This class is not sealed.
6842 * MultiView.cs: Set Visible=false to all views that are not
6843 shown. This ensures that it's view state is saved.
6845 * BaseDataBoundControl.cs:
6846 * GridViewDeletedEventArgs.cs: Minor api fixes.
6848 * FormViewDeleteEventArgs.cs:
6849 * DetailsViewDeletedEventArgs.cs:
6850 * ListControl.cs: Fix warnings.
6854 * HotSpotCollection.cs
6857 * RectangleHotSpot.cs
6858 * WizardStepCollection.cs : Implemented.
6862 * Wizard.cs: Initial implementation.
6864 2005-05-04 Lluis Sanchez Gual <lluis@novell.com>
6866 * DataControlField.cs:
6870 * DataControlCommands.cs:
6871 * DetailsView.cs: Use constants to identify commands.
6873 * SubMenuStyle.cs: Use Unit instead of int for padding.
6874 * SubMenuStyleCollection.cs: Implemented.
6877 * Menu.cs: Added some missing methods and properties.
6880 * DataGridPagerStyle.cs: Fixed default value attributes.
6881 * ListControl.cs: Implemented IEditableTextControl interface.
6883 * MenuItemBinding.cs: Added Selectable property.
6884 * CustomValidator.cs: removed interface.
6886 * MenuItem.cs: Added support for custom binding.
6887 * DropDownList.cs: Moved text properties to base class.
6889 2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6891 * Calendar.cs: OnDayRender can toggle IsSelectable on our back.
6893 2005-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6895 * Calendar.cs: when the day is active, modify the text of the literal
6896 control that holds the number, not the text of the TableCell. Also call
6897 OnDayRender before updating that text. Fixes bug #74718.
6899 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
6901 * DataKey.cs: Added virtual TrackViewState and IsTrackingViewState
6903 * DataControlFieldHeaderCell.cs: Save Scope in view state.
6904 Added AbbreviatedText property.
6905 * AutoGeneratedField.cs: The constructor should actually be internal.
6906 * DataGridItem.cs: Added implemented interface in 2.0.
6907 * DataControlFieldCollection.cs: Implemented CloneFields and
6911 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6913 * StringArrayConverter.cs:
6914 * Calendar.cs: warnings.
6916 2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
6918 * FormViewDeleteEventArgs.cs:
6919 * FormViewInsertEventArgs.cs:
6920 * FormViewUpdateEventArgs.cs:
6921 * FormViewDeletedEventArgs.cs:
6922 * FormViewUpdatedEventArgs.cs:
6923 * FormViewInsertedEventArgs.cs: Implemented some missing properties.
6926 * IButtonControl.cs:
6927 * Button.cs: Removed SoftKey property.
6929 * CheckBox.cs: Don't try to load post back data if the control
6933 * AutoGeneratedField.cs:
6934 * DataControlField.cs:
6936 * ButtonFieldBase.cs:
6940 * ButtonField.cs: Don't bind fields in Insert state.
6941 Implemented CreateField and CopyProperties.
6944 * DetailsView.cs: Removed some unneeded interfaces. Don't
6945 generate the field rows if there are no items in the data source.
6946 Don't get the current keys until the whole control has been
6949 * DetailsViewInsertedEventArgs.cs:
6950 * DataBoundControl.cs:
6951 * ObjectDataSourceView.cs: Made some methods private.
6954 * Menu.cs: Changed some properties from int to Unit.
6956 * DataControlButton.cs: javascript prefix is needed when raising
6957 the postback event from a link.
6959 * PagedDataSource.cs: Some fixes in Count and IsLastPage properties.
6960 The result was wrong when the total data source count was 0.
6962 * FormView.cs: Implemented.
6963 * FormViewRow.cs: Implemented.
6966 * Localize.cs: Fixed base interface.
6968 * BaseDataBoundControl.cs: In DataBind() call the base class
6969 DataBind method, so the binding context is properly set.
6971 2005-04-15 Lluis Sanchez Gual <lluis@novell.com>
6973 * DetailsView.cs: Added some null checks.
6974 * TemplateField.cs: Implemented support for two-way bindings.
6976 2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
6978 * DetailsView.cs: Implemented support for Insert operation.
6979 Added header and footer templates. Added missing style
6981 * ObjectDataSourceView.cs: Use ParameterCollection.GetValues
6982 to get filter values. Other minor fixes.
6983 * CommandField.cs: Properly render the Insert and New buttons.
6984 * ObjectDataSource.cs: Update the parameter collections after
6985 the page is loaded. This will fire the ParameterChanged event
6987 * DataBoundControl.cs: The OnDataSourceViewChanged method
6988 is called when the view changes, not when the datasource
6991 * DetailsViewInsertedEventArgs.cs:
6992 * DetailsViewInsertEventArgs.cs: Implement Values property.
6995 * AutoGeneratedField.cs
6998 Take into account the Insert mode.
7000 * ParameterCollection.cs: Implemented UpdateValues and fixed
7001 GetValues (values can't be cached because can change).
7002 * Parameter.cs: Detect value changes in GetValue, and fire
7003 the change event if needed. Removed unused ParameterValue
7004 property. Other fixes.
7006 2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
7008 * DetailsView.cs: Initial implementation.
7009 * ObjectDataSourceView.cs: Notify changes in the parameters.
7010 * DetailsViewDeletedEventArgs.cs, DetailsViewUpdatedEventArgs.cs,
7011 DetailsViewDeleteEventArgs.cs, DetailsViewUpdateEventArgs.cs:
7012 Implemented some properties.
7013 * GridView.cs: Added null check in SelectedValue. Don't return null
7014 for empty DataKeyNames list.
7015 * DetailsViewRowCollection.cs: Implemented.
7016 * DetailsViewRow.cs: Implemented.
7017 * ButtonFieldBase.cs: By default button field don't have headers.
7018 * BoundField.cs: Don't bind header fields.
7020 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
7022 * ButtonField.cs: Get data item properties using TypeDescriptor.
7023 Made OnDataBindField private.
7024 * ObjectDataSourceView.cs: Implemented support for Delete and
7025 Insert operations, support for filtering and sorting,
7026 conflict detection, etc. It's now complete.
7027 * ObjectDataSource.cs: Completed most of functionality. Only
7028 caching support is missing.
7029 * ObjectDataSourceFilteringEventHandler.cs: New event handler.
7030 * TreeNode.cs: Get data item properties using TypeDescriptor.
7031 * PagerSettings.cs: Flush.
7032 * ObjectDataSourceFilteringEventArgs.cs: New event args.
7033 * GridView.cs: Get data item properties using TypeDescriptor
7034 and cache them. Properly set descending order in the sort
7035 expression. In UpdateRow, make sure we get the old values
7036 before the control is bound again.
7037 * ImageField.cs: Implemented.
7038 * AutoGeneratedField.cs: Initialize the field's sort
7039 expression in the constructor.
7040 * MenuItem.cs: Get data item properties using TypeDescriptor.
7041 * BoundField.cs: Get data item properties using TypeDescriptor.
7042 * CheckBoxField.cs: Added missing attributes.
7043 * TemplateField.cs: Implemented.
7045 2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7048 * FontUnitConverter.cs: fixed ConvertTo to work with target
7049 InstanceDescriptor and value as a string.
7051 * Unit.cs: culture might be null.
7055 2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
7057 * ButtonField.cs: Mostly implemented.
7058 * DataControlFieldHeaderCell.cs: Implemented.
7059 * ObjectDataSourceView.cs: Initial implementation.
7060 * DataControlButton.cs: Added support for real buttons.
7061 * Label.cs, DataControlField.cs: Flush.
7062 * ObjectDataSource.cs: Initial implementation.
7063 * HiddenField.cs: Added class stub.
7064 * GridView.cs: Load autogenerated field properties before
7065 creating the children, to make sure that column info is ready.
7066 * ControlParameter.cs: Implemented Evaluate method.
7067 * ImageField.cs: Added class stub.
7068 * BoundField.cs: Added HtmlEncode property.
7069 * DataControlFieldCell.cs: Moved AccessibleDataControlFieldCell
7071 * CheckBoxField.cs: Mostly implemented.
7072 * TemplateField.cs: Added class stub.
7073 * ObjectDataSourceSelectingEventArgs.cs: Added missing property.
7074 * ObjectDataSourceMethodEventArgs.cs: Fixed base class.
7075 * Parameter.cs: Added internal GetValue method (Evaluate is protected)
7077 2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
7079 * DataControlField.cs: Added missing InsertVisible property.
7080 * AutoGeneratedFieldProperties.cs: Implemented.
7081 * PagerSettings.cs: Minor fix.
7082 * GridView.cs: Implemented support for autogenerated fields, templates,
7083 accessible headers. Implemented paging using PagedDataSource.
7084 Implemented missing overridable methods.
7085 * AutoGeneratedField.cs: Initial implementation.
7086 * BoundField.cs: Added ReadOnly property.
7087 * PagedDataSource.cs: Implemented 2.0 api.
7088 * DataControlFieldCell.cs: Implemented AccessibleDataControlFieldCell
7089 cell class to be used by accessible headers.
7090 * TableCell.cs: Removed unneded constructor. If the cell is bound to
7091 a template, call the default RenderContents method.
7093 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
7095 * TreeNode.cs, TreeView.cs: Don't raise the SelectedNodeChanged
7096 event when loading the view state. Fixes #73746.
7098 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
7100 * ListControl.cs: Load selected indices in the right place. Fixes #73745.
7102 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
7104 * Button.cs, ImageButton.cs: Interpret PostBackOptions.ClientSubmit
7106 * CommandField.cs: Mostly implemented.
7107 * Menu.cs: Use callback methods moved to ClientScriptManager.
7108 * DataControlButton.cs: Internal control used to implement buttons
7109 for navigating in data bound controls.
7110 * DataControlField.cs, PagerSettings.cs: Use the new DataControlButton
7111 to render the column headers.
7112 * CheckBox.cs, RadioButton.cs, BulletedList.cs, TextBox.cs
7113 DropDownList.cs, Calendar.cs, ListBox.cs, LinkButton.cs, TreeView.cs:
7114 Don't use Page.GetPostBackClientEvent
7115 since it is deprecated in 2.0.
7116 * GridView.cs: Implemented some several interfaces.
7117 Implemented support client sorting and page navigation (using callbacks).
7118 Implemented the autogenerated command column using the new CommandField
7120 * ButtonFieldBase.cs: Implemented.
7121 * GridView.js: New helper script to support client side sorting and
7122 paging in the grid view.
7124 2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
7126 * DataKey.cs: Implemented.
7127 * XmlDataSourceView.cs: Implemented support for row pagging.
7128 * Table.cs: Fixed attribute value.
7129 * DataControlField.cs: Added support for sorting headers.
7130 * ChildTable.cs: Created.
7131 * ListControl.cs: Delay selection assignment, since control state
7132 is now loaded before view state.
7133 * GridViewDeleteEventArgs.cs, GridViewUpdateEventArgs.cs,
7134 GridViewDeletedEventArgs.cs, GridViewUpdatedEventArgs.cs: Implemented
7135 several missing properties.
7136 * PagerSettings.cs: Fully implemented.
7137 * BaseDataList.cs: Added null check.
7138 * GridView.cs: Implemented more functionality.
7139 * BoundField.cs: Added support for cell editing.
7140 * StringArrayConverter.cs: Implemented.
7141 * DataKeyArray.cs: Implemented.
7142 * BaseDataBoundControl.cs: Reset the requires binding flag before
7143 executing the query. This avoids recursive query calls.
7144 * GridViewRow.cs: Handler commands raised from row childs.
7146 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
7148 * XmlDataSourceView.cs: ExecuteSelect now returns a list of
7149 XmlDataSourceNodeDescriptor instead of a list of nodes. In this way
7150 it is possible to query for properties fore each data item.
7151 * Menu.cs, TreeView.cs: Make sure that objects are correctly created
7152 when loading its view state.
7153 * DataControlField.cs: Implement properties using a StateBag.
7154 * XmlDataSourcePropertyDescriptor.cs: Implemented.
7155 * PagerSettings.cs: Mostly implemented.
7156 * AccessDataSourceView.cs, AccessDataSource.cs: Added security attribute.
7157 * DataBoundControl.cs: Added null check.
7158 * GridView.cs: Initial implementation.
7159 * CompositeDataBoundControl.cs: Implemented.
7160 * BoundField.cs: Initial implementation.
7161 * GridViewRowCollection.cs: Initial implementation.
7162 * DataControlFieldCollection.cs: Initial implementation.
7163 * DataControlFieldCell.cs: Fixed control tag.
7164 * GridViewRow: Initial implementation.
7165 * XmlDataSourceNodeDescriptor.cs: Implemented.
7167 2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7169 * WebControl.cs: correctly use TagName in RenderBeginTag, ie, if TagKey
7170 is zero, use the TagName no matter its value. Fixes bug #72415.
7172 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
7174 * Style.cs: Method name fix.
7175 * HyperLinkColumn.cs, HyperLink.cs: Moved SoftkeyLabel to HyperLink.
7176 * BaseCompareValidator.cs: Method signature fix.
7177 * CollectionDataSource.cs: Implemented DataSource wrapper for collections.
7178 * BaseDataList.cs, Repeater.cs: Fixed data binding code.
7179 * BulletedList.cs: Added missing method.
7180 * DataBoundControl.cs, BaseDataBoundControl.cs: Made it behave like MS.NET.
7182 2005-02-16 Lluis Sanchez Gual <lluis@novell.com>
7184 * HyperLinkColumn.cs, Label.cs: Added missing 2.0 properties.
7185 * RadioButton.cs: Added missing 2.0 methods.
7186 * ListItem.cs: Added Enabled property.
7187 * MailMessageEventArgs.cs: Use the correct message class.
7188 * ListControl.cs: Implemented missing properties and support for
7189 control state. Implemented base RenderContents method.
7190 * Image.cs: Implemented DescriptionUrl and GenerateEmptyAlternateText
7192 * BaseCompareValidator.cs: Implemented methods that support conditional
7193 use of the invariant culture.
7194 * DataBoundControl.cs: Set RequiresDataBinding to true in OnLoad.
7195 * SqlDataSourceCommandEventArgs.cs, SqlDataSourceStatusEventArgs.cs:
7196 It takes a DbCommand instead of a IDbCommand.
7197 * GridViewSortEventArgs.cs: Added SortDirection property.
7198 * TextBox.cs, CheckBoxList.cs: Added protected version of
7199 IPostBackDataHandler methods.
7200 * RadioButtonList.cs: Added protected version of
7201 IPostBackDataHandler and IRepeatInfoUser methods.
7202 * Repeater.cs: Updated some method names.
7203 * DropDownList.cs: Added protected version of
7204 IPostBackDataHandler methods. Reuse RenderContents from base class.
7205 * RepeaterItem.cs, Localize.cs, Literal.cs: Fix inheritance.
7206 * GridViewUpdatedEventArgs.cs: Fix typo.
7207 * ListBox.cs: Added protected version of IPostBackDataHandler methods.
7208 Reuse RenderContents from base class.
7209 * BaseDataBoundControl.cs: Several fixes.
7210 * ImageButton.cs, LinkButton.cs: Implemented several 2.0 properties.
7212 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
7214 * CheckBoxList.cs: Fix build.
7216 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
7218 * Button.cs: Use validation group when validating page.
7219 * XmlDataSourceView.cs: Implemented ExecuteSelect.
7220 * Menu.cs: Minor fix.
7221 * CheckBox.cs: Added 2.0 properties and methods.
7222 * BaseDataList.cs: Always databind the control if view state
7224 * DataList.cs: In 2.0, use control state to save the selected index.
7225 * DetailsViewUpdatedEventArgs.cs: Fix typo.
7226 * CustomValidator.cs: Implement IStaticTextControl interface.
7227 * CheckBoxList.cs: Added missing 2.0 methods.
7228 * DropDownList.cs: Added missing 2.0 methods. Implemented ITextControl
7230 * XmlDataSource.cs: Return childs of DocumentElement, not the root
7232 * DayRenderEventArgs.cs, CompareValidator.cs, DataListItem.cs:
7233 Implemented 2.0 API.
7236 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
7238 * Button.cs: Implemented all missing 2.0 features.
7239 * Table.cs: Render the table caption, when specified.
7240 * Calendar.cs: Implemented most of missing 2.0 features.
7241 * TableCell.cs: Fixed attributes.
7243 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
7245 * ControlPropertyNameConverter.cs: Added file.
7247 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
7249 * Button.cs, MonthChangedEventArgs.cs, FontInfo.cs, Xml.cs, Style.cs,
7250 CookieParameter.cs, HyperLinkColumn.cs, Table.cs,
7251 RegularExpressionValidator.cs, WizardNavigationEventArgs.cs,
7252 ServerValidateEventArgs.cs, Menu.cs, DataControlField.cs,
7253 DataGridPagerStyle.cs, Label.cs, CheckBox.cs, ListItem.cs,
7254 RadioButton.cs, TableStyle.cs, ListControl.cs, Image.cs,
7255 BaseCompareValidator.cs, FontUnit.cs, DataListCommandEventArgs.cs,
7256 IButtonControl.cs, BaseDataList.cs, DataList.cs, BulletedList.cs,
7257 RangeValidator.cs, DataBoundControl.cs, ControlParameter.cs,
7258 RepeaterItemEventArgs.cs, SqlDataSource.cs, BaseValidator.cs,
7259 CustomValidator.cs, MenuItem.cs, SessionParameter.cs, TextBox.cs,
7260 QueryStringParameter.cs, Content.cs, ContentPlaceHolder.cs,
7261 CheckBoxList.cs, RepeaterCommandEventArgs.cs, RadioButtonList.cs,
7262 RequiredFieldValidator.cs, AdRotator.cs, DataListItemEventArgs.cs,
7263 DataGridSortCommandEventArgs.cs, Repeater.cs,
7264 MenuItemTemplateContainer.cs, HyperLink.cs, SqlDataSourceView.cs,
7265 XmlDataSource.cs, MultiView.cs, DataGridCommandEventArgs.cs,
7266 Panel.cs, CompositeControl.cs, DataGrid.cs, ButtonColumn.cs,
7267 CompareValidator.cs, HierarchicalDataBoundControl.cs,
7268 EditCommandColumn.cs, Calendar.cs, SiteMapDataSource.cs,
7269 ListBox.cs, TableCell.cs, ObjectDataSourceSelectingEventArgs.cs,
7270 ObjectDataSourceMethodEventArgs.cs,DataGridPageChangedEventArgs.cs,
7271 WebControl.cs, BaseDataBoundControl.cs, FormParameter.cs,
7272 ValidationSummary.cs, View.cs, ImageButton.cs, TableRow.cs,
7273 LinkButton.cs, DataGridColumn.cs, Parameter.cs, TableItemStyle.cs,
7274 AdCreatedEventArgs.cs:
7276 General 2.0 API fixes: missing attributes, incorrect inheritance,
7277 missing sealed keywords, wrong signatures, etc.
7279 2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
7281 * Table.cs: Added some 2.0 properties.
7282 * FontUnitConverter.cs, UnitConverter.cs: Implemented conversion to
7284 * BaseValidator.cs: Fix warning.
7285 * MultiView.cs, ViewCollection.cs, View.cs: Implemented.
7287 2005-01-26 Lluis Sanchez Gual <lluis@novell.com>
7289 * Menu.cs: Rendering fixes.
7291 2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
7293 * Content.cs, ContentPlaceHolder.cs, ContentControlBuilder.cs
7294 ContentPlaceHolderBuilder.cs: Implemented.
7296 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7298 * CheckBox.cs: when rendering the input tag inside a span tag, keep the
7299 attributes that are meant to be in the input tag in their place.
7301 2005-01-10 Juraj Skripsky <juraj@hotfeet.ch>
7303 * RepeatInfo.cs: fixed bug #68927 (DataList with RepeatLayout='Flow'
7304 generates invalid html).
7306 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
7308 * Menu.cs: Implemented most of missing properties. Added support for
7309 item templates. Implemented menu scrolling.
7310 * MenuItemBinding.cs: Implemented most of missing properties.
7311 * MenuItem.cs: Implemented most of missing properties.
7312 * Menu.js: Implemented scrolling and menu reposition into screen.
7313 * MenuItemTemplateContainer.cs: Implemented.
7314 * SubMenuStyle.cs: Implemented.
7316 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
7318 * Style.cs: Implemented RegisteredCssClass property. Added
7319 CopyTextStylesFrom method, which copies styles that only apply to text.
7320 * Menu.cs, Menu.js: Added hover style support. Define all menu styles
7321 in the page stylesheet. Added support for ItemSpacing property.
7322 * MenuItemStyle.cs: Implemented FillStyleAttributes method.
7324 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
7326 * Style.cs: Generate styles using a CssStyleCollection, so the code can
7327 be reused for the 2.0 FillStyleAttributes method.
7328 * Menu.cs: Implemented more properties and events. Rendering is very
7330 * MenuItem.cs: Added PopOutImageUrl property.
7331 * Menu.js: More work on submenu management.
7333 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
7335 * Menu.cs: Implemented basic rendering. Added some missing properties.
7336 * MenuItem.cs: Improved implementation of Depth.
7337 * Unit.cs: Added serializable attribute.
7338 * TreeView.cs: Moved GetScriptLiteral method to ClientScriptManager,
7339 so it can be reused.
7340 * Menu.js: New script to support he Menu control.
7342 2004-12-03 Lluis Sanchez Gual <lluis@novell.com>
7344 * MenuEventArgs.cs: Changed to sealed.
7345 * TreeView.cs: Minor fix.
7346 * Menu.cs, MenuItemBindingCollection.cs, MenuItemCollection.cs,
7347 MenuItemStyle.cs, MenuItemBinding.cs, MenuItem.cs,
7348 MenuItemStyleCollection.cs: Initial Menu code.
7350 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
7352 * TreeNodeBindingCollection.cs, TreeNodeStyleCollection.cs:
7353 Implemented SetDirtyObject.
7354 * Style.cs: Implemented SetDirty().
7355 * TreeNodeBinding.cs: Added missing attributes. Implemented SetDirty().
7356 * TreeNode.cs: Added missing attributes added support for
7357 PopulateOnDemand. Added some missing property bindings.
7358 * TreeNodeCollection.cs: Several minor fixes. SetDirty must be called
7359 to newly added elements to make sure al new data is saved.
7360 * TreeView.js: Implemented support for client population of nodes.
7361 * TreeNodeStyle.cs: Added missing attributes.
7362 * TreeView.cs: Implemented support for PopulateNodesFromClient and
7363 PopulateOnDemand. Improved rendering.
7365 2004-11-29 Sanjay Gupta <gsanjay@novell.com>
7367 * DataControlField.cs:
7368 * DataControlFieldCell.cs: Initial implementation.
7370 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
7372 * TreeNodeBindingCollection.cs: Implemented.
7373 * TreeNodeBinding.cs: Implemented.
7374 * TreeNode.cs: Added support for data binding.
7375 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif
7376 TreeView_Default_NoExpand.gif: Moved to resources directory.
7377 * ListControl.cs: Fixed api.
7378 * XmlHierarchicalEnumerable.cs: Made internal.
7379 * DataBoundControl.cs: Modified api to match latest ms.net.
7380 * TreeView.js: New javascript file to support TreeView in the client.
7381 * XmlDataSource.cs: Added missing attributes.
7382 * HierarchicalDataBoundControl.cs: Mostly implemented.
7383 * BaseDataBoundControl.cs: Mostly implemented.
7384 * XmlHierarchyData.cs: Made internal.
7385 * TreeView.cs: Mostly implemented. The major missing feature is
7386 client side tree population.
7388 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
7391 * DataBountControl.cs:
7392 * Repeater.cs: Added SelectArguments property and updated.
7393 * SiteMapDataSourceView.cs:
7394 * SqlDataSourceView.cs:
7395 * XmlDataSourceView.cs: Removed extra method, which was there to
7396 keep things compiling.
7398 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
7400 * TreeNodeBindingCollection.cs, TreeNodeBinding.cs, TreeNode.cs,
7401 TreeNodeCollection.cs, TreeNodeStyleCollection.cs, TreeNodeStyle.cs,
7402 TreeView.cs: Initial implementation.
7403 * DataBoundControl.cs: Set the correct base class.
7404 * HierarchicalDataBoundControl.cs, BaseDataBoundControl.cs: Created stub.
7405 * TreeNodeSelectAction.cs: Formatting.
7406 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif,
7407 TreeView_Default_NoExpand.gif: TreeView images.
7409 2004-11-22 Sanjay Gupta <gsanjay@novell.com>
7411 * SqlDataSourceView.cs: Updated methods and added one property.
7413 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7415 * AccessDataSource.cs:
7416 * SqlDataSourceView.cs: Implemented CreateDataSourceView () method.
7417 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7419 * SqlDataSource.cs: Updated call to constructor of SqlDataSourceView.cs.
7420 * SqlDataSourceView.cs: Updated constructor.
7422 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7424 * AccessDataSourceView.cs: Added new class.
7426 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7428 * SqlDataSourceView.cs: Corrected exception handling in
7429 ExecuteSelect method.
7431 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
7433 * SiteMapHierarchicalDataSourceView.cs, SiteMapDataSource.cs: New files.
7434 * SiteMapDataSourceView.cs: Minor fix.
7436 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7438 * SqlDataSourceView.cs: Updated ExecuteSelect method.
7440 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7442 * SqlDataSource.cs: Corrected Select method.
7444 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7446 * SqlDataSource.cs: Updated Select method definition.
7447 * SqlDataSourceStatusEventArgs.cs: Updated class.
7449 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
7451 * SqlDataSourceView.cs: Removed implementation of Events (it is inherited
7452 from DataSourceView.cs).
7454 2004-11-10 Raja R Harinath <rharinath@novell.com>
7456 * SqlDataSourceView.cs (Select): Add 'override' to make it compile.
7458 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
7460 * SqlDataSource.cs: Corrected method calls.
7461 * SqlDataSourceView.cs: Partial implementation of few methods.
7463 2004-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7465 * ListItemCollection.cs: fixed bug when indexing changed elements in
7466 LoadViewState. Patch from Alois Bělaška.
7468 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
7470 * SiteMapDataSourceView.cs:
7471 * SqlDataSourceView.cs:
7472 * XmlDataSourceView.cs: Cosmetic changes because of modifications in
7473 base class, DataSourceView. Changes are to keep things compiling.
7475 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
7477 * SiteMapDataSourceView.cs: Corrected class definition and updated.
7478 * XmlHierarchicalDataSourceView.cs: Modified according to changes in
7481 2004-10-14 Sanjay Gupta <gsanjay@novell.com>
7483 * AdRotator.cs: Updated.
7485 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
7487 * AccessDataSource.cs: Updated.
7489 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7491 * ValidatedControlConverter.cs: Updated.
7493 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7495 * AssociatedControlConverter.cs: Implemented.
7497 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7499 * ControlIDConverter.cs: Initial implementation.
7501 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7503 * IButtonControl.cs: Corrected property name.
7505 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7507 * ParameterCollection.cs: Updated.
7509 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7511 * Parameter.cs: Updated and completed implementation.
7513 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
7515 * ParameterCollection.cs: Resolved warnings, "Unreachable code detected"
7518 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
7520 * AccessDataSource.cs: Initial implementation.
7522 2004-09-30 Sanjay Gupta <gsanjay@novell.com>
7524 * DataControlRowState.cs:
7526 * TreeNodeTypes.cs: Added attribute.
7527 * DataControlRowType.cs:
7529 * SortDirection.cs: Corrected enumeration values.
7530 * TableRowSection.cs: Added new enumeration.
7531 * ObjectDataSourceStatusEventHandler.cs: Corrected method name.
7533 2004-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7535 * TableStyle.cs: don't render empty 'rules' attribute (again).
7537 2004-09-21 Sanjay Gupta <gsanjay@novell.com>
7539 * FormViewUpdatedEventArgs.cs: Spelling mistake.
7541 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
7543 * Literal.cs: Added new method Focus().
7545 2004-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7547 * RadioButton.cs: fix GroupName when the control is inside a
7548 NamingContainer different from Page. Closes bug #65586.
7550 2004-09-07 Sanjay Gupta <gsanjay@novell.com>
7552 * Localize.cs: Added new class.
7554 2004-09-03 Gaurav Vaish <gvaish_mono AT lycos.com>
7556 * CompositeControl.cs : Completed
7557 * Login.cs : Initial implementation.
7559 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7561 * Xml.cs: fixed get_DocumentContent (it was returning "" always!) and
7562 don't call MapPathSecure on the content itself.
7564 * XmlBuilder.cs: handle XML documents written inside asp:xml. The
7565 document is checked at parse time and will be checked again at run time.
7569 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
7571 * AuthenticateEventHandler.cs:
7572 * CreateUserErrorEventArgs.cs:
7573 * CreateUserErrorEventHandler.cs:
7574 * DetailsViewCommandEventHandler.cs:
7575 * DetailsViewDeleteEventArgs.cs:
7576 * DetailsViewDeleteEventHandler.cs:
7577 * DetailsViewDeletedEventArgs.cs:
7578 * DetailsViewDeletedEventHandler.cs:
7579 * DetailsViewInsertEventArgs.cs:
7580 * DetailsViewInsertEventHandler.cs:
7581 * DetailsViewInsertedEventArgs.cs:
7582 * DetailsViewInsertedEventHandler.cs:
7583 * DetailsViewModeEventArgs.cs:
7584 * DetailsViewModeEventHandler.cs:
7585 * DetailsViewPageEventHandler.cs:
7586 * DetailsViewUpdateEventArgs.cs:
7587 * DetailsViewUpdateEventHandler.cs:
7588 * DetailsViewUpdatedEventArgs.cs:
7589 * DetailsViewUpdatedEventHandler.cs:
7590 * FormViewCommandEventHandler.cs:
7591 * FormViewDeleteEventArgs.cs:
7592 * FormViewDeleteEventHandler.cs:
7593 * FormViewDeletedEventArgs.cs:
7594 * FormViewDeletedEventHandler.cs:
7595 * FormViewInsertEventArgs.cs:
7596 * FormViewInsertEventHandler.cs:
7597 * FormViewInsertedEventArgs.cs:
7598 * FormViewInsertedEventHandler.cs:
7599 * FormViewModeEventHandler.cs:
7600 * FormViewPageEventHandler.cs:
7601 * FormViewUpdateEventArgs.cs:
7602 * FormViewUpdateEventHandler.cs:
7603 * FormViewUpdatedEventArgs.cs:
7604 * FormViewUpdatedEventHandler.cs:
7605 * GridViewCancelEditEventArgs.cs:
7606 * GridViewCancelEditEventHandler.cs:
7607 * GridViewCommandEventHandler.cs:
7608 * GridViewDeleteEventArgs.cs:
7609 * GridViewDeleteEventHandler.cs:
7610 * GridViewDeletedEventArgs.cs:
7611 * GridViewDeletedEventHandler.cs:
7612 * GridViewEditEventHandler.cs:
7613 * GridViewPageEventHandler.cs:
7614 * GridViewRowEventHandler.cs:
7615 * GridViewSelectEventHandler.cs:
7616 * GridViewSortEventArgs.cs:
7617 * GridViewSortEventHandler.cs:
7618 * GridViewUpdateEventArgs.cs:
7619 * GridViewUpdateEventHandler.cs:
7620 * GridViewUpdatedEventArgs.cs:
7621 * GridViewUpdatedEventHandler.cs:
7622 * ImageMapEventHandler.cs:
7623 * MailMessageEventHandler.cs:
7624 * MenuEventHandler.cs:
7625 * ObjectDataSourceDisposingEventHandler.cs:
7626 * ObjectDataSourceEventHandler.cs:
7627 * ObjectDataSourceMethodEventArgs.cs:
7628 * ObjectDataSourceMethodEventHandler.cs:
7629 * ObjectDataSourceSelectingEventArgs.cs:
7630 * ObjectDataSourceSelectingEventHandler.cs:
7631 * ObjectDataSourceStatusEventArgs.cs:
7632 * ObjectDataSourceStatusEventHandler.cs:
7633 * SendMailErrorEventHandler.cs:
7634 * SiteMapNodeItemEventHandler.cs:
7635 * SqlDataSourceSelectingEventArgs.cs:
7636 * SqlDataSourceSelectingEventHandler.cs:
7637 * TreeNodeEventHandler.cs:
7638 * WizardNavigationEventArgs.cs:
7639 * WizardNavigationEventHandler.cs: Minor modifications, compiler error
7640 corrections and removing "sealed" access specifier from *EventHandler.cs
7642 2004-08-18 Sanjay Gupta <gsanjay@novell.com>
7644 * Literal.cs: Added new attributes and property for .Net 2.0
7646 2004-08-13 Sanjay Gupta <gsanjay@novell.com>
7648 * GridViewDeleteEventArgs.cs: Removed extra code.
7650 2004-08-12 Sanjay Gupta <gsanjay@novell.com>
7652 * SendMailErrorEventArgs.cs:
7653 * SendMailErrorEventHandler.cs:
7654 * SiteMapNodeItemEventArgs.cs:
7655 * SiteMapNodeItemEventHandler.cs:
7656 * SqlDataSourceSelectingEventArgs.cs:
7657 * SqlDataSourceSelectingEventHandler.cs:
7658 * TreeNodeEventArgs.cs:
7659 * TreeNodeEventHandler.cs:
7660 * WizardNavigationEventArgs.cs:
7661 * WizardNavigationEventHandler.cs: Added new delegates.
7663 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7665 * ImageMapEventArgs.cs:
7666 * ImageMapEventHandler.cs:
7667 * MailMessageEventArgs.cs:
7668 * MailMessageEventHandler.cs:
7670 * MenuEventHandler.cs:
7671 * ObjectDataSourceDisposingEventArgs.cs:
7672 * ObjectDataSourceDisposingEventHandler.cs:
7673 * ObjectDataSourceEventArgs.cs:
7674 * ObjectDataSourceEventHandler.cs:
7675 * ObjectDataSourceMethodEventArgs.cs:
7676 * ObjectDataSourceMethodEventHandler.cs:
7677 * ObjectDataSourceSelectingEventArgs.cs:
7678 * ObjectDataSourceSelectingEventHandler.cs:
7679 * ObjectDataSourceStatusEventArgs.cs:
7680 * ObjectDataSourceStatusEventHandler.cs: Added new delegates.
7682 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7684 * DetailsViewCommandEventArgs.cs:
7685 * FormViewCommandEventArgs.cs:
7686 * GridViewCommandEventArgs.cs: Corrected constructor.
7688 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7690 * GridViewCancelEditEventArgs.cs:
7691 * GridViewCancelEditEventHandler.cs:
7692 * GridViewCommandEventArgs.cs:
7693 * GridViewCommandEventHandler.cs:
7694 * GridViewDeletedEventArgs.cs:
7695 * GridViewDeletedEventHandler.cs:
7696 * GridViewDeleteEventArgs.cs:
7697 * GridViewDeleteEventHandler.cs:
7698 * GridViewEditEventArgs.cs:
7699 * GridViewEditEventHandler.cs:
7700 * GridViewPageEventArgs.cs:
7701 * GridViewPageEventHandler.cs:
7702 * GridViewRowEventArgs.cs:
7703 * GridViewRowEventHandler.cs:
7704 * GridViewSelectEventArgs.cs:
7705 * GridViewSelectEventHandler.cs:
7706 * GridViewSortEventArgs.cs:
7707 * GridViewSortEventHandler.cs:
7708 * GridViewUpdatedEventArgs.cs:
7709 * GridViewUpdatedEventHandler.cs:
7710 * GridViewUpdateEventArgs.cs:
7711 * GridViewUpdateEventHandler.cs: Added new delegates.
7713 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7715 * FormViewUpdatedEventArgs.cs: Corrected constructor.
7717 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7719 * FormViewCommandEventArgs.cs: Corrected name of class.
7721 2004-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7723 * Xml.cs: use MapPath in DocumentSource and documentContent. Fixes
7726 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
7728 * FormViewCommandEventArgs.cs:
7729 * FormViewCommandEventHandler.cs:
7730 * FormViewDeletedEventArgs.cs:
7731 * FormViewDeletedEventHandler.cs:
7732 * FormViewDeleteEventArgs.cs:
7733 * FormViewDeleteEventHandler.cs:
7734 * FormViewInsertedEventArgs.cs:
7735 * FormViewInsertedEventHandler.cs:
7736 * FormViewInsertEventArgs.cs:
7737 * FormViewInsertEventHandler.cs:
7738 * FormViewModeEventArgs.cs:
7739 * FormViewModeEventHandler.cs:
7740 * FormViewPageEventArgs.cs:
7741 * FormViewPageEventHandler.cs:
7742 * FormViewUpdatedEventArgs.cs:
7743 * FormViewUpdatedEventHandler.cs:
7744 * FormViewUpdateEventArgs.cs:
7745 * FormViewUpdateEventHandler.cs: Added new delegates.
7747 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
7749 * DetailsViewCommandEventArgs.cs:
7750 * DetailsViewCommandEventHandler.cs:
7751 * DetailsViewDeletedEventArgs.cs:
7752 * DetailsViewDeletedEventHandler.cs:
7753 * DetailsViewDeleteEventArgs.cs:
7754 * DetailsViewDeleteEventHandler.cs:
7755 * DetailsViewInsertedEventArgs.cs:
7756 * DetailsViewInsertedEventHandler.cs:
7757 * DetailsViewInsertEventArgs.cs:
7758 * DetailsViewInsertEventHandler.cs:
7759 * DetailsViewModeEventArgs.cs:
7760 * DetailsViewModeEventHandler.cs:
7761 * DetailsViewPageEventArgs.cs:
7762 * DetailsViewPageEventHandler.cs:
7763 * DetailsViewUpdatedEventArgs.cs:
7764 * DetailsViewUpdatedEventHandler.cs:
7765 * DetailsViewUpdateEventArgs.cs:
7766 * DetailsViewUpdateEventHandler.cs: Added new delegates.
7768 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
7770 * AuthenticateEventArgs.cs:
7771 * AuthenticateEventHandler.cs:
7772 * CreateUserErrorEventArgs.cs:
7773 * CreateUserErrorEventHandler.cs: Added new delegates.
7775 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
7777 * IButtonControl.cs:
7778 * ICallbackContainer.cs:
7779 * ICompositeControlDesignerAccessor.cs:
7780 * IPostBackContainer.cs: Added new interfaces.
7782 2004-08-03 Sanjay Gupta <gsanjay@novell.com>
7785 * AutoCompleteType.cs:
7786 * ContentDirection.cs:
7787 * DataControlCellType.cs:
7788 * DataControlRowState.cs:
7789 * DataControlRowType.cs:
7790 * DetailsViewMode.cs:
7791 * DynamicImageParameterMode.cs:
7794 * ImageFieldMode.cs:
7801 * SiteMapNodeItemType.cs:
7802 * SiteMapNodeType.cs:
7803 * SiteMapViewType.cs:
7805 * TableCaptionAlign.cs:
7806 * TableHeaderScope.cs:
7808 * TreeNodeSelectAction.cs:
7810 * TreeViewImageSet.cs:
7811 * WizardStepType.cs: Added enumerations
7813 2004-08-02 Duncan Mak <duncan@ximian.com>
7816 * LoginFailureAction.cs:
7817 * LoginTextLayout.cs: Added enumerations.
7819 2004-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7821 * BaseValidator.cs: in Validate(), when the control is not visible or
7822 enabled, return inmediately after setting IsValid to true. Fixes bug
7825 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7827 * DataList.cs: s/HasChildren/HasControls()/.
7829 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7831 * DataList.cs: style.
7833 2004-07-27 Alon Gazit <along@mainsoft.com>
7834 * DataList.cs: Replaced foreach statement with for statement,
7835 in order to improve performence.
7837 2004-07-27 Alon Gazit <along@mainsoft.com>
7838 * WebControl.cs: changed RenderBeginTag()to use TagKey instead of
7840 * Unit.cs : changed GetTypeFromString() and GetStringFromPixel() to use
7841 switch statements in order to improve performance.
7843 2004-06-10 Alon Gazit <along@mainsoft.com>
7844 * WebControl.cs: fixed LoadViewState().
7845 Creates new attributes state bag only when the current is null.
7847 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7849 * Calendar.cs: implemented OnPreRender and HasWeekSelectors.
7851 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7853 * Calendar.cs: set the title class attribute if we have it. Fixes bug
7856 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7858 * Style.cs: added SetBit.
7860 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7863 * CompareValidator.cs:
7866 * WebControl.cs: Added protected missing members and attributes.
7868 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7870 * TextBox.cs: don't save the Text if in ViewState if it's a password.
7871 Save it if the control is not visible or not enabled. Fixes bug #58497.
7873 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7875 * Calendar.cs: fire OnDayRender after assigning the calendar cell text.
7878 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
7880 * SqlDataSourceCommandEventArgs:
7881 * XmlDataSource.cs : removed temporary workarounds for CLS
7882 compliance as System.Data is now CLS compliant
7884 2004-05-06 Alon Gazit <along@mainsoft.com>
7885 * WebControl.cs: fixed LoadViewState() and SaveViewState().
7886 Before the change the Enabled property wasn't updated when a postback
7888 * ListControl.cs: fixed SelectedIndex property implementation.
7889 Prevents throwing ArgumentOutOfRangeException (that should not be
7890 thrown), when the list is empty.
7892 2004-04-28 Alon Gazit <along@mainsoft.com>
7893 * WebControl.cs: fixed LoadViewState().
7894 Always loading the saved attributes collection.
7896 2004-04-18 Alon Gazit <along@mainsoft.com>
7897 * Repeater.cs: fixed InstantiateItem() and DataSource property.
7898 The change in DataSource prevents throwing ArgumentException while
7899 setting property value to null.
7900 The change in InstantiateItem() prevents NullReferenceException.
7902 2004-04-07 Lluis Sanchez Gual <lluis@ximian.com>
7904 * BaseValidator.cs: Store Display property in the correct ViewState
7905 property. Don't render anything if Display is ValidatorDisplay.None.
7907 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
7909 * Xml.cs: In LoadXpathDoc(), don't use MapPathSecure with documentSource,
7910 since it is already a physical path. Fixes bug #55334.
7912 2004-02-13 Jackson Harper <jackson@ximian.com>
7914 * Calendar.cs: Match MS postback data. This allows sites that
7915 parse the postback data manually to work.
7917 2004-02-04 Alon Gazit <along@mainsoft.com>
7918 * EditCommandColumn.cs: fixed InitializeCell().
7919 The rendered LiteralControl should contain " " and not " ".
7921 2004-02-01 Alon Gazit <along@mainsoft.com>
7923 * DataGrid.cs: fixed a problem in the paging mechanism in the method
7925 the problem was when (PagerStyle.Mode == PagerMode.NumericPages),
7926 while clicking the "..." link in the second page.
7928 2004-01-28 Alon Gazit <along@mainsoft.com>
7930 * Calendar.cs: prevent NullReferenceException in RenderAllDays().
7932 2004-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7934 * Calendar.cs: when rendering days, add a LiteralControl containing the
7935 day before OnDayRender is called. Only generate the default links for
7936 days when IsSelectable is true after OnDayRender. Fixes bug #53372.
7938 2004-01-21 Martin Baulig <martin@ximian.com>
7940 * XmlHierarchyData.cs: Make this compile with csc.
7942 * BulletedList.cs (BulletedList.SelectedItem): Removed the `set'
7943 accessor since the base class doesn't have one.
7945 2004-01-18 Alon Gazit <along@mainsoft.com>
7947 * CheckBoxList.cs: fix problem with negative TabIndex (wasn't rendered).
7949 2004-01-18 Alon Gazit <along@mainsoft.com>
7951 * Style.cs: CopyFrom method shouldn't copy a value that is equal to
7952 Property default value.
7953 * FontInfo.cs : CopyFrom method shouldn't copy a value that is equal to
7954 Property default value.
7956 2004-01-15 Alon Gazit <along@mainsoft.com>
7958 * RadioButtonList.cs: RepeatLayout property should affect the rendered
7961 2004-01-15 Alon Gazit <along@mainsoft.com>
7962 * FontInfo.cs: Add validation check to Size property.
7964 2004-01-07 Alon Gazit <along@mainsoft.com>
7965 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
7966 merge the column's style to the cell's style and not to
7967 the item's(row) style.
7969 2004-01-04 Alon Gazit <along@mainsoft.com>
7970 * RangeValidator.cs: Fixed ControlPropertiesValid().
7972 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7974 * Xml.cs: mono-stylized and removed warnings.
7976 2004-1-1 Alon Gazit <along@mainsoft.com>
7977 * RadioButtonList.cs: update RenderItem() so that each RadioButton
7978 is enabled or disabled like the RadioButtonList.
7979 * CheckBoxList.cs: update RenderItem() so that each CheckBox
7980 is enabled or disabled like the CheckBoxList.
7982 2004-1-1 Alon Gazit <along@mainsoft.com>
7983 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
7984 The Header or Footer Style shouldn't merge with the cells Style.
7986 2004-1-1 Alon Gazit <along@mainsoft.com>
7987 * DataGridColumn.cs: Headers and Footers are initialized
7988 with the relevant Style object.
7990 2003-12-30 Alon Gazit <along@mainsoft.com>
7991 * RepeatInfo.cs: Fixed DoVerticalRendering () and
7992 DoHorizontalRendering().
7993 Current implementation produces few extra html tags.
7995 2003-12-29 Alon Gazit <along@mainsoft.com>
7997 * CheckBox.cs: change the implementation of LoadPostData.
7998 Currently, while the AutoPostBack property equals true ,
7999 it isn't possible to perform uncheck.
8001 2003-12-19 Jackson Harper <jackson@ximian.com>
8003 * TableCell.cs: Setting a cells text should clear its control
8004 collection as per la specification. This fixes bug #51825.
8006 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8008 * DataGridColumn.cs: stylized LoadViewState.
8009 * DataGridColumnCollection.cs: when TrackViewState is called, also
8010 call it on all the existing columns. Fixes bug #52334.
8012 2003-12-18 Alon Gazit <along@mainsoft.com>
8014 * DataGridPagerStyle.cs: merge DataGridPagerStyle properties when Style
8017 2003-12-18 Alon Gazit <along@mainsoft.com>
8019 * TableStyle.cs: merge TableStyle properties when Style is empty.
8021 2003-12-16 Alon Gazit <along@mainsoft.com>
8023 * HyperLink.cs: Change Text property implementation. in MS when the Text
8024 property is set, all the controls in the HyperLink are being deleted.
8025 This fixes bug #52239.
8027 2003-12-15 Alon Gazit <along@mainsoft.com>
8028 * RepeatInfo.cs: Fixed DoVerticalRendering () and
8029 DoHorizontalRendering().
8030 Both methods add additional empty table row in the head of each item
8031 table when the variable named isTable equals true (happenes with the
8032 default instantiation of RepeatInfo). These additional rows should be
8033 added when isTable equals false.
8034 This fixes bug #52225.
8036 2003-12-15 Alon Gazit <along@mainsoft.com>
8038 * RepeatInfo.cs: Fixed DoVerticalRendering() and
8039 DoHorizontalRendering().
8040 Both methods add to rendered Header a colspan attribute according to the
8041 rows count. after the change the colspan is added according to the
8044 2003-12-15 Alon Gazit <along@mainsoft.com>
8045 * CheckBox.cs: Disabled CheckBox does not produce same HTML as .NET.
8046 In .NET if the checkbox is disabled ,its text appears disabled too.
8047 In Mono the text appears enabled. the fix is in Render().
8048 This fixes bug #52180.
8050 2003-12-15 Alon Gazit <along@mainsoft.com>
8051 * Repeater.cs: Change the implementation of CreateControlHierarchy().
8052 The current implementation renders extra Header and footer
8053 without Repeater.DataSource assign.
8054 This fixes bug #52179.
8056 2003-12-15 Alon Gazit <along@mainsoft.com>
8057 * DataGrid.cs: Change the implementation of the property
8058 BackImageUrl. The current implementation has no influence
8059 on the rendered Html.
8061 2003-12-15 Alon Gazit <along@mainsoft.com>
8062 * WebControl.cs: Change the implementation of the property
8063 Enabled. Before the change the WebControl also looked at
8064 parent.Enabled . fixed bug #52171.
8066 2003-12-11 Jackson Harper <jackson@ximian.com>
8068 * RepeatInfo.cs: When rendering vertically figure out how many
8069 colmns are not going to be filled in in the last row, and adjust
8070 things accordingly. This fixes bug #51863.
8072 2003-12-10 Alon Gazit <along@mainsoft.com>
8073 * TableRow.cs: Change the implementation of the properties
8074 HorizontalAlign and VerticalAlign. The current implementation
8075 has no influence on the rendered Html.
8077 2003-12-10 Alon Gazit <along@mainsoft.com>
8078 * TableItemStyle.cs: Add setting of The WRAP flag in the Wrap
8079 property's set method.
8081 2003-12-09 Jackson Harper <jackson@ximian.com>
8083 * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
8084 Increment counter when moving to start. Fixes bug #51926.
8086 2003-12-08 Jackson Harper <jackson@ximian.com>
8088 * HyperLinkColumn.cs: Fix navigate url rendering. Patch by
8089 Benjamin Jemlich. Fixes bug #51823.
8091 2003-12-07 Alon Gazit <along@mainsoft.com>
8092 * Panel.cs: Panel doesn't render nowrap attribute while the Wrap
8093 property is set to false. Fixes bug #58120.
8095 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8097 * TableItemStyle.cs: merge TableItemStyle properties when Style is
8098 empty. Fixes bug #51689. Patch by Alon Gazit <along@mainsoft.com>.
8100 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8102 * RadioButtonList.cs: render tabindex attribute if needed. Fixes bug
8105 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8107 * WebControl.cs: don't create the attributes when GetAttribute is
8110 2003-12-01 Jackson Harper <jackson@ximian.com>
8112 * WebControl.cs: Only allow access keys to be null or a single
8113 char. Patch by Alon Gazit <along@mainsoft.com>.
8115 2003-11-30 Jackson Harper <jackson@ximian.com>
8117 * CheckBoxList.cs: A checkbox will have null post data if it is
8118 unselected. This fixes bug #51516.
8120 2003-11-29 Jackson Harper <jackson@ximian.com>
8122 * DataGrid.cs: Display paging controls even when there is no
8123 data. Path by Mohammad DAMT. Fixes bug #51487.
8125 2003-11-29 Jackson Harper <jackson@ximian.com>
8127 * DataGrid.cs: Call TrackViewState when loading bound columns view
8128 state. So that their state is saved. This fixes bug #51424. Also
8131 2003-11-26 Jackson Harper <jackson@ximian.com>
8133 * BaseDataList.cs: Change && to || We will call that a typo so no
8134 one gets embarrased.
8136 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8138 * BaseDataList.cs: allow setting null as Datasource.
8140 * DataGrid.cs: keep autogenerated columns in the ViewState.
8142 Patches by Alon Gazit <along@mainsoft.com>.
8144 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
8146 * SqlDataSource*: Implement almost everything. Data access is
8149 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
8151 * Calendar.cs (SaveViewState):
8152 - We were allocating a 11 item array, we only used 10 items,
8153 so only allocate 10.
8154 - We only need to save the selected dates if there are any.
8155 * DataGrid.cs (SaveViewState):
8156 * DataGridColumn.cs (SaveViewState):
8157 * DataGridColumnCollection.cs (SaveViewState):
8158 - Only return the array if there is anything in it
8159 * Style.cs (SaveViewState):
8160 - Only save the bits if there were changes.
8161 * WebControl.cs (SaveViewState), (LoadViewState):
8162 - Don't save Enabled into the viewstate here, we already
8163 do it in the property. This just caused *EVERY* control
8164 to have a non-null state, taking up lots of extra room
8166 - The style will always be created with this control's
8167 viewstate, so the style will always return null for the
8168 viewstate. As such, we do not need to store it. We can
8169 also reduce the triplet to a pair because of this.
8171 2003-11-22 Jackson Harper <jackson@ximian.com>
8173 * ValidationSummary.cs: Fix number of messages and message array computation.
8175 2003-11-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8177 * Xml.cs: Corrected attribute
8178 * XmlBuilder.cs: Added
8180 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8182 * Xml.cs: class status based fixes.
8184 2003-11-19 Jackson Harper <jackson@ximian.com>
8186 * HyperLink.cs: Use ResolveUrl instead of ResolveBaseUrl.
8188 2003-11-19 Jackson Harper <jackson@ximian.com>
8190 * HyperLink.cs: Use ResolveBaseUrl so that ~/ is interpreted as
8191 teh applications base directory. This fixes bug #51092.
8193 2003-11-18 Todd Berman <tberman@gentoo.org>
8195 * ControlParameter.cs:
8196 * CookieParameter.cs:
8198 * QueryStringParameter.cs:
8199 * SessionParameter.cs: added public .ctor ()
8200 * Parameter.cs: added public .ctor (), internal SetOwnerCollection
8201 and handling, as well as internal ParameterValue for easy access.
8202 NOTE: ParameterValue doesnt respect TreatEmptyStringAsNull yet.
8203 * ParameterCollection.cs: implementation redux.
8205 2003-11-18 Todd Berman <tberman@gentoo.org>
8207 * ParameterCollection.cs: Implemented
8208 * Parameter.cs: Added _owner, SetOwnerCollection and proper handling.
8209 ToString () now matches asp.net
8211 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
8213 * ControlParameter.cs:
8214 * CookieParameter.cs:
8217 * QueryStringParameter.cs: New v2 files. Mostly
8218 implemented, still need a few methods.
8220 2003-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8222 * ListItem.cs: prevent nullrefs ni Get/SetAttribute. Thanks to Alon
8223 Gazit <along@mainsoft.com>.
8225 2003-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8227 * RadioButton.cs: fixed RenderInputTag for negative TabIndex values.
8228 Patch by Alon Gazit <along@mainsoft.com>.
8230 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8232 * DataBoundControl.cs: Implement
8233 * ListControl.cs: inherit from the above.
8234 * Repeater.cs, BaseDataList.cs: should reset whenever we databind.
8236 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8241 * Repeater.cs: add v2 databinding stuff
8242 * XmlDataSource.cs: make it load the xml.
8244 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8247 * XmlDataSourceView.cs:
8248 * XmlHierarchicalDataSourceView.cs:
8249 * XmlHierarchicalEnumerable.cs:
8250 * XmlHierarchyData.cs: Implement
8252 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
8254 * SiteMapDataSourceView.cs: Implement.
8256 2003-11-07 Jackson Harper <jackson@ximian.com>
8258 * ImageButton.cs: This is a workaround for bug #49819. It appears
8259 that the .x and .y values are not being posted, and only the x
8260 value is being posted with the ctrl's id as the key.
8262 2003-11-07 Jackson Harper <jackson@ximian.com>
8264 * DataGrid.cs (CreateControlHierarchy): Current page index is
8265 alolowed to equal page count. This prevents an exception being
8266 thrown when both are zero.
8268 2003-11-06 Jackson Harper <jackson@ximian.com>
8270 * ValidationSummary.cs: Add Render method. Patch by Yaron Shkop.
8271 * BaseValidator.cs: Disable base control so the isValid flag is
8274 2003-11-03 Jackson Harper <jackson@ximian.com>
8276 * TemplateColumn.cs: Use the same renderer for selected items as
8277 normal items. This fixes bug #49744.
8279 2003-11-03 Jackson Harper <jackson@ximian.com>
8282 * WebControl.cs: Fix argument out of range exceptions on
8283 properties. Patch by Yaron Shkop.
8285 2003-11-03 Jackson Harper <jackson@ximian.com>
8287 * TemplateColumn.cs: If the item is selected but there is no
8288 editItemTemplate use the itemTemplate. This matches MS behvoir.
8290 2003-11-03 Jackson Harper <jackson@ximian.com>
8292 * Repeater.cs: Always set alternating items to the AlternatingItem
8293 type, when instantiating alternating items use the itemTemplate if
8294 the alternatingItem template is null. This matches MS behavoir and
8297 2003-11-03 Jackson Harper <jackson@ximian.com>
8299 * DataGridPagerStyle.cs: Name of view state attribute is
8300 PagerVisible not Visible. Call owner.OnPagerChanged when the pager
8301 visibility is changed. Patch by Yaron Shkop.
8303 2003-11-03 Jackson Harper <jackson@ximian.com>
8305 * RepeatInfo.cs: When doing horizontal rendering use the repeat
8306 columns as the number of columns in a row. This fixes bug #49016.
8308 2003-11-03 Jackson Harper <jackson@ximian.com>
8310 * PagedDataSource.cs (PageCount): Return page count of 1 if there
8311 paging is disabled. Patch by Yaron Shkop.
8312 * PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
8313 * TableStyle.cs (AddAttributesToRender): Render border style
8314 collapse. Patch by Yaron Shkop.
8316 * TableItemStyle.cs:
8317 * DataGridPagerStyle.cs: Call base copy and merge even if style is of
8318 the wrong type. Patch by Yaron Shkop.
8320 2003-11-03 Jackson Harper <jackson@ximian.com>
8322 * BoundColumn.cs: Render readonly columns. Patch by Mohammad DAMT.
8324 2003-11-02 Ben Maurer <bmaurer@users.sourceforge.net>
8327 * BulletedListDisplayMode.cs:
8328 * BulletedListEventHandler.cs:
8330 * BulletedListEventArgs.cs: V2 controls (yay!)
8332 2003-10-30 Jackson Harper <jackson@ximian.com>
8334 * Repeater.cs: Throw an exception if the datasource is set to
8335 something that does not implement either IListSource or
8336 IEnumerable. This fixes bug #50155.
8338 2003-10-30 Jackson Harper <jackson@ximian.com>
8340 * DataGridPagerStyle.cs: Do not allow page button counts to be set
8341 to less then 1. Patch by Yaron Shkop. This fixes bug #50236.
8343 2003-10-29 Jackson Harper <jackson@ximian.com>
8345 * ButtonColumn.cs: Format string and text to format were
8346 inversed. This fixes bug #50171.
8348 2003-10-29 Jackson Harper <jackson@ximian.com>
8350 * DataGridColumn.cs: If an item style is set apply it to the
8351 cell. This fixes bug #50173.
8353 2003-10-29 Ben Maurer <bmaurer@users.sourceforge.net>
8355 * HyperLinkColumn.cs: Patch by Yaron Shkop. Fixes #50234. Remove
8356 old debugging value.
8358 2003-10-29 Jackson Harper <jackson@ximian.com>
8360 * PagedDataSource.cs:
8361 * DataGrid.cs: Patch by Mohammad DAMT. Do not go past the
8362 end of the last page. Fixes bug #5085.
8364 2003-10-29 Jackson Harper <jackson@ximian.com>
8366 * CheckBox.cs: Do not change the status of a checkbox when there
8367 is no post data. This fixes bug #49091.
8368 * CheckBoxList.cs: Do not change the status of the checkboxes when
8369 there is no post data. This fixes bug #49093.
8371 2003-10-26 Ben Maurer <bmaurer@users.sourceforge.net>
8373 * RadioButton.cs: Patch by Yaron Shkop. Enables disabling a
8374 RadioButton. Fixes #50132
8376 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
8378 * PagedDataSource.cs: Patch by Ivo Haamer. Typo prevented
8379 paging from working. Fixes #48814.
8381 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
8383 * DataGrid.cs: A few typos kept us from viewing datagrids
8384 that were based on customized collections.
8386 2003-10-24 Ben Maurer <bmaurer@users.sourceforge.net>
8388 * DataGridCommandEventArgs.cs: typo, cmdSrc was becoming origionalArgs.
8390 2003-10-23 Ben Maurer <bmaurer@users.sourceforge.net>
8392 * Calendar.cs: render the next month button so that aligns to the
8395 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8397 * BaseCompareValidator.cs: splitted Convert. Fixed bug #49927. The fix
8398 was just changing && by || after the first Match.
8400 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8402 * Calendar.cs: apply header style in RenderHeader. Fixes bug #49144.
8403 Patch by Yaron Shkop.
8405 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8407 * DataGrid.cs: applied patch from Yaron Shkop (yaronsh@mainsoft.com)
8408 that fixes bug #49744. Now the selection doesn't lose its data.
8410 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
8412 * EditCommandColumn.cs: Implement; fix #49736
8414 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
8416 * ButtonColumn.cs: Use the DataGridLinkButton, so that we inherit
8417 the forground color. bug #49738
8419 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8421 * Calendar.cs: fixed bug #49727.
8423 2003-10-18 Ben Maurer <bmaurer@users.sourceforge.net>
8425 * TableStyle.cs: fix #49740.
8427 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8429 * SelectedDatesCollection.cs: fix by Yaron for bug #49698.
8430 * ValidationSummary.cs: fixes bug #49669.
8432 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8434 * Calendar.cs: apply the calendar style to the new Table, not to itself.
8437 * CheckBox.cs: render the hidden fields if AutoPostBack.
8439 * Style.cs: don't render empty width/height. Small improvement in
8442 * Table.cs: fixed condition for border width.
8445 (CopyFrom): always call the base class to copy other attributes. Fixes
8446 bug #49408. Don't render empty 'rules' attribute.
8448 * WebControl.cs: track viewstate when enabled. Don't overwrite source
8449 control attributes in CopyBaseAttributes.
8451 * ChangeLog: fixed dates.
8454 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
8456 * WebControl.cs : Attributes { get; } - Is Complete.
8457 * ValidationSummary.cs : AddAttributesToRender(HtmlTextWriter)
8460 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
8462 * BaseValidator.cs : DetermineRenderUplevel() - Completed.
8463 : RegisterValidatorCommonScript()
8464 - More code, I need HELP!
8465 : RegisterValidatorDeclaration()
8466 - More code, I need HELP!
8468 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8470 * CheckBoxList.cs: don't lose state when enabling/disabling. See bug
8473 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8475 * Repeater.cs: fixed bug #48807. It needed to use a DummyDataSource and
8476 ClearViewState only called when no items.
8478 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8480 * RadioButtonList.cs: fix for bug #48874 by Yaron Shkop.
8482 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8484 * RadioButtonList.cs: fix for bug #48870 by Yaron Shkop.
8486 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8488 * DataList.cs: fixed bug #48217. Patch by yaronsh@mainsoft.com (Yaron
8491 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8493 * AdRotator.cs: fixes bug #48691. Patch by yaronsh@mainsoft.com (Yaron
8496 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8498 * CheckBox.cs: render the 'disabled' attribute in the correct tag.
8499 * WebControl.cs: fixed Enabled property and save it in ViewState.
8503 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8505 * ListControl.cs: fixed bug #48668. Thanks to Yaron Shkop.
8507 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8509 * ListBox.cs: patch by yaronsh@mainsoft.com (Yaron Shkop) that fixes
8512 2003-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8514 * FontInfo.cs: fixed Name property as suggested by Rich Alimi
8515 <rich@velvetsea.net>.
8517 2003-09-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8519 * RegularExpressionValidator.cs: fix for EvaluateIsValid by Juraj
8520 Skripsky <juraj@hotfeet.ch>
8522 2003-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8524 * BaseValidator.cs: patch by Juraj Skripsky (juraj@hotfeet.ch) that
8525 fixes rendering of the end tag.
8527 2003-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8529 * Repeater.cs: fix for Items property provided by yaronsh@mainsoft.com
8530 (Yaron Shkop). Closes bug #48060.
8532 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8534 * CheckBox.cs: in LoadPostData, only return
8535 true when the new data is different from the one we had. Fixed
8536 conditions to save Checked state. Thanks to yaronshkop@hotmail.com
8539 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8541 * Style.cs: Font.Strikeout renders as 'line-through'. Fixes bug #47871.
8543 2003-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8545 * WebControl.cs: removed dangling ^M and unneeded fields. Keep track
8546 of Enable in ViewState. Fixes bug #47865.
8548 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8550 * Style.cs: the MARKED bit is not send set in ViewState unless something
8551 is changed. Fixed TrackViewState condition.
8553 * WebControl.cs: save the base ViewState *after* ControlStyle is done,
8554 because it uses the same ViewState as the control. Fixes bug #47725.
8556 2003-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8558 * HyperLinkColumn.cs: patch from David Pickens <dsp@rci.rutgers.edu>
8559 that fixes databinding when only DataTextField or DataNavigateUrlField
8562 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8564 * ListControl.cs: patch sent by Yaacov Akiba Slama <ya@slamail.org> on
8565 behalf of Yaron Shkop <yaronsh@mainsoft.com> that fixes selection of
8566 values before assigning a data source and other issues.
8568 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8570 * CheckBox.cs: save viewstate when needed and correctly handle post
8571 data. Fixes bug #47462.
8573 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8575 * ButtonColumn.cs: Removed additional attributes
8576 * CheckBox.cs: Added attribute
8577 * DataGrid.cs: Added attributes
8578 * HyperLinkColumn.cs: Changed attributes, added lamespec
8579 * Style.cs: Removed attributes
8580 * TextBox.cs: Added/ removed attributes
8582 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8584 * AdRotator.cs: Added all attributes
8585 * BaseDataList.cs: Added all attributes, added lamespec, removed additional attributes
8586 * BaseValidator.cs: Added all attributes
8587 * BoundColumn.cs: Added all attributes
8588 * Button.cs: Added all attributes
8589 * ButtonColumn.cs: Added all attributes, added lamespec
8590 * Calendar.cs: Added all attributes, added error checks, throws more exceptions
8591 * CheckBox.cs: Added all attributes
8592 * CheckBoxList.cs: Added all attributes
8593 * CompareValidator.cs: Added all attributes
8594 * CustomValidator.cs: Added all attributes
8595 * DataGrid.cs: Added all attributes, more verbose exceptions, fixed signature, removed additional attributes
8596 * DataGridColumn.cs: Added all attributes
8597 * DataGridColumnCollection.cs: Added all attributes
8598 * DataGridPagerStyle.cs: Added all attributes
8599 * DataGridTableInternal.cs: Made DataGridTableInternal internal
8600 * DataList.cs: Added all attributes, more verbose exceptions, removed non-existing member
8601 * DropDownList.cs: Added all attributes
8602 * FontInfo.cs: Added all attributes
8603 * HyperLink.cs: Added all attributes
8604 * HyperLinkColumn.cs: Added all attributes
8605 * Image.cs: Added all attributes
8606 * ImageButton.cs: Added all attributes
8607 * Label.cs: Added all attributes
8608 * LinkButton.cs: Added all attributes
8609 * ListBox.cs: Added all attributes, added error checks, throws more exceptions
8610 * ListControl.cs: Added all attributes
8611 * ListItem.cs: Added all attributes
8612 * ListItemCollection.cs: Added attribute
8613 * Literal.cs: Added all attributes
8614 * Panel.cs: Added all attributes
8615 * RadioButton.cs: Added all attributes
8616 * RadioButtonList.cs: Added all attributes, added error checks, throws more exceptions
8617 * RangeValidator.cs: Added all attributes
8618 * RegularExpressionValidator.cs: Added all attributes
8619 * Repeater.cs: Added all attributes
8621 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8623 * RequiredFieldValidator.cs: Added all attributes
8624 * Style.cs: Added all attributes
8625 * Table.cs: Added all attributes
8626 * TableCell.cs: Added all attributes, added error checks, throws more exceptions
8627 * TableCellCollection.cs: Added attribute
8628 * TableRow.cs: Added all attributes
8629 * TableRowCollection: Added attribute
8630 * TableStyle.cs: Added all attributes, improved error messages
8631 * TemplateColumn.cs: Added all attributes
8632 * TextBox.cs: Added all attributes, added error checks, throws more exceptions
8633 * ValidationSummary.cs: Added all attributes
8634 * WebControl.cs: Added all attributes
8635 * Xml.cs: Added all attributes
8637 2003-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8639 * DataGrid.cs: fixed signature of ItemCreated and PageIndexChanged.
8640 * DataList.cs: fixed signature of ItemCreated and ItemDataBound.
8642 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8644 * CheckBoxList.cs: fixes bug reported on the list about the state of
8645 the CheckButtons not being preserved across posts.
8647 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8649 * ListControl.cs: added SelectedValue property (1.1). Closes 46412.
8651 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8653 * AdRotator.cs: fixed bug #44271 and a few others bugs. Mono-stylized.
8655 2003-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8657 * ListControl.cs: save viewstate data when any of the 3 values is not
8658 null. Fixed condition to save selection indices. Closes bug #45493.
8660 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8662 * DataGrid.cs: fixed bug #43823.
8664 2003-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8666 * DataGrid.cs: fixed delegate type for SortCommand.
8668 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8670 * DataGridColumnCollection.cs: added missing return in RemoveAt.
8672 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8674 * DataGridColumnCollection.cs: fixed LoadViewState for the columns.
8675 Don't save ViewState is the number of columns is 0.
8677 2003-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8679 * DataGrid.cs: get the right item Type for the property we're reading
8680 fromt the data source.
8682 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8685 * TextBox.cs: added control builder attribute.
8687 2003-03-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8689 * DataGrid.cs: Fixed SaveViewState and type of ItemDataBound.
8691 2003-03-17 George Kodinov <gkodinov@openlinksw.co.uk>
8693 * Unit.cs: Called the correct method to get the Numeric locale for the
8696 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8698 * ButtonColumn.cs: fixed a couple of infinite loop problems and render
8699 correctly the header of the column.
8701 * DataGridTableInternal.cs: don't assign a default ID to this control.
8703 * LinkButton.cs: raise bubble event in OnCommand.
8705 * TableCellCollection.cs: fixed the index returned by Add.
8707 * TableRowCollection.cs: ditto.
8709 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8711 * Xml.cs: don't call MapPathSecure when setting DocumentSource.
8713 2003-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8715 * RangeValidator.cs: fixed bug #37577. Thanks to Stephane Tombeur
8716 for reporting the bug and providing the fix.
8718 2003-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8720 * DataGrid.cs: AutoGenerateColumns defaults to true. Fixed
8721 CreateColumnSet. Set the owner of the column when auto generated.
8722 In PrepareControlHierarchyForItem, fixed for loop bound.
8724 * LinkButtonInternal.cs: fixed infinite recursion bug.
8728 2003-01-22 Zdravko Tashev <ztashev@openlinksw.co.uk>
8730 * Xml.cs: a few fixes.
8732 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8734 * DataList.cs: handle the exception when adding new keys to
8737 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8739 * BaseDataList.cs: what can I say for this one? I spent so many time
8740 until I finally found this that I'm gonna miss this f....g bug... ;-).
8741 Farewell. Now we can get events from image buttons inside Data*.
8743 * DataList.cs: now the value stored in ViewState for item count is
8746 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8748 * DataGrid.cs: default value for ShowHeaders is true. Fixed style for
8750 * DataGridColumn.cs: added SetOwner method.
8751 * DataGridColumnCollection.cs: set the owner of the column when added.
8753 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8755 * BoundColumn.cs: typo.
8756 * DataGrid.cs: use 'as' instead of casting. Typo.
8757 * HyperLinkColumn.cs: call OnColumnChanged when any property change.
8760 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8762 * HyperLink.cs: fixes bug #36336.
8764 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8766 * DataList.cs: fixed IRepeatInfoUser.GetItemStyle.
8768 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8770 * BaseValidator.cs: return an empty string in GetControlValidationValue
8771 when GetValue returned null.
8773 * CompareValidator.cs: fixed EvaluateIsValid.
8775 * RegularExpressionValidator.cs: fixed EvaluateIsValid.
8777 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8779 * Xml.cs: use MapPathSecure to get the path of the document.
8781 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8783 * DataList.cs: fixed header & footer.
8785 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8787 * DataList.cs: for header and footer don't use data source.
8788 Instantiate in the DataListItem, not in the DataList.
8789 databind-template.aspx works now.
8791 2002-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8794 (Render): call RenderContents (), not base.RenderContents ().
8796 * DataList.cs: style.
8798 But I still haven't found what i'm looking for....
8800 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8802 * Calendar.cs: fixed loading/saving selected dates.
8803 * SelectedDatesCollection.cs: added internal function to get the
8804 underlying ArrayList.
8806 Calendar navigation works again. Selecting dates too.
8808 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8810 * DataList.cs: added a few attributes and fixed infinite recursion.
8812 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8814 * ListItemCollection.cs: fixed LoadViewState.
8816 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8818 * TableItemStyle.cs: TypeDescriptor.GetConverter seems to fail.
8819 Commented out some code until it works.
8821 2002-10-29 Gaurav Vaish <gvaish_mono@lycos.com>
8823 * BaseCompareValidator.cs - Fixed operator bug in
8824 Compare(string, string, ...)
8825 * CompareValidator.cs - EvaluateIsValid() : Implemented.
8827 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8829 * BoundColumn.cs - InitializeCell(TableCell, int, ListItemType)
8831 - All Properties : Now make use of ViewState.
8833 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8835 * BaseValidator.cs - Uncomment NotImplementedException.
8837 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8839 * BaseValidator.cs - Minor changes in TODO comments.
8841 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8843 * BaseValidator.cs - DetermineRenderUpLevel() : Uncomment
8844 the NotImplementedException being thrown.
8845 * DataGridPagerStyle.cs - Mode { set; } : Implemented.
8846 * DataGridLinkButton.cs - Added new class (private) : Implemented.
8847 * DataGrid.cs - InitializePager(DataGridItem, int,
8848 PagedDataSource) : Implemented.
8850 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8852 * DataList.cs - PrepareControlHierarchy() : Implemented.
8854 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8856 * DataList.cs - RenderContents(HtmlTextWriter) : Implemented.
8857 - GetItem(ListItemType, int) : Removed TODO.
8858 - CreateControlHierarchy(bool) : Implemented.
8859 - CreateItem(int, ListItemType) : Implemented.
8860 - CreateItem(int, ListItemType,
8861 bool, object) : Implemented.
8862 - InitializeItem(DataItem) : Implemented.
8863 * DataGrid.cs - CreateControlHierarchy(bool) : Bug fix.
8864 The ViewState["_!ItemCount"],
8865 ViewState["_!DataSource_ItemCount"]
8866 are shared by DataList and DataGrid, and hence
8867 should share the same name.
8868 - ResolveDataSource(object, string)
8869 : Removed. Use System.Web.UI.Utils.DataSourceHelper
8870 ::GetResolvedDataSource(object, string).
8873 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8875 * DataGrid.cs: fixed compilation
8877 2002-09-12 Gaurav Vaish <gvaish_mono@lycos.com>
8879 * PagedDataSource.cs - FirstIndexInPage : Fixed bug.
8880 * DataGrid.cs - CreateControlHierarchy(bool)
8881 : working towards completion.
8882 - ResolveDataSource(object, string)
8883 : stubbed new method
8885 : stubbed new method
8886 Well. It's almost done.
8887 * DataGridTableInternal.cs
8888 - Added new internal class.
8890 2002-08-28 Gaurav Vaish <gvaish_mono@lycos.com>
8892 * DataSourceInternal.cs - Added new class (internal).
8894 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8897 * HorizontalAlign.cs:
8899 * VerticalAlign.cs: fixes based on class status page.
8901 * HorizontalAlignConverter.cs: implemented.
8902 * VerticalAlignConverter.cs: implemented.
8904 * FontUnitConverter.cs: implemented GetStandardValues ().
8906 * WebColorConverter.cs: implemented ConvertFrom () and ConvertTo ().
8908 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
8910 * DataGrid.cs - AutoCreateColumns: Bug fixes.
8912 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
8914 * DataGrid.cs - AutoCreateColumns: completed, hopefully!
8916 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
8918 * DataGrid.cs - Working on the undocumented protected
8919 method CreateColumnSet. AutoCreateColumns method
8920 stubbed. Left CreateControlHierarchy for the time
8921 being, looks like I'm going insane. ;-)
8923 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
8925 * Button.cs - Steffen's OnCommand bug fix.
8927 2002-08-12 Gaurav Vaish <gvaish_mono@lycos.com>
8929 * DataGrid.cs - Added protected method (skeleton)
8930 CreateColumnSet(PagedDataSource, bool)
8931 Still trying to know how will it be used
8934 2002-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8936 * PagedDataSource.cs: fixed compilation.
8938 2002-08-08 Gaurav Vaish <gvaish_mono@lycos.com>
8940 * DataGrid.cs - Added private method
8941 CreatePagedDataSource
8943 CreateControlHierarchy(bool)
8944 * PagedDataSource.cs - Bug fixed.
8945 CurrentPageIndex is writable.
8947 2002-08-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8949 * DataGrid.cs: fixed typo.
8950 * DataGridPagerStyle.cs: added IsPagerOnTop and IsPagerOnBottom.
8952 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
8954 * DataGridColumn.cs - Added internal methods to get the
8955 various styles (needed in DataGrid.cs)
8956 * DataGrid.cs - Completed the method
8957 PrepareControlHierarchy()
8959 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
8961 * DataGrid.cs - Wokring on PrepareControlHierarchy()
8962 - Added private method
8963 PrepareControlHierarchyForItem()
8965 2002-08-05 Gaurav Vaish <gvaish_mono@lycos.com>
8967 * DataGrid.cs - Completed method
8968 OnBubbleEvent(object, EventArgs)
8970 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8972 * Xml.cs: implemented document/transform load.
8974 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8976 * Calendar.cs: added myself to the list of authors.
8977 * DropDownList.cs: fixed a few properties.
8978 * ListControl.cs: fixed SelectedIndex.
8980 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8982 * Calendar.cs: lots of fixes. Render days. Still left to persist
8983 selected days when changing month.
8985 * Unit.cs: fixed Percentage and Pixel.
8987 * WebControl.cs: a few properties are now using ControlStyle instead
8988 of ViewState to persist.
8990 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8992 * BaseValidator.cs: it works now.
8993 * DataGridColumn.cs: added attribute and made it abstract.
8994 * RequiredFieldValidator.cs: fixed return value in EvaluateIsValid.
8996 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8998 * TextBox.cs: default for Wrap is true.
8999 (OnPreRender): don't save Text if there are no listeners on TextChanged.
9001 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9007 (LoadViewState): fixed.
9009 * ListItemCollection.cs:
9010 (TrackViewState): use items instead of 'this' in foreach.
9013 (LoadViewState): more checking of parameters.
9015 * WebControl.cs: implemented LoadViewState and SaveViewState.
9018 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9020 * ListItem.cs: there was no code to unset the flags!!!
9022 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9024 * FontUnit.cs: use a hashtable for mapping size name to value.
9025 * HyperLink.cs: fixed a bug and a typo.
9026 * Unit.cs: some fixes to internal constructor.
9028 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9030 * ListControl.cs: fixed a couple of range checks.
9031 * WebControl.cs: MS lies! Not all WebControls must be rendered inside
9032 an HtmlForm (p.e., Label).
9034 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9044 * HyperLinkColumn.cs:
9053 * RadioButtonList.cs:
9057 * WebControl.cs: removed attributes added by mistake (i used
9058 GetCustomAttributes (true), d'oh!).
9060 * DataListItem.cs: implemented RenderItem.
9062 * Repeater.cs: implemented CreateItem and InitializeItem.
9064 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9066 * BaseDataList.cs: a couple of fiex and added attributes.
9067 * DataGrid.cs: little fixes.
9069 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9078 * RadioButtonList.cs:
9081 * Xml.cs: forgot to add using System.ComponentModel.
9083 * BaseValidator.cs: use explicitly
9084 System.ComponentModel.AttributeCollection as there is another class
9085 with the same name under System.Web.UI.
9087 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9106 * RadioButtonList.cs:
9111 * Xml.cs: added/fixed all attributes used by xsp.
9113 * BaseValidator.cs: some fixes.
9115 2002-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9118 (AddAttributesToRender): correctly default to border=1.
9120 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9123 (LoadAdFile): make the dictionary null after every iteration.
9127 * ListItem.cs: fixed warnings.
9129 Mon Jul 1 16:23:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
9131 * Style.cs, TableRow.cs, DataListItem.cs: fix compilation.
9133 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9135 * DataGridColumn.cs:
9136 * DataGridPagerStyle.cs:
9143 * ListItemCollection.cs:
9145 * ServerValidateEventArgs.cs:
9149 * Xml.cs: more class status page based changes.
9151 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9154 (.ctor): fixed to render the correct tag.
9155 (IPostBAckEventHandler.RaisePostBackEvent): fixed.
9157 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9160 (AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
9161 WebControl derived classes should be rendered inside a HtmlForm.
9163 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9165 * Repeater.cs: implemented CreateControlHierarchy. Fixed some event
9168 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9170 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
9171 * RepeatInfo.cs: implemented DoHorizontalRendering.
9173 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9175 * System.Web.UI.WebControls/Repeater.cs:
9177 (OnDataBinding): fixed stack overflow.
9179 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9181 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
9182 * RepeatInfo.cs: implemented DoHorizontalRendering.
9184 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9187 (CopyBaseAttributes): copy Attributes and don't throw exception.
9189 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9191 * ListBox.cs: mono-stylized.
9192 (AddAttributesToRender): call parent class method.
9194 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9196 * Style.cs: fixed IsEmpty and Width.
9198 * Table.cs: mono-stylized.
9199 (TableRowControlCollection.AddAt): fixed.
9200 (AddAttributesToRender): fixed.
9202 * TableCell.cs: mono-stylized.
9203 (.ctor): use PreventAutoID.
9204 (AddAttributesToRender): fixed.
9205 (AddParsedSubObject): fixed.
9207 * TableRow.cs: mono-stylized. Added
9208 ParseChildren attribute.
9211 (get_GridLine): fixed.
9213 2002-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9215 * Panel.cs: fixed stack overflow.
9216 * Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
9217 and SingleConverter.
9219 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9221 * RadioButton.cs: mono-stylized and some little fixes.
9223 * TextBox.cs: mono-stylized.
9224 (MaxLength): fixed typo.
9226 (AddAttributesToRender): don't render the text between the tags for
9227 SingleLine, use value attribute for it. Don't render the text for
9230 (OnPreRender): don't throw exception and call base.OnPreRender.
9232 (Render): for MultiLine, render the text between the opening and
9233 closing tags encoded as HTML.
9235 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9238 (AddAttributesToRender): fixer another stack overflow.
9241 (TagName): modified to use TagKey instead of tagKey as the property
9244 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9246 * LinkButton.cs: mono-stylized.
9247 (AddParsedSubObject):
9248 (RenderControls): little fixes.
9251 (AddAttributesToRender): fixed usage of IEnumerator.
9253 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9255 * Literal.cs: beautified.
9257 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9259 * Label.cs: beautified and fixed a couple of 'classic' bugs.
9261 * WebControl.cs: use Span as default tag when no other provided in
9262 constructor. That is what MS renders.
9264 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9267 (AddAttributesToRender): fixed (classic) stack overflow.
9269 * CheckBox.cs: mono-stylized.
9270 (AutoPostBack): fixed stack overflow.
9271 (Render): fixed alignment issues. Also set the For attribute always
9274 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9276 * AdRotator.cs: GetData does not work as it should, but now it returns
9277 useful data (only the first ad in the file). Set the NavigateUrl
9278 property in the hyperlink if available.
9280 * HyperLink.cs: fixed constructor and a couple of stack overflows.
9282 * Image.cs: added an attribute and fixed stack overflow.
9285 (RenderBeginTag): fixed.
9286 (TagName): don't call Enum.IsDefined twice.
9288 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9290 * WebControl.cs: added attributes PersistChildrenAttribute and
9291 ParseChildrenAttribute.
9293 2002-05-24 Duncan Mak <duncan@ximian.com>
9295 * DataGridItem.cs (SetItemType): Changed function signature to
9298 * ListItemCollection.cs (this): Changes the visibility level of
9301 * Repeater.cs (OnItemCommand):
9303 (OnItemDataBound): Added necessary casts.
9305 2002-05-07 Duncan Mak <duncan@ximian.com>
9307 * Button.cs (AddAttributesToRender):
9308 * ImageButton.cs (AddAttributesToRender): Added a missing argument to the
9309 GetClientValidatedEvent method.
9311 2002-03-27 Gaurav Vaish <gvaish@iitk.ac.in>
9313 * Removed extra methods, corrected access modifiers to several
9316 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
9318 * <SeveralFiles>.cs - Added some attributes
9319 * FontUnitConverter.cs - Added stubs for GetStandardValues*(..)
9320 methods. Will complete them later. Right now, busy with
9321 the attributes part.
9322 * RepeaterItem.cs - Completed.
9324 Oh God! Mercy! I will die applying attributes. I look at the missing
9325 part in the class-status - daemon! Kyrie eleison!
9327 2002-03-19 Gaurav Vaish <gvaish@iitk.ac.in>
9331 * AdRotator.cs - Added definition for Font.
9332 * BaseCompareValidator.cs - Added definition for Controls.
9333 * Calendar.cs - SelectMonthText definition corrected.
9334 * DataList.cs - Added definition for SeparatorTemplate.
9335 * BorderStyle.cs - Namespace correction. It belongs not to UI,
9336 but to UI.WebControls.
9338 2002-03-17 Gaurav Vaish <gvaish@iitk.ac.in>
9340 Finally, I have made it. Today I did a second build for the
9341 System.Web assembly. It compiled 195 classes today.
9342 I am waiting eagerly for the runtime to come up so that the objects
9343 may be tested to their last levels. Several of the methods are still
9344 under the tag of "TODO" throwing NotImplementedException. Well, I
9345 hope to remove them soon, but how far is this soon - even I don't
9346 know, though I am happy to make the build a success even before
9347 the vacations to come.
9349 2002-03-07 Gaurav Vaish <gvaish@iitk.ac.in>
9351 Yesterday and today I tried to do some building of the aseembly,
9352 but was dumped with uncoutably infinite errors. ;-)
9353 I have put the copies of the recent errors on my home page, want
9354 to have a look at them? See:
9355 http://mastergaurav.virtualave.net/mono/
9356 I don't know what to do with these errors. Oh! The buggy me! How
9357 will I overcome myself. Hopefully, by when my vacations over, I
9358 should have made a repository where the build will not fail.
9360 2002-03-05 Gaurav Vaish <gvaish@iitk.ac.in>
9362 I am now going to do a build that will include the
9363 System.Web.UI.WebControls namespace. Hoping that I will make it
9364 soon. My exams are coming near and I have to pack up soon.
9367 2002-03-04 Gaurav Vaish <gvaish@iitk.ac.in>
9370 And with this, ie, today's work, all the objects mentioned in the
9371 namespace appear in the implementation. But it may not be worth
9372 trying to go for a build because of dependence of several of the
9373 internal methods that may clash with already available assembly
9376 Also, the classes lack possible attributes, like those informing
9377 about child-controls etc. But I have to first create the attribute
9378 classes before I attach the attributes to the classes.
9380 * CustomValidator.cs - Completed. In process realized that
9381 I have to complete / rejuvinate BaseValidator class.
9382 * BaseValidator.cs - Complete rejuvination. Completed 80%
9383 of the job. All that is left is Render(HtmlTextWriter),
9384 DetermineRenderUplevel(), RegisterValidatorCommonScript()
9385 RegisterValidatorDeclaration()
9386 * DataGridPagerStyle.cs - Completed. That adds one more missle
9388 * DataKeyCollection.cs - Completed. Petty small.
9389 * Repeater.cs - Work started off. This is a quite
9391 * DataGridItemEventArgs.cs,
9392 * DataGridShortCommandEventArgs.cs,
9393 * DataListItemEventArgs.cs,
9394 * MonthChangedEventArgs.cs,
9395 * RepeaterItemEventArgs.cs,
9396 * ServerValidateEventArgs.cs,
9397 * DataGridPageChangedEventArgs.cs
9398 - Damn, I marked them "*", while they
9400 * Repeater.cs - Done all except for an undocumented
9401 method CreateControlHierarchy(bool). Though the method
9402 is quite clear by its name, but it will take some time
9403 for me to come with some material to flush in.
9405 2002-03-03 Gaurav Vaish <gvaish@iitk.ac.in>
9407 * SelectedDatesCollection.cs - Completed.
9408 * PagedDataSource.cs - Completed. Pathetically nice class.
9409 * RegularExpressionValidator.cs
9410 - Completed. Ridiculously small and
9411 annoyinglyc crazy-driving class, basically the method
9413 * RangeValidator.cs - Completed.
9414 * DataGridColumn.cs - Completed.
9415 * EditCommandColumn.cs - All is complete except for the
9416 InitializeCell(TableCell, int, ListItemType) method.
9417 * DataListItem.cs - All done except for a longish method
9418 RenderItem(HtmlTextWriter, bool, bool)
9420 2002-03-02 Gaurav Vaish <gvaish@iitk.ac.in>
9422 * RepeaterItemCollection.cs - Completed.
9423 I love *Collection classes. I am planning to make a
9424 program that will generate a *Collection class. It's so
9425 simple and the same. ;-)
9426 * DataGridColumnCollection.cs - Completed.
9427 ... except probably for *ColumnCollection classes, where
9428 you have to put in some more effort. Still, these class
9429 generation can be automated.
9430 * DataListItemCollection.cs - Completed.
9431 See, how easily, in less than a quarter of a minute, I
9432 completed this class - manually. Copy-Paste/Cut-Replace.
9434 2002-02-21 Gaurav Vaish <gvaish@iitk.ac.in>
9436 * DataGrid.cs - Following methods implemented:
9437 TrackViewState(), LoadViewState(object), SaveViewState(),
9438 On* -- The event raisers.
9439 OnBubbleEvent(object, EventArgs) is still incomplete.
9440 * DataGridItem.cs - Initial Implementation
9441 * DataGridItemCollection.cs - Completed.
9443 2002-02-08 Gaurav Vaish <gvaish@iitk.ac.in>
9445 * DataGrid.cs - Initial Implementation. Worked
9446 primarily with some properties.
9448 2002-02-07 Gaurav Vaish <gvaish@iitk.ac.in>
9450 * ListBox.cs - Completed. Implemented
9451 LoadPostData(string, NameValueCollection)
9452 * RequiredFieldValidator.cs - Completed. Pretty simple class.
9454 2002-02-06 Gaurav Vaish <gvaish@iitk.ac.in>
9456 * ListBox.cs - Implemented the following:
9457 RaisePostDataChangedEvent()
9459 2002-02-02 Gaurav Vaish <gvaish@iitk.ac.in>
9461 * ListBox.cs - Supports the following properties:
9462 BorderColor, BorderStyle, BorderWidth, Rows, SelectionMode,
9465 AddAttributesToRender(HtmlTextWriter), OnPreRender(EventArgs),
9466 RenderContents(HtmlTextWriter)
9469 2002-02-01 Gaurav Vaish <gvaish@iitk.ac.in>
9471 * TargetConverter.cs - Completed
9472 * TemplateColumn.cs - Completed
9473 * DataList.cs - Corrected the get-er methods for the
9474 *Style objects. Corrected the get/set-er methods for ViewState
9476 Addded support for properties:
9477 GridLines, HeaderStyle, HeaderTemplate, ItemStyle, ItemTemplate,
9478 RepeatColumns, RepeatDirection, RepeatLayout, SelectedIndex,
9479 SelectedItem, SelectedItemStyle, SelectedItemTemplate,
9480 SeparatorStyle, SeparatorItemTemplate.
9482 CancelCommand, DeleteCommand, EditCommand, ItemCommand,
9483 ItemCreated, ItemDataBound, UpdateCommand.
9485 CreateControlStyle(), LoadViewState(object),
9486 SaveViewState(), TrackViewState
9488 OnBubbleEvent, OnCancelCommand, OnDeleteCommand,
9489 OnEditCommand, OnItemCommand, OnItemCreated,
9490 OnItemDataBound, OnUpdateCommand
9491 Added dummy methods for some undocumented methods:
9492 CreateControlHierarchy(bool), CreateItem(int, ListItemType),
9493 CreateItem(int, ListItemType, bool, object),
9494 PrepareControlHierarchy(), InitializeItem(DataListItem)
9495 * ListBox.cs - Started working.
9499 2002-01-31 Gaurav Vaish <gvaish@iitk.ac.in>
9501 * RepeaterInfo.cs - Initial Implementation. Done all
9502 except for RepeatDirection.Vertical
9503 * TableStyle.cs - Completed
9505 2002-01-30 Gaurav Vaish <gvaish@iitk.ac.in>
9507 * DropDownList.cs - Completed
9508 * ListItemCollection.cs - Added method FindByValueInternal to
9509 assist in the derived classes.
9510 Discovered bug in FindByValue. Removed
9511 * UnitConverter.cs - Completed
9512 * PlaceHolder.cs - What can be simpler than this?
9513 * PlaceHolderControlBuilder.cs
9514 - Uh! Damn cool one.
9515 * RadioButtonList.cs - Initial Implementation. All is done
9516 except for the implementation of
9517 method IRepeatInfoUser.RenderItem(...)
9518 * ValidatedControlConverter.cs
9519 ^^^^^^^^^^^^^^^^^^^^^^^^^ - Looks complete. Doubtful though !!
9520 * ValidationSummary.cs - Initial Implementation.
9521 * WebColorConverter.cs - Initial Implementation
9523 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
9525 * FontNamesConverter.cs - Completed
9526 * FontUnitConverter.cs - Partial Implementation
9527 * ListItemControlBuilder.cs - Completed
9529 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
9531 * TextBox.cs - All done except *Render* methods
9532 * TextBoxControlBuilder.cs - Completed
9533 * Xml.cs - Partial Implementation
9535 2002-01-26 Gaurav Vaish <gvaish@iitk.ac.in>
9537 * RadioButton.cs - Completed
9538 * TextBox.cs - Partial Implementation
9540 2002-01-25 Gaurav Vaish <gvaish@iitk.ac.in>
9542 * Panel.cs - Completed
9543 * TableItemStyle.cs - Completed
9545 2002-01-18 Gaurav Vaish <gvaish@iitk.ac.in>
9547 * TableCellCollection.cs - Completed
9548 * TableRowCollection.cs - Completed
9549 * TableHeaderCell.cs - Completed
9550 * TableRow.cs - Completed
9552 2002-01-09 Gaurav Vaish <gvaish@iitk.ac.in>
9554 * TableCellControlBuilder.cs - Completed
9555 * Table.cs - Completed
9556 * TableCell.cs - Completed
9558 2002-01-07 Gaurav Vaish <gvaish@iitk.ac.in>
9560 * CheckBoxList.cs - Completed
9561 * ButtonColumn.cs - Completed
9562 * Button.cs - Completed
9564 2001-12-28 Gaurav Vaish <gvaish@iitk.ac.in>
9566 * HyperLink.cs - Completed
9567 * Image.cs - Completed
9568 * ImageButton.cs - Completed
9569 * Label.cs - Completed
9570 * LabelControlBuilder.cs - Completed
9571 * LinkButton.cs - Completed
9572 * LinkButtonControlBuilder.cs - Completed
9573 * Literal.cs - Completed
9574 * LieteralControlBuilder.cs - Completed
9575 * FontUnit.cs - Completed
9578 2001-12-27 Gaurav Vaish <gvaish@iitk.ac.in>
9580 * Calendar.cs - Completed the functions of Render*,
9581 ViewStates (Track/View/Save),
9583 Left: RenderAllDays (partially)
9585 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
9587 * Calendar.cs - Added some more functions
9588 * Style.cs - Completed
9589 * ListItem.cs - Completed
9590 * ListItemCollection.cs - Completed
9592 Made the first successful build of System.Web.dll that included
9593 System.Web.UI.WebControls!
9595 2001-12-20 Gaurav Vaish <gvaish@iitk.ac.in>
9597 FontInfo.cs - Complete revamp. Completed
9599 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
9601 ListItemCollection.cs - Completed
9602 ListItem.cs - Initial Implementation
9603 Style.cs - Initial Implementation
9605 Right now I am in a total mood to do a successful build. Creating so many
9606 classes, completing classes in System.Web System.Web.UI namespaces.
9608 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
9610 TODO - Properly added
9611 CheckBox.cs - Completed
9612 BaseDataList.cs - Completed
9613 DayRenderEventArgs.cs - Completed
9614 RepeaterItem.cs - Initial implementation
9616 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
9618 BaseCompareValidator.cs - Completed
9619 AdRotator.cs - Completed
9621 2001-12-15 Gaurav Vaish <gvaish@iitk.ac.in>
9623 CommandEventArgs.cs - Completed
9624 DataGridCommandEventArgs.cs - Completed
9625 RepeaterCommandEventArgs.cs - Completed
9626 DataListCommandEventArgs.cs - Completed
9627 CompareValidator.cs - Partial Implementation
9629 2001-12-02 Gaurav Vaish <gvaish@iitk.ac.in>
9631 CheckBoxList.cs - Partial Implementation.
9634 2001-12-01 Gaurav Vaish <gvaish@iitk.ac.in>
9636 ListControl.cs - Completed
9638 2001-11-30 Gaurav Vaish <gvaish@iitk.ac.in>
9640 CheckBox.cs - Completed
9641 ListControl.cs - Initial Implementation
9642 CheckBoxList.cs - Started with it, but first needed
9643 ListControl. Left it.
9645 2001-11-29 Gaurav Vaish <gvaish@iitk.ac.in>
9647 CalendarDay.cs - Making a note that this
9648 has been implemented
9649 Calendar.cs - Making a note that have made some changes.
9650 Unimplmented functions throw
9651 NotImplementedException
9652 CheckBox.cs - Can now "Render" and "LoadPostData"
9655 2001-11-08 Gaurav Vaish <gvaish@iitk.ac.in>
9656 WebControl.cs - Total Revamp, Partial Implementation
9657 AdRotator.cs - Able to load files
9658 AdCreatedEventArgs.cs - Implemented
9660 2001-11-05 Gaurav Vaish <gvaish@iitk.ac.in>
9661 Calendar.cs - Initial Implementation
9662 ButtonColumn.cs - Initial Implementation
9663 Button.cs - Initial Implementation
9664 BoundColumn.cs - Initial Implementation
9665 BaseCompareValidator.cs - Minor Changes
9666 DataList.cs, BaseValidator.cs, BaseDataList.cs
9667 - Added more functions, other changes
9669 2001-10-28 Gaurav Vaish <gvaish@iitk.ac.in>
9670 WebControl.cs - Initial Implementation
9671 DataList.cs - Initial Implementation
9672 BaseValidator.cs - Initial Implementation
9673 BaseDataList.cs - Initial Implementation
9675 2001-10-27 Gaurav Vaish <gvaish@iitk.ac.in>
9677 AdCreatedEventArgs.cs - Initial Implementation
9678 AdCratedEventHandler.cs - Implemented
9679 AdRotator.cs - Initial Implementation
9680 BorderStyle.cs - Implemented
9681 ButtonColumnStyle.cs - Implemented
9682 CalendarSelectionMode.cs - Implemented
9683 DayNameFormat.cs - Implemented
9684 FirstDayOfWeek - Implemented
9685 FontInfo.cs - Partial Implementation
9686 FontSize.cs - Implemented
9687 GridLines.cs - Implemented
9688 HorizontalAlign.cs - Implemented
9689 HyperLink.cs - Initial Implementation
9690 ImageAlign.cs - Implemented
9691 IRepeatInfoUser.cs - Implemented
9692 ListItemType.cs - Implemented
9693 ListSelectionMode.cs - Implemented
9694 NextPrevFormat.cs - Implemented
9695 PagerMode.cs - Implemented
9696 PagerPosition.cs - Implemented
9697 RepeatDirection.cs - Implemented
9698 RepeatLayout.cs - Implemented
9699 TextAlign.cs - Implemented
9700 TextBoxMode.cs - Implemented
9701 TitleFormat.cs - Implemented
9702 UnitType.cs - Implemented
9703 ValidationCompareOperator.cs
9705 ValidationDataType.cs - Implemented
9706 ValidationSummaryDisplayMode.cs
9708 ValidatorDisplay.cs - Implemented
9709 VerticalAlign.cs - Implemented
9713 i/ File Created 2001-11-13