1 2009-11-10 Marek Habersack <mhabersack@novell.com>
4 {Question,Success,UserName}TemplateContainer must all be populated
5 the first time the property is accessed, so that calling
6 FindControl on the container returns valid and expected
7 results. If the associated template is not defined, though,
8 populating is postponed till CreateChildControls is called -
9 that's where default, empty, template will be created. This is
10 required to fix YetAnotherForum's password recovery control.
11 Mail template used in SendPasswordByMail must match the one used
12 in .NET (it has to end with a newline) as YAF parses the message
13 to retrieve user name and password and breaks if the last line
14 doesn't end with a newline character.
16 2009-10-30 Marek Habersack <mhabersack@novell.com>
18 * PasswordRecovery.cs: mail message replacements should include <%
19 Password %> and <% UserName %> and matching should be
20 case-insensitive. Fixes bug #545370
22 2009-10-28 Marek Habersack <mhabersack@novell.com>
24 * ListControl.cs: OnDataBinding must call base implementation
25 before performing the binding, so that DataSource can be assigned
26 from within the handler.
28 2009-10-13 Marek Safar <marek.safar@novell.com>
30 * WebColorConverter.cs: Delegate ConvertFrom to
31 ColorTranslator.FromHtml, it is correctly implemented and knows
34 2009-10-13 Marek Habersack <mhabersack@novell.com>
36 * WebColorConverter.cs: don't use a dictionary to check for valid
37 color names, use Color.IsKnownColor instead. Update for bug
39 Added more CSS2 color name mappings.
41 2009-10-12 Marek Habersack <mhabersack@novell.com>
43 * WebColorConverter.cs: when converting from color name, check if
44 the returned color's name is a member of the
45 System.Drawing.KnownColor enumeration to test for error condition,
46 as some colors might be #000000. Preserve the old error check as a
48 Map "captiontext" and "background" color names to
49 "ActiveCaptionText" and "Desktop", respectively, before passing
50 them to Color.FromName (). Fixes bug #546173
52 2009-10-02 Marek Habersack <mhabersack@novell.com>
54 * GridView.cs: added two 3.5 properties - SelectedPersistedDataKey
55 and IPersistedSelector.DataKey.
57 * BaseDataBoundControl.cs: slight optimizations to FindDataSource
59 2009-09-28 Marek Habersack <mhabersack@novell.com>
61 * DataBoundControl.cs: Initialize sets RequiresDataBinding
62 properly, only when we're not data-bound already, when we aren't
63 in postback or when we are in postback, but with viewstate
64 enabled. Fixes bug #542076
66 2009-09-01 Marek Habersack <mhabersack@novell.com>
68 * ObjectDataSourceView.cs: ExecuteSelect must call
69 QueryTotalRowCount after executing the select method (that's what
72 2009-08-25 Marek Habersack <mhabersack@novell.com>
74 * WebColorConverter.cs: inform the user that the might need to
75 check if libgdiplus is installed when parsing a color name
76 fails. Fixes bug #533749
78 2009-08-21 Marek Habersack <mhabersack@novell.com>
80 * Menu.cs: separator image is rendered next to the item in
81 horizontal layout and is preceeded by 3px spacer (unless
82 itemSpacing is set) to make output match .NET. Fixes bug #474716
84 * TreeNodeCollection.cs: {Save,Load}ViewState now store/load the
85 type of the node, if node is a of a custom type. Fixes bug #475997
87 2009-06-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
89 * Parameter.cs: add new DbType property.
91 2009-06-16 Marek Habersack <mhabersack@novell.com>
93 * IPersistedSelector.cs: removed AspNetHostingPermission
94 attributes from the 4.0 profile.
96 * IDataBoundControl.cs, IDataBoundItemControl.cs,
97 IDataBoundListControl.cs, IFieldControl.cs: added
99 * DetailsView.cs: control implements 4.0 IDataBoundItemControl
102 * DataBoundControl.cs: implemented 4.0 property DataSourceObject
103 (internal for 2.0) and made the InternalPerformDataBinding method
104 internal for the 4.0 profile.
106 2009-06-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
108 * ContentControlBuilderInternal.cs: detect missing
109 ContentPlaceHolderID attribute when parsing instead of throwing a
112 2009-05-29 Marek Habersack <mhabersack@novell.com>
114 * ListItem.cs: when tracking view state is turned on after
115 attributes have been set, make sure that the associated state bag
116 begins tracking state and that all of its existing items are
117 marked as dirty. Do the same after loading view state. Fixes bug
120 2009-04-29 Marek Habersack <mhabersack@novell.com>
122 * DataBoundControl.cs: added InternalGetDataSource method, used by
125 2009-04-28 Marek Habersack <mhabersack@novell.com>
127 * GridView.cs: implemented ColumnsGenerator and enabled its use in
130 * DetailsView.cs: implemented the RowsGenerator property and
131 enabled its use in CreateFieldSet.
133 2009-04-07 Marek Habersack <mhabersack@novell.com>
135 * TreeView.js: removed nodeText parameter from the JS calls.
137 * TreeView.cs: encode | characters into U+007C, so that
138 RaiseCallbackEvent doesn't get confused.
139 Removed nodeText parameter from the JS calls.
141 2009-04-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
143 * TreeNode.cs: reset the path data for all child nodes too.
144 * TreeView.cs: HtmlAttribute encode the node text. When rebuilding the
145 node tree, set the correct index for the nodes so that the Path is
148 2009-04-06 Marek Habersack <mhabersack@novell.com>
150 * TreeView.js: TreeView_ToggleExpand now takes more parameters - a
151 full definition of treeview's node contents.
152 Added new function, TreeView_PopulateNode, which partially takes
153 over role of the PopulateNode function generated in
154 TreeView.OnPreRender (see below). Fixes bug #492307
156 * TreeView.cs: RaiseCallbackEvent needs to recreate the event
157 target's parental tree all the way from the root to the node and
158 populate only the leaf (requested) node. This avoids calling the
159 TreeNodePopulate handler more times than needed. Fixes bug #492307
160 OnPreRender: moved the script code to constants and the script
161 body is now generated using StringBuilder instead of a series of
163 GetClientExpandEvent: adjusted code for new TreeView JavaScript
166 2009-03-17 Marek Habersack <mhabersack@novell.com>
168 * Unit.cs: introduced a field to tell the difference between empty
169 (as in Unit.Empty) and 0px units.
171 2009-03-06 Marek Habersack <mhabersack@novell.com>
173 * WebControl.cs: if savedState is not an instance of Pair in
174 LoadViewState, do not attempt to load from it.
176 2009-02-10 Marek Habersack <mhabersack@novell.com>
178 * ImageButton.cs: AddAttributesToRender renders the onclick
179 attribute only if any of the following is true:
180 - OnClientClick is not empty
181 - Validation is enabled for the control
182 - PostBackUrl is used
183 PostBackOptions now indicate that control requires the javascript
184 protocol for the handler.
185 RaisePostBackEvent passes String.Empty as the argument.
188 2009-02-09 Marek Habersack <mhabersack@novell.com>
190 * ObjectDataSourceView.cs: ExecuteSelect returns a single-item
191 array of objects containing the result, if the result isn't one of
192 DataSet, DataTable or IEnumerable. Fixes bug #471767
194 2009-02-06 Marek Habersack <mhabersack@novell.com>
196 * Style.cs: if CssClass is null, return String.Empty. Fixes bug
198 Added a range check to the BorderStyle property.
200 2009-02-05 Marek Habersack <mhabersack@novell.com>
202 * Login.cs: check the value of DisplayRememberMe when creating
203 the child controls. Fixes #468359
205 2009-01-20 Marek Habersack <mhabersack@novell.com>
207 * Substitution.cs: added. Fixes bug #467460
209 2009-01-13 Marek Habersack <mhabersack@novell.com>
211 * XmlBuilder.cs: updates related to ControlBuilder cleanup.
213 2008-12-01 Marek Habersack <mhabersack@novell.com>
215 * Style.cs: WriteStyleAttributes must not use the fontinfo field
216 directly, it has to be done via the Font property. Fixes bug
219 2008-11-15 Marek Habersack <mhabersack@novell.com>
221 * ContentPlaceHolder.cs, Content.cs, FormViewPagerRow.cs,
222 ChangePassword.cs, DetailsViewPagerRow.cs: implements
223 INonBindingContainer interface.
225 * Wizard.cs: implement INonBindingContainer interface for several
226 private/internal classes.
228 2008-10-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
230 * ImageButton.cs: clicking an image causes a postback.
233 2008-10-24 Marek Habersack <mhabersack@novell.com>
235 * CheckBox.cs: register for event validation in Render ().
237 2008-10-21 Marek Habersack <mhabersack@novell.com>
239 * XmlDataSource.cs: DataFile may be an URL.
241 2008-10-17 Marek Habersack <mhabersack@novell.com>
243 * ImageMap.cs: added the SupportsEventValidation attribute to the
245 Validate the event in RaisePostBackEvent ().
246 Register for event validation in Render ().
248 * DropDownList.cs, ListBox.cs: validate the event in LoadPostData ().
250 * TextBox.cs: validate the event in LoadPostData ().
251 Register for event validation in AddAttributesToRender ().
253 * HiddenField.cs: validate the event in RaisePostDataChangedEvent.
254 Register for event validation in Render ().
256 * RadioButton.cs: validate the event in LoadPostData ().
257 Register for event validation in InternalAddAttributesToRender.
259 * CheckBox.cs, RadioButtonList.cs: validate the event in
260 RaisePostDataChangedEvent.
262 * Menu.cs: added the SupportsEventValidation attribute to the
264 Validate the event in RaisePostBackEvent ().
265 Register for event validation in GetClientEvent ().
267 * DetailsView.cs, GridView.cs: validate the event in
268 RaisePostBackEvent ().
269 Register for validation in GetCallbackScript () and in OnPreRender
271 * Button.cs, Table.cs, BulletedList.cs, Calendar.cs, LinkButton.cs,
272 ImageButton.cs, TreeView.cs: validate the event in RaisePostBackEvent ().
274 2008-10-14 Marek Habersack <mhabersack@novell.com>
276 * CompositeDataBoundControl.cs: renamed the itemcount ViewState
277 item from "_ItemCount" to "_!ItemCount" for .NET
278 compatibility. This item is accessed and used by some commercial
281 * DataBoundControl.cs: OnPagePreLoad must force databinding also
282 when the request is not a postback.
284 2008-10-13 Marek Habersack <mhabersack@novell.com>
286 * Table.cs, TableRowCollection.cs, TableRow.cs: render table
287 sections when necessary. Fixes bug #434555
289 2008-10-08 Marek Habersack <mhabersack@novell.com>
291 * ControlParameter.cs: Evaluate calls DataBinder.Eval to do the
292 evaluation now. This makes it support complex expressions.
294 2008-09-30 Sebastien Pouliot <sebastien@ximian.com>
296 * RoleGroupCollection.cs: Fix recursive calls (wrong target)
297 [Found using Gendarme's BadRecursiveInvocationRule]
299 2008-09-28 Sebastien Pouliot <sebastien@ximian.com>
301 * XmlDataSource.cs: Make sure the result of the multiplication is a
302 long (not an integer casted into a long since it could overflow).
303 [Found using Gendarme's ReviewCastOnIntegerMultiplicationRule]
305 2008-09-17 Juraj Skripsky <js@hotfeet.ch>
307 * RadioButton.cs (ValueAttribute, LoadPostData): Fixes bug #426959.
309 2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
311 * IPersistedSelector.cs : new in 3.5 SP1.
313 2008-09-13 Atsushi Enomoto <atsushi@ximian.com>
315 * DataBoundControlMode.cs : new 3.5 SP1 type.
317 2008-08-25 Marek Habersack <mhabersack@novell.com>
319 * DataBoundControl.cs: set RequiresDataBinding to true in
320 Initialize only if not in a postback, if not data bound and if the
321 view state is enabled. Fixes bug #398318
322 UpdateViewData removes the OnDataSourceViewChanged handler before
323 connecting to the datasource and restores it before returning to
325 OnLoad gets the data source before initialization, to avoid
326 premature OnDataSourceViewChanged triggers. Fixes bug #398318
327 Do not reconnect to the data source if we already have a valid one.
329 2008-08-18 Marek Habersack <mhabersack@novell.com>
331 * Unit.cs: rewrote the unit parser in a slightly slower, but more
332 correct, way. Fixes bug #417502
334 2008-07-28 Marek Habersack <mhabersack@novell.com>
336 * TreeView.cs: when TreeView is displaying a site map and there is
337 no node selected by the user, select the node corresponding to the
338 current page, if any.
340 2008-07-24 Marek Habersack <mhabersack@novell.com>
342 * DataGrid.cs: removed the private class TableID and moved its
343 code to ChildTable.cs (see below). 2.0 instantiates teh ChildTable
344 with the owner parameter now. Fixes bug #400377
346 * ChildTable.cs: refactoring - moved code from TableID previously
347 defined in DataGrid.cs to here and made the class available under
348 different names for both 1.x and 2.x profiles. Fixes bug #400377
350 * MailDefinition.cs: look for the mail body file in the correct
351 path. Patch from Jackson Harper <jaharper@novell.com>,
352 thanks! Fixes bug #408699
354 * PasswordRecovery.cs: do not ask password recovery question if
355 it's disabled. Patch from Jackson Harper <jaharper@novell.com>,
356 thanks! Fixes bug #408696
358 2008-07-16 Marek Habersack <mhabersack@novell.com>
360 * XmlDataSource.cs: check if Page isn't null before stringifying
361 it in GetDataKey (), fixes bug #409492
363 2008-07-13 Roei Erez <roeie@mainsoft.com>
365 * GridView.cs: When the RowDataBound event is invoked, the value
366 of GridView1.DataKeys should contains all the keys up untill the
367 current row, and not be empty.
368 I only changed the order of the user event invocation and the addition
371 2008-07-13 Roei Erez <roeie@mainsoft.com>
373 * TreeView.cs: In case of multiple tree node bingings, select
374 The first one and not the last one.
376 2008-07-10 Roei Erez <roeie@mainsoft.com>
378 * HyperlinkField.cs: Changed behavior of HyperLinkField bound field key
379 to be case insensitive.
381 2008-07-03 Marek Habersack <mhabersack@novell.com>
383 * CheckBox.cs: do not render the language="javascript" attribute
386 2008-07-02 Marek Habersack <mhabersack@novell.com>
388 * GridView.cs: minor optimizations (removed a foreach loop,
389 replaced calls to Array.Length with a variable containing the
392 2008-06-30 Marek Habersack <mhabersack@novell.com>
394 * ObjectDataSourceView.cs, Menu.cs, DataList.cs,
395 CustomValidator.cs: hush the warnings
397 2008-06-10 Noam Lampert <noaml@mainsoft.com>
399 * ListItemCollection.cs: Provide viewstate for dirty collection even if it is empty.
401 2008-05-30 Marek Habersack <mhabersack@novell.com>
403 * BaseDataBoundControl.cs, ChangePassword.cs, CustomValidator.cs,
404 DataControlFieldCollection.cs, DataControlField.cs,
405 PasswordRecovery.cs, PagerSettings.cs: do not use synthetized
406 event accessors (to avoid locks).
408 2008-05-18 Marek Habersack <mhabersack@novell.com>
410 * HierarchicalDataBoundControl.cs: Modified GetData method to check if
411 DataSource implements IHierarchicalEnumerable and if so constructs and
412 returns a new instance of ReadOnlyDataSourceView. This provides functional
413 compatibility with the Microsoft.NET framework. Fixes bug
414 #395209. Patch contributed by James Fitzsimons
415 <james.fitzsimons@gmail.com>, thanks!
417 2008-05-06 Marek Habersack <mhabersack@novell.com>
419 * Calendar.cs: do not create dateInfo in the constructor - culture
420 might be not set yet at this point. Fixes bug #323566
421 Added a private property, DateInfo, which creates the dateInfo
424 2008-05-05 Sebastien Pouliot <sebastien@ximian.com>
426 * BulletedList.cs: Avoid calling ToString on a string.
427 * ButtonField.cs: Throw, not just create, the exceptions.
428 * HyperLinkField.cs: Throw, not just create, the exceptions.
429 * ImageField.cs: Throw, not just create, the exception. Avoid calling
430 ToString on a string.
431 * ListControl.cs: Avoid calling ToString on a string.
432 [All issues were found using Gendarme]
434 2008-04-30 Marek Habersack <mhabersack@novell.com>
436 * SiteMapDataSource.cs: when no starting node is found, return
437 null instead of Provider.RootNode. Fixes bug #323994
439 2008-04-24 Marek Habersack <mhabersack@novell.com>
441 * SqlDataSource.cs: raise the DataSourceChangedEvent when setting
442 ConnectionString, ProviderName or DataSourceMode properties only
443 when the new value differs from the old one. Fixes bug #359392
445 2008-04-16 Marek Habersack <mhabersack@novell.com>
447 * ObjectDataSourceView.cs: ExecuteSelect should return an empty
448 aray when no data has been retrieved from the specified source
449 type. Fixes bug #380106
451 2008-04-15 Marek Habersack <mhabersack@novell.com>
453 * MailDefinition.cs: dispose of streams the way it should
456 2008-04-10 Marek Habersack <mhabersack@novell.com>
458 * RadioButton.cs: adjust 'name' and 'value' attribute values to
459 match MS.NET. Fixes bug #378024
461 * CheckBoxList.cs: set the Selected property to the value in POST
462 data only if the item in question was enabled before postback
463 occurred. Fixes bug #377703
465 * ListControl.cs: make sure the owned items' Enabled property is
466 set to the same value what ListControl's. Fixes bug #377703
468 * ListItemCollection.cs: fixed SetDirty to store the index of the
469 last dirtied item properly. Fixes bug #377703
470 For the 2.0 profile, set the ListItem instances Enabled property
471 to the value of the owning ListControl (internal ItemsEnabled
472 property was added to make it possible). Fixes bug #377703
474 2008-04-08 Dean Brettle <dean@brettle.com>
476 * DataBoundControl.cs (InternalPerformDataBinding),
477 HierarchicalDataBoundControl.cs (InternalPerformDataBinding),
478 WebControl.cs (Render): fixed cast errors when a ControlAdapter
479 that wasn't of the type corresponding to the control was used.
481 2008-04-03 Marek Habersack <mhabersack@novell.com>
483 * DataList.cs: use the value of SelectedIndex, not selectedIndex,
484 to return the key value in the SelectedValue property. Fixes bug
485 #376519. Patch from Sergey Kuleshov <svyatogor@gmail.com>, thanks!
487 2008-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
489 * AutoGeneratedField.cs, CheckBoxField.cs: fixed OnDataBindField,
490 should hide checkbox only if DataItem is not defined
492 2008-03-09 Dean Brettle <dean@brettle.com>
494 * DetailsView.cs, ListControl.cs, DataBoundControl.cs,
495 FormView.cs, HierarchicalDataBoundControl.cs, WebControl.cs:
496 added support for using ControlAdapters when present.
498 * WebControl.cs: fixed implementation of IsEnabled to match
501 * Menu.cs (RenderMenuBody): call Adapter.RenderItem() instead of
502 RenderMenuItem() if an adapter is present. MenuAdapter.RenderItem()
503 calls back to new Menu.RenderItem() internal method which calls
504 RenderMenuItem() with the appropriate parameters.
506 2008-02-25 Igor Zelmanovich <igorz@mainsoft.com>
509 at Update and Delete use not read only coppies of dictionaries
510 in event argumens, that allows user to change them before corresponding
511 DataSource's method is called.
513 2008-02-20 Igor Zelmanovich <igorz@mainsoft.com>
515 * Login.cs: render id attribute of root element correctly.
517 2008-02-18 Marek Habersack <mhabersack@novell.com>
519 * FormView.cs: the ItemCreated must be fired before data is bound
520 to the FormView. Fixes bug #360434
522 2008-02-07 Igor Zelmanovich <igorz@mainsoft.com>
524 * Login.cs: render id attribute of root element correctly.
526 2008-02-05 Marek Habersack <mhabersack@novell.com>
528 * FileUpload.cs: make sure FileContent always returns the input
529 stream positioned at the beginning. Fixes bug #356846
531 2008-01-31 Igor Zelmanovich <igorz@mainsoft.com>
533 * Calendar.cs: resolve Next/Prev. month link date correctly.
535 2008-01-29 Igor Zelmanovich <igorz@mainsoft.com>
537 * TreeView.cs: add XPFileExplorer icon set.
539 2008-01-28 Igor Zelmanovich <igorz@mainsoft.com>
541 * Menu.js: dynamic nodes are positioned after hover style of
542 parent node is applied.
544 2008-01-24 Vladimir Krasnov <vladimirk@mainsoft.com>
546 * DataSourceCacheManager.cs: fixed GetKeyFromParameters, incase more
547 than one datasource using the same object with the same select method
549 2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>
551 * ValidationSummary.cs:
552 refactoring: If page contents instance of IScriptManager, it calls
553 it's API instead Page.ClientScript.
555 2008-01-23 Igor Zelmanovich <igorz@mainsoft.com>
557 * Menu.cs: fixed rendering.
559 2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
562 manage history state on "MovePrevious" action.
564 2008-01-16 Igor Zelmanovich <igorz@mainsoft.com>
567 resolve BulletImageUrl,
568 register for event validation.
570 2008-01-13 Igor Zelmanovich <igorz@mainsoft.com>
574 upgrade client side script due to changes in webform.js.
576 2008-01-07 Igor Zelmanovich <igorz@mainsoft.com>
578 * BaseCompareValidator.cs:
580 * CompareValidator.cs:
581 * CustomValidator.cs:
583 * RegularExpressionValidator.cs:
584 * RequiredFieldValidator.cs:
585 refactoring: If page contents instance of IScriptManager, validators call
586 it's API instead Page.ClientScript.
588 2008-01-07 Igor Zelmanovich <igorz@mainsoft.com>
593 for TARGET_J2EE used CreateActionUrl instead ResolveClientUrl
594 in GetPostBackOptions.
596 2008-01-06 Igor Zelmanovich <igorz@mainsoft.com>
598 * DetailsView.cs: render invisible rows correct.
600 2008-01-06 Igor Zelmanovich <igorz@mainsoft.com>
602 * DataControlField.cs: prevent infinite recursion
604 2008-01-01 Vladimir Krasnov <vladimirk@mainsoft.com>
606 * DataSourceCacheManager.cs: fixed SetCachedObject. fixed sliding
609 2007-12-31 Vladimir Krasnov <vladimirk@mainsoft.com>
611 * DataSourceCacheManager.cs: fixed SetCachedObject, fixed
614 2007-12-24 Igor Zelmanovich <igorz@mainsoft.com>
616 * TreeView.cs: revert changes from r91230
618 2007-12-18 Vladimir Krasnov <vladimirk@mainsoft.com>
620 * ListControl.cs: fixed Load/SaveViewState, removed selected indices
622 * ListItem.cs: fixed Load/SaveViewState, added selected state storing
623 * ListItemCollection.cs: fixed Load/SaveViewState, added flag to not
624 rebuild the collection if was'nt changed
626 2007-12-13 Marek Habersack <mhabersack@novell.com>
628 * Menu.cs, TreeView.cs: optimize use of String.Format in
630 Speed optimization - use String.Concat instead of String.Format in
633 * GridView.cs, DetailsView.cs: optimize use of String.Format in
636 * CheckBox.cs, AccessDataSource.cs, WebColorConverter.cs,
637 WebControl.cs,TextBox.cs, DropDownList.cs, ValidationSummary.cs,
638 ListBox.cs, Panel.cs, BaseValidator.cs, LinkButton.cs: speed
639 optimization - use String.Concat instead of String.Format in some cases.
641 2007-12-13 Vladimir Krasnov <vladimirk@mainsoft.com>
643 * Menu.cs: fixed rendering without head tag on page
645 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
647 * Calendar.cs: performance optimizations:
648 BuildLink fixed, StringBuilder used.
649 TodaysDate DateTime.Today call cahced.
651 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
653 * Unit.cs: performance optimization: ToString fixed, string.Concat used
654 instead of string.Format
656 2007-11-19 Vladimir Krasnov <vladimirk@mainsoft.com>
658 * Style.cs: performance optimization: suppress finalizer added
660 2007-11-08 Igor Zelmanovich <igorz@mainsoft.com>
664 evaluate bound value using ThisExpession ("!") properly
666 2007-11-07 Igor Zelmanovich <igorz@mainsoft.com>
668 * WebControl.cs: enabled state restored properly.
670 2007-11-06 Igor Zelmanovich <igorz@mainsoft.com>
673 refactoring for NET_2_0:
674 Text is removed from view state in case of need at SaveViewState phase.
676 2007-11-06 Igor Zelmanovich <igorz@mainsoft.com>
679 SelectedValue/SelectedIndex is set during DataBinding always.
681 2007-11-06 Marek Habersack <mhabersack@novell.com>
683 * DataGrid.cs: add RenderTable before the DataGridItems, so that
684 numbering of children is the same what on MS.NET.
685 If there are any data items, require a postback script.
688 * ChildTable.cs: removed DOS EOLs.
690 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
693 does not perform authentication if Page.IsValid returns false;
694 the fix makes control works with disabled client side validation.
696 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
699 state of DataList.Items are restored correct on PostBack
700 such Items.Count and ItemType.
702 2007-10-31 Igor Zelmanovich <igorz@mainsoft.com>
705 validator is rendered correct if EnabledClientClient is false.
707 2007-10-30 Igor Zelmanovich <igorz@mainsoft.com>
709 * Image.cs: fixed management state of Enabled property.
710 * WebControl.cs: refactoring in management state of Enabled property.
712 2007-10-23 Marek Habersack <mhabersack@novell.com>
714 * ListBox.cs, Table.cs: use Render{Begin,End}Tag
715 instead of the Write* counterparts when rendering contents.
717 2007-10-18 Marek Habersack <mhabersack@novell.com>
719 * Menu.js: a workaround for an IE bug. IE recalculates element's
720 offsetWidth when the element's _height_ is set - which in case of
721 elements with overflowing content results in a value that's just
722 slightly smaller than the client window width. In effect, a long
723 submenu will also be very wide, which isn't desirable. Fixes bug
726 2007-10-15 Marek Habersack <mhabersack@novell.com>
728 * ObjectDataSourceView.cs: use HttpApplication.LoadType instead of
731 * BulletedList.cs: html encode the item text. Fixes bug #333550.
733 2007-10-01 Marek Habersack <mhabersack@novell.com>
735 * ListItem.cs: make HasAttributes available for the 1.1 profile as
738 * DropDownList.cs: render custom ListItem attributes in the 1.1
739 profile. Fixes bug #326288
741 2007-09-27 Marek Habersack <mhabersack@novell.com>
743 * Button.cs: added missing OnPreRender method.
745 2007-09-25 Marek Habersack <mhabersack@novell.com>
747 * WebControl.cs: added an internal method, BuildScriptAttribute,
748 which merges the specified JavaScript code in an attribute, with
749 the value of that attribute specified by the user.
751 * CheckBox.cs, DropDownList.cs: AutoPostBack handling makes sure to
752 preserve user-specified attribute value, if present.
754 * ListBox.cs, TextBox.cs: AddAttributesToRender calls the base
755 after doing its job. AutoPostBack handling makes sure to preserve
756 user-specified attribute value, if present. Fixes bug #327816.
758 2007-09-21 Marek Habersack <mhabersack@novell.com>
760 * ListItem.cs: don't save StateBag in the control state - the
761 class is not serializable and therefore ObjectStateFormatter
762 cannot convert it. Instead have the sb object save its own state
763 and store the returned value. Fixes bug #326288.
765 2007-09-20 Marek Habersack <mhabersack@novell.com>
767 * LoginView.cs: implemented RoleGroups support. Fixes bug
770 2007-09-19 Marek Habersack <mhabersack@novell.com>
772 * GridView.cs: copy attributes from GridView to the child table,
773 as this is where the rendering takes place. Fixes bug #326309.
775 2007-09-18 Marek Habersack <mhabersack@novell.com>
777 * Calendar.cs: correctly apply day cell style. Fixes bug #315903
779 2007-09-17 Marek Habersack <mhabersack@novell.com>
781 * Calendar.cs: style attribute value must be enclosed in quotes.
783 * TableStyle.cs: do not capitalize the align styles. Fixes bug
786 2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
788 * ListControl.cs: partially restored r85314
789 whenever a property that can affect data binding
790 is set, make sure to set RequiresDataBinding.
792 2007-09-06 Igor Zelmanovich <igorz@mainsoft.com>
794 * DataBoundControl.cs: fixed DataBind flow:
795 prevent double binding when not necessary.
798 2007-08-31 Marek Habersack <mhabersack@novell.com>
800 * GridView.cs: instead of not adding hidden fields to the rows,
801 mark the cells they would contain as invisible. Fixes bug #82615.
803 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
807 make Menu work in multi form environment.
809 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
811 * ListControl.cs: fixed selected items state management.
813 2007-08-30 Igor Zelmanovich <igorz@mainsoft.com>
815 * BaseCompareValidator.cs:
817 * CompareValidator.cs:
818 * CustomValidator.cs:
820 * RegularExpressionValidator.cs:
821 * RequiredFieldValidator.cs:
822 all Validators use RegisterExpandoAttribute for
823 not XHTML compliant attributes.
825 2007-08-23 Igor Zelmanovich <igorz@mainsoft.com>
827 * Panel.cs: client script consider MultiForm environment.
829 2007-08-21 Marek Habersack <mhabersack@novell.com>
831 * ObjectDataSourceView.cs: get rid of PrivateBinPath property,
834 2007-08-20 Marek Habersack <mhabersack@novell.com>
836 * ContentPlaceHolderBuilder.cs: store place holder id in the
837 parser's internal place holder id list for later reference. Fixes
840 2007-08-19 Vladimir Krasnov <vladimirk@mainsoft.com>
842 * BoundField.cs: FormatDataValue, refactored multiple use of ToString
844 2007-08-14 Marek Habersack <mhabersack@novell.com>
846 * ObjectDataSourceView.cs: remove unused variable.
848 * ChangePassword.cs: remove unused variable.
849 The change password button id changed to
850 "ChangePasswordPushButton", the cancel button id changed to
851 "CancelPushButton". The change makes the generated ids the same
852 what on MS.NET. Fixes bug #82418.
854 * RoleGroupCollection.cs: OnValidate shouldn't be overridden.
856 2007-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
858 * ParameterCollection.cs: fixed IndexOfString, should use ordinal
861 2007-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
863 * Menu.cs: performance refactoring, used AddAttribute overload without
864 encoding on known attribute values, optimized DynamicMenu rendering
866 2007-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
868 * TreeView.cs: refactoring, used AddAttribute overload without encoding
869 on known attribute values,
870 used Page.ClientScript.GetWebResourceUrl call instead of
871 AssemblyResourceLoader.GetResourceUrl
873 2007-08-06 Igor Zelmanovich <igorz@mainsoft.com>
875 * AccessDataSource.cs: does not subscribed on view changed event.
876 * ObjectDataSource.cs: fixed state management.
877 * SqlDataSource.cs: fixed state management.
879 2007-08-05 Vladimir Krasnov <vladimirk@mainsoft.com>
882 DataControlFieldHeaderCell.cs, FileUpload.cs, Table.cs,
883 RegularExpressionValidator.cs, CheckBox.cs, HiddenField.cs,
884 TableStyle.cs, Image.cs, BulletedList.cs, RangeValidator.cs,
885 BaseValidator.cs, CustomValidator.cs, RepeatInfo.cs, TextBox.cs,
886 RequiredFieldValidator.cs, AdRotator.cs, TableHeaderCell.cs,
887 ImageMap.cs, Panel.cs, CompareValidator.cs, Calendar.cs, ListBox.cs,
888 TableCell.cs, WebControl.cs, ImageButton.cs, TableItemStyle.cs:
889 refactoring, used AddAttribute overload without encoding on known attribute
892 2007-08-01 Igor Zelmanovich <igorz@mainsoft.com>
894 * DropDownList.cs: fixed onchange attibute.
896 2007-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
898 * ListItemCollection.cs: fixed LoadViewState, items restored from
899 viewstate were not saved, fixes bug #82192
901 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
903 * BaseValidator.cs: All client scripts are rendered
904 according IsMultiForm property.
906 2007-07-24 Igor Zelmanovich <igorz@mainsoft.com>
908 * TreeView.cs: refactoring:
910 used ClientScriptManager.GetCallbackEventReference API instead calling
911 WebForm_DoCallback explicit.
913 2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
915 * BaseValidator.cs: for NET_2_0: fixed client side validation.
916 validation is performed in WebForm_DoPostback,
917 and there is no need to do it twice in ValidatorOnSubmit.
919 2007-07-15 Igor Zelmanovich <igorz@mainsoft.com>
921 * Calendar.cs: fixed: correct 'id' attribute is rendered.
923 2007-07-10 Vladimir Krasnov <vladimirk@mainsoft.com>
925 * ListItemCollection.cs: optimized SetDirty method
927 2007-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
931 * ListItemCollection.cs: controls based on ListControl should not save
932 view state before than TrackViewState called
934 2007-07-04 Vladimir Krasnov <vladimirk@mainsoft.com>
936 * WebControl.cs: fixed AddDisplayStyleAttribute, returns if
937 ControlStyle is not created
939 2007-07-02 Marek Habersack <mhabersack@novell.com>
941 * WebControl.cs: Revert r80368, as it wasn't the correct
942 fix. Fixes bug #81945.
944 * ListControl.cs: if there are no items in the collection, do not
945 return an empty ArrayList from GetSelectedIndicesInternal. Fixes
946 bug #81945 and properly fixes bug #78533.
948 * ListItemCollection.cs: if there are no items in collection,
951 2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
954 the Pager is created but unvisible for only one page.
955 the Patch submitted by Dumitru Ban [dban@dako.ro]
957 2007-07-01 Igor Zelmanovich <igorz@mainsoft.com>
962 does not requires data binding if any ITemplate property is set.
964 2007-06-24 Vladimir Krasnov <vladimirk@mainsoft.com>
966 * CheckBox.cs: fixed Render, HasAttributes called instead
969 2007-06-24 Igor Zelmanovich <igorz@mainsoft.com>
971 * GridView.cs: fixed AllowPaging feature:
972 When the AllowPaging is true the GridView control should automatically
973 hide the pager row when the data source contains fewer than 2 records.
974 patch Patch submitted by Dumitru Ban [dban@dako.ro]
976 2007-06-20 Marek Habersack <mhabersack@novell.com>
978 * WebControl.cs: if savedState is a Triplet, take the actual state
979 data from savedState.First. Also make sure that the data is a
980 Pair. Fixes bug #78533.
982 * DataSourceCacheManager.cs: use HttpContext.Current.InternalCache
983 to keep private entries.
984 * XmlDataSource.cs: as above
986 2007-05-31 Vladimir Krasnov <vladimirk@mainsoft.com>
988 * BaseValidator.cs: RegisterValidatorCommonScript, fixed type passed
989 to ClientScriptManager
991 2007-05-29 Igor Zelmanovich <igorz@mainsoft.com>
993 * ObjectDataSourceView.cs:
994 * SiteMapDataSource.cs:
996 * SqlDataSourceView.cs:
997 DataSourceChanged and DataSourceViewChanged are raised in right case, when
998 different properties changed their value.
1000 2007-05-27 Igor Zelmanovich <igorz@mainsoft.com>
1002 * ObjectDataSourceView.cs: fixed SelectMethod and SelectCountMethod properties:
1003 when changed, DataSourceViewChanged event is raised.
1005 * SqlDataSourceView: fixed SelectCommand property:
1006 when changed, DataSourceViewChanged event is raised.
1008 2007-05-25 Marek Habersack <mhabersack@novell.com>
1010 * ObjectDataSourceView.cs: CreateDataObject must pay attention to
1011 TypeConverter attributes on the property being converted.
1013 2007-05-24 Igor Zelmanovich <igorz@mainsoft.com>
1015 * Menu.cs: fixed: alt attribute is rendered as well.
1017 2007-05-16 Marek Habersack <mhabersack@novell.com>
1019 * CompareValidator.cs: formatting changes
1021 2007-05-15 Marek Habersack <mhabersack@novell.com>
1023 * ObjectDataSourceView.cs: refactoring - use
1024 HttpApplication.LoadType to look up types.
1026 2007-05-10 Marek Habersack <mhabersack@novell.com>
1028 * Table.cs: render rows, not controls
1030 * HyperLink.cs: RenderContents must check if the render method
1031 delegate is present and, if yes, call the base RenderContents.
1033 * LinkButton.cs: as above.
1035 * Label.cs: as above.
1037 * TableCell.cs: as above.
1038 This change makes the HeaderTemplate in the Wizard control work.
1040 * Wizard.cs: if a next/previous step handler modifies
1041 ActiveStepIndex do not, respectively, increase/decrease the
1042 current step, but use whatever was set in the handler.
1044 2007-05-09 Marek Habersack <mhabersack@novell.com>
1046 * TreeNodeStyleCollection.cs: do not set font's underline flag to
1047 false, set it to its own value instead.
1049 * TreeView.cs: if level style exists and has ChildNodesPadding
1050 set, it takes precedence over the node style setting (if any).
1052 2007-05-08 Marek Habersack <mhabersack@novell.com>
1054 * TreeView.cs: children padding is rendered only before and after
1055 the children are rendered, not between them. Also, render padding
1056 only if there are any nodes to follow the current one.
1058 2007-05-07 Marek Habersack <mhabersack@novell.com>
1060 * Wizard.cs: additional checks to see whether the wizard needs to
1061 move to a next step or not. Fixes bug #81532. Patch sent by Mike
1062 Morano <mmorano@mikeandwan.us>, thanks!
1064 2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>
1066 * FormView.cs: fixed:
1067 avoid NullReferenceException when used EditTemplate w/o binding
1068 directive such Eval or Bind.
1070 2007-05-07 Igor Zelmanovich <igorz@mainsoft.com>
1072 * MenuItem.cs: fixed:
1073 when 'Value' property is not set, value of 'Text' property is used
1074 instead and vice versa.
1076 2007-05-06 Igor Zelmanovich <igorz@mainsoft.com>
1078 * TreeNode.cs: fixed:
1079 when 'Value' property is not set, value of 'Text' property is used
1080 instead and vice versa.
1082 2007-05-04 Marek Habersack <mhabersack@novell.com>
1084 * AdRotator.cs: use the new GetPhysicalFilePath method to look up
1085 the physical path of the ad file.
1087 2007-05-03 Marek Habersack <mhabersack@novell.com>
1089 * TreeView.cs: honor ChildNodesPadding of the NodeStyle.
1091 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
1093 * ControlPropertyNameConverter.css:
1094 * FontUnitConverter.cs:
1096 * ValidatedControlConverter.cs:
1099 2007-05-03 Marek Habersack <mhabersack@novell.com>
1101 * TreeNode.cs: correct version of the fix in r76488. Nodes
1102 retrieved from a navigation data source which have empty URL will
1105 * TreeView.cs: revert r76488, it wasn't entirely correct. I need
1106 to investigate the special cases it solved a bit more.
1108 2007-05-02 Igor Zelmanovich <igorz@mainsoft.com>
1110 * SqlDataSourceView.cs:
1111 make CancelSelectOnNullParameter property works.
1113 2007-05-01 Marek Habersack <mhabersack@novell.com>
1115 * BaseValidator.cs: do not use User-Agent directly, we must take
1116 ClientTarget into account.
1118 2007-04-30 Marek Habersack <mhabersack@novell.com>
1120 * TreeView.cs: bring rendering closer to the MS.NET rendering.
1122 * SqlDataSource.cs: do not catch the exception if ProviderName is
1123 not null or empty (as per docs and what MS.NET does).
1125 2007-04-19 Igor Zelmanovich <igorz@mainsoft.com>
1127 * ChangePassword.cs:
1128 does not accept invalid new password.
1130 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
1134 added MonoLimitation attributes
1136 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
1138 * BaseValidator.cs: for TARGET_J2EE:
1139 used Page.Request.Browser to determine RenderUplevel
1141 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1144 when databound with AutoGenerateColumns = true,
1145 data source enumerator created only once.
1147 2007-04-18 Marek Habersack <mhabersack@novell.com>
1149 * SiteMapDataSource.cs: query the site map for the current node
1150 when configured to use it as the start point. Fixes bug #81376,
1151 patch from Mike Morano <mmorano@mikeandwan.us>.
1153 * Calendar.cs: change year/month format to be culture aware. Fix
1154 for bug #81390. Patch submitted by Atsushi Enomoto
1155 <atsushi@ximian.com>
1157 2007-04-17 Daniel Nauck <dna@mono-project.de>
1159 * PasswordRecovery.cs: fixed typo (AnswerLabel.Text).
1161 2007-04-17 Marek Habersack <mhabersack@novell.com>
1163 * BaseValidator.cs: use the new uplevel browser detection code.
1165 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1167 * SqlDataSourceView.cs: fixed: InitializeParameters:
1168 restored flow, broken in r75137.
1170 2007-04-12 Igor Zelmanovich <igorz@mainsoft.com>
1172 * Menu.cs: popup menu is posed correctly if menu is placed within
1173 container with position=relative
1175 2007-04-12 Marek Habersack <mhabersack@novell.com>
1177 * LoginView.cs: do not call CreateChildControls directly from the
1178 IsAuthenticated setter since that would destroy the controls the
1179 user might've configured from their Page_PreRender method.
1180 Do not use IsAuthenticated in CreateChildControls since that
1181 prevents the _correct_ template from being instantiated before the
1182 control is transferred to the user's OnPreRender handler. Fixes
1185 2007-04-11 Marek Habersack <mhabersack@novell.com>
1187 * ImageButton.cs: implement the Enable property and do not
1188 register for post back if the control isn't enabled.
1190 2007-04-06 Marek Habersack <mhabersack@novell.com>
1192 * GridView.cs: don't render invisible fields. Fixes bug #80061.
1194 * DetailsView.cs: don't render invisible fields.
1196 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
1198 * Menu.cs: resolve selected MenuItem if bounded with SiteMapeDataSource.
1200 2007-04-05 Marek Habersack <mhabersack@novell.com>
1202 * BaseDataBoundControl.cs: restore the LAMESPEC note and code it
1203 describes - tests show this is what's happening on MS.NET as
1206 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
1209 * BaseDataBoundControl.cs:
1210 Break recursion when the property is set from within the OnSelect handler
1211 in user's code. fixes bug #81175.
1213 2007-04-05 Marek Habersack <mhabersack@novell.com>
1215 * SiteMapDataSource.cs: fix GetStartNode for situations when the
1216 current URL is not defined in the sitemap file. Fixes bug
1217 #81314. Patch from Mike Morano <mmorano@mikeandwan.us>.
1219 2007-04-03 Marek Habersack <mhabersack@novell.com>
1221 * BaseDataBoundControl.cs: adjust for lame specs on MSDN.
1223 2007-04-02 Gert Driesen <drieseng@users.sourceforge.net>
1225 * MenuItem.cs: Use INavigateUIData.Description as ToolTip. Fixed line
1228 2007-03-29 Adar Wesley <adarw@mainsoft.com>
1230 * ObjectDataSourceView.cs: fixed events so they are raized at the
1231 right times. Added many tests to verify the correct time.
1232 * SqlDataSourceView.cs: fixed events so they are raized at the right
1233 times. Added many tests to verify the correct time.
1235 2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
1239 avoid Exception if HierarchicalDataSourceView.Select() returns null.
1241 2007-03-22 Igor Zelmanovich <igorz@mainsoft.com>
1243 * ObjectDataSource.cs:
1244 * ObjectDataSourceView.cs:
1246 * SqlDataSourceView.cs:
1247 fixed flow: changes in Insert/Update/DeleteParameters does not
1248 cause DataSourceViewChanged event.
1250 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
1252 * BaseDataBoundControl.cs: fix as per MSDN - the property is set
1253 only if data binding doesn't occur.
1255 2007-03-20 Igor Zelmanovich <igorz@mainsoft.com>
1257 * GridView.cs: fixed: PageIndex considers PageCount.
1259 2007-03-20 Marek Habersack <mhabersack@novell.com>
1261 * DataBoundControl.cs: avoid endless recursion here. Fixes bug #81175
1263 * LoginStatus.cs: render login/logout controls with the CssClass
1264 set from the parent control. Fixes bug #81196
1266 2007-03-19 Igor Zelmanovich <igorz@mainsoft.com>
1268 * DataGrid.cs: fixed Save/Load view state, applying styles.
1270 2007-03-12 Igor Zelmanovich <igorz@mainsoft.com>
1272 * Style.cs: optimization: used CssStyleCollection .ctor w/o parameters.
1274 2007-03-09 Marek Habersack <mhabersack@novell.com>
1276 * Login.cs: Make command name comparison case-insensitive in
1277 OnBubbleEvent. Patch from Mike Morano <mmorano@mikeandwan.us>
1279 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1281 * DataGrid.cs: fixed:
1282 Auto-generated columns are restored properly on postback from view state.
1284 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1287 when AddAttributesToRender(System.Web.UI.HtmlTextWriter, WebControl)
1288 is called, WebControl parameter is passed as argument to
1289 FillStyleAttributes (CssStyleCollection, IUrlResolutionService) method.
1291 2007-03-06 Igor Zelmanovich <igorz@mainsoft.com>
1295 fixed applying styles if ExtractTemplateRows=true.
1297 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1299 * DropDownList.cs: in 2.0 first item is rendered with selected attribute
1300 is Enabled=false and no selected items.
1302 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1304 * CheckBoxList.cs: in 2.0 access key attribute is rendered in 'input' tags.
1306 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1312 * RadioButtonList.cs:
1313 fixed: list controls consider ListItem.Attributes property on render.
1315 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1317 * CheckBox.cs: fixed: 'span' tag is not rendered if all attributes
1318 are rendered in 'input' tag.
1320 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1324 used "ONLY_1_1" instead "!NET_2_0"
1326 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1328 * BaseDataBoundControl.cs:
1329 * DataBoundControl.cs:
1330 * HierarchicalDataBoundControl.cs:
1331 refactoring: DataBoundControl and HierarchicalDataBoundControl use internal
1332 method in BaseDataBoundControl to find a data source control.
1334 2007-03-05 Marek Habersack <mhabersack@novell.com>
1336 * Unit.cs: Support parsing of units in the form ".9em" etc.
1338 2007-03-05 Igor Zelmanovich <igorz@mainsoft.com>
1340 * TemplateColumn.cs: fixed: if ItemTemplate is null, " " is rendered.
1342 2007-03-05 Marek Habersack <mhabersack@novell.com>
1344 * BaseValidator.cs: make validators work correctly with
1345 ListItems. Patch from Daniel Nauck <dna@informatik.uni-kiel.de>
1347 2007-03-04 Marek Habersack <mhabersack@novell.com>
1349 * HierarchicalDataBoundControl.cs: Use the method described below
1350 to get the data source named in DataSourceID.
1352 * BaseDataBoundControl.cs: add an internal method to find a data
1353 source control within all the naming containers above a given
1354 control. The method makes it possible to find controls that reside
1357 2007-03-01 Igor Zelmanovich <igorz@mainsoft.com>
1359 * Repeater.cs: fixed: data-binding flow for 2.0 features.
1361 2007-03-01 Igor Zelmanovich <igorz@mainsoft.com>
1364 * ParameterCollection.cs:
1365 fixed GetValue/s and UpdateValue/s.
1367 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1369 * TreeNodeCollection.cs:
1370 fixed Save/Load viewstate.
1372 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1374 * MenuItemCollection.cs:
1375 fixed Save/Load viewstate.
1377 2007-02-28 Igor Zelmanovich <igorz@mainsoft.com>
1379 * CreateUserWizard.cs:
1381 fixed CausesValidaion and ValidationGroup for navigation buttons.
1383 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1387 fixed LoadPostData to restore checked state for node's checkboxes.
1389 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1391 * TreeNodeCollection.cs: 'dirty' flag is assigned if 'marked' only
1393 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1395 * BaseDataBoundControl.cs: setting DataSource to null does not
1396 call ValidateDataSource.
1397 * HierarchicalDataBoundControl.cs: ValidateDataSource does not
1398 throw exception if argument is null.
1400 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1402 * WebControl.cs: implemented IsEnabled and HasAttributes.
1404 2007-02-27 Igor Zelmanovich <igorz@mainsoft.com>
1406 * BaseDataList.cs: fixed: data-binding flow for 2.0 features.
1408 2007-02-27 Marek Habersack <grendello@gmail.com>
1410 * FileUpload.cs: HasFile is true only if PostedFile is not null
1411 and it actually has an associated file.
1413 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1415 * LoginView.cs: fixed:
1416 ViewChanging and ViewChanged are fired.
1417 optimized Save/Load control state.
1419 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1421 * CreateUserWizard.cs: fixed: does not attempt to send email if
1422 MailDefinition is not defined.
1424 2007-02-26 Igor Zelmanovich <igorz@mainsoft.com>
1427 considers FormsAuthentication.ReturnUrl only if is placed in
1428 the login page defined in web.config.
1430 2007-02-23 Marek Habersack <grendello@gmail.com>
1432 * ObjectDataSourceView.cs: Fix saving/restoring the view state.
1434 * CreateUserWizard.cs: support for sending mail when a new user is
1435 created. Patch from dban@dako.ro.
1437 2007-02-22 Marek Habersack <grendello@gmail.com>
1439 * LoginStatus.cs: Handle OnLoggedOut properly. Patch from
1442 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1444 * ObjectDataSourceView.cs: fixed ViewState behavior to match MS. Added relevant tests.
1446 2007-02-20 Gert Driesen <drieseng@users.sourceforge.net>
1448 * Calendar.cs: Fixed bug #80881 by using Thread's CurrentCulture
1449 instead of CurrentUICulture for DateFormatInfo.
1451 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1453 * SqlDataSource.cs: fixed ViewState behavior to conform to MS. Added relevant tests.
1454 * SqlDataSourceView.cs: fixed ViewState behavior to conform to MS. Added relevant tests.
1456 2007-02-20 Igor Zelmanovich <igorz@mainsoft.com>
1458 * ChangePassword.cs: fixed:
1459 ChangePasswordContainer and SuccessContainer cannot be BindingContainer.
1461 2007-02-20 Adar Wesley <adarw@mainsoft.com>
1463 * SqlDataSourceView.cs: Fixed parameter merging logic and some bug fixing.
1466 2007-02-19 Igor Zelmanovich <igorz@mainsoft.com>
1471 implemented Form.SubmitDisabledControls feature.
1473 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1475 * GridView.cs: IsBindableType for decimal returns true.
1477 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1479 * Menu.js: client script: support IE6.
1481 2007-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1483 * Menu.cs: fixed: considers item.ToolTip, render image inside 'a' tag.
1485 2007-02-18 Eyal Alaluf <eyala@mainsoft.com>
1487 * Button.cs, ImageButton.cs, LinkButton.cs: Hanlding of PostbackOptions for
1488 TARGET_J2EE is now centralized in ClientScriptManager.
1489 * TreeView.cs, DetailsView.cs, GridView.cs, TreeView.js, DetailsView.js,
1490 GridView.js: Added a field to the controls JavaScript 'data' object. The
1491 form is initialized to the page 'theForm'. This is used for J2EE portlets
1494 2006-02-18 Igor Zelmanovich <igorz@mainsoft.com>
1497 first step is recognized as 'finish' if only two steps
1498 and last step is 'complete'
1500 2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
1502 * BaseValidator: ControlPropertiesValid is called on PreRender
1503 * CompareValidator.cs:
1504 * RangeValidator.cs: fixed ControlPropertiesValid, EvaluateIsValid.
1506 2006-02-15 Igor Zelmanovich <igorz@mainsoft.com>
1508 * BaseCompareValidator.cs: fixed: support for type=Currency on client side.
1510 2007-02-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1512 * ParameterCollection.cs: fixed IndexOfString, this indexer should be
1515 2007-02-13 Igor Zelmanovich <igorz@mainsoft.com>
1517 * TreeView.js: refactoring:
1518 removed TreeView_ErrorCallback, used TreeView_PopulateCallback instead.
1520 2007-02-13 Adar Wesley <adarw@mainsoft.com>
1522 * ObjectDataSourceView.cs: fixed parameter merging and added more tests
1524 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1526 * Literal.cs: implemented 2.0 feature - Mode.
1528 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1530 * ViewCollection.cs: fixed public API.
1532 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1534 * RepeaterItem.cs: implemented IDataItemContainer interface.
1536 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1538 * TreeNodeStyle.cs: fixed public API.
1540 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1542 * MenuItemStyle.cs: fixed public API.
1544 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1547 * DayRenderEventArgs.cs:
1548 implemented 2.0 feature - SelectUrl.
1550 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1552 * GridViewRowCollection.cs: implemented IsReadOnly property.
1554 2007-02-12 Igor Zelmanovich <igorz@mainsoft.com>
1556 * BaseValidator.cs: implemented SetFocusOnError feature.
1558 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1560 * Wizard.cs: refactoring:
1561 used ContainedTable for ID attribute is rendered properly.
1563 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1565 * CreateUserWizard.cs:
1569 2007-02-11 Igor Zelmanovich <igorz@mainsoft.com>
1571 * DataList.cs: fixed: OnBubbleEvent() will return true if event is handled
1573 2007-02-09 Gert Driesen <drieseng@users.sourceforge.net>
1575 * FontUnit.cs: Fixed ToString () to use current locale.
1577 2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>
1579 * BaseValidator.cs: fixed render, works in static mode properly
1580 * CreateUserWizard.cs: fixed display mode for validators.
1582 2007-02-07 Igor Zelmanovich <igorz@mainsoft.com>
1586 implemented FormViewPagerRow class
1588 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1591 header and footer visibility is set at creation.
1593 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1595 * FormView.cs: fixed:
1596 header and footer are not created with empty row.
1598 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1600 * FormView.cs: fixed:
1601 works properly with not ICollection data source.
1603 2007-02-06 Igor Zelmanovich <igorz@mainsoft.com>
1605 * DetailsView.cs: fixed:
1606 PageIndex, CreateChildControls,
1607 works properly with not ICollection data source.
1609 2007-02-06 Eyal Alaluf <eyala@mainsoft.com>
1611 * Menu.cs ImageMap.cs Panel.cs TreeView.cs: Ensure that the NavigateUrl
1612 property is rendered as a RenderURL for J2EE portlets.
1614 2007-02-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1616 * BaseValidator.cs: refactored RegisterValidatorCommonScript to use
1617 RegisterClientScriptInclude instead of RegisterClientScriptBlock
1619 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1621 * DataBoundControl.cs:
1624 PerformDataBinding is called with RequiresDataBinding was set false
1626 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1629 fixed validation flow.
1631 2007-02-05 Igor Zelmanovich <igorz@mainsoft.com>
1634 fixed validation flow.
1636 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1638 * CustomValidator.cs:
1639 ValidateEmptyText is considered on client side.
1641 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1646 * DataControlButton.cs:
1647 * DataControlField.cs:
1650 Internal classes are used in databound controls for buttons
1651 are derived from right types. It allows to have access to them by casting
1652 to public types. This trick is used in one of starter kits of MS.
1654 2007-02-04 Igor Zelmanovich <igorz@mainsoft.com>
1656 * Panel.cs: fixed: reverted r71441.
1657 * TreeView.cs: used internal RegisterWebFormClientScript API
1658 to cause the relevant script be included.
1660 2007-02-01 Adar Wesley <adarw@mainsoft.com>
1662 * FormView.cs: fixed events ModeChanging and ModeChanged
1663 to be raized in all relevant situations.
1665 2007-02-01 Igor Zelmanovich <igorz@mainsoft.com>
1667 * ValidationSammary.cs: fixed:
1668 control is rendered even if there is no validators on the page.
1669 important if the page contain a client side script that refer to the
1670 id of the validation summary div.
1672 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1677 * RadioButtonList.cs:
1678 EnsureDataBound is called when PostData is processed to restore
1679 'state' of control if EnableViewState is false
1681 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1683 * GridView.cs: fixed:
1684 RowDataBound is fired for PagerRow.
1685 Styles are applied using MergeWith instead CopyFrom
1686 to allow using custom styles for rows in code-behind.
1688 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1690 * GridView.cs: fixed: RowCommand event is fired properly.
1692 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1694 * GridView.cs: fixed: created rows are added in table after initialization.
1697 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1699 * Panel.cs: fixed 'background-image' attribute.
1701 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1703 * BaseDataBoundControl.cs:
1704 * DataBoundControl.cs:
1705 fixed DataBinding flow: RequiresDataBinding is set to false in
1707 * HierarchicalDataBoundControl.cs: implemented MarkAsDataBound().
1709 2007-01-31 Igor Zelmanovich <igorz@mainsoft.com>
1713 fixed DataBinding flow for Insert mode.
1715 2007-01-30 Igor Zelmanovich <igorz@mainsoft.com>
1718 does not RegisterRequiresPostBack if is not enabled.
1720 2007-01-30 Igor Zelmanovich <igorz@mainsoft.com>
1724 fixed PopulateOnDemand: used UniqueID to call WebForms_DoCallBack().
1726 2007-01-29 Igor Zelmanovich <igorz@mainsoft.com>
1728 * MultyView.cs: OnActiveViewChanged is called.
1730 2007-01-29 Vladimir Krasnov <vladimirk@mainsoft.com>
1732 * Panel.cs: fixed AddAttributesToRender for 2.0, text align should be
1735 2007-01-29 Adar Wesley <adarw@mainsoft.com>
1737 * EditCommandColumn.cs: implemented CausesValidation and
1738 ValidationGroup and coresponding tests.
1739 * DataGrid.cs: fixed generated table to be compatible with MS 2.0
1741 2007-01-28 Vladimir Krasnov <vladimirk@mainsoft.com>
1743 * WebControl.cs: added internal method AddDisplayStyleAttribute for
1744 display:inline-block style attribute
1747 * CheckBox.cs: added call to AddDisplayStyleAttribute on rendering
1749 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
1751 * TreeView.js: Used WebForm_GetFormFromCtrl to lookup the form.
1753 2007-01-24 Vladimir Krasnov <vladimirk@mainsoft.com>
1755 * TextBox.cs: implemented AutoCompleteType property, fixed
1756 AddAttributesToRender
1758 2007-01-24 Ilya Kharmatsky <ilya -at- decode-systems.com>
1760 * DetailsView.cs: fixed problems with rendering of control, when
1761 empty data source is provided. Respective tests are provided
1762 in DetailsViewTest.cs
1764 2007-01-21 Konstantin Triger <kostat@mainsoft.com>
1766 * TreeView.js, DetailsView.js, Menu.js, GridView.js:
1767 suppress exception if eval() fails.
1769 2007-01-20 Miguel de Icaza <miguel@novell.com>
1771 * DataControlFieldCollection.cs (RemoveAt): remove unused
1774 * RoleGroupCollection.cs (OnValidate): Flag as protected, as it
1777 * RadioButton.cs (RaisePostDataChangedEvent): This method was not
1778 used in 1.0, so put the whole method in 2.0
1780 2007-01-18 Adar Wesley <adarw@mainsoft.com>
1782 * Xml.cs: added support for XPathNavigator, fixed DocumentContent
1783 to be compatible with MS 2.0, implemented EnableTheming, implemented
1784 SkinID, fixed Focus behavior.
1786 2007-01-18 Vladimir Krasnov <vladimirk@mainsoft.com>
1788 * Menu.js, Menu.js: added null reference checking for every getTree or
1791 2007-01-18 Adar Wesley <adarw@mainsoft.com>
1793 * SiteMapDataSource.cs: implemented logic of GetStartNode when
1794 StartingNodeOffset is positive.
1796 2007-01-17 Konstantin Triger <kostat@mainsoft.com>
1798 * BaseValidator.cs: ToString the validating property value or
1799 if null return an empty string.
1801 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1803 * TreeView.cs: fixed RegisterStyle, style names should be without
1804 leading underscore. fixed RenderNode, node icons should be taken also
1807 2007-01-17 Adar Wesley <adarw@mainsoft.com>
1809 * Repeater.cs: refactored GetData to return data both from DataSource
1810 and DataSrouceID, Implemented EnableTheming, updated initialization of
1811 DataBinding according to the pattern of BaseDataBoundControl, fixed
1812 SelectArguments implementation to call the virtual
1813 CreateDataSourceSelectArguments method.
1815 2007-01-17 Konstantin Triger <kostat@mainsoft.com>
1817 * GridView.cs: don't force creating rows collection when SelectedIndex
1818 changes; EnsureDatabound on select.
1820 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1822 * TreeNode.cs: fixed Bind, fixed Value updating
1824 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1826 * DataList.cs: fixed OnBubbleEvent, added SelectedIndex updating
1828 2007-01-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1830 * DetailsView.cs: fixed CreateChildControls, PageIndex cannot be less
1833 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
1835 * DetailsView.cs: fixed CreateChildControls, PageIndex should be less
1836 or equal to PageCount
1838 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
1840 * Menu.cs: added z-index attribute to popup div's.
1842 2007-01-15 Vladimir Krasnov <vladimirk@mainsoft.com>
1844 * FileUpload.cs: fixed FileName property, should return filename
1845 without full path on client side
1847 2007-01-15 Ilya Kharmatsky <ilya -at- decode-systems.com>
1852 Implemented the protected net_2_0 method 'VerifyMultiSelect' with
1853 proper overloading in derived types.
1855 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
1858 considers INavigateUIData.NavigateUrl when bound.
1860 2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
1862 * CompleteWizardStep.cs
1863 * CreateUserWizard.cs
1864 * CreateUserWizardStep.cs
1865 * TemplatedWizardStep.cs
1867 make the design complied to .NET
1868 build all possible controls at once and manage render by Visible property
1870 2007-01-14 Eyal Alaluf <eyala@mainsoft.com>
1871 * Button.cs, HyperLink.cs, DataGrid.cs, ImageButton.cs, LinkButton.cs,
1872 PagedDataSource.cs: Added J2EE Portal support for TARGET_J2EE.
1874 2007-01-14 Ilya Kharmatsky <ilyak-at-mainsoft.com>
1875 * BaseCompareValidator
1877 Added support for CultureInvariantValues property, which should be
1878 counted in new 2.0 methods such as - Compare, Convert etc. The code
1879 has been changed in such way, that the old - 1.1 method implementation
1880 could use the new methods defined for 2.0 version.
1882 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
1884 * XmlDataSource.cs: refactored to use cached collection.
1885 * SqlDataSource.cs: refactored to use cached collection;
1886 don't throw exception on 'DefaultView'.
1887 * ObjectDataSource.cs: refactored to use cached collection.
1889 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
1891 * ObjectDataSourceView.cs: consider parameter names and
1892 DataObjectMethodAttribute during method resolution.
1894 2007-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
1896 * SqlDataSourceView.cs: fixed OnUpdating, OnInserting call with
1897 SqlDataSourceCommandEventArgs
1899 2007-01-10 Konstantin Triger <kostat@mainsoft.com>
1901 * ObjectDataSourceView.cs: use case unsensitive comparer for
1902 parameters collection.
1904 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
1906 * LoginStatus.cs: fixed: not causes page validation.
1908 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
1910 * CreateUserWizard.cs: fixed: resolves ErrorMessage control correct.
1911 * CreateUserWizardStep.cs:
1913 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
1915 * TreeView.cs: fixed: SelectedNode, CheckedNodes.
1917 * TreeNodeCollection.cs:
1919 2007-01-10 Igor Zelmanovich <igorz@mainsoft.com>
1921 * GridView.cs: fixed: header and footer does not appear in no items.
1922 * CompositeDataBoundControl.cs:
1924 2007-01-09 Konstantin Triger <kostat@mainsoft.com>
1926 * AdRotator.cs: Backport the fix for AdRotator AbsoluteUri to 1.1.
1928 2007-01-09 Igor Zelmanovich <igorz@mainsoft.com>
1930 * GridView.cs: fixed: SelectedDataKey.
1932 2007-01-09 Igor Zelmanovich <igorz@mainsoft.com>
1936 implemented 2.0 features.
1938 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
1940 * SqlDataSourceView.cs: fixed parameters init for ExecuteUpdate
1942 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
1944 * DataSourceCacheManager.cs:
1945 * ObjectDataSource.cs:
1947 fixed: cache considers parameters values changes.
1949 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
1951 * DetailsView.cs: fixed DeleteItem, excluded keys for new values
1952 * SqlDataSourceView.cs: fixed ExecuteDelete, check cancel in
1955 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
1957 * GridView.cs: fixed: show all rows when AllowPaging=false
1959 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
1961 * SqlDataSourceView.cs: fixed CreateDbParameter, used DBNull for value=null.
1963 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
1965 * ButtonField.cs: fixed: consider its CausesValidation property.
1967 2007-01-08 Igor Zelmanovich <igorz@mainsoft.com>
1969 * GridView.cs: fixed:
1970 ReadOnly property is false for AutoGeneratedColumn if field is DataKey.
1971 causesValidation parameter is considered properly in UpdateRow.
1972 OldValues contains readonly fields values
1974 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
1976 * SqlDataSourceView.cs: fixed InitializeParameters, added
1977 ParameterPrefix when check that param is already in collection
1979 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
1981 * AdRotator.cs: fixed: considers absolute uri such html://......
1983 2007-01-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1985 * SqlDataSourceView.cs: fixed insert, delete, update methods, added
1986 calls to OnDataSourceViewChanged
1988 2007-01-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1990 * added ProfileParameter.cs
1992 2007-01-07 Igor Zelmanovich <igorz@mainsoft.com>
1994 * Label.cs: fixed: according MSDN OnPreRender is not overridden.
1996 2007-01-04 Adar Wesley <adarw@mainsoft.com>
1998 * ImageButton.cs: implemented GenerateEmptyAlternateText
2000 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
2002 * FormView.cs: fixed data binding flow considers Insert mode.
2004 2007-01-04 Igor Zelmanovich <igorz@mainsoft.com>
2006 * DataBoundControl.cs: fixed Init flow.
2008 2007-01-4 Adar Wesley <adarw@mainsoft.com>
2010 * RadioButtonList.cs: Implemented properties of IRepeatInfoUser as public virtual
2012 2007-01-03 Marek Habersack <grendello@gmail.com>
2014 * ObjectDataSourceView.cs: Look for unqualified type also in the top-level assemblies.
2016 2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>
2018 * FormView.cs: fixed PageIndex property.
2020 2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>
2022 * ListControl.cs: fixed SelectedValue and SelectedIndex properties.
2023 set accessor works differently in 2.0.
2025 2007-01-02 Vladimir Krasnov <vladimirk@mainsoft.com>
2027 * SqlDataSourceView.cs,ObjectDataSourceView.cs: fixed parameter merge
2028 when values and old values are null
2030 2006-01-02 Igor Zelmanovich <igorz@mainsoft.com>
2032 * ListControl.cs: reverted r70112, fixed in r70319.
2034 2007-01-02 Igor Zelmanovich <igorz@mainsoft.com>
2036 * DetailsView.cs: fixed CreateAutoGeneratedRows.
2038 2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
2040 * AutoGeneratedField.cs: is editable in Insest mode.
2041 * BoundField.cs: is editable in Insest mode.
2042 * CheckBoxField.cs: is editable in Insest mode.
2043 * DetailsView.cs: fixed DataBinding flow.
2045 2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
2047 * BaseDataBoundControl.cs:
2048 * CompositeDataBoundControl.cs: fixed DataBinding flow.
2050 2006-12-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2052 * LinkButton.cs: show the validation summary when client validation
2053 and linkbuttons are used. Patch by Juraj Skripsky.
2055 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
2057 * TextBox.cs: consider ToolTip property
2059 2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
2061 * ContainedTable.cs:
2062 * DataControlButton.cs:
2063 * DetailsView.cs: fixed EnablePagingCallbacks
2066 * GridView.js: fixed EnableSortingAndPagingCallbacks
2068 2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
2071 ResolveClientUrl used with LineImagesFolder, ExpandImageUrl,
2072 CollapseImageUrl and NoExpandImageUrl properties.
2074 2006-12-28 Vladimir Krasnov <vladimirk@mainsoft.com>
2076 * SqlDataSource.cs: Added parameters update on OnInit
2078 2006-12-28 Vladimir Krasnov <vladimirk@mainsoft.com>
2080 * LoginView.cs: fixed rendering LoggedInTemplate even after user
2083 2006-12-28 Igor Zelmanovich <igorz@mainsoft.com>
2088 control's behavior depends on using DataSource or DataSourceID
2089 property for binding
2091 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
2093 * CommandField.cs: fixed:
2094 when ShowEditButton=false Update/Cancel button doesn't appear.
2095 when ShowInsertButton=false Insert/Cancel button doesn't appear.
2097 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2099 * Login.cs: fixed AuthenticateUser, should redirect to ReturnUrl when
2101 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2103 * Parameter.cs: fixed ConvertValue to coorect handle TypeCode.Empty
2104 * ObjectDataSourceView.cs: fixed MergeParameterValues,
2105 call Parameter.ConvertValue
2106 fixed ConvertParameter to hanlde TypeCode.Empty
2107 * SqlDataSourceView.cs: fixed InitializeParameters,
2108 call Parameter.ConvertValue
2109 fixed ParameterPrefix property
2110 fixed CreateDbParameter, added usege of ParameterPrefix
2112 2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
2114 * ListControl.cs: fixed: when is used with DataSourceID data bind is not
2115 perfomed on PostBack because Items collection is restored from View state.
2117 2006-12-26 Igor Zelmanovich <igorz@mainsoft.com>
2119 * DataGridPagerStyle.cs:
2124 * TableItemStyle.cs:
2129 fixed: Load/Save viewstate of WebControl does not call Load/Save viewstate
2130 for it's ControlStyle, but the shared ViewState is used to manage style's
2133 2006-12-21 Igor Zelmanovich <igorz@mainsoft.com>
2135 * CompleteWizardStep.cs:
2136 * CreateUserWizard.cs:
2137 * CreateUserWizardStep.cs:
2138 * TemplatedWizardStep.cs:
2140 fixed: CreateUserWizard works properly in advanced scenarios
2141 such being used with additional steps or/and with custom templates.
2142 Styles are aplied properly.
2144 2006-12-21 Vladimir Krasnov <vladimirk@mainsoft.com>
2146 * SqlDataSourceView.cs: fixed InitializeParameters, parameters order
2147 parameters case insensetive search
2148 * ObjectDataSourceView.cs: fixed MergeParameterValues, parameters
2149 case insensetive search
2151 2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
2153 * Menu.cs: fixed: ResolveClientUrl used with src and href attributes
2155 2006-12-19 Igor Zelmanovich <igorz@mainsoft.com>
2159 TreeNodeCollapsed is not raised for leaf node.
2161 2006-12-14 Vladimir Krasnov <vladimirk@mainsoft.com>
2163 * DataGrid.cs, RepeatInfo.cs: fixed accessibility features
2165 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2167 * Calendar.cs: support DayNameFormat.Shortest
2169 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2171 * HiddenField.cs: implemented
2173 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2175 * FormView.cs: fixed: FillRowDataKey
2176 * DetailsView.cs: fixed: FillRowDataKey
2178 2006-12-17 Igor Zelmanovich <igorz@mainsoft.com>
2180 * TreeView.cs: fixed: ResolveClientUrl used with ImageUrl and NavigateUrl
2182 2006-12-14 Vladimir Krasnov <vladimirk@mainsoft.com>
2184 * Login.cs: refactored rendering, fixed OnAuthenticate event
2186 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
2188 * GridView.cs: fixed: Update works not only for EditRow
2190 * CompositeDataBoundControl.cs:
2192 2006-12-11 Igor Zelmanovich <igorz@mainsoft.com>
2194 * RadioButton.cs: fixed:
2195 When GroupName is not defined UniqueID is used instead for name attribute.
2196 CheckedChanged is raised only when control is checked.
2198 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2200 * Menu.cs: fixed: rendering.
2202 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2204 * Menu.cs: fixed: rendering.
2206 2006-12-10 Igor Zelmanovich <igorz@mainsoft.com>
2211 fixed rendering for 2.0
2213 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
2215 * DetaisView.cs: fixed: rendering.
2216 * DataControlButton.cs:
2219 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
2221 * FormView.cs: fixed: avoid empty row rendering.
2223 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2225 * AdRotator.cs: fixed:
2226 MSDN: The ImageUrl and NavigateUrl attributes can be a full URL, a
2227 root-relative path, or a relative path. If you use a root-relative path,
2228 the path is relative to the same Web site. If you use a relative path,
2229 the path is relative to the directory that contains the advertisement file.
2231 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2233 * BaseCompareValidator.cs: fixed: support for type=Date on client side.
2235 2006-12-06 Igor Zelmanovich <igorz@mainsoft.com>
2237 * TreeView.cs: fixed: support for event validation.
2239 2006-12-04 Igor Zelmanovich <igorz@mainsoft.com>
2241 * DataGridPagerStyle.cs: chenged values of DataGridPagerStyles flags.
2243 2006-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2245 * CreateUserWizard.cs: implement GeneratePassword based on Membership.
2247 2006-11-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2249 * Wizard.cs: fixed GetStepType method that returned wrong type if the
2250 last step type is Complete.
2251 fixed ProcessEvent method, corrected FinishButtonClick behavior
2253 2006-11-26 Marek Habersack <grendello@gmail.com>
2255 * Calendar.cs: Fixed event validation registration. Now it
2256 registers all the arguments that can be passed by this control to
2259 2006-11-25 Marek Habersack <grendello@gmail.com>
2261 * FileUpload.cs: Implementation of SaveAs
2263 * TreeView.cs: A few optimizations for empty style collections.
2265 * Menu.cs: A few optimizations for empty style collections.
2267 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
2269 * BoundField.cs: fixed: GetDesignTimeValue()
2271 2006-11-23 Igor Zelmanovich <igorz@mainsoft.com>
2273 * SiteMapDataSource.cs: fixed: GetViewNames()
2275 2006-11-23 Vladimir Krasnov <vladimirk@mainsoft.com>
2277 * ChangePassword.cs: implemented functionality
2278 * MailDefinition.cs: implemented CreateMailMessage method
2279 * PasswordRecovery.cs: implemented functionality
2281 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2283 * CircleHotSpot.cs: fixed:
2284 setting Radius with value <0 throws ArgumentOutOfRangeException.
2286 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2288 * CookieParameter.cs: fixed Evaluate method.
2290 2006-11-22 Igor Zelmanovich <igorz@mainsoft.com>
2292 * Parameter.cs: fixed Evaluate, ToString methods.
2293 * QueryStringParameter.cs: fixed Evaluate method.
2294 * SessionParameter.cs: fixed Evaluate method.
2296 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2298 * ImageMap.cs: fixed rendering.
2300 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2302 * HotSpot.cs: fixed: AccessKey and HotSpotMode
2303 throw ArgumentOutOfRangeException.
2305 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2307 * ControlParameter.cs: fixed: Evaluate method
2308 throws exceptions correctly.
2310 2006-11-21 Igor Zelmanovich <igorz@mainsoft.com>
2312 * CheckBox.cs: fixed: new 2.0 features such
2313 LabelAttributes and InputAttributes.
2315 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2317 * GridView.cs: fixed: header, footer and empty rows are databound.
2319 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2321 * Style.cs: added internal helper method RemoveTextStyles.
2323 2006-11-20 Igor Zelmanovich <igorz@mainsoft.com>
2325 * Button.cs: fixed: support for event validation.
2326 * CheckBox.cs: fixed: support for event validation.
2327 * FormView.cs: fixed: support for event validation.
2328 * ImageButton.cs: fixed: support for event validation.
2329 * ListBox.cs: fixed: support for event validation.
2330 * TextBox.cs: fixed: support for event validation.
2332 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2334 * DropDownList.cs: fixed: support for event validation.
2336 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2338 * LinkButton.cs: optimized: support for event validation.
2339 * DataControlButton.cs: Added support for event validation.
2340 * DetailsView.cs: fixed: RowIndex for DetailsViewRow.
2342 2006-11-19 Igor Zelmanovich <igorz@mainsoft.com>
2344 * LinkButton.cs: Added support for event validation.
2346 2006-11-17 Marek Habersack <grendello@gmail.com>
2348 * ImageButton.cs: Added support for event validation.
2350 * ListBox.cs: Added support for event validation.
2352 * Calendar.cs: Added support for event validation.
2354 * DropDownList.cs: Added support for event validation.
2356 * FormView.cs: Added support for event validation.
2358 * RadioButtonList.cs: Added support for event validation.
2360 * TextBox.cs: Added support for event validation.
2362 * BulletedList.cs: Added support for event validation.
2364 * CheckBox.cs: Added support for event validation.
2366 * Button.cs: Added support for event validation.
2368 2006-11-16 Igor Zelmanovich <igorz@mainsoft.com>
2370 * CreateUserWizard.cs: fixed: ActiveStepIndex property.
2372 2006-11-15 Igor Zelmanovich <igorz@mainsoft.com>
2374 * ListControl.cs: fixed: DataBinding for 2.0, for 1.x - refactoring only.
2376 2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>
2378 * GridView.cs: fixed: Rows property, DataBinding flow.
2379 * DataBoundControl.cs:
2380 * BaseDataBoundControl.cs:
2382 2006-11-14 Igor Zelmanovich <igorz@mainsoft.com>
2384 * CompositeDataBoundControl.cs: fixed:
2385 DataBind call Controls.Clear().
2387 2006-11-13 Igor Zelmanovich <igorz@mainsoft.com>
2389 * CompositeDataBoundControl.cs: fixed:
2390 DataBind sets ChildControlsCreated=true.
2392 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2394 * Login.cs: fixed CreateChildControls, throws exception if needed
2396 * LoginView.cs: fixed CreateChildControls, check templates for null
2398 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2400 * Wizard.cs: fixed ActiveStepIndex property, fixed SideBar button
2401 rendering, fixed history updating
2402 * WizardStepCollection.cs: fixed implemented interfaces
2404 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
2406 * XmlDataSource.cs: CacheKeyDependency fixed
2408 2006-11-12 Igor Zelmanovich <igorz@mainsoft.com>
2410 * DetailsView.cs: fixed: DataKeys, PageCount, DataBinding flow.
2412 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2414 * DetailsViewPagerRow.cs: fixed: must be not resolved as BindingContainer.
2416 2006-11-09 Vladimir Krasnov <vladimirk@mainsoft.com>
2418 * ParameterCollection.cs: fixed SetDirtyObject method
2419 * ObjectDataSource.cs, ObjectDataSourceView.cs: removed VievState
2420 utilization for control's properties, implemented caching
2421 * SqlDataSource.cs, SqlDataSourceView.cs: implemented caching
2423 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2425 * GridView.cs: fixed: DataKeys, PageCount, DataBinding flow.
2427 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
2429 * DataBoundControl.cs: fixed:
2430 ConfirmInitState method s called by
2431 the DataBoundControl class in its OnLoad method.
2433 2006-11-06 Igor Zelmanovich <igorz@mainsoft.com>
2435 * FormView.cs: fixed: DataBinding flow.
2437 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
2439 * CustomValidator.cs: implemented ValidateEmptyText fixture.
2441 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
2443 * BaseCompareValidator.cs: fixed: CultureInvariantValues, Type properties.
2445 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2447 * Menu.cs: fixed: RenderEndTag.
2448 Dynamic menu is rendered when StaticDisplayLevels=1
2450 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2452 * GridView.cs: fixed: UpdateRow, DeleteRow, RowCreated.
2454 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
2456 * FormView.cs: fixed: UpdateItem, DeleteItem.
2458 2006-10-31 Igor Zelmanovich <igorz@mainsoft.com>
2460 * DetailsView.cs: fixed: PageIndex, UpdateItem, InsertItem.
2462 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2464 * RadioButtonList.cs: fixed: has no html output when Items.Count=0.
2466 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2468 * ListControl.cs: fixed: setting SelectedVolue for 2.0.
2470 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2472 * DataBoundControl: fixed: ValidateDataSource allows null as dataSource.
2474 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2476 * ListControl.cs: fixed: assigning SelectedIndex with too hight value.
2478 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
2480 * ListControl.cs: fixed: DataBinding for 2.0.
2481 for 1.x refactoring only.
2483 2006-10-25 Igor Zelmanovich <igorz@mainsoft.com>
2485 * ChangePassword.cs: new class was implemented.
2487 2006-10-25 Igor Zelmanovich <igorz@mainsoft.com>
2489 * EmbeddedMailObject.cs: new class was implemented.
2490 * EmbeddedMailObjectsCollection.cs: new class was implemented.
2491 * MailDefinition.cs: new class was implemented.
2493 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2495 * PagerSettings.cs: fixed: CreatePagerControl.
2497 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2499 * CommandField.cs: fixed:
2500 considers CaseValidation, ValidationGroup, ButtonType.
2501 * DataControlButton.cs: refactoring:
2503 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
2505 * DetailsView.cs: implemented: GetCallbackScript method.
2507 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2509 * FormView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
2511 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2513 * FormFiew.cs: fixed: UpdateItem, InsertItem.
2515 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2517 * FormFiew.cs: fixed: PageIndex, rendering.
2519 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
2521 * DropDownList.cs: fixed: rendering "name" attribute".
2523 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2525 * GridView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
2526 * DataControlButton.cs:
2527 * CommandField.cs: CausesValidation feature must be implemented other way
2529 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
2531 * CompositeDataBoundControl.cs: fixed: CreateChildControls flow.
2533 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2535 * FormView.cs: fixed: OnBubbleEvent returns true when event is handled.
2537 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2539 * DetailsView.cs: fixed: OnBubbleEvent works properly.
2541 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2543 * DetailsView.cs: fixed: considers DataControlField.InsertVisible.
2545 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2547 * DetailsView.cs: fixed: CurrentMode property.
2549 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2551 * DetailsView.cs: fixed: current state are not changed during paging.
2553 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
2555 * DetailsView.cs: fixed:
2556 in Insert mode Select not invoked from DataSource
2558 2006-10-18 Konstantin Triger <kostat@mainsoft.com>
2560 * ObjectDataSourceView.cs: use Type.GetType for loading full qualified types.
2562 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2564 * FormView.cs: fixed: CreateDataSourceSelectArguments method.
2565 (corresponding test does not work because bug in ObjectDataSourceView)
2567 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2569 * DataBoundControl.cs: fixed: DataBind calls
2570 CreateDataSourceSelectArguments() and stores result in SelectArguments
2572 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2576 fixed: EnablePagingCallbacks feature.
2577 when postback is invoked after callback control state is restored
2580 2006-10-17 Vladimir Krasnov <vladimirk@mainsoft.com>
2582 * SqlDataSource.cs, SqlDataSourceView.cs: redesign and bug fixes
2584 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
2586 * DetailsView.cs: fixed: CreateDataSourceSelectArguments method.
2587 (corresponding test does not work because bug in ObjectDataSourceView)
2589 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2591 * GridView.cs: fixed: EnableSortingAndPagingCallbacks feature.
2592 when postback is invoked after callback control state is restored
2595 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2597 * GridView.cs: fixed: Sorting feature.
2598 When sorting EditIndex and PageIndex are reseted
2600 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
2602 * GridView.cs: fixed: Sorting feature.
2603 CreateDataSourceSelectArguments considers SortExpression and SortDirection.
2604 (corresponding test does not work because bug in ObjectDataSourceView)
2606 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
2608 * GridView.cs: fixed:
2609 CreateDataSourceSelectArguments works according to MSDN.
2610 (corresponding test does not work because bug in ObjectDataSourceView)
2612 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
2614 * ObjectDataSourceView.cs: fixed:
2615 CanRetrieveTotalRowCount returns true if EnablePaging = false
2617 2006-10-10 Igor Zelmanovich <igorz@mainsoft.com>
2619 * DataBoundControl.cs: fixed: DataBind flow
2620 CreateDataSourceSelectArguments() is called
2621 each time as DataBind() is called
2623 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
2625 * BoundField.cs: implemented ValidateSupportsCallback().
2627 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
2629 * CommandField.cs: ValidateSupportsCallback(): exception's message.
2631 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
2633 * FormView.cs: fixed: CurrentMode property.
2635 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
2641 reverted r66222, problem solved in r66283: command buttons inherit ForeColor
2643 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2645 * Image.cs: write 'alt' after 'src' so that the HyperLink test do not
2648 2006-10-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2650 * HyperLink.cs: don't render the img tag 'by hand' but use an Image
2651 instead, which takes care of the 0/0px case. Also set the ToolTip
2652 property. Fixes bug #79585.
2654 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2656 * DetailsView.cs: optimization for previous patch
2658 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2660 * FormView.cs: optimization for previous patch
2662 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2665 * DetailsViewRow.cs:
2666 implemented PrepareControlHierarchy()
2667 styles are applied correct
2669 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2672 implemented PrepareControlHierarchy()
2673 styles are applied correct
2675 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2678 * DataControlButton.cs:
2679 * DataControlField.cs:
2680 implemented PrepareControlHierarchy()
2681 styles are applied correct
2682 command buttons inherit ForeColor
2684 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
2686 * WebControl.cs: fixed: CreateControlStyle()
2688 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
2694 corrected pager rendering: Color style applied to A tag,
2695 Input type="image" used if ImageUrl is not empty.
2697 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
2699 * GridView.cs: corrected rendering
2700 * ContainedTable.cs: added new helper class
2702 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
2704 * FormView.cs: fixed:
2705 in Insert mode Select not invoked from DataSource
2707 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
2709 * FormView.cs: fixed:
2710 Pager is not shown when page count < 1
2711 in Edit mode use EmptyDataTemplate if there is no DataItem
2712 when page changed FormView stays in current state.
2714 2006-09-28 Igor Zelmanovich <igorz@mainsoft.com>
2716 * FormView.cs: fixed: OnBubbleEvent works properly
2718 2006-09-25 Igor Zelmanovich <igorz@mainsoft.com>
2720 * DataBoundControl.cs: fixed: DataBind flow
2721 GetData return "empty" DataSourceView when no DataSource and DataSourceID
2722 was assigned to cause PerformDataBinding be called.
2724 2006-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2726 * DataList.cs: use ExtractTemplateRows to determine if the style is
2727 applied to the Table in a template or to its rows. Fixes bug #78058.
2729 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2731 * ListBox.cs: if the list is not enabled, don't require a postback.
2734 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2736 * HyperLink.cs: don't output the nabvigate url if disabled.
2737 * LinkButton.cs: always call base.AddAttributesToRender(). Don't output
2738 the link URL if disabled.
2741 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2743 * RadioButtonList.cs:
2744 make it to consider CausesValidation and ValidationGroup properties
2746 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2749 make it to consider CausesValidation and ValidationGroup properties
2751 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2754 Page.Validate() is called when CausesValidation=true
2756 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
2759 make onclick attribute to consider ValidationGroup property.
2761 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2764 make rendering of the href attribute to consider ValidationGroup property.
2765 Page.Validate() is called when CausesValidation=true
2767 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2770 make rendering of the onchange attribute to consider ValidationGroup
2772 Page.Validate() is called when CausesValidation=true
2774 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2777 make rendering of the onclick attribute to consider ValidationGroup property
2778 Page.Validate() is called when CausesValidation=true
2780 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2783 VewState saving and restoring rolled back to 1.1 implementation
2784 (fixed corresponding test), corrected public interface (there are no
2785 overriden methods SaveControlState, LoadControlState and OnInit),
2786 implemented CausesValidation and ValidationGroup properties.
2788 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
2791 make rendering of the onclick attribute to consider ValidationGroup property
2792 Page.Validate() is called when CausesValidation=true
2794 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
2797 implemented: RaisePostBackEvent,
2798 refactoring: GetPostBackOptions used to build onclick client event
2800 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
2802 * ImageButton.cs: implemented IButtonControl.Click, RaisePostBackEvent
2804 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
2806 * BaseValidator.cs: implemented ValidationGroup feature on client side
2807 * ValidationSummary.cs:
2809 2006-09-12 Igor Zelmanovich <igorz@mainsoft.com>
2811 * TreeView.cs: corrected rendering
2814 2006-09-11 Konstantin Triger <kostat@mainsoft.com>
2816 * Login.cs: ensure the urls are correctly resolved.
2818 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
2820 * TreeView.cs: corrected rendering: styles are applied correct
2824 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
2826 * TreeView.cs: corrected rendering: HoverNodeStyle works
2830 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
2832 * TreeNodeStyle.cs: fixed: ViewState restored properly
2834 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
2838 * TableItemStyle.cs:
2839 * DataGridPagerStyle.cs:
2840 refactoring: makes Style class more flexible for inheriting and reuse
2842 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
2844 * TreeView.cs: fixed: for PopulateOnDemand nodes expanded and checked
2845 state restored correct on PostBack.
2848 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2850 * ObjectDataSourceView.cs: correctly find the type when it is not in the
2851 executing assembly. Fixes bug #78321. Patch by Marek Habersack.
2853 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2855 * ControlParameter.cs: fix search for controls so that they use their
2856 NamingContainer, not the Page. Patch by Marek Habersack that fixes
2859 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2861 * Login.cs: fix problem with the login control and master pages.
2862 Patch by Marek Habersack that fixes bug #78219.
2864 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
2866 * TreeView.cs: fixed: populating nodes.
2869 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
2871 * TreeNode.cs: fixed: ToggleExpandState.
2873 2006-09-07 Andrew Skiba <andrews@mainsoft.com>
2875 * SqlDataSourceView.cs: return DataView from ExecuteSelect when
2876 DataSourceMode is DataSet.
2878 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
2880 * TreeView.cs: fixed: populating nodes flow.
2881 * TreeNodeCollection.cs
2884 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
2886 * TreeNodeCollection.cs: fixed: ViewState saved and restored correct.
2888 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
2890 * TreeView.cs: corrected rendering: RenderBeginTag, RenderEndTag.
2892 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
2894 * TreeView.cs: fixed: when specified value is not one of
2895 the TreeNodeTypes values exception is threw.
2897 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
2899 * TreeView.cs: fixed: when specified image set is not one of
2900 the TreeViewImageSet values exception is threw.
2902 2006-09-05 Igor Zelmanovich <igorz@mainsoft.com>
2904 * TreeNodeStyleCollection.cs: fixed: ViewState saved and restored correct.
2906 2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
2908 * Style.cs: implemented SetBit().
2910 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
2912 * CompareValidator.cs: fixed controltocompare attribute.
2914 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
2917 when login attempt was not successful FailureText is shown.
2919 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
2921 * CreateUserWizard.cs: fixed: InvalidPasswordErrorMessage
2922 is formatted correct.
2924 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
2926 * CreateUserWizard.cs:
2927 * CompleteWizardStep.cs:
2928 * CreateUserWizardStep.cs:
2930 fixed: ContinueButtonClick occurs when the user clicks
2931 the Continue button in the final user account creation step.
2932 ContinueDestinationPageUrl - redirected after clicking
2933 the Continue button on the success page.
2935 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
2937 * Wizard.cs: refactoring: Button, ImageButton and LinkButton are used
2938 insted internal DataControlButton.
2940 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
2942 * Button.cs: implemented GetPostBackOptions + refactoring
2944 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
2946 * ImageButton.cs: implemented 2.0 features
2947 OnClientClick attached to onclick attribute.
2948 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
2949 generate onclick attribute.
2951 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
2953 * LinkButton.cs: typo fix
2955 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
2957 * Button.cs: refactoring
2959 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
2961 * LinkButton.cs: implemented 2.0 features
2962 OnClientClick attached to onclick attribute.
2963 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
2966 2006-08-29 Igor Zelmanovich <igorz@mainsoft.com>
2968 * Button.cs: implemented 2.0 features
2970 2006-08-28 Igor Zelmanovich <igorz@mainsoft.com>
2972 * Menu.cs: refactoring
2975 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
2977 * TreeView.cs: fixed data binding
2979 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
2981 * TreeNodeBinding.cs: fixed ToString method
2983 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
2985 * MenuItem.cs: typo fix
2987 2006-08-27 Vladimir Krasnov <vladimirk@mainsoft.com>
2989 * CreateUserWizardStep.cs: fixed validators message display
2991 2006-08-25 Kornél Pál <kornelpal@gmail.com>
2993 * FileUpload.cs: Use assembly name constants.
2995 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
2997 * TemplateField.cs: fixed ExtractValuesFromCell, .net aspx parser not
2998 always creates ExtractTemplateValuesMethod delegate
3000 2006-08-24 Igor Zelmanovich <igorz@mainsoft.com>
3002 * TreeNodeBinding.cs: corrected public interface
3005 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3007 * TextBox.cs: fix for bugs #76771 and #79020. A test breaks for the 2.0
3008 case, but there are many others.
3010 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3012 * Menu.cs: corrected rendering of static and dynamic items
3015 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3019 fixed: AddAttributesToRender method calls FillStyleAttributes,
3020 text styles applied correct.
3022 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3025 fixed: when removed the names from the bag also removed FontStyles.Names flag from fontstyles.
3026 refactoring: Name and Names properties has same source in bag.
3028 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
3030 * Style.cs: restored r63894: for 1.x is refactoring only
3032 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
3035 fixed: CopyFrom and MergeWith behave differently between 1.1 and 2.0.
3036 added ClearDefaults method for 2.0.
3038 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3040 * ObjectDataSourceStatusEventArgs.cs: ExceptionHandled default value
3043 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
3045 * SubMenuStyle.cs: fixed:
3046 Unit.ToString() already include unit (e.g. "3px")
3048 2006-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3051 * ChangeLog: revert r63894. It modified the 1.x profile, it wasn't
3052 submitted for review and it only added tests for the 2.0 profile.
3054 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3056 * FormView.cs: added explicit implementation of
3057 IDataItemContainer.DataItemIndex, as documented
3059 2006-08-17 Igor Zelmanovich <igorz@mainsoft.com>
3062 When style is registered with StyleSheet AddAttributesToRender method
3063 adds class attribute but not style to writer
3065 2006-08-15 Igor Zelmanovich <igorz@mainsoft.com>
3068 OnBubleEvent works properly - controls like Button, LinkButton nested into template
3069 can raise MenuItemClick event,
3070 ViewState of Items saved and restored properly.
3072 2006-08-14 Andrew Skiba <andrews@mainsoft.com>
3074 * TableStyle.cs: replace ResolveUrl with ResolveClientUrl to match
3077 2006-08-14 Igor Zelmanovich <igorz@mainsoft.com>
3079 * Menu.cs: fixed databinding feature:
3080 ensure that items initialization occurs only once
3082 2006-08-10 Igor Zelmanovich <igorz@mainsoft.com>
3084 * Menu.cs, MenuItem.cs: fixed databinding feature
3086 2006-08-09 Robert Jordan <robertj@gmx.net>
3088 * DataControlButton.cs, Image.cs, AdRotator.cs, HyperLink.cs:
3089 replace ResolveUrl with ResolveClientUrl to match MS.NET's
3090 behaviour. Fixes bug #77539.
3092 2006-08-09 Igor Zelmanovich <igorz@mainsoft.com>
3094 * HierarchicalDataBoundControl.cs: fixed DataBind flow
3096 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3102 * WebControl.cs: fixed ParseChildren attribute to be compliant
3105 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3107 * MultiView.cs: fixed: EnableTheming property
3109 2006-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3113 * TreeView.cs: Patch by Marek Habersack that fixes bug #78968 take 2.
3115 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3117 * Style.cs: fixed restoring FontInfo from ViewState
3119 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3121 * XmlDataSource.cs: implemented caching functionality
3123 2006-07-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3125 * PagerSettings.cs: Fixed the pager range calculation formula. The old
3126 one didn't work with more than 20 pages. Patch by Marek Habersack that
3129 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3131 * FormView.cs: fixes to make Render more similar to dotnet.
3133 2006-07-30 Vladimir Krasnov <vladimirk@mainsoft.com>
3135 * Wizard.cs: fixed return value of OnBubbleEvent
3137 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3139 * FormView.cs: init BottomPagerRow.ItemIndex with 0; gracefully
3140 handle null result of GetData().
3142 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3144 * FormView.cs: use TableStyle for ControlStyle.
3146 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3148 * FormView.cs: save DataKeyNames and DefaultMode in ControlState.
3150 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
3152 * FormView.cs: init DataKeys and fix null reference.
3154 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3156 * TreeView.cs: several changes to improve compatibility with MS.
3157 Patch by Marek Habersack that fixes bug #77551.
3159 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3161 * Style.cs: output the text-decoration value even when it is 'none'.
3162 Patch by Marek Habersack that fixes bug #78968.
3164 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3166 * FormView.cs: initialize PageCount with 0; fix IsBindableType to
3169 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3171 * DetailsViewRowCollection.cs: returns this in SyncRoot.
3173 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3175 * FormView.cs: throw ArgumentOutOfRange exception on bad CellSpacing
3178 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3180 * ObjectDataSource.cs: add doc and fix usage of MergeParameterValues
3182 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
3184 * AutoGeneratedField.cs: fix the internal constructor according to test
3185 DetailsView_CreateAutoGenerateRow.
3187 2006-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
3189 * XmlDataSource.cs: implemented XSLT, removed properties from
3191 * XmlDataSourceView.cs: fixed default xpath
3193 2006-07-26 Andrew Skiba <andrews@mainsoft.com>
3195 * DetailsView.cs: fix IsBindableType in accordance with MSDN and tests.
3197 2006-07-25 Vladimir Krasnov <vladimirk@mainsoft.com>
3199 * Wizard.cs: fixed ActiveStep property
3200 fixed templated side bar
3202 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
3204 * ImageField.cs: fix null reference bug.
3206 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
3208 * DetailsView.cs: init DataKey property with empty collection.
3209 * DataKey.cs: fix unexpected exception bug.
3210 * DataControlField.cs: override ToString according to MSDN.
3212 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3214 * DetailsView.cs: create table style in CreateControlStyle.
3216 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3218 * DetailsView.cs: don't throw the exception which .Net does not throw.
3220 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
3222 * DetailsView.cs: save DefaultMode and DataKeyNames in control state,
3223 to match .Net; fix PageCount to match record count.
3225 2006-07-24 Vladimir Krasnov <vladimirk@mainsoft.com>
3227 * Menu.cs: fixed properties default values, fixed rendering
3230 2006-07-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3232 * Wizard.cs: implemented SkipLinkText, TagKey
3233 fixed rendering bugs, fixed templated button bar rendering
3234 fixed side bar rendering
3235 * WizardStepBase.cs: fixed Name property
3237 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3239 * DetailsView.cs: fix the regressions, caused by the previous commit.
3241 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3243 * DetailsView.cs: correct handling the different default values of
3244 DetailsView.CellSpacing and Table.CellSpacing.
3246 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
3248 * DetailsView.cs: create a pager row when needed.
3250 2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3254 * PagedDataSource.cs:
3257 * LinkButton.cs: implement GetPostBackOptions for the 2.0 controls that
3258 support it. The GridView control will no longer throw an exception when
3259 rendered in the paging mode. Patch by Marek Habersack. Fixes bug #78288.
3261 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3263 * DetailsView.cs: many fixes: initialize PageCount with 0; initialize
3264 Rows with empty collection; call EnsureChildControls from get Row;
3265 NullReference in DeleteItem; fix RenderGrid (ideas from GridView);
3266 implemented IPostBackContainer.GetPostBackOptions.
3268 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3270 * DetailsView.cs: create HeaderRow and FooterRow even when HeaderText
3271 and FooterText are empty, to match .NET. Otherwise we have NullReference
3274 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3276 * DetailsView.cs: Render fix.
3278 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3280 * BoundField.cs: don't call DataBinder.GetPropertyValue with empty
3283 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
3285 * DetailsView.cs: NullReferenceException fix
3287 2006-07-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3289 * PagerSettings.cs: implemented PropertyGhanged event
3291 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
3293 * DetailsView.cs: throw ArgumentOutOfRangeException for compatibility
3294 with .Net; don't throw NotImplemented when base class implementation
3297 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
3299 * DetailsViewPagerRow.cs: add a stub for this class
3301 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
3303 * GridView: fixed DataKeyNames property, moved to ControlState
3304 fixed PageCount property, initial PageCount ahould be zero
3305 fixed SelectedDataKey, should throw exception if not initialized
3306 fixed CreateColumns, wrong order of columns
3307 fixed CreateControlStyle,
3308 fixed InitializePager, no columnspan attrib on only one column
3309 fixed LoadControlState, SaveControlState added DataKeyNames
3310 fixed Render, RenderGrid should render within div tag
3311 implemented GetPostBackOptions
3312 * DataControlButton.cs: fixed Render, fixed style for img button
3314 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
3316 * CheckBoxField.cs: fixed InitializeDataCell, tooltip only in edit
3319 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3321 * CommandField.cs: fixed ValidateSupportsCallback
3323 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3325 * Image.cs: prepare to use HttpBrowserCapabilities. Does not
3326 affect the flow yet.
3328 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
3330 * SiteMapPath.cs: fixes for SiteMapPathTest.Render_xxx tests.
3332 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
3334 * WebControl.cs: fix for AddAttributesToRender - add display
3335 style when appropriate
3337 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
3339 * CommandField.cs: fixed InitializeCell, wrong order of command
3341 * ImageField.cs: image field with null src and ConvertEmptyStringToNull
3342 should be rendered as label
3343 * BoundField.cs: empty null value should be rendered as nbsp
3344 * GridViewRowCollection.cs: fixed SyncRoot
3346 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
3348 * SiteMapPath.cs: create Literal instead of Label according to the
3349 MSDN and test SiteMapPath_InitializeItem.
3351 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
3353 * Style.cs: BorderStyle should be added if BorderWidth greater than 0
3354 * Image.cs: in 2.0 there is no border attribute, but border-width
3357 2006-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3359 * Button.cs: always render the 'name' attribute. Fixes bug #78746.
3361 2006-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3363 * DataList.cs: correctly initialize editable items when there's an
3364 EditItemTemplate. Patch by Jarosław Pawlak.
3366 2006-07-13 Juraj Skripsky <js@hotfeet.ch>
3368 * CheckBox.cs (LoadPostData): the value of a disabled checkbox remains
3371 2006-07-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3373 * BulletedList.cs: fixed Render, RenderBulletText, various properties
3374 * ListItem.cs, ListItemCollection.cs: added Enabled property that is
3377 2006-07-12 Vladimir Krasnov <vladimirk@mainsoft.com>
3379 * MultiView.cs: 'initied' state variable was changed to views count in
3380 the views collection.
3382 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3384 * AutoGeneratedField.cs: fixed InitializeDataCell, autogenerated
3385 checkbox should have tooltip
3386 * HyperLinkField.cs: fixed InitializeCell, should create link control
3387 only in data cell (not in header or footer), initialization of
3389 * ImageField.cs: fixed InitializeDataCell, initialization of
3392 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3394 * MultiView.cs: removed exception throwing from ActiveViewIndex
3396 2006-07-11 Konstantin Triger <kostat@mainsoft.com>
3398 * DataControlFieldCollection.cs: added OnClearComplete override;
3399 refactor to eliminate null reference exception.
3401 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
3403 * MultiView.cs: fixed ActiveViewIndex, AddParsedSubObject
3404 * View.cs: fixed Visible property
3406 2006-07-09 Konstantin Triger <kostat@mainsoft.com>
3408 * ImageField.cs: fixing .net compliancy.
3410 2006-07-10 Andrew Skiba <andrews@mainsoft.com>
3412 * SiteMapPath.cs: fix the default PathSeparator value.
3414 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
3416 * GridView.cs: always create Header/Fotter rows, but render only when
3417 ShowHeader/Footer is true. Compute Header/Footer rows from rows
3419 * CheckBoxField.cs: add override to ApplyFormatInEditMode,
3420 add ToolTip and Text to the created CheckBox,
3421 wrap exception thrown in OnDataBindField in httpException.
3423 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
3425 * DataControlField.cs,BoundField.cs: bug fixes found by BoundFieldTest.
3427 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
3429 * DataControlField.cs: correct handling empty header/footer text.
3430 * TemplateField.cs: correct initialization according to
3431 DataControlRowState.
3433 2006-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
3435 * Wizard.cs: added functionality for Templated WizardStep
3436 and CreateUserWizard
3437 * added CompleteWizardStep.cs, CreateUserWizard.cs,
3438 CreateUserWizardStep.cs, TemplatedWizardStep.cs
3440 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
3442 * AutoGeneratedField.cs: correcting default dataType.
3444 2006-07-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3446 * DataControlField.cs: fixed Initialize, should always return false
3448 2006-07-03 Lluis Sanchez <lluis@novell.com>
3450 * BoundField.cs: Fix setter for HtmlEncode (it was setting always True).
3452 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
3454 * DataBoundControl.cs: implement MarkAsDataBound and consider it while
3455 setting RequiresDataBinding in OnLoad event.
3456 * GridView.cs: DataBind rows before other control can access the data.
3457 * BoundField.cs: add unique ID to control for postback parameters.
3459 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
3461 * WebControl.cs: fix typo in EnableTheming.
3463 2006-07-02 Konstantin Triger <kostat@mainsoft.com>
3465 * MenuItemCollection.cs: save items if the collection is dirty.
3466 * MenuItem.cs: During data binding: initialize Text and invoke binding recoursively.
3467 Add item to collection before binding to let the state be correctly tracked.
3468 * Menu.cs: Add item to collection before binding to let the state be correctly
3471 2006-06-28 Juraj Skripsky <js@hotfeet.ch>
3473 * RegularExpressionValidator.cs (EvaluateIsValid): wrap regex to
3474 test against with "^...$" if necessary. MS.NET does this too.
3476 2006-06-28 Vladimir Krasnov <vladimirk@mainsoft.com>
3478 * WizardStepCollection.cs: Fixed Add methods to initialize
3479 WizardStep.Wizard property
3480 * Wizard.cs: Fixed ActiveStepIndex, it should be -1 if there no steps
3481 Fixed GetStepType, if only one step present, it should be FinishStep
3482 Fixed styles of tables for more accurate rendering, fixed Wizard
3485 2006-06-28 Konstantin Triger <kostat@mainsoft.com>
3487 * FormView.cs: instantiate correct template when the bounding data source is
3490 2006-06-25 Konstantin Triger <kostat@mainsoft.com>
3492 * FormView.cs: disabling setting out of range FormView.PageIndex.
3494 2006-06-21 Andrew Skiba <andrews@mainsoft.com>
3496 * FileUpload.cs: added
3498 2006-06-20 Andrew Skiba <andrews@mainsoft.com>
3500 * FormView.cs: handle CssClass attribute
3502 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3504 * Button.cs: do something in PostBackUrl.
3505 * Repeater.cs: when creating the RepeaterItemCollection, initialize
3506 'items' if it hasn't been done yet. Fixes bug #78417.
3508 2006-06-14 Vladimir Krasnov <vladimirk@mainsoft.com>
3510 * BaseDataList.cs: added ConnectToDataSource method that called from
3511 OnLoad, fixed GetData method
3512 * Wizard.cs: fixed bug when called MoveTo after that control hierarchy
3515 2006-06-14 Andrew Skiba <andrews@mainsoft.com>
3517 * Menu.cs: add CssStyle value to the rendered class attribute
3519 2006-06-13 Juraj Skripsky <js@hotfeet.ch>
3521 * Calendar.cs: Make sure WebControls.Enabled is respected.
3522 * SelectedDatesCollection.cs: Set time for all DateTime object passed in
3523 to 12:00am as MS.NET does the same.
3526 2006-06-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3528 * Repeater.cs: fixed ConnectToDataSource method, subscribed to
3529 DataSourceViewChanged, looks for a datasource in its parent control
3530 fixed GetData method, should not get data if datasource is null
3532 2006-06-13 Konstantin Triger <kostat@mainsoft.com>
3534 * ObjectDataSourceView.cs: raise OnDataSourceViewChanged events when data changes.
3536 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
3538 * GridView.cs: set the row index from GridRowView if CommandArgument does not contain this information.
3540 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
3542 * ObjectDataSourceViewTest.cs: return documented default for OldValuesParameterFormatString.
3544 2006-05-24 Vladimir Krasnov <vladimirk@mainsoft.com>
3546 * DataList.cs: Fixed LoadViewState method
3548 2006-05-04 Lluis Sanchez <lluis@novell.com>
3550 * BoundField.cs: Added missing throw kyword. Patch by Marek Habersack.
3552 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
3554 * BaseDataBoundControl.cs: ensure the control is bound if ViewState is disabled.
3556 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
3558 * FormView.cs: fix FormView.PageCount after data binding.
3560 2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3562 * CheckBox.cs: certain attributes have to be rendered in the input tag,
3563 not the <span>. Fixes bug #71251.
3565 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
3567 * BaseDataBoundControl.cs: RequiresDataBinding rebinds if the control prerendered.
3570 ensure rebinding when FormView.PageIndex is called.
3571 and bind to the correct PageIndex.
3573 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
3575 * MenuItem.cs: when binding to IHierarchyData, check whether
3576 it implements INavigateUIData and retrieve NavigateUrl.
3577 * CompositeDataBoundControl.cs: ensures data is bound before creating child controls.
3579 Enable DataBinding by not throwing NotImplementedException in OnDataBound event.
3580 Provide basic CreateChildControls implementation by ensuring the control is bound.
3581 Ensure the child controls are created when the postback event is raised.
3582 Provide default implementation for SkipLinkText to let the default functionality to work.
3584 2006-04-11 Lluis Sanchez <lluis@novell.com>
3586 * TreeNodeBinding.cs: Added HasPropertyValue property
3587 to check if some properties have a value in the
3589 * TreeNode.cs: Lazily get the dataPath. Instead of getting
3590 bound properties when they are requested, get all of
3591 them when the node is bound and store their values in
3592 the state bag. In this way it won't be necessary to
3593 query every time the datasource to get the values.
3594 * XmlHierarchyData.cs: Implemented IHierarchyData.Path.
3595 * TreeView.cs: Call base in OnInit(). Bind nodes after
3596 adding them to the list, to properly keep track of
3597 changes. Don't databind in postbacks.
3599 2006-04-11 Chris Toshok <toshok@ximian.com>
3601 * Login.cs (OnLoggingIn): use Events[loggingInEvent].
3603 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
3605 * BaseDataList.cs: Fix searching control by DataSourceID.
3606 * DataList.cs: Enable binding using DataSourceID for NET_2_0.
3609 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
3611 * Login.cs: Added LayoutTemplate property support.
3612 * LoginView.cs: Added LoggedInTemplate, AnonymousTemplate support.
3613 DataBind: correctly bind child controls.
3614 Implemented OnViewChanged, OnViewChanging, Render, Save/LoadControlState.
3616 2006-03-29 Robert Jordan <robertj@gmx.net>
3618 * DataGrid.cs: if custom paging is enabled the persisted item count
3619 must be the count of the rendered items, otherwise paging from the
3620 last to a previous page won't work correctly. Fixes bug #77556.
3622 2006-03-29 Vladimir Krasnov <vladimirk@mainsoft.com>
3624 * RepeatInfo.cs: fixed RenderBeginTag to set enabled value of table
3625 when rendering disabled list control
3627 2006-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3629 * Panel.cs: render the image url inside 'url()'. Fixes bug #77811.
3631 2006-03-28 Alexandre Miguel Pedro Gomes <alexmipego@gmail.com>
3633 * FontInfo.cs: Implemented ShouldSerializeNames
3635 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3637 * DataGrid.cs, DataList.cs, RepeatInfo.cs: added accessablity features
3639 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
3641 * DataGrid.cs: fixed CreateControlHierarchy, added CurrentPageIndex
3643 in PrepareControlHierarchy fixed style applying to AlternatingItem
3645 2006-03-22 Vladimir Krasnov <vladimirk@mainsoft.com>
3647 * DataList.cs: fixed RepeatColumns property, added value validation
3648 in PrepareControlHierarchy method fixed style applying for
3649 AlternatingItem, EditItem and Separator item
3650 fixed RenderContents method, if no items exist, no nned to
3651 render emty table strructure.
3653 2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3655 * CompareValidator.cs: when searching for the control to compare, use
3656 NamingContainer instead of Page. Fixes bug #77793.
3658 2006-03-15 Chris Toshok <toshok@ximian.com>
3660 * SiteMapPath.cs (InitializeItem): in the Current and Root node
3661 cases, apply the NodeTemplate if it exists and there isn't a
3662 CurrentNodeTemplate or RootNodeTemplate, respectively.
3664 2006-03-15 Chris Toshok <toshok@ximian.com>
3666 * SiteMapDataSourceView.cs (OnDataSourceViewChanged): override.
3668 * SiteMapDataSource.cs (StartingNodeOffset): new property.
3669 (GetStartNode): add code to handle StartNodeOffset < 0.
3671 * CompositeControl.cs
3672 (ICompositeControlDesignerAccessor.RecreateChildControls): just
3673 call the non-iface method.
3675 * DataBoundControl.cs (GetDataSource): this is likely wrong, but
3676 traverse up the naming container tree looking for our datasource
3677 if we're bound using a DataSourceID. This fixes things in the
3678 sitemap1 test, which uses a mixture of templates and
3679 ContentPlaceholders with the sitemapdatasource and sitemappath at
3680 different levels in the naming container tree (let along the
3683 * SiteMapPath.cs (DataBind): implement this by chaining up to
3684 base.DataBind, then by looping over our children, emitting
3685 OnItemDataBound for each SiteMapNodeItem.
3686 (AddAttributesToRender): remove.
3687 (CreateChildControls): call DataBind as the final step here.. I
3688 have, of course, no idea if this is right.
3689 (CreateControlHierarchy): don't databind our children here, as
3690 they need to be in the Controls collection before we do.
3691 (RenderContents): render our accessibility/screenreader stuff
3692 here, if SkipLinkText != "".
3694 2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
3696 * DataGridPagerStyle.cs: fixed PrevPageText property
3698 2006-03-13 Chris Toshok <toshok@ximian.com>
3700 * BaseCompareValidator.cs (Convert): make the
3701 ValidationDataType.String case a bit more compact.
3703 2006-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3706 (RenderContents): don't call base.RenderContents. Fixes bug #77740.
3707 Patch by Hubert Fongarnand.
3709 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3711 * FontInfo.cs: fixed CopyFrom, this method should not reset the
3712 received fontinfo if it is the same instance
3713 fixed ToString, corrected output where only font size specified
3715 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
3717 * Style.cs: fixed WriteStyleAttributes to set border style to solid,
3718 if it not set but the border has width
3719 fixes in CopyFrom, MergeWith correct unit compare when it has zero
3722 2006-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
3724 * DataGrid.cs: in AddColumnsFromSource method fixed columns from
3725 properties of custom class
3726 fixed InitializeNumericPager, pager numbers should be a Label control
3727 fixed CreateControlHierarchy, corrected dataset index of items if
3730 2006-03-09 Vladimir Krasnov <vladimirk@mainsoft.com>
3732 * DataList.cs: fixed DoItemInLoop method that fixes itemIndex
3734 fixed CreateControlStyle to set correct cellspacing of table style
3735 fixed InitializeItem to correct applying template to selected and
3738 2006-03-08 Chris Toshok <toshok@ximian.com>
3740 * SiteMapNodeType.cs: nuke.
3742 * BorderStyle.cs, ButtonColumnType.cs, CalendarSelectionMode.cs,
3743 DayNameFormat.cs, ListItemType.cs, ListSelectionMode.cs,
3744 NextPrevFormat.cs, PagerMode.cs, PagerPosition.cs,
3745 RepeatDirection.cs, RepeatLayout.cs, TableRowSection.cs,
3746 TextAlign.cs, TextBoxMode.cs, TitleFormat.cs,
3747 ValidationCompareOperator.cs, ValidationDataType.cs,
3748 ValidationSummaryDisplayMode.cs, ValidatorDisplay.cs: remove
3749 [Serializable] in 2.0.
3751 * DayNameFormat.cs: add "Shortest".
3753 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3755 * LinkButton.cs: fixed AddAttributesToRender, removed not needed
3758 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
3760 * TextBox.cs: fixed missing value validations, fixed rendering
3761 of empty value attribute
3763 2006-03-07 Chris Toshok <toshok@ximian.com>
3765 * WebControl.cs (EnableTheming): leave the MonoTODO, but implement
3766 by chaining up to base.EnableTheming.
3768 2006-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
3770 * DataList.cs: fixed CreateControlHierarchy, fixes 77693
3772 2006-03-06 Vladimir Krasnov <vladimirk@mainsoft.com>
3774 * RadioButton.cs: added ValueAttribute property to store the button
3776 * RadioButtonList.cs: fixed tab index when rendering.
3778 2006-03-02 Chris Toshok <toshok@ximian.com>
3780 * WebControl.cs (SkinID): implement setter/getter, and have them
3781 just chain up to base.SkinID.
3783 2006-02-27 Chris Toshok <toshok@ximian.com>
3785 * SqlDataSource.cs: track change to DataSourceControl's protected
3788 * AccessDataSource.cs: same.
3790 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
3792 * ListControl.cs: fixed SelectedIndex property, fixed selection
3793 reset on incorrect value
3795 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
3797 * TableStyle.cs: fixed AddAttributesToRender function, style
3798 BorderCollapse:Collapse was added if table's CellSpacing is zero
3800 2006-02-23 Chris Toshok <toshok@ximian.com>
3802 * CheckBox.cs, ContentControlBuilderInternal.cs, Content.cs,
3803 ContentPlaceHolderBuilder.cs, ContentPlaceHolder.cs,
3804 DataControlFieldHeaderCell.cs, DataGridColumn.cs,
3805 HierarchicalDataBoundControl.cs, HyperLinkField.cs,
3806 ImageButton.cs, ImageField.cs, Literal.cs,
3807 ObjectDataSourceView.cs, TextBox.cs: more corcompare work.
3809 * BaseCompareValidator.cs, BaseValidator.cs, Button.cs,
3810 DataControlField.cs, DetailsView.cs, FormView.cs, GridView.cs,
3811 HotSpot.cs, LinkButton.cs, Login.cs, SiteMapDataSource.cs,
3812 SqlDataSourceCommandType.cs, TableSectionStyle.cs,
3813 TemplateField.cs, TreeNodeCollection.cs, TreeNode.cs, TreeView.cs,
3814 ValidationSummary.cs, WizardStepBase.cs: fix tons of corcompare
3815 errors. most were caused by a property/method being virtual when
3816 it shouldn't be, or vice versa.
3818 2006-02-22 Chris Toshok <toshok@ximian.com>
3820 * ObjectDataSource.cs: corcompare work.
3822 2006-02-22 Chris Toshok <toshok@ximian.com>
3824 * ParameterCollection.cs: add an EditorAttribute to the class.
3826 * Parameter.cs: cleanup, fix the Value property, and implement the
3829 * SqlDataSourceView.cs: clean things up a bit, and add handling
3832 2006-02-22 Chris Toshok <toshok@ximian.com>
3834 * SqlDataSourceFilteringEventArgs.cs: formatting.
3836 * SqlDataSourceSelectingEventArgs.cs: remove ExecutingSelectCount,
3837 both the property and ctor arg.
3839 * AccessDataSourceView.cs (ExecuteSelect): use SelectingEventArgs,
3840 not CommandEventArgs. Also, cast the return value of
3841 oleCommand.ExecuteReader.
3843 * AccessDataSource.cs (.ctor): fix the ctors and remove FIXME
3845 (GetDbProviderFactory): implement naively, and leave a MonoTODO.
3846 (GetPhysicalDataFilePath): implement, again naively. this is
3847 where the NRE is generated when we access ConnectionString in a
3849 (ConnectionString): dynamically generate this based on our
3851 (DataFile): clear the ConnectionString in the setter so we'll
3853 (ProviderName): use base.ProviderName in the getter, not
3854 this.ProviderName, so we don't recurse infinitely.
3856 * SqlDataSourceView.cs: start reworking this class.
3858 * SqlDataSource.cs (GetDbProviderFactory): implement this,
3859 following the MS docs on the matter (if ProviderName is null/"",
3860 return SqlClientFactory.Instance.)
3861 (GetDbProviderFactoryInternal): add an internal method for use by
3863 (TrackViewState): don't invoke View.TrackViewState unless we have
3865 (Selecting): change event handler type to match MS.
3866 (Filtering): add missing event.
3867 (View): call CreateDataSourceView, don't just create an
3870 2006-02-21 Chris Toshok <toshok@ximian.com>
3872 * BoundField.cs: ues the ViewState.Get* pattern with default
3873 instead of the explicit ViewState lookup + null check, and fix the
3874 scope of InitializeDataCell.
3876 * ButtonField.cs: ues the ViewState.Get* pattern with default
3877 instead of the explicit ViewState lookup + null check.
3879 * CommandField.cs: same.
3881 * CheckBox.cs: same.
3883 * AutoGeneratedFieldProperties.cs: same.
3885 * BaseDataList.cs: same.
3887 * CircleHotSpot.cs: same.
3889 * BulletedList.cs: same.
3891 * DataBoundControl.cs: same.
3893 * CookieParameter.cs: same.
3895 * ControlParameter.cs: same.
3897 * CustomValidator.cs: same.
3899 * ButtonFieldBase.cs: same.
3901 * CheckBoxField.cs: same, and fix the scope of InitializeDataCell.
3903 * AutoGeneratedField.cs: fix scope of InitializeDataCell.
3905 * BaseValidator.cs: same, and clean up the getter/setter formatting.
3907 * CompareValidator.cs: same.
3909 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3911 * ListControl.cs: fixed DataSource property, to throw
3912 ArgumentException on incorrect value
3914 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3916 * Image.cs: fixed missing border="0" attribute, when image has style,
3917 but border width is not specified.
3919 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3921 * CheckBox.cs: fixed InternalAddAttributesToRender, Render to
3922 correct the "disabled" attribute in CheckBoxList
3923 * CheckBoxList.cs: fixed RenderItem, to correct the "disabled"
3924 attribute in CheckBoxList
3926 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3928 * CheckBox.cs: fixed Render function, removed rendering of empty
3929 <span> element if ControlStyleCreated but it's empty.
3930 fixed "disabled" attribute, it should be placed into span element
3932 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
3934 * BoundColumn.cs: fixed InitializeCell function, if DataField is
3935 null or empty string, the cell should not be bound.
3937 2006-02-08 Chris Toshok <toshok@ximian.com>
3939 * ListControl.cs (OnDataBinding): in 2.0, only clear our items if
3940 AppendDataBoundItems != false. Also, split all the databinding
3941 logic out to DoDataBinding, which we call from here only if
3943 (DoDataBinding): new function. actually perform the binding.
3944 (PerformDataBinding): implement.
3945 (PerformSelect): chain up to base class.
3947 2006-02-07 Chris Toshok <toshok@ximian.com>
3949 * ContentPlaceHolder.cs: fix ToolboxDataAttribute.
3951 * Content.cs: use ContentControlBuilderInternal, and add a bunch
3952 of unused (for now) EventHandler's here.
3954 * ContentControlBuilderInternal.cs: rename ContentControlBuilder
3957 2006-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3959 * ListControl.cs: bound checking for Items when loading the control
3960 state, as the number might have been changed on the fly. Patch by
3963 2006-01-22 Chris Toshok <toshok@ximian.com>
3965 * CheckBox.cs: s/GetPostBackClientEvent/GetPostBackEventReference.
3967 * MultiView.cs (OnBubbleEvent): case the rhs to a string to get
3968 the intended comparison right and quiet mcs.
3970 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
3972 * Button.cs: Add semicolon after client script if does not exist.
3974 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
3976 * Button.cs: preserve user logic when adding client validation.
3978 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
3980 * BaseValidator.cs: fixing visibility bahavior
3982 2006-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3984 * RangeValidator.cs: allow empty data from the control. Patch from Marek
3985 Habersack that fixes bug #77239.
3987 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3989 * Calendar.cs: use the DateTimeFormatInfo from the current thread. Patch
3990 by Cyrille Colin. Closes bug #77184.
3992 2006-01-08 Konstantin Triger <kostat@mainsoft.com>
3994 * PagedDataSource.cs, DataGrid.cs: TARGET_JVM changes to let the
3995 compilation pass with csc 1.1.
3997 2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3999 * DropDownList.cs: HtmlEncode the item text. Fixes bug #76949.
4001 2005-12-07 Chris Toshok <toshok@ximian.com>
4003 * BaseValidator.cs: in the uplevel rendering case, don't render
4004 the text if the validator's Display attribute is "None". Should
4007 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4009 * RadioButton.cs: if the 'value' attribute is set explicitly (as
4010 RadioButtonList does now), use that as the 'name' attribute.
4011 * RadioButtonList.cs: set the AutoPostBack and Enabled properties of
4016 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4018 * CheckBox.cs: add possible 'internal' attributes to the input tag. Fix
4019 the 'name' attribute when not aligninng to the right.
4020 * RadioButton.cs: use NameAttribute instead of GroupName when indexing
4021 the collection. Raise the OnCheckedChanged event. Fixes bug #76710.
4023 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4025 * DataGrid.cs: clear the control collection on every call to
4026 CreateControlHierarchy. Fixes bug #76732.
4028 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4030 * ListBox.cs: Rows and SelectionMode are virtual in 1.1
4032 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4034 * CheckBox.cs: use the NameAttribute property for setting 'name'.
4035 * RadioButton.cs: get a UniqueID based identifier for 'name'.
4038 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4040 * LinkButton.cs: don't output any javascript when the linkbutton is
4041 disabled. Fixes bug #76713.
4043 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4045 * DataGrid.cs: use TableHeaderCell instead of TableCell for headers when
4046 UseAccesibleHeader property is true. Patch by Robert Jordan.
4048 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4050 * BaseValidator.cs: 'controltovalidate' must be the ClientID of the
4051 control to validate. Fixes bug #76641.
4053 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4055 * BoundColumn.cs: when the column is readonly and we're in edit mode,
4056 keep it as a TextBox. Fixes bug #76714.
4058 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4060 * ListBox.cs: render the 'onchange' attribute when AutoPostback is
4061 enabled. Fixes bug #76608.
4063 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4065 * CheckBox.cs: AddAttributesToRender was extra in 1.1, so moved all
4066 the logic to Render and make it render the ID, which fixes bug #76596.
4068 2005-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4070 * Repeater.cs: someone forgot the curly brackets. Fixes bug 76537.
4072 2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4074 * Literal.cs: allow LiteralControl as child, but instead of adding it
4075 to the control collection, it just gets the Text out of it.
4077 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4079 * PagedDataSource.cs: fix range when we're at the last page.
4080 * DataGrid.cs: only need to keep the item count in the viewstate.
4083 2005-10-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4085 * ListControl.cs: made GetSelectedIndices() internal.
4086 * ListBox.cs: html-encode the item text. Fixed single and multiple
4087 selection handling. All the tests pass now. Closes bug #76478.
4089 2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4091 * ListControl.cs: throw when the selected value is not in the
4092 items collection. Fixes bug #76415.
4094 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4096 * BaseDataList.cs: Type.GetTypeCode was fixed and now does not
4097 throw a nullref, so we have to do it by ourselves here to make
4100 * BaseValidator.cs: render the text of the error message even if
4101 we set IsValid programatically. Don't use 'valid' directly, as
4106 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4108 * CustomValidator.cs: an empty ControlToValidate is valid.
4110 2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
4112 * RequiredFieldValidator.cs: Added missing permissions.
4114 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4116 * DataList.cs: copied and adapted PrepareControlHierarchy from DataGrid.
4117 Now the items get the attributes from the styles in datalist. Add the
4118 separators after each item, not before. GetItemStyle returns the actual
4119 item style, not the styles in the datalist. Fixes bug #76384 and all
4122 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4124 * Style.cs: add a 'border-style: solid' to make IE happy. Fixes bug
4127 2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4129 * TemplateColumn.cs: SelectedItem was missing from the select (). Fixes
4132 2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
4134 * FontInfo.cs: Gendarme strikes again. Sealed class have no need for
4135 inheritance demands.
4136 * FontUnit.cs: Structs are sealed so there's no need for inheritance
4138 * Unit.cs: Structs are sealed so there's no need for inheritance
4141 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4143 * PagedDataSource.cs: fix the upper bound for collection and ilist
4146 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4148 * DataGrid.cs: change the ListItemType for the item selected, set
4149 SelectedIndex before calling OnSelectedIndexChanged and set the selected
4150 item type correctly when creating the columns. Fixes bug #76334.
4153 * EditCommandColumn.cs: use a ForeColorLinkbutton, otherwise when
4154 selecting the row, the button keep the regular link color.
4156 * DataGridColumn.cs: made the class internal.
4158 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4160 * DataGrid.cs: fix breakaga of alternating item style in one of my
4163 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4165 * Calendar.cs: remove Console.
4166 * ListBox.cs: the name is the UniqueID, not the ClientID.
4167 * WebControl.cs: Attributes is case insensitive.
4169 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4171 * ImageButton.cs: use UniqueID in LoadPostData and also try just the
4172 UniqueID without appending a ".x" or ".y". Fixes several issues in
4173 mojoPortal. Thanks to Joe Audetter for his patience.
4175 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4177 * ButtonColumn.cs: it was lacking databinding, so copied most of it
4180 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4182 * FontInfo.cs: removed useless ctor.
4183 * Style.cs: keep here some commented out debugging code.
4184 * DataGrid.cs: the Items property does not create a new arraylist if
4185 the items_list was already initialized. Add case for Separator.
4186 * DataGridColumn.cs: when sorting is enabled, the linkbutton rendered
4187 in the header columns has a special ForeColor handling.
4189 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4191 * DataGrid.cs: PageCount must persist in ViewState too and returns the
4192 number of pages in the paged data source once we set that. Fix checks
4193 for visibility of the pager: no more 2 pagers when custom paging is
4196 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4198 * ImageButton.cs: fix a bug reported on the list. We were triggering the
4199 command event on every POST. And the 'name' attribute was not being
4200 rendered, so the 'x,y' coordinates didn't have 'uniqueid.' prepended
4201 and we couldn't find the values.
4203 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4205 * DataGrid.cs: fix the links for the numeric pager.
4207 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4209 * DataGrid.cs: when paging is enable, the actual number of items is not
4210 the number of items rendered before the postback, but that number times
4211 the number of pages. Now we store the page count in the viewstate. Also,
4212 as the number might be big, don't allocate an array of objects to fake
4213 the collection for the PagedDataSource, but use the new NCollection
4214 class instead, which provides cheap (memory wise) enumerator for an
4215 arbitrary number of items. Thanks to "Adriano" for the test case.
4217 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4219 * Xml.cs: the show must go on. Removed a few NotImplemented.
4221 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4223 * Button.cs: implemented 2.0 RaisePostBackEvent in terms of the
4224 existing code in 1.1 (or viceversa). RenderContents() does nothing.
4226 * DataGrid.cs: changed autoid api.
4228 * EditCommandColumn.cs: only 'Update' causes validation.
4230 * TableCell.cs: changed autoid api. RenderContents checks the number
4231 of controls to decide what to do, not the value of Text in the
4234 * TableRow.cs: changed autoid api.
4236 * BoundColumn.cs: SelectedItem was missing when attaching a DataBind
4237 event. When we get an EditItem, we need a TextBox to be created and
4238 this one will be the one that gets the event. Changed
4239 ItemDataBinding to deal with a TextBox too.
4241 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4243 * PagedDataSource.cs: fix IsLastPage. All tests pass.
4244 * DataGrid.cs: InitializePager always add a cell and it's brand new. No
4245 need to keep the old one in a field. Now all tests pass here too.
4247 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4249 * PagedDataSource.cs: don't use the properties when they just return a
4250 field. Fixed Count when paging is enabled. In GetEnumerator, IList goes
4251 before ICollection (otherwise, an IList will always fall under the
4252 ICollection case). The enumerator for lists will be empty if 'start'
4253 is beyond the list size. All existing tests pass, but one in
4254 DataGridTest that fails because of some problem with the paging.
4256 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4258 * Style.cs: fix the 2.0 build.
4260 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4262 * Style.cs: avoid unnecesary creation of a CssStyleCollection and
4263 instead write the style attributes directly to the HtmlTextWriter.
4265 * CheckBox.cs: adapted to new API.
4267 * DataGrid.cs: handle null data sources. Fixed the contions that make
4268 the table to be added to the Controls collection.
4270 * Calendar.cs: the table needed an ID and the attributes from the
4271 parent. Also don't create the ControlStyleCollection if it has not
4272 already been created.
4274 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4276 * DataGrid.cs: handle null data sources. Fixed the contions that make
4277 the table to be added to the Controls collection.
4279 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4281 * Calendar.cs: TrackViewState should be called upon creation, not on
4282 every get_XXX call. Cleanup.
4284 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4286 * DataGrid.cs: fix another test. The ID of the table generated by the
4287 datagrid is set to the one on the datagrid if no one set the ID for the
4290 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4292 * ListControl.cs: this fixes TestValueFieldAndTextFormat from
4295 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4297 * FontUnit.cs: use a table for FontSize names, as the X{1,2}.* ones are
4298 converted to string as X{1,2}-.*. All FontUnitTests pass now.
4299 * Unit.cs: throw a format exception when there's not number or minus
4300 sign in the first non-whitespace character.
4302 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4304 * ListControl.cs: SelectedIndex/SelectedValue can be set before
4305 DataBinding () is called on the control, so we have to keep this values
4306 around and use them after the data is read. If both properties are
4307 used, they must refer to the same item.
4309 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4311 * DataList.cs: fill in the data keys from BaseDataList so that the
4312 events can see them. Only assign DataItem when using data binding and
4313 nullify it after all events are raised.
4315 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4317 * DataList.cs: OnItemCommand() is raised any time OnBubbleEvent is
4320 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4322 * Button.cs: For 2.0 don't add the "name" attribute unless there's an
4324 * DataGrid.cs: Fix TagKey (table) for 2.0.
4325 * DataList.cs: Revert 2.0 specific stuff that was changed in RC.
4326 * DropDownList.cs: For 2.0 don't add the "name" attribute unless
4328 * ListBox.cs: For 2.0 don't add the "name" attribute unless there's an
4330 * RoleGroupCollection.cs: Fix "extra" exception in Remove method.
4331 * Style.cs: Fixed (2.0) RegisteredCssClass to returns String.Empty
4333 * TextBox.cs: For 2.0 don't add the "name" attribute unless there's an
4335 * TreeView.cs: Added declarative security (Link and Inheritance
4336 demands) for Minimal.
4337 * XmlDataSource.cs: Added declarative security (Link and Inheritance
4338 demands) for Minimal.
4340 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4342 * FontUnit.cs: Added, but only for 1.x, declarative security (Link and
4343 Inheritance demands) for Minimal.
4344 * Label.cs: Added declarative security (Link and Inheritance demands)
4346 * ListItem.cs: Added declarative security (LinkDemands) for Minimal.
4347 * ListItemCollection.cs: Added declarative security (LinkDemands) for
4349 * MonthChangedEventArgs.cs: Added declarative security (Link and, for
4350 2.0, Inheritance demands) for Minimal.
4351 * PagedDataSource.cs: Added declarative security (LinkDemands) for
4353 * Panel.cs: Added declarative security (Link and Inheritance demands)
4355 * Repeater.cs: Added declarative security (Link and Inheritance
4356 demands) for Minimal.
4357 * RepeatInfo.cs: Added declarative security (LinkDemands) for Minimal.
4358 * SelectedDatesCollection.cs: Added declarative security (LinkDemands)
4360 * TargetConverter.cs: Added declarative security (Link and Inheritance
4361 demands) for Minimal.
4362 * Unit.cs: Added, but only for 1.x, declarative security (Link and
4363 Inheritance demands) for Minimal.
4364 * ValidatedControlConverter.cs: Added declarative security (Link and
4365 Inheritance demands) for Minimal.
4366 * WebColorConverter.cs: Added declarative security (Link and
4367 Inheritance demands) for Minimal.
4368 * Xml.cs: Added declarative security (Link and Inheritance demands)
4370 * ValidationSummary.cs: Added declarative security (Link and
4371 Inheritance demands) for Minimal.
4373 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
4375 * UnitConverter.cs: Remove conversion from Unit (see unit tests).
4377 2005-09-22 Ben Maurer <bmaurer@ximian.com>
4379 * BulletedList.cs: Remove the cacheEnabled thing. I was thinking
4380 it took O(height) time, not O(1).
4382 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
4384 * CheckBoxList.cs: Fix unit test failure (which matched bug #48802).
4386 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
4388 * AdCreatedEventArgs.cs: Added declarative security (Link and, for
4389 2.0, Inheritance demands) for Minimal.
4390 * BaseCompareValidator.cs: Added declarative security (Link and
4391 Inheritance demands) for Minimal.
4392 * BaseDataBoundControl.cs: Added declarative security (Link and
4393 Inheritance demands) for Minimal.
4394 * BaseValidator.cs: Added declarative security (Link and Inheritance
4395 demands) for Minimal.
4396 * BoundColumn.cs: Added declarative security (Link and Inheritance
4397 demands) for Minimal.
4398 * ButtonColumn.cs: Added declarative security (Link and Inheritance
4399 demands) for Minimal.
4400 * CalendarDay.cs: Added declarative security (Link and Inheritance
4401 demands) for Minimal.
4402 * CheckBoxList.cs: Added declarative security (Link and Inheritance
4403 demands) for Minimal.
4404 * CompareValidator.cs: Added declarative security (Link and
4405 Inheritance demands) for Minimal.
4406 * CustomValidator.cs: Added declarative security (Link and Inheritance
4407 demands) for Minimal.
4408 * DataBoundControl.cs: Added declarative security (Link and
4409 Inheritance demands) for Minimal.
4410 * DataGridItemCollection.cs: Added declarative security (Link and
4411 Inheritance demands) for Minimal.
4412 * DataKeyCollection.cs: Added declarative security (LinkDemands) for
4414 * DataListItemCollection.cs: Added declarative security (LinkDemands)
4416 * DataListItem.cs: Added declarative security (Link and Inheritance
4417 demands) for Minimal.
4418 * FontNamesConverter.cs: Added declarative security (Link and
4419 Inheritance demands) for Minimal.
4420 * HyperLink.cs: Added declarative security (Link and Inheritance
4421 demands) for Minimal.
4422 * HyperLinkColumn.cs: Added declarative security (Link and Inheritance
4423 demands) for Minimal.
4424 * Image.cs: Added declarative security (Link and Inheritance demands)
4427 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4429 * BaseDataList.cs: it's the DataKeysArray what is stored in "DataKeys",
4431 * DataGrid.cs: add the keys to BaseDataList.DataKeysArray. When using
4432 a data source, first try reflection, then componentmodel. If we get
4433 an enumerator, keep it around, as MS only calls GetEnumerator once.
4434 Throw an exception if no columns can be created from the given data
4435 source. Tested with DbDataRecord, DataTable, ArrayList and
4436 ICustomTypeDescriptor.
4438 2005-09-20 Sebastien Pouliot <sebastien@ximian.com>
4440 * AccessDataSource.cs: Added declarative security (Link and Inheritance
4441 demands) for Minimal. Added [ToolboxBitmap] on class.
4442 * AdRotator.cs: Added declarative security (Link and Inheritance
4443 demands) for Minimal. Removed extra Page and ViewState properties.
4444 * BulletedList.cs: Added declarative security (Link and Inheritance
4445 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4446 * Button.cs: Added declarative security (Link and Inheritance demands)
4447 for Minimal. Added [SupportsEventValidation] on class (2.0).
4448 * Calendar.cs: Added declarative security (Link and Inheritance
4449 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4450 * CheckBox.cs: Added declarative security (Link and Inheritance
4451 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4452 * CompositeControl.cs: Added declarative security (Link and Inheritance
4453 demands) for Minimal. Added new protected RecreateChildControls method.
4454 * DataControlCommands.cs: Added declarative security (LinkDemands) for
4455 Minimal. Added private ctor.
4456 * DataGrid.cs: Added declarative security (Link and Inheritance
4457 demands) for Minimal. Fixed properties for 2.0 (mostly removing
4458 [Bindable]). Added override for TagKey property.
4459 * DataGridColumn.cs: Added declarative security (Link and Inheritance
4460 demands) for Minimal. Added [UrlProperty] on HeaderImageUrl (2.0).
4461 * DataGridItem.cs: Added declarative security (Link and Inheritance
4462 demands) for Minimal. Added IDataItemContainer interface for 2.0.
4463 * DataGridPagerStyle.cs: Added declarative security (LinkDemands) for
4464 Minimal. Remove [Bindable] from 2.0 and add [Localizable].
4465 * DataList.cs: Removed [Load|Save]ControlState methods.
4466 * DropDownList.cs: Added declarative security (Link and Inheritance
4467 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4468 * EditCommandColumn.cs: Added declarative security (Link and
4469 Inheritance demands) for Minimal. Added missing attributes,
4470 [DefaultValue] and [Localize] for 2.0.
4471 * FontInfo.cs: Added declarative security (Link and Inheritance
4472 demands) for Minimal. Remove [Bindable] and added [RefreshProperties]
4474 * Login.cs: Added declarative security (Link and Inheritance demands)
4475 for Minimal. Fixed IsStyleEmpty. Removed extra [Themeable] attributes.
4476 * ImageButton.cs: Added declarative security (Link and Inheritance
4477 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4478 * LinkButton.cs: Added declarative security (Link and Inheritance
4479 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4480 * ListBox.cs: Added declarative security (Link and Inheritance demands)
4481 for Minimal. Added [SupportsEventValidation] on class (2.0).
4482 * Literal.cs: Added declarative security (Link and Inheritance demands)
4483 for Minimal. Removed [EditorBrowsable] on CreateControlCollection method.
4484 * LoginStatus.cs: Added missing [Themeable] attributes on properties.
4485 * MenuItemStyle.cs: Changed IsEmpty to public (required to compile -
4486 but will be shown as extra).
4487 * RadioButton.cs: Added declarative security (Link and Inheritance
4488 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4489 * RadioButtonList.cs: Added declarative security (Link and Inheritance
4490 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
4491 * RangeValidator.cs: Added declarative security (Link and Inheritance
4492 demands) for Minimal. Added missing [Themeable] attributes.
4493 * RegularExpressionValidator.cs: Added declarative security (Link and
4494 Inheritance demands) for Minimal. Remove [Bindable] from 2.0 and add
4496 * RoleGroupCollection.cs: Added declarative security (Link and
4497 Inheritance demands) for Minimal. Fixed base class (changed in RC).
4498 Re-implemented CopyTo. Removed some methods.
4499 * Style.cs: Added declarative security (Link and Inheritance demands)
4500 for Minimal. Remove static IsStyleEmpty and ToString (from 2.0). IsEmpty
4501 is now public in 2.0.
4502 * Table.cs: Added declarative security (Link and Inheritance demands)
4503 for Minimal. Added [SupportsEventValidation] on class (2.0).
4504 * TableCell.cs: Fixed PersistenceMode for 2.0.
4505 * TextBox.cs: Added declarative security (Link and Inheritance demands)
4506 for Minimal. Added [SupportsEventValidation] on class (2.0).
4507 * TreeNodeStyle.cs: Changed IsEmpty to public (required to compile -
4508 but will be shown as extra).
4509 * WebControl.cs: Added declarative security (Link and Inheritance
4510 demands) for Minimal. Removed [EditorBrowsable] on ControlStyleCreated
4513 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4515 * TableStyle.cs: fixed typo that prevented restoring GridLines from
4518 * DataGrid.cs: the table does not get an auto ID. When restoring from
4519 viewstate, use all the saved columns, not just that data bound ones. Set
4520 the owner of the BoundColumns created. Save/restore columns.
4521 OnItemCreated happens after the item is initialized and the data item is
4522 set before the event and nullified after OnItemDataBound.
4523 Add the render_table to the Controls immediately, otherwise we might get
4524 errors from child controls such as "must be rendered inside a form".
4525 Keep the items created in the list waiting for them.
4526 The table uses the attributes from the DataGrid and ControlStyle.
4527 Raise OnItemCommand on all bubble events and don't propagate bubble
4528 event up in the hierarchy
4530 * TableCell.cs: it does not get an automatic ID.
4531 * BoundColumn.cs: FormatDataValue returns an empty string on null input
4532 (there was already a test for this).
4536 2005-09-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4538 * DataGridColumnCollection.cs: track the view state in the newly added
4541 2005-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4543 * DataGrid.cs: merge column styles too. Fixes bug #76106.
4544 * DataGridColumn.cs: new internal method to retrieve the styles without
4545 creating an instance for them.
4547 2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
4549 * DataControlField.cs, HotSpot.cs, MenuItem.cs, Parameter.cs,
4550 Style.cs, TreeNode.cs: Replace _empty_ StateBag.SetDirty () with
4551 StateBag.SetDirty (true).
4553 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
4555 * Menu.cs: Fixed parameter orders for CreateStyleRule.
4557 2005-09-13 Chris Toshok <toshok@ximian.com>
4559 * Style.cs: corcompare stuff.
4561 * RequiredFieldValidator.cs: more corcompare stuff.
4563 * CheckBoxList.cs: clean up some of the interface methods vs
4564 protected virtual 2.0 calls.
4566 * SubMenuStyle.cs: corcompare says this should implement
4567 ICustomTypeDescriptor... sooo, make it.
4569 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4571 * TableCell.cs: do the same as HyperLink and others in
4572 AddParsedSubobject so that adding a literal control does not remove the
4573 existing controls if any. Fixes bug #76078.
4575 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4577 * GridView.cs: don't duplicate class attribute. Fixes bug #75936.
4579 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4581 * ImageButton.cs: fix invalid cast exception.
4583 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4585 * ListItem.cs: throw in AddParsedSubObject if the object is not a
4587 * RadioButtonList.cs: implemented LoadPostData and
4588 RaisePostDataChangedEvent.
4590 2005-09-09 Chris Toshok <toshok@ximian.com>
4592 * CheckBox.cs, CheckBoxList.cs, DropDownList.cs, ImageButton.cs,
4593 ListBox.cs, RadioButton.cs, RadioButtonList.cs, TextBox.cs: fix up
4594 LoadPostData/RaisePostDataChangedEvent.
4596 2005-09-09 Chris Toshok <toshok@ximian.com>
4598 * FontInfo.cs (IsEmpty): new internal property, used by
4601 * Style.cs (IsEmpty): make sure the fontinfo is null or empty as
4604 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4606 * ListItemCollection.cs: remove obsoleted methods.
4607 * ListBox.cs: use IStateManager on the item collection.
4609 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
4611 * Use C# 1.0 style of delegate instantiating. Needed to compile
4612 Grasshopper (TARGET_J2EE) which uses MS C# 1.0 compiler and not msc.
4614 2005-09-07 Chris Toshok <toshok@ximian.com>
4616 * Calendar.cs (WriteDay): always add BackColor=Silver,
4617 ForeColor=White to selected day cells, before copying over the
4618 selectedDayStyle, if it exists.
4619 (WriteDays): fix nunit test - if the first day of the month falls
4620 on the first day of the week, go back one week (effectively adding
4621 a row of dates from the previous month.)
4622 (WriteTitle): don't copy the control style to the tableTitle,
4623 since it might have height specifications, which would make the
4624 title look rather off.
4626 2005-09-07 Chris Toshok <toshok@ximian.com>
4628 * ValidationSummary.cs (AddAttributesToRender): we only set
4629 display=none if there are no errors.
4631 * BaseValidator.cs (OnPreRender): fix a JS error - on submit we
4632 call ValidatorOnSubmit, not ValidatorCommonOnSubmit.
4634 2005-09-07 Chris Toshok <toshok@ximian.com>
4636 * ListControl.cs (SelectedIndex): add comment about how you'd
4637 think OnSelectedIndexChanged would be called.. and you'd be wrong.
4638 (Text): implement in terms of SelectedValue.
4639 (TagKey): do the HAVE_CONTROL_ADAPTERS two-step.
4640 (LoadControlState): implement - this is where the selected index
4641 ArrayList gets stuffed in 2.0.
4642 (OnInit): call Page.RegisterRequiresControlState.
4643 (OnTextChanged): implement.
4644 (RenderContents): for now just chain up to base.RenderContents.
4645 (SaveControlState): save our control state properly.
4646 (GetSelectedIndices): split this out from SaveViewState to it can
4647 be used by both that and SaveControlState.
4648 (SaveViewState): mangle this function so it works in both 2.0 and
4650 (LoadViewState): same.
4652 2005-09-06 Chris Toshok <toshok@ximian.com>
4654 * BaseValidator.cs (AddAttributesToRender): render our ClientID if
4655 we weren't assigned an ID.
4657 * ValidationSummary.cs (AddAttributesToRender): same.
4659 2005-09-06 Chris Toshok <toshok@ximian.com>
4661 * WebControl.cs: revert the last change.
4663 2005-09-06 Chris Toshok <toshok@ximian.com>
4665 * WebControl.cs (AddAttributesToRender): always render ClientID.
4667 * ValidationSummary.cs (Render): same.
4669 * BaseValidator.cs (RegisterValidatorDeclaration): use ClientID
4672 2005-09-06 Chris Toshok <toshok@ximian.com>
4674 * ValidationSummary.cs (Render): only do the JS stuff when the
4675 validators on the page are uplevel.
4677 * BaseValidator.cs (Render): remove unnecessary comment.
4679 2005-09-05 Chris Toshok <toshok@ximian.com>
4681 * BaseDataBoundControl.cs (DataSourceID): testing reveals this is
4682 stored in the ViewState.
4684 2005-09-02 Chris Toshok <toshok@ximian.com>
4686 * Repeater.cs (GetData): change this slightly so the Repeater
4687 doesn't keep a ref to the return value of GetData.
4689 2005-09-01 Chris Toshok <toshok@ximian.com>
4691 * ListControl.cs (AppendDataBoundItems): implement (2.0)
4694 2005-09-01 Chris Toshok <toshok@ximian.com>
4696 * System.Web.UI.WebControls/MonthChangedEventArgs.cs,
4697 System.Web.UI.WebControls/ValidatedControlConverter.cs,
4698 System.Web.UI.WebControls/Xml.cs,
4699 System.Web.UI.WebControls/RegularExpressionValidator.cs,
4700 System.Web.UI.WebControls/ServerValidateEventArgs.cs,
4701 System.Web.UI.WebControls/Menu.cs,
4702 System.Web.UI.WebControls/MailMessageEventArgs.cs,
4703 System.Web.UI.WebControls/MenuItemStyle.cs,
4704 System.Web.UI.WebControls/RangeValidator.cs,
4705 System.Web.UI.WebControls/RepeaterItemEventArgs.cs,
4706 System.Web.UI.WebControls/MenuItem.cs,
4707 System.Web.UI.WebControls/RepeaterCommandEventArgs.cs,
4708 System.Web.UI.WebControls/DataGridSortCommandEventArgs.cs,
4709 System.Web.UI.WebControls/DataGridCommandEventArgs.cs,
4710 System.Web.UI.WebControls/DataGridPageChangedEventArgs.cs,
4711 System.Web.UI.WebControls/XmlBuilder.cs,
4712 System.Web.UI.WebControls/ImageButton.cs: someone stop me. more
4715 2005-09-01 Chris Toshok <toshok@ximian.com>
4717 * System.Web.UI.WebControls/Button.cs,
4718 System.Web.UI.WebControls/ButtonField.cs,
4719 System.Web.UI.WebControls/DataControlField.cs,
4720 System.Web.UI.WebControls/BaseCompareValidator.cs,
4721 System.Web.UI.WebControls/AutoGeneratedField.cs,
4722 System.Web.UI.WebControls/CustomValidator.cs,
4723 System.Web.UI.WebControls/Content.cs,
4724 System.Web.UI.WebControls/BoundField.cs,
4725 System.Web.UI.WebControls/AdRotator.cs,
4726 System.Web.UI.WebControls/ButtonColumn.cs,
4727 System.Web.UI.WebControls/CompareValidator.cs,
4728 System.Web.UI.WebControls/AdCreatedEventArgs.cs: More corcompare
4729 work. Stub things out, and add attributes.
4731 2005-09-01 Chris Toshok <toshok@ximian.com>
4733 * Button.cs, ButtonField.cs, FontInfo.cs, Style.cs, Xml.cs,
4734 CommandField.cs, HyperLinkColumn.cs, Table.cs,
4735 RegularExpressionValidator.cs, DataGridPagerStyle.cs, Label.cs,
4736 CheckBox.cs, RadioButton.cs, TableStyle.cs, ListControl.cs,
4737 Image.cs, BaseCompareValidator.cs, BaseDataList.cs, DataList.cs,
4738 TemplateColumn.cs, RangeValidator.cs, ImageField.cs,
4739 BaseValidator.cs, CustomValidator.cs, TextBox.cs,
4740 ButtonFieldBase.cs, BoundField.cs, CheckBoxList.cs,
4741 RadioButtonList.cs, RequiredFieldValidator.cs, AdRotator.cs,
4742 Repeater.cs, DropDownList.cs, CheckBoxField.cs, HyperLink.cs,
4743 XmlDataSource.cs, Panel.cs, DataGrid.cs, ButtonColumn.cs,
4744 CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs,
4745 WebControl.cs, Literal.cs, ValidationSummary.cs, ImageButton.cs,
4746 TableRow.cs, LinkButton.cs, DataGridColumn.cs, BoundColumn.cs,
4747 TableItemStyle.cs: Add some WebCategory and WebSysDescription
4750 2005-09-01 Chris Toshok <toshok@ximian.com>
4752 * AccessDataSource.cs: corcompare work.
4754 * SqlDataSource.cs: same.
4756 2005-09-01 Miguel de Icaza <miguel@novell.com>
4758 * Various places: make sure that the DefaultValue matches the
4759 type. Thanks to Michael for pointing this out.
4761 In future audits, you might want to use the following awk command:
4763 awk '/DefaultValue/ { v=$0; looking = 1; } /public/ && looking &&
4764 !/string/ && !/ int / && !/ bool / { print FILENAME; print v;
4765 print $0; looking = 0; } /public/ && looking { looking = 0; } '
4768 The above skips bools, strings and ints as those were fine as we
4769 set them. The bug was on the other ones.
4771 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4773 * Repeater.cs: fix the build.
4775 2005-08-31 Chris Toshok <toshok@ximian.com>
4777 * Repeater.cs: lots of 2.0 work, much of it c&p'ed from
4778 {Base}DataList, and also from debug spew garnered from some
4779 Repeater subclass tests on MS.
4780 (CreateControlHierarchy): in 2.0 if IsBonudUsingDataSourceID get
4781 the IEnumerable by calling GetData().
4782 (DataBind): reset RequiresDataBinding to false (2.0).
4783 (DataMember): copy the set implementation from DataList, and add
4784 2.0 code to call OnDataPropertyChanged if we're !Initialiezd.
4785 (DataSource): more c&p.
4786 (DataSourceID); implement (2.0)
4787 (Initialized): implement (2.0)
4788 (IsBoundUsingDataSource): implement (2.0)
4789 (RequiresDataBinding): implement (2.0)
4790 (SelectArguments): implement (2.0)
4791 (CreateDataSourceSelectArguments): implement (2.0)
4792 (EnsureDataBound): implement (2.0)
4793 (GetData): implement.
4794 (OnDataPropertyChanged): remove the NIE, but leave the MonoTODO
4796 (OnDataSourceViewChanged): set RequiresDataBinding to true, but
4797 leave the MonoTODO. (2.0)
4798 (OnInit): call base.OnInit instead of throwing NIE, but leave the
4800 (OnLoad): implement.
4801 (OnPreRender): implement.
4802 (ConnectToDataSource): new method - look for the right control.
4804 2005-08-31 Chris Toshok <toshok@ximian.com>
4806 * XmlDataSourceView.cs: fix the scope of our select. Don't use
4807 call SelectNodes on the XmlDocument, not on
4808 XmlDocument.DocumentElement.
4810 2005-08-31 Chris Toshok <toshok@ximian.com>
4812 * XmlDataSourceView.cs (.ctor): remove the nodelist parameter.
4813 (DoXPathSelect): put the xpath selection stuff here.
4814 (ExecuteSelect): call DoXPathSelect if we need to (if nodes ==
4817 * XmlDataSource.cs (IDataSource.GetView): don't do the XPath
4818 select here, the view does it.
4820 2005-08-31 Jackson Harper <jackson@ximian.com>
4822 * DataList.cs: Remove some debugging code that was starting to bug
4825 2005-08-31 Chris Toshok <toshok@ximian.com>
4827 * XmlDataSourceNodeDescriptor.cs: implement IXPathNavigable, and
4828 create our Navigator by calling node.CreateNavigator().
4830 2005-08-31 Chris Toshok <toshok@ximian.com>
4832 * XmlDataSource.cs (GetXmlDataDocument): rename this to
4833 GetXmlDocument, and change the return value from XmlDataDocument
4835 (LoadXmlDataDocument): similar change.
4836 (Save): xmlDataDocument -> xmlDocument.
4837 (CanBeSaved): there's no ReadOnly attribute.
4838 (LoadViewState, SaveViewState, TrackViewState): nuke.
4839 (GetHierarchicalView): xmlDataDocument -> xmlDocument.
4840 (CacheDuration): stub out with NIE.
4841 (CacheExpirationPolocy): same.
4842 (CacheKeyDependency): same.
4843 (EnableCaching): same.
4845 (Data, DataFile): xmlDataDocument -> xmlDocument.
4846 (Schema, SchemaFile): nuke.
4847 (Transform, TransformFile): xmlDataDocument -> xmlDocument.
4849 2005-08-30 Lluis Sanchez Gual <lluis@novell.com>
4851 * SubMenuStyle.cs, MenuItemStyle.cs, TreeNodeStyle.cs:
4852 Don't use the obsolete IsSet method.
4853 * Menu.cs: Implement IPostBackEventHandler.RaisePostBackEvent.
4854 * CheckBox.cs: Implement some 2.0 methods.
4855 * GridView.cs: Removed some "throw new NotImplementedException"
4857 2005-08-29 Chris Toshok <toshok@ximian.com>
4859 * TreeView.cs: Use the StateBag accessors Ben added, and implement
4860 SkipLinkText and Visible.
4862 2005-08-29 Chris Toshok <toshok@ximian.com>
4864 * TreeView.cs: fix typo in an attribute.
4866 2005-08-29 Jackson Harper <jackson@ximian.com>
4868 * PagedDataSource.cs: If it's not a list or collection we don't
4869 use a bounded enumerator.
4871 2005-08-29 Chris Toshok <toshok@ximian.com>
4873 * LinkButton.cs: fix some 2.0 Page/ClientScript obsolete warnings.
4875 * CheckBox.cs: same.
4877 * BaseValidator.cs: same.
4879 * DropDownList.cs: same.
4881 * ValidationSummary.cs: same.
4883 2005-08-28 Chris Toshok <toshok@ximian.com>
4885 * XmlHierarchyData.cs: fix IHierarchyData.GetParent.
4887 2005-08-26 Chris Toshok <toshok@ximian.com>
4889 * TextBox.cs: implement ValidationGroup and CausesValidation
4892 2005-08-26 Lluis Sanchez Gual <lluis@novell.com>
4894 * Style.cs: Implemented FillStyleAttributes, GetStyleAttributes and
4897 2005-08-26 Chris Toshok <toshok@ximian.com>
4899 * Unit.cs: implement the 2.0 ToString(IFormatProvider) method.
4901 * FontUnit.cs: add two 2.0 ctors, and the 2.0
4902 ToString(IFormatProvider) method.
4904 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
4906 * CheckListBox.cs: Nothing is rendered (i.e. no empty table) in 2.0 if
4907 no items are present in the list.
4908 * RoleGroup.cs: Added missing attributes.
4909 * RoleGroupCollection.cs: Added missing attributes and some (yet-to-be-
4910 documented) methods.
4911 * TableStyle.cs: *for 2.0* adding a "url({0})" to background image
4912 must be done in the HtmlTextWriter (not in the TableStyle).
4914 2005-08-26 Chris Toshok <toshok@ximian.com>
4916 * Calendar.cs (UseAccessibleHeader): implement.
4917 (RaisePostBackEvent): some #ifdef ugliness to get this all working
4918 propertly between 1.x and 2.0
4919 (WriteDayHeader): if UseAccessibleHeader == true, render header
4920 cells as th's, not td's, and add abbr and scope attributes.
4922 2005-08-25 Chris Toshok <toshok@ximian.com>
4924 * Calendar.cs (Caption, CaptionAlign): implement these properties.
4925 (Render): if we have a non-empty caption, show it.
4926 (WriteCaption): new method, output the caption.
4928 2005-08-25 Chris Toshok <toshok@ximian.com>
4930 * Calendar.cs (Render): Copy the entire style from the Calendar to
4931 the Table, not just the font.
4932 (WriteDay): don't just write the link/text/etc. Create a
4933 LiteralControl as a child of the cell, before the call to
4934 OnDayRender, with its text set to the day number. After
4935 OnDayRender, set the literal's text to either the number again (if
4936 it's not selectable) or the full text of the js __doPostBack
4937 hyperlink (if it is.) Also, use cell.RenderControl here so we can
4938 render child controls with the id's listed properly (and arguably
4940 (ApplyTitleStyleCell): remove.
4941 (WriteTitle): apply the titleStyle to the enclosing table, not the
4942 table cell containing the month name. Also, copy from the
4943 Calendar's ControlStyle to populate tableTitle's style initially.
4944 We end up with more (superfluous) style attributes than MS, but
4945 it's better than having less.
4947 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
4949 * HyperLink.cs: Fixed 2.0 rendering for Alt and Border|BorderWidth when
4952 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
4954 * Style.cs: Implemented 2.0 CopyTextStylesFrom(), SetRegisteredCssClass()
4955 and RegisteredCssClass property
4957 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
4959 * LoginView.cs: Fixed attributes.
4960 * Style.cs: Change SetRegisteredCssClass to internal and not to throw
4961 an exception to allow pages to work on 2.x.
4963 2005-08-25 Chris Toshok <toshok@ximian.com>
4965 * LinkButton.cs (PostBackUrl): correct the UrlProperty attribute.
4967 * Unit.cs: add [Serializable] and the 2.0 specific ToString(), not
4970 * HiddenField.cs: stub out this class and label everything
4973 2005-08-25 Jackson Harper <jackson@ximian.com>
4975 * DataGrid.cs: Disable the pager row if there no paging enabled
4978 2005-08-25 Chris Toshok <toshok@ximian.com>
4980 * SqlDataSourceFilteringEventArgs.cs: add some usings, and fix a
4983 * SqlDataSourceSelectingEventArgs.cs: IDbCommand -> DbCommand, and
4984 add a using statement.
4986 2005-08-25 Chris Toshok <toshok@ximian.com>
4988 * SqlDataSourceFilteringEventArgs.cs: new 2.0 class, as per
4991 * SqlDataSourceFilteringEventHandler.cs: new 2.0 delegate, as per
4994 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
4996 * Login.cs: Added rendering and fixed parts of the authentication.
4997 Now using IStateManager to allow compilation in another assembly (e.g.
4998 to test the control under IIS). Needs more tests (error conditions)
4999 once we get a "real" Membership provider running.
5000 * Style.cs: Fixed IsStyleEmpty (name ;-) and when null is provided
5003 2005-08-25 Chris Toshok <toshok@ximian.com>
5005 * SqlDataSourceCommandType.cs: new 2.0 enum, as per corcompare.
5007 2005-08-25 Chris Toshok <toshok@ximian.com>
5009 * AdRotator.cs: stub out enough of the 2.0 methods/properties by
5010 calling base.Foo to get the standalone adrotator (1.0) tests to
5011 run without throwing exceptions.
5013 2005-08-25 Chris Toshok <toshok@ximian.com>
5015 * ValidationSummary.cs (ValidationGroup): implement.
5016 (Render): use Page.GetValidators in .net 2.0, so we can support
5017 ValidationGroups. Also, <br>'s get rendered as <br /> in .net
5020 2005-08-25 Chris Toshok <toshok@ximian.com>
5022 * ImageButton.cs (TagKey): disable (but flag) the "virtual new"
5023 2.0 attribute modifiers, and revert back to "override".
5025 * ListBox.cs (BorderColor): disable (but flag) the "virtual new"
5026 2.0 attribute modifiers, and revert back to "override".
5027 (BorderStyle): same.
5028 (BorderWidth): same.
5030 * TextBox.cs (SaveViewState): implement naively, calling
5032 (TagKey): disable (but flag) the "virtual new" 2.0 attribute
5033 modifiers, and revert back to "override".
5035 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
5037 * Style.cs, TableStyle.cs, TableItemStyle.cs, DataGridPagerStyle.cs:
5038 Load ViewState for derived classes; no public LoadViewState override
5039 exists in those classes
5040 * Style.cs: Added 2.0 IsStyleEmpty method
5042 2005-08-25 Jackson Harper <jackson@ximian.com>
5044 * DataGrid.cs: The number of pages set in the pager is specified
5047 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
5049 * LoginView.cs: New (2.0). Work in progress.
5051 2005-08-24 Chris Toshok <toshok@ximian.com>
5053 * Button.cs, DetailsView.cs, FontInfo.cs, Style.cs, Xml.cs,
5054 Menu.cs, ObjectDataSource.cs, CheckBox.cs, RadioButton.cs,
5055 ListControl.cs, SiteMapPath.cs, BulletedList.cs,
5056 DataBoundControl.cs, ListItemCollection.cs, GridView.cs,
5057 Wizard.cs, TextBox.cs, CheckBoxList.cs, RadioButtonList.cs,
5058 PagedDataSource.cs, FormView.cs, AdRotator.cs, Repeater.cs,
5059 DropDownList.cs, MultiView.cs, HierarchicalDataBoundControl.cs,
5060 Calendar.cs, ListBox.cs, WebControl.cs, Literal.cs,
5061 ValidationSummary.cs, ImageButton.cs, LinkButton.cs, TreeView.cs:
5062 Add MonoTODO's for all things that throw NotImplementException.
5064 2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
5066 * RoleGroup.cs: New (2.0). Complete implementation.
5067 * RoleGroupCollection.cs: New (2.0). Mostly complete implementation.
5069 2005-08-23 Chris Toshok <toshok@ximian.com>
5071 * BaseCompareValidator.cs (GetFullYear): it turns out the docs up
5072 on msdn.microsoft.com tell exactly how the .net 2.0 stuff works,
5073 even though they were written for the 1.0 stuff.
5075 2005-08-23 Chris Toshok <toshok@ximian.com>
5077 * RepeatInfo.cs: some massaging to support both the 1.x and 2.0
5078 output. Our tests now pass on both mono and ms, with both 1.x and
5081 2005-08-23 Sebastien Pouliot <sebastien@ximian.com>
5083 * Login.cs: Throw exception if the specified provider doesn't exists.
5084 * LoginStatus.cs: Complete events.
5086 2005-08-22 Jackson Harper <jackson@ximian.com>
5088 * DataGrid.cs (CreateControlHierarchy): Clear out the old pager after creating the
5090 (InitializeNumericPager): Now that the pager actually renders
5091 properly I can see that I was computing it incorrectly.
5093 2005-08-22 Jackson Harper <jackson@ximian.com>
5095 * DataGrid.cs (RenderTable): Make sure the new table gets the
5097 (CreateColumnSet): Clear the data source columnbs before adding
5098 new ones regardless of whether or not a property descriptor was
5100 (InitializePager): pager_cell needs to be a member so it isn't
5101 created more then once per a render.
5102 (InitializeNumericPager): Compute start and end more
5104 - Link commands are 1 indexed.
5105 (CreateControlHierarchy): Clear the table before we begin
5107 - Revert patch that made adding the pagers conditional. This is
5108 incorrect, the pagers are always added. Only their visibility is
5109 affected by the pager style.
5110 - Save the entire count in the viewstate, not just the rendered
5111 count. So when paging is enabled the pager's count isn't broken by
5114 2005-08-22 Chris Toshok <toshok@ximian.com>
5116 * LinkButton.cs (ValidationGroup): implement.
5117 (IPostBackEventHandler.RaisePostBackEvent): in the 2.0 profile,
5118 pass ValidationGroup to Page.Validate.
5120 2005-08-22 Chris Toshok <toshok@ximian.com>
5122 * ImageButton.cs (ValidationGroup): implement.
5123 (IPostBackEventHandler.RaisePostBackEvent): if we cause
5124 validation, call Page.Validate properly (in both profiles).
5126 2005-08-22 Chris Toshok <toshok@ximian.com>
5128 * Button.cs (IPostBackEventHandler.RaisePostBackEvent): in the 2.0
5129 case, pass ValidationGroup to Page.Validate.
5130 (ValidationGroup): implement using ViewState.
5132 2005-08-22 Chris Toshok <toshok@ximian.com>
5134 * BaseValidator.cs (Text): 2.0 only. implement naively, just
5136 (OnInit): add 2.0 support for validation groups.
5139 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
5141 * LoginName.cs: New (2.0) web control.
5142 * LoginStatus.cs: New (2.0) web control.
5144 2005-08-19 Chris Toshok <toshok@ximian.com>
5146 * LinkButton.cs (ValidationGroup): implement getter/setter.
5147 (RaisePostBackEvent): implement naively, by c&p'ing the old
5148 implementation of IPostBackEventHandler.RaisePostBackEvent, but
5149 making use of the ValidationGroup in the call to Page.Validate.
5153 * Style.cs (LoadViewState): set our style flags for all the things
5154 we have flags for. Seems like the subclass flags should be
5155 handled in overridden LoadViewState methods, but none of the Style
5156 subclasses seem to override this method.
5158 2005-08-19 Chris Toshok <toshok@ximian.com>
5160 * TableStyle.cs (Merge, MergeWith): make these look a bit more
5161 like Copy/CopyFrom, with the styles checks instead of just
5164 * TableItemStyle.cs: same, only also make Copy/CopyFrom work as in
5167 2005-08-19 Chris Toshok <toshok@ximian.com>
5169 * DataGrid.cs (InitializePager): don't unconditionally set
5170 pager_cell to the numeric pager (especially after setting it
5171 conditionally to the nextprev pager.)
5172 (InitializeNumericPager): the link buttons don't participate in
5174 (InitializeNextPrevPager): same.
5175 (CreateControlHierarchy): create the top/bottom pagers only if the
5176 PagerStyle says too.
5178 2005-08-19 Sebastien Pouliot <sebastien@ximian.com>
5180 * TableCell.cs: Added AssociatedHeaderCellID property for 2.0.
5182 2005-08-18 Chris Toshok <toshok@ximian.com>
5184 * DataList.cs (CreateControlHierarchy): Call Controls.Clear() at
5185 the start of this method so templates are created properly.
5187 2005-08-18 Dick Porter <dick@ximian.com>
5189 * Button.cs, DetailsView.cs, Xml.cs, Table.cs, Menu.cs,
5190 DataControlButton.cs, Label.cs, ObjectDataSource.cs, CheckBox.cs,
5191 RadioButton.cs, ListControl.cs, Image.cs, SiteMapPath.cs,
5192 BaseDataList.cs, DataList.cs, BulletedList.cs,
5193 DataBoundControl.cs, Login.cs, GridView.cs,
5194 CompositeDataBoundControl.cs, Wizard.cs, BaseValidator.cs,
5195 TextBox.cs, CheckBoxList.cs, RadioButtonList.cs, FormView.cs,
5196 AdRotator.cs, Repeater.cs, MenuItemTemplateContainer.cs,
5197 DropDownList.cs, HyperLink.cs, ImageMap.cs, MultiView.cs,
5198 CompositeControl.cs, HierarchicalDataBoundControl.cs, Calendar.cs,
5199 ListBox.cs, TableCell.cs, WebControl.cs, Literal.cs,
5200 BaseDataBoundControl.cs, ValidationSummary.cs, ImageButton.cs,
5201 LinkButton.cs, TreeView.cs: 2.0 API fixes and stubs, and attribute
5204 2005-08-18 Sebastien Pouliot <sebastien@ximian.com>
5206 * BaseDataList.cs: Added a TODO for DataKeyField as we're not using it
5208 * DataList.cs: Reworked CreateControlHierarchy to avoid allocating an
5209 empty array of objects just to get the number of items.
5210 * Login.cs: Implemented OnBubbleEvent and parts of the authentication
5211 but we're missing some bits from the class lib to complete all this...
5213 2005-08-17 Jackson Harper <jackson@ximian.com>
5215 * DataGrid.cs: Only create one pager and add it to both the top
5216 and bottom of the grid, this way all the id numbers stay the same
5217 and we save a bunch of cycles.
5219 2005-08-17 Jackson Harper <jackson@ximian.com>
5221 * DataGrid.cs: The top and bottom pagers are always created. Just
5222 the visibility is changed by the PagerStyle::Position.
5224 2005-08-17 Chris Toshok <toshok@ximian.com>
5226 * CompositeControl.cs (RecreateChildControls): implement naively -
5227 just call CreateChildControls. We might need to call
5228 Controls.Clear() as well, but for the time being, this is ok.
5230 2005-08-17 Sebastien Pouliot <sebastien@ximian.com>
5232 * BaseDataList.cs: Completed implementation for 2.0.
5234 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
5236 * BaseDataList.cs: Added missing properties/methods/attributes for 2.0.
5237 * DataList.cs: Added missing [Browseable] attribute on SelectedValue.
5239 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
5241 * BaseDataList.cs: Removed old internal ctor as DataList TagKey was
5243 * DataList.cs: Implemented {Load|Save}ControlState and OnInit (2.0).
5244 Adjusted size and ordering of the ViewState (new element #0 is still
5245 unknown). Properly fixed the TagKey in 2.0.
5246 * Login.cs: Implemented {Load|Save|Track}ViewState. Added checks for
5247 all properties using enums.
5248 * Panel.cs: Fixed NoWrap rendering unit test (for 2.0).
5249 * TableItemStyle.cs: Fixed attribute rendering to use style to render
5250 "nowrap" in 2.0 (it used the HTML nowrap attribute in 1.x).
5252 2005-08-15 Jackson Harper <jackson@ximian.com>
5254 * EditCommandColumn.cs: Use a normal LinkButton.
5256 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
5258 * Image.cs: Don't remove GenerateEmptyAlternateText (2.0) from the
5259 viewstate (even if assigned to the default value).
5260 * TableRow.cs: Implement TableSection property (2.0). It has no effect
5261 on the rendering of the table row.
5263 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
5265 * BaseDataList.cs: Added new [Themeable] and [Localizable] attributes
5266 and removed [Bindable] attributes for 2.0.
5267 * DataList.cs: Added new 2.0 attributes on class and removed [Bindable]
5268 attributes (for 2.0).
5269 * DataListCommandEventArgs.cs: Not sealed in 2.0.
5270 * DataListItemEventArgs.cs: Not sealed in 2.0.
5271 * Image.cs: Fixed [Designer] attribute on class and all [Editor]
5272 attributes for URLs.
5273 * Login.cs: Fixed [Designer] attribute on class and all [Editor]
5274 attributes for URLs.
5275 * Table.cs: Fixed [Editor] attribute for 2.0.
5276 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
5277 * TableCell.cs: Fixed [Designer] attribute. Fixed property name for
5278 AssociatedHeaderCellID and it's [DefaultValue] attribute.
5279 * TableHeaderCell.cs: Fix [DefaultValue] attributes for CategoryText
5280 and Scope attributes.
5281 * TableRow.cs: Fixed [Designer] attribute. Added missing [DefaultValue]
5282 on TableSection attribute.
5283 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
5285 2005-08-14 Sebastien Pouliot <sebastien@ximian.com>
5287 * Image.cs: Fixed attributes for 2.0 profile.
5288 * Login.cs: Fixed some attributes and default values.
5289 * Table.cs: Fixed attributes for 2.0 profile. Added protected method
5290 RaisePostBackEvent (TODO) in 2.0 profile.
5291 * TableCell.cs: Fix properties (Bindable, Localizable, Designer...)
5292 and added AssociateHeaderCellID property (TODO).
5293 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
5294 * TableFooterRow.cs: New (2.0). TableRow that always shows on each
5295 page (if the device requires to breaks the table into multiple pages).
5296 This seems to be a "flag" class, the real work will be in Table.
5297 * TableHeaderCell.cs: Added CategoryText and Scope properties for 2.0.
5298 * TableHeaderRow.cs: New (2.0). TableRow that always shows on each
5299 page (if the device requires to breaks the table into multiple pages).
5300 This seems to be a "flag" class, the real work will be in Table.
5301 * TableItemStyle.cs: Remove [Bindable (true)] from 2.0 profile.
5302 * TableRow.cs: Remove [Bindable (true)] from properties and add
5303 [Bindable (false)] and [Designer] on class. Added new TableSection
5305 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
5306 * TableSectionStyle.cs: New (2.0). Add Visible to Style - but it's
5307 broken (int beta2) for IsEmpty, CopyFrom, MergeWith...
5308 * TableStyle.cs: Fixed attributes for 2.0 profile. Added new
5309 FillStyleAttributes method (2.0).
5311 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
5313 * Login.cs: New (2.0). Mostly a stub with copy-n-pasted code and
5314 attributes from existing controls.
5315 * LoginCancelEventArgs.cs: New (2.0). Required to build Login.
5316 * LoginCancelEventHandler.cs: New (2.0). Required to build Login.
5318 2005-08-12 Jackson Harper <jackson@ximian.com>
5320 * TableRow.cs: No AutoID for TableRows.
5322 2005-08-12 Jackson Harper <jackson@ximian.com>
5324 * DataGrid.cs (CreateRenderColumns): If we aren't using data
5325 binding grab the rendercols from the data source columns.
5326 (LoadViewState): Restore the bound columns when reloading the
5328 (InitializeNumericPager): Create elipsised pagers.
5329 (CreateItem): Don't set the item's ID.
5330 (CreateItem): Add the control to the table before it is databound
5331 so that it's value is saved in the viewstate.
5332 (CreateControlHierarchy): Create a fake data source when not using
5333 databinding. Don't add controls to the table as they are added in
5335 (PrepareControlHierarchy): Make footers and header non visible if
5336 they aren't enabled.
5338 2005-08-12 Chris Toshok <toshok@ximian.com>
5340 * CompositeControl.cs (DataBind, Render, get_Controls): the MSDN
5341 docs says these methods/properties "ensure the child controls are
5342 created" -- so call EnsureChildControls() before invoking the base
5345 2005-08-12 Jackson Harper <jackson@ximian.com>
5347 * BoundColumn.cs: Set the controls text instead of adding a
5348 literal control. So it is saved in the controls viewstate.
5350 2005-08-11 Jackson Harper <jackson@ximian.com>
5352 * CheckBoxList.cs: Set the tabindex on the checkbox control and
5353 don't render it on the main table (Setting it to zero causes it to
5354 not be rendered). Also use the invariant culture on the id.
5356 2005-08-11 Dick Porter <dick@ximian.com>
5358 * CheckBox.cs: Let ViewState manage removals; apply styles and
5359 "style" attributes in a surrounding <span>. Fixes unit tests.
5361 2005-08-10 Chris Toshok <toshok@ximian.com>
5363 * Label.cs (LoadViewState): set the Text attribute from our
5364 ViewState (if it exists) to clear out any child controls. Fixes
5365 jsunit test label/label-child-control-postback.aspx.
5367 2005-08-10 Jackson Harper <jackson@ximian.com>
5369 * PagedDataSource.cs: Respect paging with all data source types.
5371 2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
5373 * BaseDataList.cs: Changed Controls property from "virtual new"
5374 (2.0 doc) to "override" (monop) to fix the Visible bug (see
5375 datalist-invisible.aspx). Fixed AddParsedSubObject not to accept
5376 any controls (required due to change to Controls). Implemented
5377 DataBind(bool) for 2.0.
5378 * DataListItem.cs: Fix the multiple table when extractRows is used.
5379 Removed extra span tags by rendering contents (not control). Added
5380 support for IDataItemContainer (2.0).
5382 2005-08-08 Jackson Harper <jackson@ximian.com>
5384 * DataGrid.cs: Apply the styles to each item type.
5386 2005-08-08 Jackson Harper <jackson@ximian.com>
5388 * PagedDataSource.cs: If paging is not enabled keep enumerating to
5389 the end of the list.
5391 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
5393 * BaseDataList.cs: Remove old compatibility stuff.
5394 * DataList.cs: Fix the edit|update for datalist-style-edit.aspx.
5395 * WebControl.cs: Always call CreateControlStyle to create the
5396 ControlStyle. Fix the exception for datalist-style-edit.aspx.
5398 2005-08-05 Jackson Harper <jackson@ximian.com>
5400 * DataGrid.cs: Don't make the current page index a link in the
5403 2005-08-05 Jackson Harper <jackson@ximian.com>
5405 * DataGrid.cs: Honour PagerPosition.
5407 2005-08-05 Jackson Harper <jackson@ximian.com>
5409 * PagedDataSource.cs: Round PageCount properly.
5411 2005-08-05 Dick Porter <dick@ximian.com>
5413 * CheckBox.cs: Shut corcompare up a bit more. Still need to
5414 figure out how to not use AddAttributesToRender to get it
5417 * ButtonColumn.cs: Implement Initialize() and InitializeCell()
5419 * DataGridColumn.cs: Added the duplicate viewstate manipulation
5422 2005-08-05 Chris Toshok <toshok@ximian.com>
5424 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): treat "" as
5425 null when it comes to the format string.
5426 (FormatDataTextValue): same.
5428 2005-08-04 Chris Toshok <toshok@ximian.com>
5430 * BaseValidator.cs (Validate): only test a validator if it's both
5431 enabled and visible.
5433 2005-08-04 Chris Toshok <toshok@ximian.com>
5435 * BaseValidator.cs (AddAttributesToRender): add "enabled" if
5438 2005-08-04 Jackson Harper <jackson@ximian.com>
5440 * DataGrid.cs: Add a new space control for each link. Also make
5441 the link's text 1 indexed. Don't add the space after the last
5444 2005-08-04 Ben Maurer <bmaurer@ximian.com>
5446 * LinkButton.cs: Fix up the test suite here.
5448 * Panel.cs: Fix up nowrap
5450 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5452 * ListBox.cs: Use WriteXXXX to render HTML, this way it matches MS output
5453 * ListControl.cs: Clear item list before adding data (again)
5455 2005-08-04 Jordi Mas i Hernandez <jordi@ximian.com>
5457 * Calendar.cs: fixes issues with OnDayRender event and others
5459 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5461 * DataGrid.cs(CreateControlHierarchy): Consider the EditItemIndex when
5463 * ListControl.cs(OnDataBinding): Only apply DataTextFormatString to text
5464 if DataTextField is bound
5465 * EditCommandColumn.cs(InitializeCell): MS inserts a between the
5466 two controls in edit mode, lets do the same
5468 2005-08-03 Jackson Harper <jackson@ximian.com>
5470 * BoundColumn.cs: Respek for the thisExpr when data binding.
5472 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5474 * EditCommandColumn.cs: No need to offer edit when in edit mode.
5477 2005-08-04 Dick Porter <dick@ximian.com>
5479 * DataGridColumn.cs: New implementation
5482 * DataGridColumnCollection.cs: Set the DataGridColumn's owner
5484 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5486 * WebControl.cs(CopyBaseAttributes): Use Enabled setter to also
5489 2005-08-03 Ben Maurer <bmaurer@ximian.com>
5491 * RepeatInfo.cs: Finally figured out how to use base control
5493 2005-08-03 Jackson Harper <jackson@ximian.com>
5495 * ButtonColumn.cs: Partial implementation.
5497 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
5499 * DataGridPagerStyle.cs(PageButtonCount): Throw exception on
5502 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
5504 * Calendar.cs: fixes Save/Load state
5506 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
5508 * Calendar.cs: bug fixes
5510 2005-08-03 Jackson Harper <jackson@ximian.com>
5512 * DataGrid.cs: Merge the table style with the render table. Some
5513 initial work on the numeric pager. Remove some debugging code.
5515 2005-08-03 Jackson Harper <jackson@ximian.com>
5517 * BoundColumn.cs: Implement Initialize and InitializeCell. When
5518 Data is formated it uses the DataFormatString that was set at the
5519 time Initialize was called (or null if initialize was never
5522 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
5524 * RadioButtonList.cs: bug fixes
5526 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
5528 * CheckBox.cs, RadioButton.cs: mecanism to avoid exposing
5529 AddAttributesToRender
5530 * RadioButtonList.cs: Implementation
5532 2005-08-01 Jackson Harper <jackson@ximian.com>
5534 * TableStyle.cs: Copy style bit when copying from another style.
5536 2005-08-01 Jackson Harper <jackson@ximian.com>
5538 * PagedDataSource.cs: Implement missing properties, use yield for
5539 the Enumerator methods. Only allow the enums to return one page at
5542 2005-08-01 Chris Toshok <toshok@ximian.com>
5544 * HyperLinkColumn.cs (ItemDataBinding): remove incorrect comment.
5546 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
5548 * WebControl.cs: Track enabled state across sessions
5550 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
5552 * ListControl.cs(OnDatabinding): Value is equivalent to text if
5555 2005-08-01 Jordi Mas i Hernandez <jordi@ximian.com>
5557 * ImageButton.cs: fixes, complete missing parts
5559 2005-07-31 Ben Maurer <bmaurer@ximian.com>
5561 * TextBox.cs: Html encode for multiline text boxes
5563 * HyperLink.cs: Resolve images
5565 2005-07-30 Chris Toshok <toshok@ximian.com>
5567 * BaseValidator.cs: initial version of 2.0 properties
5568 ValidationGroup and SetFocusOnError.
5570 2005-07-30 Chris Toshok <toshok@ximian.com>
5572 * HyperLinkColumn.cs (InitializeCell): clean this up.
5574 2005-07-30 Chris Toshok <toshok@ximian.com>
5576 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): just use
5577 DataBinder.FormatResult.
5578 (FormatDataTextValue): same.
5579 (Initialize): call base.Initialize.
5580 (ItemDataBinding): new function, get the text/navigateurl and set
5581 them on our HyperLink control.
5582 (InitializeCell): create a hyperlink control in the
5583 Item/EditItem/AlternatingItem case.
5585 2005-07-30 Ben Maurer <bmaurer@ximian.com>
5587 * RepeatInfo.cs: Handle 0 items situations correctly
5589 * HyperLink.cs: Resolve urls correctly
5591 * CheckBox.cs: use the correct ID for the label element.
5593 * Label.cs: Correct AddParsedSubObject impl. See FAQ
5595 2005-07-29 Chris Toshok <toshok@ximian.com>
5597 * BaseCompareValidator.cs (GetDateElementOrder): implement.
5599 2005-07-29 Chris Toshok <toshok@ximian.com>
5601 * BaseCompareValidator.cs (GetFullYear): implement two ways. The
5602 #if'ed out version follows microsoft's docs on msdn, but doesn't
5603 match ms's behavior. The other matches their behavior but not
5604 their docs. we use the latter. go figure.
5605 (get_CutoffYear): implement using
5606 CultureInfo.CurrentCulture.Calendar.TwoDigitYearMax.
5608 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5611 - Name property now throws exception when set to null
5612 - Names now handles situation where our bit tells us we have
5613 a font, but it's not in the StateBag (null removal)
5614 * RangeValidator.cs: Removed unused vars
5616 2005-07-29 Ben Maurer <bmaurer@ximian.com>
5618 * Label.cs: ClientID should be used rather than UniqueID to get
5621 2005-07-29 Chris Toshok <toshok@ximian.com>
5623 * BaseValidator.cs (Validatate): not sure if this is entirely
5624 correct (some fairly deep testing required), but setting Enabled =
5625 false has the effect of setting IsValid = true.
5627 2005-07-29 Ben Maurer <bmaurer@ximian.com>
5629 * RadioButton.cs: The "remove from groupstate" isn't needed any
5630 more, now that statebag is correct.
5632 2005-07-29 Dick Porter <dick@ximian.com>
5634 * RadioButton.cs: Hide nonstandard API; remove GroupName from the
5635 ViewState when it is null.
5637 * CheckBox.cs: Hide nonstandard API
5639 2005-07-29 Jordi Mas i Hernandez <jordi@ximian.com>
5641 * Calendar.cs: fixes exceptions, bug fixes, new features
5642 * SelectedDatesCollection.cs: Fixes bugs discovered by the tests
5643 * CalendarDay.cs: fixes default value
5645 2005-07-28 Ben Maurer <bmaurer@ximian.com>
5647 * CompositeControl.cs: Stub
5649 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5651 * EditCommandColumn.cs: Implemented
5653 2005-07-27 Chris Toshok <toshok@ximian.com>
5655 * RegularExpressionValidator.cs (EvaluateIsValid): "" is valid.
5657 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5659 * CustomValidator.cs: Bug fixes (Thanks to Chris for creating the
5662 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5664 * DataGrid.cs: DataGridPagerStyle does not need DataGrid as argument
5665 for it's constructor, so remove it
5666 * DataGridPagerStyle.cs: Removed DataGrid argument from constructor
5668 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
5670 * DataGridPagerStyle.cs: Implemented
5671 * TableItemStyle.cs (MergeWith): Now only sets style bits it owns
5672 * Style.cs: Added Styles enum values for DataGridPagerStyle
5674 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
5676 * Calendar.cs: get the styles right, honors more properties, fixes, fix
5679 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5681 * DataGridItem.cs: Implemented
5683 2005-07-26 Chris Toshok <toshok@ximian.com>
5685 * LinkButton.cs (AddParsedSubObject): reversed the order of
5686 Controls.Add() and Text = null
5687 (set_Text): call Controls.Clear()
5688 (RenderContents): use HasControls() for the if test instead of
5691 * HyperLink.cs (AddParsedSubObject): reversed the order of
5692 Controls.Add () and Text = null;
5694 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5696 * DataGridItemCollection.cs: Implemented
5698 2005-07-26 Chris Toshok <toshok@ximian.com>
5700 * LinkButton.cs (AddParsedSubObject): copy implementation from
5702 (RenderContents): only call writer.Write(Text) if Text != "".
5703 Otherwise default to base.RenderContents.
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): add if
5709 (Page != null) around my last commit.
5711 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
5713 * FontInfo.cs, CheckBox.cs, RadioButton.cs, ListItemCollection.cs:
5714 Fixed use of literal strings, instead using Consts
5715 * Xml.cs, RegularExpressionValidator.cs, TemplateColumn.cs,
5716 TextBox.cs, RequiredFieldValidator.cs, Repeater.cs, RepeaterItem.cs,
5717 Panel.cs, Literal.cs: Added attributes
5718 * BaseValidator.cs: Added missing override
5720 2005-07-26 Chris Toshok <toshok@ximian.com>
5722 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
5723 ImageButton.cs, LinkButton.cs (AddAttributesToRender): call
5724 Page.VerifyRenderingInServerFormHere.
5726 2005-07-26 Chris Toshok <toshok@ximian.com>
5728 * BaseValidator.cs: remove some MonoTODO's about the client side
5731 2005-07-26 Jordi Mas i Hernandez <jordi@ximian.com>
5733 * Calendar.cs: selection of dates, state load, save, track, support
5734 for new properties, many fixes.
5736 2005-07-26 Miguel de Icaza <miguel@novell.com>
5738 * Style.cs: Temporary methods to help buliding .NET 2.x
5740 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5742 * BaseValidator.cs: Added AssociateControlID (new in sp1), fixed
5744 * Xml.cs: Fixed base class, attributes
5745 * Button.cs, DataGridColumnCollection.cs, HyperLinkColumn.cs,
5746 Label.cs, ListItem.cs, ListControl.cs, CustomValidator.cs,
5747 CheckBoxList.cs, AdRotator.cs, DropDownList.cs, HyperLink.cs,
5748 DataGrid.cs, ButtonColumn.cs, CompareValidator.cs, Calendar.cs,
5749 ListBox.cs, ImageButton.cs, LinkButton.cs: Attribute fixes
5751 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5753 * RepeatInfo.cs: WOOHOOO! all tests pass. Boy is this class
5756 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5758 * RepeatInfo.cs: If the repeater has one column, the separators
5759 are rendered on a different line
5761 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5763 * DataGridSortCommandEventArgs: Sealed class
5764 * ButtonColumn.cs, Calendar.cs: Added Attributes
5766 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5768 * Button.cs, Style.cs, BaseCompareValidator.cs, RangeValidator.cs,
5769 BaseValidator.cs, AdRotator.cs, BoundColumn.cs: Added Attributes
5771 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
5773 * FontInfo.cs, Style.cs, RangeValidator.cs, ListItemCollection.cs,
5774 DropDownList.cs, WebControl.cs, ValidationSummary.cs: Added Attributes
5776 2005-07-25 Chris Toshok <toshok@ximian.com>
5778 * ValidationSummary.cs (AddAttributesToRender): add client side
5780 (OnPreRender): set the "been here" flag.
5781 (Render): add client side support.
5783 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5785 * RepeatInfo.cs: Split the horiz and vertical cases, because this
5786 class has rules that are beyond strange. Continue working to make
5789 2005-07-25 Ben Maurer <bmaurer@ximian.com>
5791 * RepeatInfo.cs: Misc fixes for my test suite.
5793 2005-07-25 Jackson Harper <jackson@ximian.com>
5795 * DataGrid.cs: Set the command name and args on the link buttons.
5797 2005-07-25 Jackson Harper <jackson@ximian.com>
5799 * DataGrid.cs: Lots o implementation.
5801 2005-07-25 Jackson Harper <jackson@ximian.com>
5803 * BoundColumn.cs: Partial implementation to get the DataGrid tests
5806 2005-07-23 Jordi Mas i Hernandez <jordi@ximian.com>
5808 * Button.cs: fixes events, adds attributes
5810 2005-07-23 Chris Toshok <toshok@ximian.com>
5812 * BaseValidator.cs (GetControlValidateValue): handle ListItems as
5813 prop.GetValue results.
5814 (Render): fix the static non-uplevel case, so that we display text
5815 when there's an error.
5817 2005-07-22 Chris Toshok <toshok@ximian.com>
5819 * RegularExpressionValidator.cs (AddAttributesToRender): only
5820 output ValidationExpression if it's != null.
5822 2005-07-22 Chris Toshok <toshok@ximian.com>
5824 * BaseValidator.cs (AddAttributesToRender): fix up the Display
5825 rendering such it matches MS's output.
5826 (Render): stop using the huge complicated if's for each output
5827 stage and move to boolean flags, and fix the static-nonuplevel
5828 case, where a validator outputs as nothing but
5830 2005-07-22 Jordi Mas i Hernandez <jordi@ximian.com>
5831 * Calendar.cs: Initial implementation
5832 * CalendarSelectionMode.cs: fix enum order
5834 2005-07-22 Sebastien Pouliot <sebastien@ximian.com>
5836 * DataList.cs: Rewrote the IRepeatInfoUser.RenderItem to support all
5837 (or more?) specific cases - including correct support for separators.
5838 Added some (commented) debugging code.
5839 * HyperLink.cs: Only render href and target attributes if they're not
5840 empty. Add "border=0" when rendering <img> tag. Fix Target default
5843 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
5845 * Style.cs (CopyFrom): Reset must go, MS doesn't do it (See tests)
5847 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
5849 * Style.cs (CopyFrom): Reset our styles and don't set bits from
5850 target explicitly, properties will set them
5852 2005-07-22 Dick Porter <dick@ximian.com>
5855 * ButtonColumn.cs: Initial stubs
5857 2005-07-22 Dick Porter <dick@ximian.com>
5860 * CheckBox.cs: Add assembly attributes
5862 2005-07-22 Ben Maurer <bmaurer@ximian.com>
5864 * HyperLink.cs: Handle non-literal children.
5866 2005-07-21 Ben Maurer <bmaurer@ximian.com>
5868 * Label.cs: SP1 stuff
5870 2005-07-21 Chris Toshok <toshok@ximian.com>
5872 * BaseValidator.cs (RegisterValidatorCommonScript): remove the NS4
5873 stuff that I c&p'ed from elsewhere - NS4 doesn't support the DOM1
5874 stuff WebUIValidation.js uses, so we don't support it for uplevel
5877 2005-07-21 Chris Toshok <toshok@ximian.com>
5879 * BaseValidator.cs (DetermineRenderUplevel): include checks for
5880 the EcmaScriptVersion and W3CDomVersion.
5882 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
5884 * BaseDataList.cs: Support IEnumerable.
5885 * DataList.cs: Fix alternate items.
5886 * TableCell.cs: Fixed AddParsedSubObject to work nicely with existing
5887 controls and the Text property.
5889 2005-07-21 Ben Maurer <bmaurer@ximian.com>
5891 * TextBoxMode.cs: Wrong ordering of enum...
5893 2005-07-21 Chris Toshok <toshok@ximian.com>
5895 * BaseValidator.cs (OnPreRender): call DetermineRenderUplevel and
5898 2005-07-21 Chris Toshok <toshok@ximian.com>
5900 * BaseValidator.cs (get_PropertiesValid): use our containing
5901 NamingContainer, not ourselves, to look up controls.
5902 (CheckControlValidationProperty): same.
5903 (GetControlRenderID): same.
5904 (GetControlValidationValue): same.
5905 (AddAttributesToRender): add the display style attribute if
5906 Display != Static, and add the value of IsValid if it's false.
5907 (DetermineRenderUplevel): use a try block around (Page.Request)
5908 since that can raise an exception.
5909 (OnPreRender): set pre_render_called, so we can consult it in
5911 (Render): complicate this method more to handle more of the
5912 Display/pre_render_called permutations.
5914 2005-07-21 Peter Dennis Bartok <pbartok@novell.com>
5916 * CustomValidator.cs: Initial implementation, still work in progress
5918 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
5920 * DataList.cs: Fix rendering for special items (-1).
5922 2005-07-21 Ben Maurer <bmaurer@ximian.com>
5924 * RepeatInfo.cs: Fix most of the tests.
5926 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
5928 * Image.cs: Call ResolveUrl for ImageUrl and DescriptionUrl properties.
5929 Add a border=0 attribute if no style is defined.
5930 * TableCell.cs: Use HtmlTextWriterTag (not a string).
5931 * TableHeaderCell.cs: Use HtmlTextWriterTag (not a string).
5932 * TableRow.cs: Use HtmlTextWriterTag (not a string).
5934 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
5936 * BaseDataList.cs: Fix attributes.
5937 * HorizontalAlign.cs: Fix attributes.
5938 * Image.cs: Fix attributes and enums checks.
5939 * Table.cs: Fix attributes an enums checks.
5940 * TableCell.cs: Fix attributes.
5941 * TableCellCollection.cs: Fix attributes.
5942 * TableItemStyle.cs: Fix attributes and enums checks.
5943 * TableRowCollection.cs: Fix attributes.
5944 * TableRow.cs: Fix attributes.
5945 * TableStyle.cs: Fix attributes and enums checks.
5946 * VerticalAlign.cs: Fix attributes.
5948 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
5950 * BaseDataList.cs: Remove/#if-out useless/2.0 stuff.
5951 * DataList.cs: Added rendering support when ExtractTemplatesRows
5952 property is true (but RepeatInfo needs to be fixed to see it works).
5953 * DataListItem.cs: Added rendering support when extractRows parameter
5954 is true (but RepeatInfo still needs to be fixed ;-)
5956 2005-07-21 Duncan Mak <duncan@novell.com>
5958 * HyperLinkColumn.cs: Initial implementation.
5959 Todo: Figure out Initialize and InitializeCell.
5961 2005-07-20 Chris Toshok <toshok@ximian.com>
5963 * BaseValidator.cs: don't use Page.FindControl, use this Control's
5964 FindControl, so it'll use the same naming container.
5966 2005-07-21 Duncan Mak <duncan@novell.com>
5968 * DataGridCommandEventArgs.cs:
5969 * DataGridPageChangedEventArgs.cs:
5970 * RepeaterCommandEventArgs.cs: Fixed visibility.
5972 * DataGridPageChangedEventArgs.cs (CommandSource): Fixed typo.
5973 * DataGridSortCommandEventArgs.cs (CommandSource): Ditto..
5975 2005-07-20 Chris Toshok <toshok@ximian.com>
5977 * Button.cs: hook up the client side validation stuff.
5979 * ImageButton.cs: same.
5981 * LinkButton.cs: same, although it's a little more complicated
5984 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
5987 - Implemented RaisePostDataChangedEvent()
5988 - Spewing postback command if AutoPostBack is true
5990 2005-07-20 Chris Toshok <toshok@ximian.com>
5992 * BaseValidator.cs: another Page != null check when uplevel
5995 2005-07-20 Chris Toshok <toshok@ximian.com>
5997 * BaseValidator.cs: check Page != null when determining if we're
5998 rendering uplevel or not.
6000 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6002 * ListItemCollection.cs: Removed obsolete method that's no longer
6005 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6007 * DropDownList.cs: Oops. Forgot to implement LoadPostData
6008 * ListItemCollection.cs: Added convenience method to have faster
6011 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6014 - Automatically select the first item if none are selected
6015 - Throw exception if more than one item is selected
6017 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6019 * DataList.cs: Fix style handling for RepeatLayout.Flow (which isn't
6020 handled by RepeatInfo).
6022 2005-07-20 Jackson Harper <jackson@ximian.com>
6024 * DataGrid.cs: Store the data source created columns in a
6025 DataGridColumnCollection. This way they can be put in the
6026 view state more easily, and accessed without casting.
6028 2005-07-20 Chris Toshok <toshok@ximian.com>
6030 * BaseValidator.cs (AddAttributesToRender): render the client side
6031 attributes if we're in uplevel mode.
6032 (DetermineRenderUplevel): flesh out a bit - for now basically
6033 return true unless the control has it disabled.
6034 (OnInit): only add the validator to Page's list if there is, in
6036 (OnUnload): same for removal.
6037 (OnPreRender): hook up client scripting stuff here. Only the call
6038 to RegisterValidatorCommonScript is a for sure thing here, the
6039 registering of the submit statement and startup script should
6040 probably go elsewhere, but I don't know where.
6041 (RegisterValidatorCommonScript): register the <script
6042 src=".../WebUIValidation.js"> tag, if it's not already there.
6043 (RegisterValidatorDeclaration): add our span object to the
6044 Page_Validators JS array.
6045 (Render): always render the tags (although this is probably not
6046 right), and call RegisterValidatorDeclaration here.
6048 * BaseCompareValidator.cs (AddAttributesToRender): render the
6049 client side attributes if we're in uplevel mode.
6050 (DetermineRenderUplevel): add MonoTODO.. why override this? Just
6051 call base.DetermineRenderUplevel for now.
6053 * RegularExpressionValidator.cs (AddAttributesToRender): render
6054 the client side attributes if we're in uplevel mode.
6056 * RequiredFieldValidator.cs (AddAttributesToRender): same.
6058 * CompareValidator.cs (AddAttributesToRender): same.
6060 2005-07-20 Jackson Harper <jackson@ximian.com>
6062 * DataGrid.cs: Save the data source created column set in the
6065 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6067 * DataList.cs: Fix events and properties exceptions. Give the right
6068 informations to RenderItem.
6070 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
6072 * ValidationSummary.cs: Implemented rendering
6074 2005-07-20 Jackson Harper <jackson@ximian.com>
6076 * DataGrid.cs: column names are cached and only regenerated if useDataSource
6077 is set to true. Otherwise they are just fetched from the last set that
6078 was generated from the source.
6080 2005-07-20 Jackson Harper <jackson@ximian.com>
6082 * DataGrid.cs: Assign some properties of newly created BoundColumns.
6084 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6086 * DataList.cs: Fix viewstate ordering.
6088 2005-07-20 Ben Maurer <bmaurer@ximian.com>
6090 * SelectedDatesCollection.cs: Apprarently, I don't write code well
6093 * Repeater.cs: Uh, actually add stuff to the items collection
6096 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6098 * BaseDataList.cs: EnsureChildControls on Controls property.
6099 * DataList.cs: Fix rendering and Controls/Items differences.
6100 * DataListItem.cs: Added rendering of controls.
6102 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
6104 * BaseDataList.cs: Don't call base.Render (or we'll get an extra span).
6106 2005-07-20 Jackson Harper <jackson@ximian.com>
6108 * DataGrid.cs: Add some of the collections. Implement
6111 2005-07-20 Jackson Harper <jackson@ximian.com>
6113 * PagedDataSource.cs: Implement GetItemProperties, this is
6114 needed for the datagrid.
6116 2005-07-20 Ben Maurer <bmaurer@ximian.com>
6118 * DataGridColumnCollection.cs: New impl
6120 * TemplateColumn.cs: New impl
6122 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
6124 * BaseDataList.cs: Call PrepareControlHierarchy from Render.
6125 * DataList.cs: Work in progress... Added attributes, proper
6126 IRepeatInfoUser support and cool things stolen from other classes.
6127 * DataListCommandEventArgs.cs: Class is sealed.
6128 * DataListItem.cs: RenderItem is public.
6130 2005-07-19 Jackson Harper <jackson@ximian.com>
6132 * ListControl.cs: Use Events Add/RemoveHandler. Don't create
6133 a viewstate object if all the viewstate stuff is null.
6135 2005-07-19 Jackson Harper <jackson@ximian.com>
6137 * DataGrid.cs: Implement style properties and viewstate
6138 saving/loading/tracking.
6140 2005-07-19 Chris Toshok <toshok@ximian.com>
6142 * BaseValidator.cs: more fixes from pdb.
6144 2005-07-19 Chris Toshok <toshok@ximian.com>
6146 * BaseValidator.cs: some test-driven fixes.
6148 2005-07-19 Chris Toshok <toshok@ximian.com>
6150 * BaseValidator.cs: Initial implementation.
6152 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
6154 * Repeater.cs: Fix small typo.
6156 2005-07-19 Peter Dennis Bartok <pbartok@novell.com>
6158 * ValidationSummaryTest.cs: Started implementation
6159 * RangeValidator.cs: Implemented
6160 * ValidatedControlConverter.cs: Implemented
6161 * DropDownList.cs: Implemented
6163 2005-07-19 Jackson Harper <jackson@ximian.com>
6165 * DataGrid.cs: Implement bubble event.
6167 2005-07-19 Jackson Harper <jackson@ximian.com>
6169 * DataGrid.cs: New implementation. Just properties and events for
6172 2005-07-18 Chris Toshok <toshok@ximian.com>
6174 * BaseCompareValidator.cs: Initial implementation, with some NYI.
6176 2005-07-19 Ben Maurer <bmaurer@ximian.com>
6178 * FontUnit.cs: Corcompare fixes
6180 * UnitConverter.cs: Fix api diffs
6182 2005-07-18 Ben Maurer <bmaurer@ximian.com>
6184 * ListControl.cs: Fix api differences
6186 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
6188 * Table.cs: Fix indentation for caption. Simplify check when adding
6190 * TableRow.cs: Simplify check when adding controls.
6192 2005-07-18 Chris Toshok <toshok@ximian.com>
6194 * CompareValidator.cs: wtf, just use the base class's methods.
6196 2005-07-18 Chris Toshok <toshok@ximian.com>
6198 * CompareValidator.cs: do comparisons based on
6199 BaseCompareValidator.Type.
6201 2005-07-18 Chris Toshok <toshok@ximian.com>
6203 * CompareValidator.cs: initial implementation.
6205 2005-07-18 Chris Toshok <toshok@ximian.com>
6207 * RegularExpressionValidator.cs: initial implementation.
6209 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
6211 * DataList.cs: Fixed to match 1.1 behaviour (and new unit tests).
6213 2005-07-18 Jackson Harper <jackson@ximian.com>
6215 * CheckBoxList.cs: Implement LoadPostBackData. Also register
6216 checkboxes for postback if they are checked so we can find
6217 out when they are unchecked. Copy the AutoPostBack variable
6218 to the to be rendered checkbox when rendering.
6220 2005-07-18 Ben Maurer <bmaurer@ximian.com>
6222 * TextBox.cs: Finish this up.
6224 * AdRotator.cs: Fix issues in the test suite. Minor style
6227 * Repeater.cs: Fix a bug where the datasource is null and we do
6230 * WebColorConverter.cs: Optimize by not doing a concat on a
6233 2005-07-17 Ben Maurer <bmaurer@ximian.com>
6235 * ListItemCollection.cs: Multiple uses of equals rather than
6236 string.compare as below. Remove unreachable code warning.
6238 * WebColorConverter.cs (ConvertTo): Use the == operator on string
6239 rather than an invariant non-case ignoring compare. They are
6240 exactly the same thing. Use proper coding style in this method.
6242 * WebControl.cs: Return null when saving the view state if there
6243 is no state in any of the things we save. This creates a fairly
6244 large savings, because we can avoid saving anything about many
6245 levels of deaply nested controls.
6247 2005-07-15 Jackson Harper <jackson@ximian.com>
6249 * CheckBoxList.cs: Use the index as the ID, the rest of the
6250 id is built by being in the NamingContainer.
6252 2005-07-15 Jackson Harper <jackson@ximian.com>
6254 * ListControl.cs: Use enum instead of string. Saves a lookup.
6256 2005-07-15 Jackson Harper <jackson@ximian.com>
6258 * CheckBoxList.cs: FindControl always returns 'this' according
6261 2005-07-15 Jackson Harper <jackson@ximian.com>
6263 * CheckBoxList.cs: New impl.
6265 2005-07-15 Jackson Harper <jackson@ximian.com>
6267 * WebControl.cs: Use the ClientID when rendering a controls ID
6268 attribute so that naming containers are honoured.
6270 2005-07-15 Jackson Harper <jackson@ximian.com>
6272 * ListControl.cs: use the state manager interface for tracking
6275 2005-07-15 Ben Maurer <bmaurer@ximian.com>
6277 * Repeater.cs (DoItem): Add the DataItem before we call user
6278 methods, as it seems to be there with msft.
6280 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
6282 * BaseDataList.cs: New. (mostly complete) implementation.
6283 * DataKeyCollection.cs: New. Implementation (complete).
6284 * DataList.cs: New. (mostly incomplete) implementation.
6285 * DataListItem.cs: New. (mostly complete) implementation.
6286 * DataListItemCollection.cs: New. Implementation (complete).
6288 2005-07-15 Ben Maurer <bmaurer@ximian.com>
6290 * Repeater.cs (DoItem): We need to .Add the control *before* we
6291 data bind it so that the state gets tracked correctly. Fixes the
6294 2005-07-15 Jackson Harper <jackson@ximian.com>
6296 * ListControl.cs: Simplify comparison.
6298 2005-07-15 Jackson Harper <jackson@ximian.com>
6301 * Repeater.cs: Use new utility class for resolving data sources.
6303 2005-07-15 Jackson Harper <jackson@ximian.com>
6305 * ListControl.cs: Add attributes so the sub items get parsed
6306 properly. Remove old unneeded code for resolving lists.
6308 2005-07-15 Jackson Harper <jackson@ximian.com>
6310 * ListControl.cs: Use the DataSourceHelper so DataMembers are
6313 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6316 - Some optimizations
6317 * Don't use enum formatting stuff, it is 1) expensive 2) does
6318 allocations. Use a new method in HtmlControl to do the right
6320 * Don't use Enum.IsDefined but an explicit check.
6321 * (x == "" || x.Length < 2) is not needed since "".Length == 0 < 2
6322 - Use the correct coding style.
6324 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6326 * WebColorConverter.cs:
6327 - Alpha of 255 is only set if the hex number is exactly 6 digits
6328 - Ben didn't like the catch { throw; } (even though MS documents to
6330 - Use Invariant Culture for parsing (thanks, Ben)
6332 2005-07-14 Jackson Harper <jackson@ximian.com>
6334 * ListControl.cs: Use DataBinder.Eval for data binding. This is more
6335 code-reuse-arific. Also use the IStateManager interface for loading
6336 data instead of the old internal method.
6338 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6340 * WebColorConverter.cs: Implemented
6342 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6344 * Repeater.cs: Cleanup; use the DataSourceHelper thingy.
6346 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6348 * Repeater.cs: Get it working
6350 2005-07-14 Jackson Harper <jackson@ximian.com>
6352 * ListControl.cs: Initial implementation of Databinding. Make sure
6353 that the ListItemCollection is created when we load its ViewState.
6355 2005-07-14 Jackson Harper <jackson@ximian.com>
6357 * ListControl.cs: Fix typo.
6359 2005-07-14 Jackson Harper <jackson@ximian.com>
6361 * ListControl.cs: New Implementation. Lacks databinding support.
6363 2005-07-14 Ben Maurer <bmaurer@ximian.com>
6365 * Repeater.cs: The beginnings of this control
6367 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
6369 * TargetConverter.cs: Implemented
6371 2005-07-14 Duncan Mak <duncan@novell.com>
6373 * PagedDataSource.cs: Initial implementation.
6375 Methods that need to be figured out:
6376 CopyTo, GetItemProperties, PageCount, IsLastPage.
6378 To complete: CollectionEnumerator, ListEnumerator.
6380 2005-07-13 Duncan Mak <duncan@novell.com>
6382 * RepeatDirection.cs:
6384 * ValidationCompareOperator.cs:
6385 * ValidationDataType.cs:
6386 * ValidationSummaryDisplayMode.cs:
6387 * ValidatorDisplay.cs: Added remaining enumerations.
6389 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6391 * FontNamesConverter.cs: Implemented
6393 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6395 * RepeaterItem.cs: Compile fix
6397 * RepeaterItemCollection.cs: New file
6399 * RepeaterItem.cs: get OnBubbleEvent right.
6401 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6403 * ListItemCollection.cs: Count can be derived from the array, which
6404 allows us to use a Pair instead of a Triplet and save some space
6406 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6408 * RepeaterItem.cs: Stub
6410 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6412 * ListItemCollection.cs: Implemented
6413 * WebControl.cs: Added check for enumeration validity (thanks Jackson)
6415 2005-07-13 Ben Maurer <bmaurer@ximian.com>
6417 * RepeatInfo.cs: Impl.
6419 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6421 * FirstDayOfWeek.cs: Added
6423 2005-07-13 Jackson Harper <jackson@ximian.com>
6425 * ListBox.cs: Some parameter checking.
6427 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6429 * Image.cs: Added support for DescriptionUrl as this property was
6430 added in Fx 1.1 SP1.
6432 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
6434 * Style.cs (AddAttributesToRender): Don't render attributes if they
6435 contain only their default value
6437 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6439 * Table.cs: New. Initial re-implementation.
6440 * TableCell.cs: New. Initial re-implementation.
6441 * TableCellCollection.cs: New. Initial re-implementation.
6442 * TableHeaderCell.cs: New. Initial re-implementation.
6443 * TableItemStyle.cs: New. Initial re-implementation.
6444 * TableRow.cs: New. Initial re-implementation.
6445 * TableRowCollection.cs: New. Initial re-implementation.
6446 * TableStyle.cs: New. Initial re-implementation.
6448 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6450 * Style.cs: Removed the call to Reset in CopyFrom. This fix the new
6451 unit tests (for Style) and more tests in Table* classes.
6453 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
6455 * Style.cs: TableStyle and TableItemStyle don't override IsEmpty,
6456 however IsEmpty returns false if any of their properties are set.
6457 Looks ugly but it's compatible with MS implementation (feature and
6460 2005-07-13 Dick Porter <dick@ximian.com>
6462 * CheckBox.cs: Reverted Ben's enum-to-int ViewState change, remove
6463 null Text properties from the ViewState, test for TextAlign being
6464 out of range. All to make tests pass on both mono and ms
6467 2005-07-13 Jackson Harper <jackson@ximian.com>
6469 * ListBox.cs: Use invariant culture when doing a ToString,
6470 set value to the item's value, not to its Text.
6472 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6474 * WebControl.cs (AddAttributesToRender): Added ID to rendered
6477 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6479 * Style.cs(MergeWith): Handle null styles
6481 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
6483 * TableCaptionAlign.cs: This enum was added in 1.1 SP1 so I removed
6484 the #if NET_2_0 on it.
6486 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6488 * Style.cs: Only render font elements if fontinfo object exists
6490 - Implemented SaveViewState()
6491 - Added loading of Style to LoadViewState
6492 - Implemented IAttributeAccessor methods
6494 2005-07-12 Jackson Harper <jackson@ximian.com>
6496 * ListBox.cs: Even track default values in the viewstate. Call
6497 base's RenderContents.
6499 2005-07-12 Jackson Harper <jackson@ximian.com>
6501 * ListBox.cs: New impl.
6503 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6506 - Implemented methods
6509 2005-07-12 Ben Maurer <bmaurer@ximian.com>
6511 * ListItem.cs: New impl.
6513 2005-07-12 Duncan Mak <duncan@novell.com>
6515 * DayNameFormat.cs: Added.
6517 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
6519 * WebControl.cs: Implemented properties
6521 2005-07-12 Ben Maurer <bmaurer@ximian.com>
6523 * TextBox.cs: Passwords seem 1) not to be rendered to the client
6524 if set, 2) not kept in view state (for security reasons...)
6527 * Button.cs: Page.Validate () if needed. Gets the validator tests
6530 * TextBox.cs: Properties to get the validator stuff to work.
6532 2005-07-12 Miguel de Icaza <miguel@novell.com>
6534 * Unit.cs: If the units are pixels, then truncate the value.
6536 2005-07-12 Dick Porter <dick@ximian.com>
6538 * RadioButton.cs: New implementation
6540 * CheckBox.cs: Rearrange the attributes rendering to allow
6541 RadioButton to derive from this
6543 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
6545 * TitleFormat.cs: Add attribute
6546 * TextBoxMode.cs: Add attribute
6547 * CalendarDay.cs: Initial implementation
6548 * ImageButton.cs: Initial implementation
6549 * CalendarSelectionMode.cs:Initial implementation
6551 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
6553 * TextBoxMode.cs: simple enum
6554 * TitleFormat.cs: simple enum
6556 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6558 * FontInfo.cs: Now using BenM's fancy internal StateBag methods
6560 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6562 * FontUnit.cs: Added TypeConverter attribute to class
6563 * FontUnitConverter.cs: Implemented
6565 2005-07-11 Ben Maurer <bmaurer@ximian.com>
6568 * Button.cs: Bubble the Command event.
6570 2005-07-11 Ben Maurer <bmaurer@ximian.com>
6573 - Clean up style (with my wonderful state bag hack!)
6574 - Fix a view state typo.
6575 - Use AddAttributesToRender
6576 - Don't add an extra <span>
6578 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
6580 * Style.cs: Handle null constructor argument for bag
6582 2005-07-11 Dick Porter <dick@ximian.com>
6584 * CheckBox.cs: New implementation
6586 * RadioButton.cs: Initial stubbed version that just compiles
6588 2005-07-10 Jordi Mas i Hernandez <jordi@ximian.com>
6590 * Button.cs: Initial Button implementation
6592 2005-07-10 Sebastien Pouliot <sebastien@ximian.com>
6594 * VerticalAlign.cs: Fixed enum name (copy/paste from HorizontalAlign).
6596 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
6598 * HorizontalAlign.cs: Typo in header.
6599 * VerticalAlign.cs: New. Required enum for TableRow control.
6601 2005-07-09 Ben Maurer <bmaurer@ximian.com>
6603 * TextBox.cs: More work on this
6605 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
6607 * GridLines.cs: New. Required enum for Table control.
6608 * HorizontalAlign.cs: New. Required enum for Table control.
6610 2005-07-09 Duncan Mak <duncan@novell.com>
6612 * CommandEventHandler.cs:
6613 * DataGridCommandEventHandler.cs:
6614 * DataGridItemEventHandler.cs:
6615 * DataGridPageChangedEventHandler.cs:
6616 * DataGridSortCommandEventHandler.cs:
6617 * DataListCommandEventHandler.cs:
6618 * DayRenderEventHandler.cs:
6619 * RepeaterCommandEventHandler.cs:
6620 * ServerValidateEventHandler.cs: Add delegates.
6623 * ListSelectionMode.cs:
6624 * NextPrevFormat.cs:
6626 * PagerPosition.cs: Add enums.
6628 2005-07-09 Ben Maurer <bmaurer@ximian.com>
6630 * TextBox.cs: Add the work I did on this today. It's not complete
6631 yet, but its a start!
6633 2005-07-09 Duncan Mak <duncan@novell.com>
6635 * CommandEventArgs.cs:
6636 * DataGridCommandEventArgs.cs:
6637 * DataGridItemEventArgs.cs:
6638 * DataGridPageChangedEventArgs.cs:
6639 * DataGridSortCommandEventArgs.cs:
6640 * DataListCommandEventArgs.cs:
6641 * DataListItemEventArgs.cs:
6642 * DayRenderEventArgs.cs:
6643 * RepeaterCommandEventArgs.cs:
6644 * RepeaterItemEventArgs.cs:
6645 * ServerValidateEventArgs.cs: Implemented.
6647 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
6649 * Image.cs: New. Image class implementation.
6650 * ImageAlign.cs: New. ImageAlign enum definitions.
6652 2005-07-08 Jackson Harper <jackson@ximian.com>
6654 * Literal.cs: New implentation.
6655 * MonthChangedEventArgs.cs: new
6656 * MonthChangedEventHandler.cs: new
6658 2005-07-08 Ben Maurer <bmaurer@ximian.com>
6660 * LinkButton.cs: Command impl
6662 2005-07-08 Ben Maurer <bmaurer@ximian.com>
6664 * LinkButton.cs: Initial impl
6666 2005-07-08 Jackson Harper <jackson@ximian.com>
6668 * AdCreatedeventArgs.cs: New implementation.
6670 2005-07-08 Dick Porter <dick@ximian.com>
6673 * BorderStyle.cs: Added
6675 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
6677 * FontInfo.cs: Fixed behaviour discrepancies showed by tests
6679 2005-07-07 Miguel de Icaza <miguel@novell.com>
6681 * Xml.cs: New implementation. R00lz.
6683 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
6685 * FontInfo.cs: Added and implemented.
6686 * Style.cs: Fixed behaviour discrepancies showed by tests
6688 2005-07-07 Ben Maurer <bmaurer@ximian.com>
6690 * PlaceHolderControlBuilder.cs: new file
6692 * LabelControlBuilder.cs: New file
6694 * HyperLink.cs: use control builder; fix parsing stuff
6696 * HyperLinkControlBuilder.cs: new file
6698 * Panel.cs: misc fixes
6700 2005-07-07 Miguel de Icaza <miguel@novell.com>
6702 * Unit.cs: Add TypeConverter, so that web_panel.aspx works again.
6704 * UnitConverter.cs: Add new file, learned from the
6705 System.Drawing.ColorConverter.
6707 2005-07-07 Ben Maurer <bmaurer@ximian.com>
6709 * PlaceHolder.cs: New file. Seems to do nothing
6711 * Label.cs: Use my new statebag trick to reduce typing
6713 * HyperLink.cs: New file
6715 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
6717 * Style.cs: Added and implemented.
6719 2005-07-06 Miguel de Icaza <miguel@novell.com>
6721 * FontUnit.cs: New file.
6723 * Unit.cs: New file.
6725 Added support for null and empty string constructors.
6727 2005-07-06 Ben Maurer <bmaurer@ximian.com>
6729 * Unit.cs: cctor not needed; static fields are 0 init'd by default
6731 * WebControl.cs: Kothari & Datye's book explains how these work.
6733 * IRepeatInfoUser.cs: Reimpl.
6735 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
6737 * WebControl.cs: Added stub
6739 2005-07-05 Miguel de Icaza <miguel@novell.com>
6741 * Label.cs: First control.
6743 2005-06-27 Lluis Sanchez Gual <lluis@novell.com>
6745 * DataControlField.cs: Ignore the ShowHeader property when
6746 building the control's content. It is the resposability of
6747 the field container to decide if the header should be shown
6750 2005-06-10 Lluis Sanchez Gual <lluis@novell.com>
6753 * ImageFieldMode.cs:
6754 * DynamicImageParameterMode.cs:
6755 * TableViewMode.cs: Removed.
6759 * TableRowSection.cs:
6760 * AutoCompleteType.cs:
6761 * DayNameFormat.cs: Track changes in 2.0 api.
6763 * StringArrayConverter.cs: This class is 2.0 only.
6765 2005-06-06 Lluis Sanchez Gual <lluis@novell.com>
6769 * DetailsView.cs: Bind the control after creating all child
6771 * DataBoundControl.cs: Call OnDataBinding and OnDataBound in
6772 the correct methods.
6773 * BaseDataBoundControl.cs: Don't call DataBind nor OnDataBound
6774 in this class. This is done in DataBoundControl. All this fixes
6777 2005-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6779 * ListItemCollection.cs: Patch from Curtis (eto@shaw.ca) that fixes
6780 FindByText. Closes bug #74205.
6782 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6784 * PagedDataSource.cs: patch by Suresh Kumar that makes PageCount return
6785 1 when there's a datasource and 0 pages. Closes bug #73864.
6787 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
6794 * MenuItemTemplateContainer.cs:
6795 * DetailsView.cs: Track changes in the IDataItemContainer interface.
6797 * CommandField.cs: Added CausesValidation property. Set that
6798 property value to all buttons of the field.
6800 * SqlDataSourceView.cs:
6801 * CollectionDataSource.cs:
6802 * XmlDataSourceView.cs: Properly initialize the base class.
6804 * SiteMapDataSource.cs:
6805 * SiteMapHierarchicalDataSourceView.cs:
6806 * SiteMapNodeItem.cs:
6807 * SiteMapDataSourceView.cs:
6808 * SiteMapPath.cs: Mostly implemented.
6810 * HierarchicalDataBoundControl.cs: Always bind the control when the
6811 page is loaded for the first time.
6813 * TreeView.cs: Properly bind the control when loaded from a callback.
6815 2005-05-21 Ben Maurer <bmaurer@ximian.com>
6817 * BaseDataList.cs: Caption is in 1.1 too, though not
6818 documented. Gonz owes me [more] ice cream. Yummmmm.
6820 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6822 * BaseDataList.cs: implemented 2.0 Caption property.
6824 2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
6826 * TreeView.cs: Always render the startup script. This fixes
6829 2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
6831 * WizardStepBase.cs:
6832 * WizardStep.cs: Added missing attributes.
6833 * Wizard.cs: Implemented missing methods and properties. It can now
6834 be considered feature complete.
6836 2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6838 * DataGrid.cs: cleanup in AutoCreateColumns. Don't throw at the end of
6839 the method if the data source was en empty IEnumerator. Fixes
6842 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
6846 * Menu.cs: Implemented some new properties from beta 2.
6848 * DataControlButton.cs: Render the ControlStyle if it
6852 * FontUnitConverter.cs: Improved the conversion to InstanceDescriptor.
6853 It will now generate an object creation, instead of a Parse call.
6855 * GridViewCommandEventArgs.cs: Added missing property.
6856 * SubMenuStyleCollection.cs: This class is not sealed.
6857 * MultiView.cs: Set Visible=false to all views that are not
6858 shown. This ensures that it's view state is saved.
6860 * BaseDataBoundControl.cs:
6861 * GridViewDeletedEventArgs.cs: Minor api fixes.
6863 * FormViewDeleteEventArgs.cs:
6864 * DetailsViewDeletedEventArgs.cs:
6865 * ListControl.cs: Fix warnings.
6869 * HotSpotCollection.cs
6872 * RectangleHotSpot.cs
6873 * WizardStepCollection.cs : Implemented.
6877 * Wizard.cs: Initial implementation.
6879 2005-05-04 Lluis Sanchez Gual <lluis@novell.com>
6881 * DataControlField.cs:
6885 * DataControlCommands.cs:
6886 * DetailsView.cs: Use constants to identify commands.
6888 * SubMenuStyle.cs: Use Unit instead of int for padding.
6889 * SubMenuStyleCollection.cs: Implemented.
6892 * Menu.cs: Added some missing methods and properties.
6895 * DataGridPagerStyle.cs: Fixed default value attributes.
6896 * ListControl.cs: Implemented IEditableTextControl interface.
6898 * MenuItemBinding.cs: Added Selectable property.
6899 * CustomValidator.cs: removed interface.
6901 * MenuItem.cs: Added support for custom binding.
6902 * DropDownList.cs: Moved text properties to base class.
6904 2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6906 * Calendar.cs: OnDayRender can toggle IsSelectable on our back.
6908 2005-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6910 * Calendar.cs: when the day is active, modify the text of the literal
6911 control that holds the number, not the text of the TableCell. Also call
6912 OnDayRender before updating that text. Fixes bug #74718.
6914 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
6916 * DataKey.cs: Added virtual TrackViewState and IsTrackingViewState
6918 * DataControlFieldHeaderCell.cs: Save Scope in view state.
6919 Added AbbreviatedText property.
6920 * AutoGeneratedField.cs: The constructor should actually be internal.
6921 * DataGridItem.cs: Added implemented interface in 2.0.
6922 * DataControlFieldCollection.cs: Implemented CloneFields and
6926 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6928 * StringArrayConverter.cs:
6929 * Calendar.cs: warnings.
6931 2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
6933 * FormViewDeleteEventArgs.cs:
6934 * FormViewInsertEventArgs.cs:
6935 * FormViewUpdateEventArgs.cs:
6936 * FormViewDeletedEventArgs.cs:
6937 * FormViewUpdatedEventArgs.cs:
6938 * FormViewInsertedEventArgs.cs: Implemented some missing properties.
6941 * IButtonControl.cs:
6942 * Button.cs: Removed SoftKey property.
6944 * CheckBox.cs: Don't try to load post back data if the control
6948 * AutoGeneratedField.cs:
6949 * DataControlField.cs:
6951 * ButtonFieldBase.cs:
6955 * ButtonField.cs: Don't bind fields in Insert state.
6956 Implemented CreateField and CopyProperties.
6959 * DetailsView.cs: Removed some unneeded interfaces. Don't
6960 generate the field rows if there are no items in the data source.
6961 Don't get the current keys until the whole control has been
6964 * DetailsViewInsertedEventArgs.cs:
6965 * DataBoundControl.cs:
6966 * ObjectDataSourceView.cs: Made some methods private.
6969 * Menu.cs: Changed some properties from int to Unit.
6971 * DataControlButton.cs: javascript prefix is needed when raising
6972 the postback event from a link.
6974 * PagedDataSource.cs: Some fixes in Count and IsLastPage properties.
6975 The result was wrong when the total data source count was 0.
6977 * FormView.cs: Implemented.
6978 * FormViewRow.cs: Implemented.
6981 * Localize.cs: Fixed base interface.
6983 * BaseDataBoundControl.cs: In DataBind() call the base class
6984 DataBind method, so the binding context is properly set.
6986 2005-04-15 Lluis Sanchez Gual <lluis@novell.com>
6988 * DetailsView.cs: Added some null checks.
6989 * TemplateField.cs: Implemented support for two-way bindings.
6991 2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
6993 * DetailsView.cs: Implemented support for Insert operation.
6994 Added header and footer templates. Added missing style
6996 * ObjectDataSourceView.cs: Use ParameterCollection.GetValues
6997 to get filter values. Other minor fixes.
6998 * CommandField.cs: Properly render the Insert and New buttons.
6999 * ObjectDataSource.cs: Update the parameter collections after
7000 the page is loaded. This will fire the ParameterChanged event
7002 * DataBoundControl.cs: The OnDataSourceViewChanged method
7003 is called when the view changes, not when the datasource
7006 * DetailsViewInsertedEventArgs.cs:
7007 * DetailsViewInsertEventArgs.cs: Implement Values property.
7010 * AutoGeneratedField.cs
7013 Take into account the Insert mode.
7015 * ParameterCollection.cs: Implemented UpdateValues and fixed
7016 GetValues (values can't be cached because can change).
7017 * Parameter.cs: Detect value changes in GetValue, and fire
7018 the change event if needed. Removed unused ParameterValue
7019 property. Other fixes.
7021 2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
7023 * DetailsView.cs: Initial implementation.
7024 * ObjectDataSourceView.cs: Notify changes in the parameters.
7025 * DetailsViewDeletedEventArgs.cs, DetailsViewUpdatedEventArgs.cs,
7026 DetailsViewDeleteEventArgs.cs, DetailsViewUpdateEventArgs.cs:
7027 Implemented some properties.
7028 * GridView.cs: Added null check in SelectedValue. Don't return null
7029 for empty DataKeyNames list.
7030 * DetailsViewRowCollection.cs: Implemented.
7031 * DetailsViewRow.cs: Implemented.
7032 * ButtonFieldBase.cs: By default button field don't have headers.
7033 * BoundField.cs: Don't bind header fields.
7035 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
7037 * ButtonField.cs: Get data item properties using TypeDescriptor.
7038 Made OnDataBindField private.
7039 * ObjectDataSourceView.cs: Implemented support for Delete and
7040 Insert operations, support for filtering and sorting,
7041 conflict detection, etc. It's now complete.
7042 * ObjectDataSource.cs: Completed most of functionality. Only
7043 caching support is missing.
7044 * ObjectDataSourceFilteringEventHandler.cs: New event handler.
7045 * TreeNode.cs: Get data item properties using TypeDescriptor.
7046 * PagerSettings.cs: Flush.
7047 * ObjectDataSourceFilteringEventArgs.cs: New event args.
7048 * GridView.cs: Get data item properties using TypeDescriptor
7049 and cache them. Properly set descending order in the sort
7050 expression. In UpdateRow, make sure we get the old values
7051 before the control is bound again.
7052 * ImageField.cs: Implemented.
7053 * AutoGeneratedField.cs: Initialize the field's sort
7054 expression in the constructor.
7055 * MenuItem.cs: Get data item properties using TypeDescriptor.
7056 * BoundField.cs: Get data item properties using TypeDescriptor.
7057 * CheckBoxField.cs: Added missing attributes.
7058 * TemplateField.cs: Implemented.
7060 2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7063 * FontUnitConverter.cs: fixed ConvertTo to work with target
7064 InstanceDescriptor and value as a string.
7066 * Unit.cs: culture might be null.
7070 2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
7072 * ButtonField.cs: Mostly implemented.
7073 * DataControlFieldHeaderCell.cs: Implemented.
7074 * ObjectDataSourceView.cs: Initial implementation.
7075 * DataControlButton.cs: Added support for real buttons.
7076 * Label.cs, DataControlField.cs: Flush.
7077 * ObjectDataSource.cs: Initial implementation.
7078 * HiddenField.cs: Added class stub.
7079 * GridView.cs: Load autogenerated field properties before
7080 creating the children, to make sure that column info is ready.
7081 * ControlParameter.cs: Implemented Evaluate method.
7082 * ImageField.cs: Added class stub.
7083 * BoundField.cs: Added HtmlEncode property.
7084 * DataControlFieldCell.cs: Moved AccessibleDataControlFieldCell
7086 * CheckBoxField.cs: Mostly implemented.
7087 * TemplateField.cs: Added class stub.
7088 * ObjectDataSourceSelectingEventArgs.cs: Added missing property.
7089 * ObjectDataSourceMethodEventArgs.cs: Fixed base class.
7090 * Parameter.cs: Added internal GetValue method (Evaluate is protected)
7092 2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
7094 * DataControlField.cs: Added missing InsertVisible property.
7095 * AutoGeneratedFieldProperties.cs: Implemented.
7096 * PagerSettings.cs: Minor fix.
7097 * GridView.cs: Implemented support for autogenerated fields, templates,
7098 accessible headers. Implemented paging using PagedDataSource.
7099 Implemented missing overridable methods.
7100 * AutoGeneratedField.cs: Initial implementation.
7101 * BoundField.cs: Added ReadOnly property.
7102 * PagedDataSource.cs: Implemented 2.0 api.
7103 * DataControlFieldCell.cs: Implemented AccessibleDataControlFieldCell
7104 cell class to be used by accessible headers.
7105 * TableCell.cs: Removed unneded constructor. If the cell is bound to
7106 a template, call the default RenderContents method.
7108 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
7110 * TreeNode.cs, TreeView.cs: Don't raise the SelectedNodeChanged
7111 event when loading the view state. Fixes #73746.
7113 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
7115 * ListControl.cs: Load selected indices in the right place. Fixes #73745.
7117 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
7119 * Button.cs, ImageButton.cs: Interpret PostBackOptions.ClientSubmit
7121 * CommandField.cs: Mostly implemented.
7122 * Menu.cs: Use callback methods moved to ClientScriptManager.
7123 * DataControlButton.cs: Internal control used to implement buttons
7124 for navigating in data bound controls.
7125 * DataControlField.cs, PagerSettings.cs: Use the new DataControlButton
7126 to render the column headers.
7127 * CheckBox.cs, RadioButton.cs, BulletedList.cs, TextBox.cs
7128 DropDownList.cs, Calendar.cs, ListBox.cs, LinkButton.cs, TreeView.cs:
7129 Don't use Page.GetPostBackClientEvent
7130 since it is deprecated in 2.0.
7131 * GridView.cs: Implemented some several interfaces.
7132 Implemented support client sorting and page navigation (using callbacks).
7133 Implemented the autogenerated command column using the new CommandField
7135 * ButtonFieldBase.cs: Implemented.
7136 * GridView.js: New helper script to support client side sorting and
7137 paging in the grid view.
7139 2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
7141 * DataKey.cs: Implemented.
7142 * XmlDataSourceView.cs: Implemented support for row pagging.
7143 * Table.cs: Fixed attribute value.
7144 * DataControlField.cs: Added support for sorting headers.
7145 * ChildTable.cs: Created.
7146 * ListControl.cs: Delay selection assignment, since control state
7147 is now loaded before view state.
7148 * GridViewDeleteEventArgs.cs, GridViewUpdateEventArgs.cs,
7149 GridViewDeletedEventArgs.cs, GridViewUpdatedEventArgs.cs: Implemented
7150 several missing properties.
7151 * PagerSettings.cs: Fully implemented.
7152 * BaseDataList.cs: Added null check.
7153 * GridView.cs: Implemented more functionality.
7154 * BoundField.cs: Added support for cell editing.
7155 * StringArrayConverter.cs: Implemented.
7156 * DataKeyArray.cs: Implemented.
7157 * BaseDataBoundControl.cs: Reset the requires binding flag before
7158 executing the query. This avoids recursive query calls.
7159 * GridViewRow.cs: Handler commands raised from row childs.
7161 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
7163 * XmlDataSourceView.cs: ExecuteSelect now returns a list of
7164 XmlDataSourceNodeDescriptor instead of a list of nodes. In this way
7165 it is possible to query for properties fore each data item.
7166 * Menu.cs, TreeView.cs: Make sure that objects are correctly created
7167 when loading its view state.
7168 * DataControlField.cs: Implement properties using a StateBag.
7169 * XmlDataSourcePropertyDescriptor.cs: Implemented.
7170 * PagerSettings.cs: Mostly implemented.
7171 * AccessDataSourceView.cs, AccessDataSource.cs: Added security attribute.
7172 * DataBoundControl.cs: Added null check.
7173 * GridView.cs: Initial implementation.
7174 * CompositeDataBoundControl.cs: Implemented.
7175 * BoundField.cs: Initial implementation.
7176 * GridViewRowCollection.cs: Initial implementation.
7177 * DataControlFieldCollection.cs: Initial implementation.
7178 * DataControlFieldCell.cs: Fixed control tag.
7179 * GridViewRow: Initial implementation.
7180 * XmlDataSourceNodeDescriptor.cs: Implemented.
7182 2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7184 * WebControl.cs: correctly use TagName in RenderBeginTag, ie, if TagKey
7185 is zero, use the TagName no matter its value. Fixes bug #72415.
7187 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
7189 * Style.cs: Method name fix.
7190 * HyperLinkColumn.cs, HyperLink.cs: Moved SoftkeyLabel to HyperLink.
7191 * BaseCompareValidator.cs: Method signature fix.
7192 * CollectionDataSource.cs: Implemented DataSource wrapper for collections.
7193 * BaseDataList.cs, Repeater.cs: Fixed data binding code.
7194 * BulletedList.cs: Added missing method.
7195 * DataBoundControl.cs, BaseDataBoundControl.cs: Made it behave like MS.NET.
7197 2005-02-16 Lluis Sanchez Gual <lluis@novell.com>
7199 * HyperLinkColumn.cs, Label.cs: Added missing 2.0 properties.
7200 * RadioButton.cs: Added missing 2.0 methods.
7201 * ListItem.cs: Added Enabled property.
7202 * MailMessageEventArgs.cs: Use the correct message class.
7203 * ListControl.cs: Implemented missing properties and support for
7204 control state. Implemented base RenderContents method.
7205 * Image.cs: Implemented DescriptionUrl and GenerateEmptyAlternateText
7207 * BaseCompareValidator.cs: Implemented methods that support conditional
7208 use of the invariant culture.
7209 * DataBoundControl.cs: Set RequiresDataBinding to true in OnLoad.
7210 * SqlDataSourceCommandEventArgs.cs, SqlDataSourceStatusEventArgs.cs:
7211 It takes a DbCommand instead of a IDbCommand.
7212 * GridViewSortEventArgs.cs: Added SortDirection property.
7213 * TextBox.cs, CheckBoxList.cs: Added protected version of
7214 IPostBackDataHandler methods.
7215 * RadioButtonList.cs: Added protected version of
7216 IPostBackDataHandler and IRepeatInfoUser methods.
7217 * Repeater.cs: Updated some method names.
7218 * DropDownList.cs: Added protected version of
7219 IPostBackDataHandler methods. Reuse RenderContents from base class.
7220 * RepeaterItem.cs, Localize.cs, Literal.cs: Fix inheritance.
7221 * GridViewUpdatedEventArgs.cs: Fix typo.
7222 * ListBox.cs: Added protected version of IPostBackDataHandler methods.
7223 Reuse RenderContents from base class.
7224 * BaseDataBoundControl.cs: Several fixes.
7225 * ImageButton.cs, LinkButton.cs: Implemented several 2.0 properties.
7227 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
7229 * CheckBoxList.cs: Fix build.
7231 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
7233 * Button.cs: Use validation group when validating page.
7234 * XmlDataSourceView.cs: Implemented ExecuteSelect.
7235 * Menu.cs: Minor fix.
7236 * CheckBox.cs: Added 2.0 properties and methods.
7237 * BaseDataList.cs: Always databind the control if view state
7239 * DataList.cs: In 2.0, use control state to save the selected index.
7240 * DetailsViewUpdatedEventArgs.cs: Fix typo.
7241 * CustomValidator.cs: Implement IStaticTextControl interface.
7242 * CheckBoxList.cs: Added missing 2.0 methods.
7243 * DropDownList.cs: Added missing 2.0 methods. Implemented ITextControl
7245 * XmlDataSource.cs: Return childs of DocumentElement, not the root
7247 * DayRenderEventArgs.cs, CompareValidator.cs, DataListItem.cs:
7248 Implemented 2.0 API.
7251 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
7253 * Button.cs: Implemented all missing 2.0 features.
7254 * Table.cs: Render the table caption, when specified.
7255 * Calendar.cs: Implemented most of missing 2.0 features.
7256 * TableCell.cs: Fixed attributes.
7258 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
7260 * ControlPropertyNameConverter.cs: Added file.
7262 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
7264 * Button.cs, MonthChangedEventArgs.cs, FontInfo.cs, Xml.cs, Style.cs,
7265 CookieParameter.cs, HyperLinkColumn.cs, Table.cs,
7266 RegularExpressionValidator.cs, WizardNavigationEventArgs.cs,
7267 ServerValidateEventArgs.cs, Menu.cs, DataControlField.cs,
7268 DataGridPagerStyle.cs, Label.cs, CheckBox.cs, ListItem.cs,
7269 RadioButton.cs, TableStyle.cs, ListControl.cs, Image.cs,
7270 BaseCompareValidator.cs, FontUnit.cs, DataListCommandEventArgs.cs,
7271 IButtonControl.cs, BaseDataList.cs, DataList.cs, BulletedList.cs,
7272 RangeValidator.cs, DataBoundControl.cs, ControlParameter.cs,
7273 RepeaterItemEventArgs.cs, SqlDataSource.cs, BaseValidator.cs,
7274 CustomValidator.cs, MenuItem.cs, SessionParameter.cs, TextBox.cs,
7275 QueryStringParameter.cs, Content.cs, ContentPlaceHolder.cs,
7276 CheckBoxList.cs, RepeaterCommandEventArgs.cs, RadioButtonList.cs,
7277 RequiredFieldValidator.cs, AdRotator.cs, DataListItemEventArgs.cs,
7278 DataGridSortCommandEventArgs.cs, Repeater.cs,
7279 MenuItemTemplateContainer.cs, HyperLink.cs, SqlDataSourceView.cs,
7280 XmlDataSource.cs, MultiView.cs, DataGridCommandEventArgs.cs,
7281 Panel.cs, CompositeControl.cs, DataGrid.cs, ButtonColumn.cs,
7282 CompareValidator.cs, HierarchicalDataBoundControl.cs,
7283 EditCommandColumn.cs, Calendar.cs, SiteMapDataSource.cs,
7284 ListBox.cs, TableCell.cs, ObjectDataSourceSelectingEventArgs.cs,
7285 ObjectDataSourceMethodEventArgs.cs,DataGridPageChangedEventArgs.cs,
7286 WebControl.cs, BaseDataBoundControl.cs, FormParameter.cs,
7287 ValidationSummary.cs, View.cs, ImageButton.cs, TableRow.cs,
7288 LinkButton.cs, DataGridColumn.cs, Parameter.cs, TableItemStyle.cs,
7289 AdCreatedEventArgs.cs:
7291 General 2.0 API fixes: missing attributes, incorrect inheritance,
7292 missing sealed keywords, wrong signatures, etc.
7294 2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
7296 * Table.cs: Added some 2.0 properties.
7297 * FontUnitConverter.cs, UnitConverter.cs: Implemented conversion to
7299 * BaseValidator.cs: Fix warning.
7300 * MultiView.cs, ViewCollection.cs, View.cs: Implemented.
7302 2005-01-26 Lluis Sanchez Gual <lluis@novell.com>
7304 * Menu.cs: Rendering fixes.
7306 2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
7308 * Content.cs, ContentPlaceHolder.cs, ContentControlBuilder.cs
7309 ContentPlaceHolderBuilder.cs: Implemented.
7311 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7313 * CheckBox.cs: when rendering the input tag inside a span tag, keep the
7314 attributes that are meant to be in the input tag in their place.
7316 2005-01-10 Juraj Skripsky <juraj@hotfeet.ch>
7318 * RepeatInfo.cs: fixed bug #68927 (DataList with RepeatLayout='Flow'
7319 generates invalid html).
7321 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
7323 * Menu.cs: Implemented most of missing properties. Added support for
7324 item templates. Implemented menu scrolling.
7325 * MenuItemBinding.cs: Implemented most of missing properties.
7326 * MenuItem.cs: Implemented most of missing properties.
7327 * Menu.js: Implemented scrolling and menu reposition into screen.
7328 * MenuItemTemplateContainer.cs: Implemented.
7329 * SubMenuStyle.cs: Implemented.
7331 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
7333 * Style.cs: Implemented RegisteredCssClass property. Added
7334 CopyTextStylesFrom method, which copies styles that only apply to text.
7335 * Menu.cs, Menu.js: Added hover style support. Define all menu styles
7336 in the page stylesheet. Added support for ItemSpacing property.
7337 * MenuItemStyle.cs: Implemented FillStyleAttributes method.
7339 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
7341 * Style.cs: Generate styles using a CssStyleCollection, so the code can
7342 be reused for the 2.0 FillStyleAttributes method.
7343 * Menu.cs: Implemented more properties and events. Rendering is very
7345 * MenuItem.cs: Added PopOutImageUrl property.
7346 * Menu.js: More work on submenu management.
7348 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
7350 * Menu.cs: Implemented basic rendering. Added some missing properties.
7351 * MenuItem.cs: Improved implementation of Depth.
7352 * Unit.cs: Added serializable attribute.
7353 * TreeView.cs: Moved GetScriptLiteral method to ClientScriptManager,
7354 so it can be reused.
7355 * Menu.js: New script to support he Menu control.
7357 2004-12-03 Lluis Sanchez Gual <lluis@novell.com>
7359 * MenuEventArgs.cs: Changed to sealed.
7360 * TreeView.cs: Minor fix.
7361 * Menu.cs, MenuItemBindingCollection.cs, MenuItemCollection.cs,
7362 MenuItemStyle.cs, MenuItemBinding.cs, MenuItem.cs,
7363 MenuItemStyleCollection.cs: Initial Menu code.
7365 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
7367 * TreeNodeBindingCollection.cs, TreeNodeStyleCollection.cs:
7368 Implemented SetDirtyObject.
7369 * Style.cs: Implemented SetDirty().
7370 * TreeNodeBinding.cs: Added missing attributes. Implemented SetDirty().
7371 * TreeNode.cs: Added missing attributes added support for
7372 PopulateOnDemand. Added some missing property bindings.
7373 * TreeNodeCollection.cs: Several minor fixes. SetDirty must be called
7374 to newly added elements to make sure al new data is saved.
7375 * TreeView.js: Implemented support for client population of nodes.
7376 * TreeNodeStyle.cs: Added missing attributes.
7377 * TreeView.cs: Implemented support for PopulateNodesFromClient and
7378 PopulateOnDemand. Improved rendering.
7380 2004-11-29 Sanjay Gupta <gsanjay@novell.com>
7382 * DataControlField.cs:
7383 * DataControlFieldCell.cs: Initial implementation.
7385 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
7387 * TreeNodeBindingCollection.cs: Implemented.
7388 * TreeNodeBinding.cs: Implemented.
7389 * TreeNode.cs: Added support for data binding.
7390 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif
7391 TreeView_Default_NoExpand.gif: Moved to resources directory.
7392 * ListControl.cs: Fixed api.
7393 * XmlHierarchicalEnumerable.cs: Made internal.
7394 * DataBoundControl.cs: Modified api to match latest ms.net.
7395 * TreeView.js: New javascript file to support TreeView in the client.
7396 * XmlDataSource.cs: Added missing attributes.
7397 * HierarchicalDataBoundControl.cs: Mostly implemented.
7398 * BaseDataBoundControl.cs: Mostly implemented.
7399 * XmlHierarchyData.cs: Made internal.
7400 * TreeView.cs: Mostly implemented. The major missing feature is
7401 client side tree population.
7403 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
7406 * DataBountControl.cs:
7407 * Repeater.cs: Added SelectArguments property and updated.
7408 * SiteMapDataSourceView.cs:
7409 * SqlDataSourceView.cs:
7410 * XmlDataSourceView.cs: Removed extra method, which was there to
7411 keep things compiling.
7413 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
7415 * TreeNodeBindingCollection.cs, TreeNodeBinding.cs, TreeNode.cs,
7416 TreeNodeCollection.cs, TreeNodeStyleCollection.cs, TreeNodeStyle.cs,
7417 TreeView.cs: Initial implementation.
7418 * DataBoundControl.cs: Set the correct base class.
7419 * HierarchicalDataBoundControl.cs, BaseDataBoundControl.cs: Created stub.
7420 * TreeNodeSelectAction.cs: Formatting.
7421 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif,
7422 TreeView_Default_NoExpand.gif: TreeView images.
7424 2004-11-22 Sanjay Gupta <gsanjay@novell.com>
7426 * SqlDataSourceView.cs: Updated methods and added one property.
7428 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7430 * AccessDataSource.cs:
7431 * SqlDataSourceView.cs: Implemented CreateDataSourceView () method.
7432 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7434 * SqlDataSource.cs: Updated call to constructor of SqlDataSourceView.cs.
7435 * SqlDataSourceView.cs: Updated constructor.
7437 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7439 * AccessDataSourceView.cs: Added new class.
7441 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
7443 * SqlDataSourceView.cs: Corrected exception handling in
7444 ExecuteSelect method.
7446 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
7448 * SiteMapHierarchicalDataSourceView.cs, SiteMapDataSource.cs: New files.
7449 * SiteMapDataSourceView.cs: Minor fix.
7451 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7453 * SqlDataSourceView.cs: Updated ExecuteSelect method.
7455 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7457 * SqlDataSource.cs: Corrected Select method.
7459 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
7461 * SqlDataSource.cs: Updated Select method definition.
7462 * SqlDataSourceStatusEventArgs.cs: Updated class.
7464 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
7466 * SqlDataSourceView.cs: Removed implementation of Events (it is inherited
7467 from DataSourceView.cs).
7469 2004-11-10 Raja R Harinath <rharinath@novell.com>
7471 * SqlDataSourceView.cs (Select): Add 'override' to make it compile.
7473 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
7475 * SqlDataSource.cs: Corrected method calls.
7476 * SqlDataSourceView.cs: Partial implementation of few methods.
7478 2004-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7480 * ListItemCollection.cs: fixed bug when indexing changed elements in
7481 LoadViewState. Patch from Alois Bělaška.
7483 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
7485 * SiteMapDataSourceView.cs:
7486 * SqlDataSourceView.cs:
7487 * XmlDataSourceView.cs: Cosmetic changes because of modifications in
7488 base class, DataSourceView. Changes are to keep things compiling.
7490 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
7492 * SiteMapDataSourceView.cs: Corrected class definition and updated.
7493 * XmlHierarchicalDataSourceView.cs: Modified according to changes in
7496 2004-10-14 Sanjay Gupta <gsanjay@novell.com>
7498 * AdRotator.cs: Updated.
7500 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
7502 * AccessDataSource.cs: Updated.
7504 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7506 * ValidatedControlConverter.cs: Updated.
7508 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7510 * AssociatedControlConverter.cs: Implemented.
7512 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
7514 * ControlIDConverter.cs: Initial implementation.
7516 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7518 * IButtonControl.cs: Corrected property name.
7520 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7522 * ParameterCollection.cs: Updated.
7524 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
7526 * Parameter.cs: Updated and completed implementation.
7528 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
7530 * ParameterCollection.cs: Resolved warnings, "Unreachable code detected"
7533 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
7535 * AccessDataSource.cs: Initial implementation.
7537 2004-09-30 Sanjay Gupta <gsanjay@novell.com>
7539 * DataControlRowState.cs:
7541 * TreeNodeTypes.cs: Added attribute.
7542 * DataControlRowType.cs:
7544 * SortDirection.cs: Corrected enumeration values.
7545 * TableRowSection.cs: Added new enumeration.
7546 * ObjectDataSourceStatusEventHandler.cs: Corrected method name.
7548 2004-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7550 * TableStyle.cs: don't render empty 'rules' attribute (again).
7552 2004-09-21 Sanjay Gupta <gsanjay@novell.com>
7554 * FormViewUpdatedEventArgs.cs: Spelling mistake.
7556 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
7558 * Literal.cs: Added new method Focus().
7560 2004-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7562 * RadioButton.cs: fix GroupName when the control is inside a
7563 NamingContainer different from Page. Closes bug #65586.
7565 2004-09-07 Sanjay Gupta <gsanjay@novell.com>
7567 * Localize.cs: Added new class.
7569 2004-09-03 Gaurav Vaish <gvaish_mono AT lycos.com>
7571 * CompositeControl.cs : Completed
7572 * Login.cs : Initial implementation.
7574 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7576 * Xml.cs: fixed get_DocumentContent (it was returning "" always!) and
7577 don't call MapPathSecure on the content itself.
7579 * XmlBuilder.cs: handle XML documents written inside asp:xml. The
7580 document is checked at parse time and will be checked again at run time.
7584 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
7586 * AuthenticateEventHandler.cs:
7587 * CreateUserErrorEventArgs.cs:
7588 * CreateUserErrorEventHandler.cs:
7589 * DetailsViewCommandEventHandler.cs:
7590 * DetailsViewDeleteEventArgs.cs:
7591 * DetailsViewDeleteEventHandler.cs:
7592 * DetailsViewDeletedEventArgs.cs:
7593 * DetailsViewDeletedEventHandler.cs:
7594 * DetailsViewInsertEventArgs.cs:
7595 * DetailsViewInsertEventHandler.cs:
7596 * DetailsViewInsertedEventArgs.cs:
7597 * DetailsViewInsertedEventHandler.cs:
7598 * DetailsViewModeEventArgs.cs:
7599 * DetailsViewModeEventHandler.cs:
7600 * DetailsViewPageEventHandler.cs:
7601 * DetailsViewUpdateEventArgs.cs:
7602 * DetailsViewUpdateEventHandler.cs:
7603 * DetailsViewUpdatedEventArgs.cs:
7604 * DetailsViewUpdatedEventHandler.cs:
7605 * FormViewCommandEventHandler.cs:
7606 * FormViewDeleteEventArgs.cs:
7607 * FormViewDeleteEventHandler.cs:
7608 * FormViewDeletedEventArgs.cs:
7609 * FormViewDeletedEventHandler.cs:
7610 * FormViewInsertEventArgs.cs:
7611 * FormViewInsertEventHandler.cs:
7612 * FormViewInsertedEventArgs.cs:
7613 * FormViewInsertedEventHandler.cs:
7614 * FormViewModeEventHandler.cs:
7615 * FormViewPageEventHandler.cs:
7616 * FormViewUpdateEventArgs.cs:
7617 * FormViewUpdateEventHandler.cs:
7618 * FormViewUpdatedEventArgs.cs:
7619 * FormViewUpdatedEventHandler.cs:
7620 * GridViewCancelEditEventArgs.cs:
7621 * GridViewCancelEditEventHandler.cs:
7622 * GridViewCommandEventHandler.cs:
7623 * GridViewDeleteEventArgs.cs:
7624 * GridViewDeleteEventHandler.cs:
7625 * GridViewDeletedEventArgs.cs:
7626 * GridViewDeletedEventHandler.cs:
7627 * GridViewEditEventHandler.cs:
7628 * GridViewPageEventHandler.cs:
7629 * GridViewRowEventHandler.cs:
7630 * GridViewSelectEventHandler.cs:
7631 * GridViewSortEventArgs.cs:
7632 * GridViewSortEventHandler.cs:
7633 * GridViewUpdateEventArgs.cs:
7634 * GridViewUpdateEventHandler.cs:
7635 * GridViewUpdatedEventArgs.cs:
7636 * GridViewUpdatedEventHandler.cs:
7637 * ImageMapEventHandler.cs:
7638 * MailMessageEventHandler.cs:
7639 * MenuEventHandler.cs:
7640 * ObjectDataSourceDisposingEventHandler.cs:
7641 * ObjectDataSourceEventHandler.cs:
7642 * ObjectDataSourceMethodEventArgs.cs:
7643 * ObjectDataSourceMethodEventHandler.cs:
7644 * ObjectDataSourceSelectingEventArgs.cs:
7645 * ObjectDataSourceSelectingEventHandler.cs:
7646 * ObjectDataSourceStatusEventArgs.cs:
7647 * ObjectDataSourceStatusEventHandler.cs:
7648 * SendMailErrorEventHandler.cs:
7649 * SiteMapNodeItemEventHandler.cs:
7650 * SqlDataSourceSelectingEventArgs.cs:
7651 * SqlDataSourceSelectingEventHandler.cs:
7652 * TreeNodeEventHandler.cs:
7653 * WizardNavigationEventArgs.cs:
7654 * WizardNavigationEventHandler.cs: Minor modifications, compiler error
7655 corrections and removing "sealed" access specifier from *EventHandler.cs
7657 2004-08-18 Sanjay Gupta <gsanjay@novell.com>
7659 * Literal.cs: Added new attributes and property for .Net 2.0
7661 2004-08-13 Sanjay Gupta <gsanjay@novell.com>
7663 * GridViewDeleteEventArgs.cs: Removed extra code.
7665 2004-08-12 Sanjay Gupta <gsanjay@novell.com>
7667 * SendMailErrorEventArgs.cs:
7668 * SendMailErrorEventHandler.cs:
7669 * SiteMapNodeItemEventArgs.cs:
7670 * SiteMapNodeItemEventHandler.cs:
7671 * SqlDataSourceSelectingEventArgs.cs:
7672 * SqlDataSourceSelectingEventHandler.cs:
7673 * TreeNodeEventArgs.cs:
7674 * TreeNodeEventHandler.cs:
7675 * WizardNavigationEventArgs.cs:
7676 * WizardNavigationEventHandler.cs: Added new delegates.
7678 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7680 * ImageMapEventArgs.cs:
7681 * ImageMapEventHandler.cs:
7682 * MailMessageEventArgs.cs:
7683 * MailMessageEventHandler.cs:
7685 * MenuEventHandler.cs:
7686 * ObjectDataSourceDisposingEventArgs.cs:
7687 * ObjectDataSourceDisposingEventHandler.cs:
7688 * ObjectDataSourceEventArgs.cs:
7689 * ObjectDataSourceEventHandler.cs:
7690 * ObjectDataSourceMethodEventArgs.cs:
7691 * ObjectDataSourceMethodEventHandler.cs:
7692 * ObjectDataSourceSelectingEventArgs.cs:
7693 * ObjectDataSourceSelectingEventHandler.cs:
7694 * ObjectDataSourceStatusEventArgs.cs:
7695 * ObjectDataSourceStatusEventHandler.cs: Added new delegates.
7697 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7699 * DetailsViewCommandEventArgs.cs:
7700 * FormViewCommandEventArgs.cs:
7701 * GridViewCommandEventArgs.cs: Corrected constructor.
7703 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7705 * GridViewCancelEditEventArgs.cs:
7706 * GridViewCancelEditEventHandler.cs:
7707 * GridViewCommandEventArgs.cs:
7708 * GridViewCommandEventHandler.cs:
7709 * GridViewDeletedEventArgs.cs:
7710 * GridViewDeletedEventHandler.cs:
7711 * GridViewDeleteEventArgs.cs:
7712 * GridViewDeleteEventHandler.cs:
7713 * GridViewEditEventArgs.cs:
7714 * GridViewEditEventHandler.cs:
7715 * GridViewPageEventArgs.cs:
7716 * GridViewPageEventHandler.cs:
7717 * GridViewRowEventArgs.cs:
7718 * GridViewRowEventHandler.cs:
7719 * GridViewSelectEventArgs.cs:
7720 * GridViewSelectEventHandler.cs:
7721 * GridViewSortEventArgs.cs:
7722 * GridViewSortEventHandler.cs:
7723 * GridViewUpdatedEventArgs.cs:
7724 * GridViewUpdatedEventHandler.cs:
7725 * GridViewUpdateEventArgs.cs:
7726 * GridViewUpdateEventHandler.cs: Added new delegates.
7728 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7730 * FormViewUpdatedEventArgs.cs: Corrected constructor.
7732 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
7734 * FormViewCommandEventArgs.cs: Corrected name of class.
7736 2004-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7738 * Xml.cs: use MapPath in DocumentSource and documentContent. Fixes
7741 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
7743 * FormViewCommandEventArgs.cs:
7744 * FormViewCommandEventHandler.cs:
7745 * FormViewDeletedEventArgs.cs:
7746 * FormViewDeletedEventHandler.cs:
7747 * FormViewDeleteEventArgs.cs:
7748 * FormViewDeleteEventHandler.cs:
7749 * FormViewInsertedEventArgs.cs:
7750 * FormViewInsertedEventHandler.cs:
7751 * FormViewInsertEventArgs.cs:
7752 * FormViewInsertEventHandler.cs:
7753 * FormViewModeEventArgs.cs:
7754 * FormViewModeEventHandler.cs:
7755 * FormViewPageEventArgs.cs:
7756 * FormViewPageEventHandler.cs:
7757 * FormViewUpdatedEventArgs.cs:
7758 * FormViewUpdatedEventHandler.cs:
7759 * FormViewUpdateEventArgs.cs:
7760 * FormViewUpdateEventHandler.cs: Added new delegates.
7762 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
7764 * DetailsViewCommandEventArgs.cs:
7765 * DetailsViewCommandEventHandler.cs:
7766 * DetailsViewDeletedEventArgs.cs:
7767 * DetailsViewDeletedEventHandler.cs:
7768 * DetailsViewDeleteEventArgs.cs:
7769 * DetailsViewDeleteEventHandler.cs:
7770 * DetailsViewInsertedEventArgs.cs:
7771 * DetailsViewInsertedEventHandler.cs:
7772 * DetailsViewInsertEventArgs.cs:
7773 * DetailsViewInsertEventHandler.cs:
7774 * DetailsViewModeEventArgs.cs:
7775 * DetailsViewModeEventHandler.cs:
7776 * DetailsViewPageEventArgs.cs:
7777 * DetailsViewPageEventHandler.cs:
7778 * DetailsViewUpdatedEventArgs.cs:
7779 * DetailsViewUpdatedEventHandler.cs:
7780 * DetailsViewUpdateEventArgs.cs:
7781 * DetailsViewUpdateEventHandler.cs: Added new delegates.
7783 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
7785 * AuthenticateEventArgs.cs:
7786 * AuthenticateEventHandler.cs:
7787 * CreateUserErrorEventArgs.cs:
7788 * CreateUserErrorEventHandler.cs: Added new delegates.
7790 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
7792 * IButtonControl.cs:
7793 * ICallbackContainer.cs:
7794 * ICompositeControlDesignerAccessor.cs:
7795 * IPostBackContainer.cs: Added new interfaces.
7797 2004-08-03 Sanjay Gupta <gsanjay@novell.com>
7800 * AutoCompleteType.cs:
7801 * ContentDirection.cs:
7802 * DataControlCellType.cs:
7803 * DataControlRowState.cs:
7804 * DataControlRowType.cs:
7805 * DetailsViewMode.cs:
7806 * DynamicImageParameterMode.cs:
7809 * ImageFieldMode.cs:
7816 * SiteMapNodeItemType.cs:
7817 * SiteMapNodeType.cs:
7818 * SiteMapViewType.cs:
7820 * TableCaptionAlign.cs:
7821 * TableHeaderScope.cs:
7823 * TreeNodeSelectAction.cs:
7825 * TreeViewImageSet.cs:
7826 * WizardStepType.cs: Added enumerations
7828 2004-08-02 Duncan Mak <duncan@ximian.com>
7831 * LoginFailureAction.cs:
7832 * LoginTextLayout.cs: Added enumerations.
7834 2004-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7836 * BaseValidator.cs: in Validate(), when the control is not visible or
7837 enabled, return inmediately after setting IsValid to true. Fixes bug
7840 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7842 * DataList.cs: s/HasChildren/HasControls()/.
7844 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7846 * DataList.cs: style.
7848 2004-07-27 Alon Gazit <along@mainsoft.com>
7849 * DataList.cs: Replaced foreach statement with for statement,
7850 in order to improve performence.
7852 2004-07-27 Alon Gazit <along@mainsoft.com>
7853 * WebControl.cs: changed RenderBeginTag()to use TagKey instead of
7855 * Unit.cs : changed GetTypeFromString() and GetStringFromPixel() to use
7856 switch statements in order to improve performance.
7858 2004-06-10 Alon Gazit <along@mainsoft.com>
7859 * WebControl.cs: fixed LoadViewState().
7860 Creates new attributes state bag only when the current is null.
7862 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7864 * Calendar.cs: implemented OnPreRender and HasWeekSelectors.
7866 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7868 * Calendar.cs: set the title class attribute if we have it. Fixes bug
7871 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7873 * Style.cs: added SetBit.
7875 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7878 * CompareValidator.cs:
7881 * WebControl.cs: Added protected missing members and attributes.
7883 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7885 * TextBox.cs: don't save the Text if in ViewState if it's a password.
7886 Save it if the control is not visible or not enabled. Fixes bug #58497.
7888 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7890 * Calendar.cs: fire OnDayRender after assigning the calendar cell text.
7893 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
7895 * SqlDataSourceCommandEventArgs:
7896 * XmlDataSource.cs : removed temporary workarounds for CLS
7897 compliance as System.Data is now CLS compliant
7899 2004-05-06 Alon Gazit <along@mainsoft.com>
7900 * WebControl.cs: fixed LoadViewState() and SaveViewState().
7901 Before the change the Enabled property wasn't updated when a postback
7903 * ListControl.cs: fixed SelectedIndex property implementation.
7904 Prevents throwing ArgumentOutOfRangeException (that should not be
7905 thrown), when the list is empty.
7907 2004-04-28 Alon Gazit <along@mainsoft.com>
7908 * WebControl.cs: fixed LoadViewState().
7909 Always loading the saved attributes collection.
7911 2004-04-18 Alon Gazit <along@mainsoft.com>
7912 * Repeater.cs: fixed InstantiateItem() and DataSource property.
7913 The change in DataSource prevents throwing ArgumentException while
7914 setting property value to null.
7915 The change in InstantiateItem() prevents NullReferenceException.
7917 2004-04-07 Lluis Sanchez Gual <lluis@ximian.com>
7919 * BaseValidator.cs: Store Display property in the correct ViewState
7920 property. Don't render anything if Display is ValidatorDisplay.None.
7922 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
7924 * Xml.cs: In LoadXpathDoc(), don't use MapPathSecure with documentSource,
7925 since it is already a physical path. Fixes bug #55334.
7927 2004-02-13 Jackson Harper <jackson@ximian.com>
7929 * Calendar.cs: Match MS postback data. This allows sites that
7930 parse the postback data manually to work.
7932 2004-02-04 Alon Gazit <along@mainsoft.com>
7933 * EditCommandColumn.cs: fixed InitializeCell().
7934 The rendered LiteralControl should contain " " and not " ".
7936 2004-02-01 Alon Gazit <along@mainsoft.com>
7938 * DataGrid.cs: fixed a problem in the paging mechanism in the method
7940 the problem was when (PagerStyle.Mode == PagerMode.NumericPages),
7941 while clicking the "..." link in the second page.
7943 2004-01-28 Alon Gazit <along@mainsoft.com>
7945 * Calendar.cs: prevent NullReferenceException in RenderAllDays().
7947 2004-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7949 * Calendar.cs: when rendering days, add a LiteralControl containing the
7950 day before OnDayRender is called. Only generate the default links for
7951 days when IsSelectable is true after OnDayRender. Fixes bug #53372.
7953 2004-01-21 Martin Baulig <martin@ximian.com>
7955 * XmlHierarchyData.cs: Make this compile with csc.
7957 * BulletedList.cs (BulletedList.SelectedItem): Removed the `set'
7958 accessor since the base class doesn't have one.
7960 2004-01-18 Alon Gazit <along@mainsoft.com>
7962 * CheckBoxList.cs: fix problem with negative TabIndex (wasn't rendered).
7964 2004-01-18 Alon Gazit <along@mainsoft.com>
7966 * Style.cs: CopyFrom method shouldn't copy a value that is equal to
7967 Property default value.
7968 * FontInfo.cs : CopyFrom method shouldn't copy a value that is equal to
7969 Property default value.
7971 2004-01-15 Alon Gazit <along@mainsoft.com>
7973 * RadioButtonList.cs: RepeatLayout property should affect the rendered
7976 2004-01-15 Alon Gazit <along@mainsoft.com>
7977 * FontInfo.cs: Add validation check to Size property.
7979 2004-01-07 Alon Gazit <along@mainsoft.com>
7980 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
7981 merge the column's style to the cell's style and not to
7982 the item's(row) style.
7984 2004-01-04 Alon Gazit <along@mainsoft.com>
7985 * RangeValidator.cs: Fixed ControlPropertiesValid().
7987 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7989 * Xml.cs: mono-stylized and removed warnings.
7991 2004-1-1 Alon Gazit <along@mainsoft.com>
7992 * RadioButtonList.cs: update RenderItem() so that each RadioButton
7993 is enabled or disabled like the RadioButtonList.
7994 * CheckBoxList.cs: update RenderItem() so that each CheckBox
7995 is enabled or disabled like the CheckBoxList.
7997 2004-1-1 Alon Gazit <along@mainsoft.com>
7998 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
7999 The Header or Footer Style shouldn't merge with the cells Style.
8001 2004-1-1 Alon Gazit <along@mainsoft.com>
8002 * DataGridColumn.cs: Headers and Footers are initialized
8003 with the relevant Style object.
8005 2003-12-30 Alon Gazit <along@mainsoft.com>
8006 * RepeatInfo.cs: Fixed DoVerticalRendering () and
8007 DoHorizontalRendering().
8008 Current implementation produces few extra html tags.
8010 2003-12-29 Alon Gazit <along@mainsoft.com>
8012 * CheckBox.cs: change the implementation of LoadPostData.
8013 Currently, while the AutoPostBack property equals true ,
8014 it isn't possible to perform uncheck.
8016 2003-12-19 Jackson Harper <jackson@ximian.com>
8018 * TableCell.cs: Setting a cells text should clear its control
8019 collection as per la specification. This fixes bug #51825.
8021 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8023 * DataGridColumn.cs: stylized LoadViewState.
8024 * DataGridColumnCollection.cs: when TrackViewState is called, also
8025 call it on all the existing columns. Fixes bug #52334.
8027 2003-12-18 Alon Gazit <along@mainsoft.com>
8029 * DataGridPagerStyle.cs: merge DataGridPagerStyle properties when Style
8032 2003-12-18 Alon Gazit <along@mainsoft.com>
8034 * TableStyle.cs: merge TableStyle properties when Style is empty.
8036 2003-12-16 Alon Gazit <along@mainsoft.com>
8038 * HyperLink.cs: Change Text property implementation. in MS when the Text
8039 property is set, all the controls in the HyperLink are being deleted.
8040 This fixes bug #52239.
8042 2003-12-15 Alon Gazit <along@mainsoft.com>
8043 * RepeatInfo.cs: Fixed DoVerticalRendering () and
8044 DoHorizontalRendering().
8045 Both methods add additional empty table row in the head of each item
8046 table when the variable named isTable equals true (happenes with the
8047 default instantiation of RepeatInfo). These additional rows should be
8048 added when isTable equals false.
8049 This fixes bug #52225.
8051 2003-12-15 Alon Gazit <along@mainsoft.com>
8053 * RepeatInfo.cs: Fixed DoVerticalRendering() and
8054 DoHorizontalRendering().
8055 Both methods add to rendered Header a colspan attribute according to the
8056 rows count. after the change the colspan is added according to the
8059 2003-12-15 Alon Gazit <along@mainsoft.com>
8060 * CheckBox.cs: Disabled CheckBox does not produce same HTML as .NET.
8061 In .NET if the checkbox is disabled ,its text appears disabled too.
8062 In Mono the text appears enabled. the fix is in Render().
8063 This fixes bug #52180.
8065 2003-12-15 Alon Gazit <along@mainsoft.com>
8066 * Repeater.cs: Change the implementation of CreateControlHierarchy().
8067 The current implementation renders extra Header and footer
8068 without Repeater.DataSource assign.
8069 This fixes bug #52179.
8071 2003-12-15 Alon Gazit <along@mainsoft.com>
8072 * DataGrid.cs: Change the implementation of the property
8073 BackImageUrl. The current implementation has no influence
8074 on the rendered Html.
8076 2003-12-15 Alon Gazit <along@mainsoft.com>
8077 * WebControl.cs: Change the implementation of the property
8078 Enabled. Before the change the WebControl also looked at
8079 parent.Enabled . fixed bug #52171.
8081 2003-12-11 Jackson Harper <jackson@ximian.com>
8083 * RepeatInfo.cs: When rendering vertically figure out how many
8084 colmns are not going to be filled in in the last row, and adjust
8085 things accordingly. This fixes bug #51863.
8087 2003-12-10 Alon Gazit <along@mainsoft.com>
8088 * TableRow.cs: Change the implementation of the properties
8089 HorizontalAlign and VerticalAlign. The current implementation
8090 has no influence on the rendered Html.
8092 2003-12-10 Alon Gazit <along@mainsoft.com>
8093 * TableItemStyle.cs: Add setting of The WRAP flag in the Wrap
8094 property's set method.
8096 2003-12-09 Jackson Harper <jackson@ximian.com>
8098 * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
8099 Increment counter when moving to start. Fixes bug #51926.
8101 2003-12-08 Jackson Harper <jackson@ximian.com>
8103 * HyperLinkColumn.cs: Fix navigate url rendering. Patch by
8104 Benjamin Jemlich. Fixes bug #51823.
8106 2003-12-07 Alon Gazit <along@mainsoft.com>
8107 * Panel.cs: Panel doesn't render nowrap attribute while the Wrap
8108 property is set to false. Fixes bug #58120.
8110 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8112 * TableItemStyle.cs: merge TableItemStyle properties when Style is
8113 empty. Fixes bug #51689. Patch by Alon Gazit <along@mainsoft.com>.
8115 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8117 * RadioButtonList.cs: render tabindex attribute if needed. Fixes bug
8120 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8122 * WebControl.cs: don't create the attributes when GetAttribute is
8125 2003-12-01 Jackson Harper <jackson@ximian.com>
8127 * WebControl.cs: Only allow access keys to be null or a single
8128 char. Patch by Alon Gazit <along@mainsoft.com>.
8130 2003-11-30 Jackson Harper <jackson@ximian.com>
8132 * CheckBoxList.cs: A checkbox will have null post data if it is
8133 unselected. This fixes bug #51516.
8135 2003-11-29 Jackson Harper <jackson@ximian.com>
8137 * DataGrid.cs: Display paging controls even when there is no
8138 data. Path by Mohammad DAMT. Fixes bug #51487.
8140 2003-11-29 Jackson Harper <jackson@ximian.com>
8142 * DataGrid.cs: Call TrackViewState when loading bound columns view
8143 state. So that their state is saved. This fixes bug #51424. Also
8146 2003-11-26 Jackson Harper <jackson@ximian.com>
8148 * BaseDataList.cs: Change && to || We will call that a typo so no
8149 one gets embarrased.
8151 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8153 * BaseDataList.cs: allow setting null as Datasource.
8155 * DataGrid.cs: keep autogenerated columns in the ViewState.
8157 Patches by Alon Gazit <along@mainsoft.com>.
8159 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
8161 * SqlDataSource*: Implement almost everything. Data access is
8164 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
8166 * Calendar.cs (SaveViewState):
8167 - We were allocating a 11 item array, we only used 10 items,
8168 so only allocate 10.
8169 - We only need to save the selected dates if there are any.
8170 * DataGrid.cs (SaveViewState):
8171 * DataGridColumn.cs (SaveViewState):
8172 * DataGridColumnCollection.cs (SaveViewState):
8173 - Only return the array if there is anything in it
8174 * Style.cs (SaveViewState):
8175 - Only save the bits if there were changes.
8176 * WebControl.cs (SaveViewState), (LoadViewState):
8177 - Don't save Enabled into the viewstate here, we already
8178 do it in the property. This just caused *EVERY* control
8179 to have a non-null state, taking up lots of extra room
8181 - The style will always be created with this control's
8182 viewstate, so the style will always return null for the
8183 viewstate. As such, we do not need to store it. We can
8184 also reduce the triplet to a pair because of this.
8186 2003-11-22 Jackson Harper <jackson@ximian.com>
8188 * ValidationSummary.cs: Fix number of messages and message array computation.
8190 2003-11-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8192 * Xml.cs: Corrected attribute
8193 * XmlBuilder.cs: Added
8195 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8197 * Xml.cs: class status based fixes.
8199 2003-11-19 Jackson Harper <jackson@ximian.com>
8201 * HyperLink.cs: Use ResolveUrl instead of ResolveBaseUrl.
8203 2003-11-19 Jackson Harper <jackson@ximian.com>
8205 * HyperLink.cs: Use ResolveBaseUrl so that ~/ is interpreted as
8206 teh applications base directory. This fixes bug #51092.
8208 2003-11-18 Todd Berman <tberman@gentoo.org>
8210 * ControlParameter.cs:
8211 * CookieParameter.cs:
8213 * QueryStringParameter.cs:
8214 * SessionParameter.cs: added public .ctor ()
8215 * Parameter.cs: added public .ctor (), internal SetOwnerCollection
8216 and handling, as well as internal ParameterValue for easy access.
8217 NOTE: ParameterValue doesnt respect TreatEmptyStringAsNull yet.
8218 * ParameterCollection.cs: implementation redux.
8220 2003-11-18 Todd Berman <tberman@gentoo.org>
8222 * ParameterCollection.cs: Implemented
8223 * Parameter.cs: Added _owner, SetOwnerCollection and proper handling.
8224 ToString () now matches asp.net
8226 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
8228 * ControlParameter.cs:
8229 * CookieParameter.cs:
8232 * QueryStringParameter.cs: New v2 files. Mostly
8233 implemented, still need a few methods.
8235 2003-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8237 * ListItem.cs: prevent nullrefs ni Get/SetAttribute. Thanks to Alon
8238 Gazit <along@mainsoft.com>.
8240 2003-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8242 * RadioButton.cs: fixed RenderInputTag for negative TabIndex values.
8243 Patch by Alon Gazit <along@mainsoft.com>.
8245 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8247 * DataBoundControl.cs: Implement
8248 * ListControl.cs: inherit from the above.
8249 * Repeater.cs, BaseDataList.cs: should reset whenever we databind.
8251 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8256 * Repeater.cs: add v2 databinding stuff
8257 * XmlDataSource.cs: make it load the xml.
8259 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
8262 * XmlDataSourceView.cs:
8263 * XmlHierarchicalDataSourceView.cs:
8264 * XmlHierarchicalEnumerable.cs:
8265 * XmlHierarchyData.cs: Implement
8267 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
8269 * SiteMapDataSourceView.cs: Implement.
8271 2003-11-07 Jackson Harper <jackson@ximian.com>
8273 * ImageButton.cs: This is a workaround for bug #49819. It appears
8274 that the .x and .y values are not being posted, and only the x
8275 value is being posted with the ctrl's id as the key.
8277 2003-11-07 Jackson Harper <jackson@ximian.com>
8279 * DataGrid.cs (CreateControlHierarchy): Current page index is
8280 alolowed to equal page count. This prevents an exception being
8281 thrown when both are zero.
8283 2003-11-06 Jackson Harper <jackson@ximian.com>
8285 * ValidationSummary.cs: Add Render method. Patch by Yaron Shkop.
8286 * BaseValidator.cs: Disable base control so the isValid flag is
8289 2003-11-03 Jackson Harper <jackson@ximian.com>
8291 * TemplateColumn.cs: Use the same renderer for selected items as
8292 normal items. This fixes bug #49744.
8294 2003-11-03 Jackson Harper <jackson@ximian.com>
8297 * WebControl.cs: Fix argument out of range exceptions on
8298 properties. Patch by Yaron Shkop.
8300 2003-11-03 Jackson Harper <jackson@ximian.com>
8302 * TemplateColumn.cs: If the item is selected but there is no
8303 editItemTemplate use the itemTemplate. This matches MS behvoir.
8305 2003-11-03 Jackson Harper <jackson@ximian.com>
8307 * Repeater.cs: Always set alternating items to the AlternatingItem
8308 type, when instantiating alternating items use the itemTemplate if
8309 the alternatingItem template is null. This matches MS behavoir and
8312 2003-11-03 Jackson Harper <jackson@ximian.com>
8314 * DataGridPagerStyle.cs: Name of view state attribute is
8315 PagerVisible not Visible. Call owner.OnPagerChanged when the pager
8316 visibility is changed. Patch by Yaron Shkop.
8318 2003-11-03 Jackson Harper <jackson@ximian.com>
8320 * RepeatInfo.cs: When doing horizontal rendering use the repeat
8321 columns as the number of columns in a row. This fixes bug #49016.
8323 2003-11-03 Jackson Harper <jackson@ximian.com>
8325 * PagedDataSource.cs (PageCount): Return page count of 1 if there
8326 paging is disabled. Patch by Yaron Shkop.
8327 * PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
8328 * TableStyle.cs (AddAttributesToRender): Render border style
8329 collapse. Patch by Yaron Shkop.
8331 * TableItemStyle.cs:
8332 * DataGridPagerStyle.cs: Call base copy and merge even if style is of
8333 the wrong type. Patch by Yaron Shkop.
8335 2003-11-03 Jackson Harper <jackson@ximian.com>
8337 * BoundColumn.cs: Render readonly columns. Patch by Mohammad DAMT.
8339 2003-11-02 Ben Maurer <bmaurer@users.sourceforge.net>
8342 * BulletedListDisplayMode.cs:
8343 * BulletedListEventHandler.cs:
8345 * BulletedListEventArgs.cs: V2 controls (yay!)
8347 2003-10-30 Jackson Harper <jackson@ximian.com>
8349 * Repeater.cs: Throw an exception if the datasource is set to
8350 something that does not implement either IListSource or
8351 IEnumerable. This fixes bug #50155.
8353 2003-10-30 Jackson Harper <jackson@ximian.com>
8355 * DataGridPagerStyle.cs: Do not allow page button counts to be set
8356 to less then 1. Patch by Yaron Shkop. This fixes bug #50236.
8358 2003-10-29 Jackson Harper <jackson@ximian.com>
8360 * ButtonColumn.cs: Format string and text to format were
8361 inversed. This fixes bug #50171.
8363 2003-10-29 Jackson Harper <jackson@ximian.com>
8365 * DataGridColumn.cs: If an item style is set apply it to the
8366 cell. This fixes bug #50173.
8368 2003-10-29 Ben Maurer <bmaurer@users.sourceforge.net>
8370 * HyperLinkColumn.cs: Patch by Yaron Shkop. Fixes #50234. Remove
8371 old debugging value.
8373 2003-10-29 Jackson Harper <jackson@ximian.com>
8375 * PagedDataSource.cs:
8376 * DataGrid.cs: Patch by Mohammad DAMT. Do not go past the
8377 end of the last page. Fixes bug #5085.
8379 2003-10-29 Jackson Harper <jackson@ximian.com>
8381 * CheckBox.cs: Do not change the status of a checkbox when there
8382 is no post data. This fixes bug #49091.
8383 * CheckBoxList.cs: Do not change the status of the checkboxes when
8384 there is no post data. This fixes bug #49093.
8386 2003-10-26 Ben Maurer <bmaurer@users.sourceforge.net>
8388 * RadioButton.cs: Patch by Yaron Shkop. Enables disabling a
8389 RadioButton. Fixes #50132
8391 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
8393 * PagedDataSource.cs: Patch by Ivo Haamer. Typo prevented
8394 paging from working. Fixes #48814.
8396 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
8398 * DataGrid.cs: A few typos kept us from viewing datagrids
8399 that were based on customized collections.
8401 2003-10-24 Ben Maurer <bmaurer@users.sourceforge.net>
8403 * DataGridCommandEventArgs.cs: typo, cmdSrc was becoming origionalArgs.
8405 2003-10-23 Ben Maurer <bmaurer@users.sourceforge.net>
8407 * Calendar.cs: render the next month button so that aligns to the
8410 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8412 * BaseCompareValidator.cs: splitted Convert. Fixed bug #49927. The fix
8413 was just changing && by || after the first Match.
8415 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8417 * Calendar.cs: apply header style in RenderHeader. Fixes bug #49144.
8418 Patch by Yaron Shkop.
8420 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8422 * DataGrid.cs: applied patch from Yaron Shkop (yaronsh@mainsoft.com)
8423 that fixes bug #49744. Now the selection doesn't lose its data.
8425 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
8427 * EditCommandColumn.cs: Implement; fix #49736
8429 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
8431 * ButtonColumn.cs: Use the DataGridLinkButton, so that we inherit
8432 the forground color. bug #49738
8434 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8436 * Calendar.cs: fixed bug #49727.
8438 2003-10-18 Ben Maurer <bmaurer@users.sourceforge.net>
8440 * TableStyle.cs: fix #49740.
8442 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8444 * SelectedDatesCollection.cs: fix by Yaron for bug #49698.
8445 * ValidationSummary.cs: fixes bug #49669.
8447 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8449 * Calendar.cs: apply the calendar style to the new Table, not to itself.
8452 * CheckBox.cs: render the hidden fields if AutoPostBack.
8454 * Style.cs: don't render empty width/height. Small improvement in
8457 * Table.cs: fixed condition for border width.
8460 (CopyFrom): always call the base class to copy other attributes. Fixes
8461 bug #49408. Don't render empty 'rules' attribute.
8463 * WebControl.cs: track viewstate when enabled. Don't overwrite source
8464 control attributes in CopyBaseAttributes.
8466 * ChangeLog: fixed dates.
8469 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
8471 * WebControl.cs : Attributes { get; } - Is Complete.
8472 * ValidationSummary.cs : AddAttributesToRender(HtmlTextWriter)
8475 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
8477 * BaseValidator.cs : DetermineRenderUplevel() - Completed.
8478 : RegisterValidatorCommonScript()
8479 - More code, I need HELP!
8480 : RegisterValidatorDeclaration()
8481 - More code, I need HELP!
8483 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8485 * CheckBoxList.cs: don't lose state when enabling/disabling. See bug
8488 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8490 * Repeater.cs: fixed bug #48807. It needed to use a DummyDataSource and
8491 ClearViewState only called when no items.
8493 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8495 * RadioButtonList.cs: fix for bug #48874 by Yaron Shkop.
8497 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8499 * RadioButtonList.cs: fix for bug #48870 by Yaron Shkop.
8501 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8503 * DataList.cs: fixed bug #48217. Patch by yaronsh@mainsoft.com (Yaron
8506 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8508 * AdRotator.cs: fixes bug #48691. Patch by yaronsh@mainsoft.com (Yaron
8511 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8513 * CheckBox.cs: render the 'disabled' attribute in the correct tag.
8514 * WebControl.cs: fixed Enabled property and save it in ViewState.
8518 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8520 * ListControl.cs: fixed bug #48668. Thanks to Yaron Shkop.
8522 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8524 * ListBox.cs: patch by yaronsh@mainsoft.com (Yaron Shkop) that fixes
8527 2003-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8529 * FontInfo.cs: fixed Name property as suggested by Rich Alimi
8530 <rich@velvetsea.net>.
8532 2003-09-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8534 * RegularExpressionValidator.cs: fix for EvaluateIsValid by Juraj
8535 Skripsky <juraj@hotfeet.ch>
8537 2003-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8539 * BaseValidator.cs: patch by Juraj Skripsky (juraj@hotfeet.ch) that
8540 fixes rendering of the end tag.
8542 2003-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8544 * Repeater.cs: fix for Items property provided by yaronsh@mainsoft.com
8545 (Yaron Shkop). Closes bug #48060.
8547 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8549 * CheckBox.cs: in LoadPostData, only return
8550 true when the new data is different from the one we had. Fixed
8551 conditions to save Checked state. Thanks to yaronshkop@hotmail.com
8554 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8556 * Style.cs: Font.Strikeout renders as 'line-through'. Fixes bug #47871.
8558 2003-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8560 * WebControl.cs: removed dangling ^M and unneeded fields. Keep track
8561 of Enable in ViewState. Fixes bug #47865.
8563 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8565 * Style.cs: the MARKED bit is not send set in ViewState unless something
8566 is changed. Fixed TrackViewState condition.
8568 * WebControl.cs: save the base ViewState *after* ControlStyle is done,
8569 because it uses the same ViewState as the control. Fixes bug #47725.
8571 2003-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8573 * HyperLinkColumn.cs: patch from David Pickens <dsp@rci.rutgers.edu>
8574 that fixes databinding when only DataTextField or DataNavigateUrlField
8577 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8579 * ListControl.cs: patch sent by Yaacov Akiba Slama <ya@slamail.org> on
8580 behalf of Yaron Shkop <yaronsh@mainsoft.com> that fixes selection of
8581 values before assigning a data source and other issues.
8583 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8585 * CheckBox.cs: save viewstate when needed and correctly handle post
8586 data. Fixes bug #47462.
8588 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8590 * ButtonColumn.cs: Removed additional attributes
8591 * CheckBox.cs: Added attribute
8592 * DataGrid.cs: Added attributes
8593 * HyperLinkColumn.cs: Changed attributes, added lamespec
8594 * Style.cs: Removed attributes
8595 * TextBox.cs: Added/ removed attributes
8597 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8599 * AdRotator.cs: Added all attributes
8600 * BaseDataList.cs: Added all attributes, added lamespec, removed additional attributes
8601 * BaseValidator.cs: Added all attributes
8602 * BoundColumn.cs: Added all attributes
8603 * Button.cs: Added all attributes
8604 * ButtonColumn.cs: Added all attributes, added lamespec
8605 * Calendar.cs: Added all attributes, added error checks, throws more exceptions
8606 * CheckBox.cs: Added all attributes
8607 * CheckBoxList.cs: Added all attributes
8608 * CompareValidator.cs: Added all attributes
8609 * CustomValidator.cs: Added all attributes
8610 * DataGrid.cs: Added all attributes, more verbose exceptions, fixed signature, removed additional attributes
8611 * DataGridColumn.cs: Added all attributes
8612 * DataGridColumnCollection.cs: Added all attributes
8613 * DataGridPagerStyle.cs: Added all attributes
8614 * DataGridTableInternal.cs: Made DataGridTableInternal internal
8615 * DataList.cs: Added all attributes, more verbose exceptions, removed non-existing member
8616 * DropDownList.cs: Added all attributes
8617 * FontInfo.cs: Added all attributes
8618 * HyperLink.cs: Added all attributes
8619 * HyperLinkColumn.cs: Added all attributes
8620 * Image.cs: Added all attributes
8621 * ImageButton.cs: Added all attributes
8622 * Label.cs: Added all attributes
8623 * LinkButton.cs: Added all attributes
8624 * ListBox.cs: Added all attributes, added error checks, throws more exceptions
8625 * ListControl.cs: Added all attributes
8626 * ListItem.cs: Added all attributes
8627 * ListItemCollection.cs: Added attribute
8628 * Literal.cs: Added all attributes
8629 * Panel.cs: Added all attributes
8630 * RadioButton.cs: Added all attributes
8631 * RadioButtonList.cs: Added all attributes, added error checks, throws more exceptions
8632 * RangeValidator.cs: Added all attributes
8633 * RegularExpressionValidator.cs: Added all attributes
8634 * Repeater.cs: Added all attributes
8636 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
8638 * RequiredFieldValidator.cs: Added all attributes
8639 * Style.cs: Added all attributes
8640 * Table.cs: Added all attributes
8641 * TableCell.cs: Added all attributes, added error checks, throws more exceptions
8642 * TableCellCollection.cs: Added attribute
8643 * TableRow.cs: Added all attributes
8644 * TableRowCollection: Added attribute
8645 * TableStyle.cs: Added all attributes, improved error messages
8646 * TemplateColumn.cs: Added all attributes
8647 * TextBox.cs: Added all attributes, added error checks, throws more exceptions
8648 * ValidationSummary.cs: Added all attributes
8649 * WebControl.cs: Added all attributes
8650 * Xml.cs: Added all attributes
8652 2003-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8654 * DataGrid.cs: fixed signature of ItemCreated and PageIndexChanged.
8655 * DataList.cs: fixed signature of ItemCreated and ItemDataBound.
8657 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8659 * CheckBoxList.cs: fixes bug reported on the list about the state of
8660 the CheckButtons not being preserved across posts.
8662 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8664 * ListControl.cs: added SelectedValue property (1.1). Closes 46412.
8666 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8668 * AdRotator.cs: fixed bug #44271 and a few others bugs. Mono-stylized.
8670 2003-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8672 * ListControl.cs: save viewstate data when any of the 3 values is not
8673 null. Fixed condition to save selection indices. Closes bug #45493.
8675 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8677 * DataGrid.cs: fixed bug #43823.
8679 2003-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8681 * DataGrid.cs: fixed delegate type for SortCommand.
8683 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8685 * DataGridColumnCollection.cs: added missing return in RemoveAt.
8687 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8689 * DataGridColumnCollection.cs: fixed LoadViewState for the columns.
8690 Don't save ViewState is the number of columns is 0.
8692 2003-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8694 * DataGrid.cs: get the right item Type for the property we're reading
8695 fromt the data source.
8697 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8700 * TextBox.cs: added control builder attribute.
8702 2003-03-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8704 * DataGrid.cs: Fixed SaveViewState and type of ItemDataBound.
8706 2003-03-17 George Kodinov <gkodinov@openlinksw.co.uk>
8708 * Unit.cs: Called the correct method to get the Numeric locale for the
8711 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8713 * ButtonColumn.cs: fixed a couple of infinite loop problems and render
8714 correctly the header of the column.
8716 * DataGridTableInternal.cs: don't assign a default ID to this control.
8718 * LinkButton.cs: raise bubble event in OnCommand.
8720 * TableCellCollection.cs: fixed the index returned by Add.
8722 * TableRowCollection.cs: ditto.
8724 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8726 * Xml.cs: don't call MapPathSecure when setting DocumentSource.
8728 2003-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8730 * RangeValidator.cs: fixed bug #37577. Thanks to Stephane Tombeur
8731 for reporting the bug and providing the fix.
8733 2003-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8735 * DataGrid.cs: AutoGenerateColumns defaults to true. Fixed
8736 CreateColumnSet. Set the owner of the column when auto generated.
8737 In PrepareControlHierarchyForItem, fixed for loop bound.
8739 * LinkButtonInternal.cs: fixed infinite recursion bug.
8743 2003-01-22 Zdravko Tashev <ztashev@openlinksw.co.uk>
8745 * Xml.cs: a few fixes.
8747 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8749 * DataList.cs: handle the exception when adding new keys to
8752 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8754 * BaseDataList.cs: what can I say for this one? I spent so many time
8755 until I finally found this that I'm gonna miss this f....g bug... ;-).
8756 Farewell. Now we can get events from image buttons inside Data*.
8758 * DataList.cs: now the value stored in ViewState for item count is
8761 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8763 * DataGrid.cs: default value for ShowHeaders is true. Fixed style for
8765 * DataGridColumn.cs: added SetOwner method.
8766 * DataGridColumnCollection.cs: set the owner of the column when added.
8768 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8770 * BoundColumn.cs: typo.
8771 * DataGrid.cs: use 'as' instead of casting. Typo.
8772 * HyperLinkColumn.cs: call OnColumnChanged when any property change.
8775 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8777 * HyperLink.cs: fixes bug #36336.
8779 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8781 * DataList.cs: fixed IRepeatInfoUser.GetItemStyle.
8783 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8785 * BaseValidator.cs: return an empty string in GetControlValidationValue
8786 when GetValue returned null.
8788 * CompareValidator.cs: fixed EvaluateIsValid.
8790 * RegularExpressionValidator.cs: fixed EvaluateIsValid.
8792 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8794 * Xml.cs: use MapPathSecure to get the path of the document.
8796 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8798 * DataList.cs: fixed header & footer.
8800 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8802 * DataList.cs: for header and footer don't use data source.
8803 Instantiate in the DataListItem, not in the DataList.
8804 databind-template.aspx works now.
8806 2002-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8809 (Render): call RenderContents (), not base.RenderContents ().
8811 * DataList.cs: style.
8813 But I still haven't found what i'm looking for....
8815 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8817 * Calendar.cs: fixed loading/saving selected dates.
8818 * SelectedDatesCollection.cs: added internal function to get the
8819 underlying ArrayList.
8821 Calendar navigation works again. Selecting dates too.
8823 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8825 * DataList.cs: added a few attributes and fixed infinite recursion.
8827 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8829 * ListItemCollection.cs: fixed LoadViewState.
8831 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8833 * TableItemStyle.cs: TypeDescriptor.GetConverter seems to fail.
8834 Commented out some code until it works.
8836 2002-10-29 Gaurav Vaish <gvaish_mono@lycos.com>
8838 * BaseCompareValidator.cs - Fixed operator bug in
8839 Compare(string, string, ...)
8840 * CompareValidator.cs - EvaluateIsValid() : Implemented.
8842 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8844 * BoundColumn.cs - InitializeCell(TableCell, int, ListItemType)
8846 - All Properties : Now make use of ViewState.
8848 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8850 * BaseValidator.cs - Uncomment NotImplementedException.
8852 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8854 * BaseValidator.cs - Minor changes in TODO comments.
8856 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8858 * BaseValidator.cs - DetermineRenderUpLevel() : Uncomment
8859 the NotImplementedException being thrown.
8860 * DataGridPagerStyle.cs - Mode { set; } : Implemented.
8861 * DataGridLinkButton.cs - Added new class (private) : Implemented.
8862 * DataGrid.cs - InitializePager(DataGridItem, int,
8863 PagedDataSource) : Implemented.
8865 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8867 * DataList.cs - PrepareControlHierarchy() : Implemented.
8869 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
8871 * DataList.cs - RenderContents(HtmlTextWriter) : Implemented.
8872 - GetItem(ListItemType, int) : Removed TODO.
8873 - CreateControlHierarchy(bool) : Implemented.
8874 - CreateItem(int, ListItemType) : Implemented.
8875 - CreateItem(int, ListItemType,
8876 bool, object) : Implemented.
8877 - InitializeItem(DataItem) : Implemented.
8878 * DataGrid.cs - CreateControlHierarchy(bool) : Bug fix.
8879 The ViewState["_!ItemCount"],
8880 ViewState["_!DataSource_ItemCount"]
8881 are shared by DataList and DataGrid, and hence
8882 should share the same name.
8883 - ResolveDataSource(object, string)
8884 : Removed. Use System.Web.UI.Utils.DataSourceHelper
8885 ::GetResolvedDataSource(object, string).
8888 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8890 * DataGrid.cs: fixed compilation
8892 2002-09-12 Gaurav Vaish <gvaish_mono@lycos.com>
8894 * PagedDataSource.cs - FirstIndexInPage : Fixed bug.
8895 * DataGrid.cs - CreateControlHierarchy(bool)
8896 : working towards completion.
8897 - ResolveDataSource(object, string)
8898 : stubbed new method
8900 : stubbed new method
8901 Well. It's almost done.
8902 * DataGridTableInternal.cs
8903 - Added new internal class.
8905 2002-08-28 Gaurav Vaish <gvaish_mono@lycos.com>
8907 * DataSourceInternal.cs - Added new class (internal).
8909 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8912 * HorizontalAlign.cs:
8914 * VerticalAlign.cs: fixes based on class status page.
8916 * HorizontalAlignConverter.cs: implemented.
8917 * VerticalAlignConverter.cs: implemented.
8919 * FontUnitConverter.cs: implemented GetStandardValues ().
8921 * WebColorConverter.cs: implemented ConvertFrom () and ConvertTo ().
8923 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
8925 * DataGrid.cs - AutoCreateColumns: Bug fixes.
8927 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
8929 * DataGrid.cs - AutoCreateColumns: completed, hopefully!
8931 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
8933 * DataGrid.cs - Working on the undocumented protected
8934 method CreateColumnSet. AutoCreateColumns method
8935 stubbed. Left CreateControlHierarchy for the time
8936 being, looks like I'm going insane. ;-)
8938 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
8940 * Button.cs - Steffen's OnCommand bug fix.
8942 2002-08-12 Gaurav Vaish <gvaish_mono@lycos.com>
8944 * DataGrid.cs - Added protected method (skeleton)
8945 CreateColumnSet(PagedDataSource, bool)
8946 Still trying to know how will it be used
8949 2002-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8951 * PagedDataSource.cs: fixed compilation.
8953 2002-08-08 Gaurav Vaish <gvaish_mono@lycos.com>
8955 * DataGrid.cs - Added private method
8956 CreatePagedDataSource
8958 CreateControlHierarchy(bool)
8959 * PagedDataSource.cs - Bug fixed.
8960 CurrentPageIndex is writable.
8962 2002-08-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8964 * DataGrid.cs: fixed typo.
8965 * DataGridPagerStyle.cs: added IsPagerOnTop and IsPagerOnBottom.
8967 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
8969 * DataGridColumn.cs - Added internal methods to get the
8970 various styles (needed in DataGrid.cs)
8971 * DataGrid.cs - Completed the method
8972 PrepareControlHierarchy()
8974 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
8976 * DataGrid.cs - Wokring on PrepareControlHierarchy()
8977 - Added private method
8978 PrepareControlHierarchyForItem()
8980 2002-08-05 Gaurav Vaish <gvaish_mono@lycos.com>
8982 * DataGrid.cs - Completed method
8983 OnBubbleEvent(object, EventArgs)
8985 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8987 * Xml.cs: implemented document/transform load.
8989 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8991 * Calendar.cs: added myself to the list of authors.
8992 * DropDownList.cs: fixed a few properties.
8993 * ListControl.cs: fixed SelectedIndex.
8995 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8997 * Calendar.cs: lots of fixes. Render days. Still left to persist
8998 selected days when changing month.
9000 * Unit.cs: fixed Percentage and Pixel.
9002 * WebControl.cs: a few properties are now using ControlStyle instead
9003 of ViewState to persist.
9005 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9007 * BaseValidator.cs: it works now.
9008 * DataGridColumn.cs: added attribute and made it abstract.
9009 * RequiredFieldValidator.cs: fixed return value in EvaluateIsValid.
9011 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9013 * TextBox.cs: default for Wrap is true.
9014 (OnPreRender): don't save Text if there are no listeners on TextChanged.
9016 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9022 (LoadViewState): fixed.
9024 * ListItemCollection.cs:
9025 (TrackViewState): use items instead of 'this' in foreach.
9028 (LoadViewState): more checking of parameters.
9030 * WebControl.cs: implemented LoadViewState and SaveViewState.
9033 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9035 * ListItem.cs: there was no code to unset the flags!!!
9037 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9039 * FontUnit.cs: use a hashtable for mapping size name to value.
9040 * HyperLink.cs: fixed a bug and a typo.
9041 * Unit.cs: some fixes to internal constructor.
9043 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9045 * ListControl.cs: fixed a couple of range checks.
9046 * WebControl.cs: MS lies! Not all WebControls must be rendered inside
9047 an HtmlForm (p.e., Label).
9049 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9059 * HyperLinkColumn.cs:
9068 * RadioButtonList.cs:
9072 * WebControl.cs: removed attributes added by mistake (i used
9073 GetCustomAttributes (true), d'oh!).
9075 * DataListItem.cs: implemented RenderItem.
9077 * Repeater.cs: implemented CreateItem and InitializeItem.
9079 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9081 * BaseDataList.cs: a couple of fiex and added attributes.
9082 * DataGrid.cs: little fixes.
9084 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9093 * RadioButtonList.cs:
9096 * Xml.cs: forgot to add using System.ComponentModel.
9098 * BaseValidator.cs: use explicitly
9099 System.ComponentModel.AttributeCollection as there is another class
9100 with the same name under System.Web.UI.
9102 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9121 * RadioButtonList.cs:
9126 * Xml.cs: added/fixed all attributes used by xsp.
9128 * BaseValidator.cs: some fixes.
9130 2002-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9133 (AddAttributesToRender): correctly default to border=1.
9135 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9138 (LoadAdFile): make the dictionary null after every iteration.
9142 * ListItem.cs: fixed warnings.
9144 Mon Jul 1 16:23:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
9146 * Style.cs, TableRow.cs, DataListItem.cs: fix compilation.
9148 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9150 * DataGridColumn.cs:
9151 * DataGridPagerStyle.cs:
9158 * ListItemCollection.cs:
9160 * ServerValidateEventArgs.cs:
9164 * Xml.cs: more class status page based changes.
9166 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9169 (.ctor): fixed to render the correct tag.
9170 (IPostBAckEventHandler.RaisePostBackEvent): fixed.
9172 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9175 (AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
9176 WebControl derived classes should be rendered inside a HtmlForm.
9178 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9180 * Repeater.cs: implemented CreateControlHierarchy. Fixed some event
9183 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9185 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
9186 * RepeatInfo.cs: implemented DoHorizontalRendering.
9188 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9190 * System.Web.UI.WebControls/Repeater.cs:
9192 (OnDataBinding): fixed stack overflow.
9194 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9196 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
9197 * RepeatInfo.cs: implemented DoHorizontalRendering.
9199 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9202 (CopyBaseAttributes): copy Attributes and don't throw exception.
9204 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9206 * ListBox.cs: mono-stylized.
9207 (AddAttributesToRender): call parent class method.
9209 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9211 * Style.cs: fixed IsEmpty and Width.
9213 * Table.cs: mono-stylized.
9214 (TableRowControlCollection.AddAt): fixed.
9215 (AddAttributesToRender): fixed.
9217 * TableCell.cs: mono-stylized.
9218 (.ctor): use PreventAutoID.
9219 (AddAttributesToRender): fixed.
9220 (AddParsedSubObject): fixed.
9222 * TableRow.cs: mono-stylized. Added
9223 ParseChildren attribute.
9226 (get_GridLine): fixed.
9228 2002-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9230 * Panel.cs: fixed stack overflow.
9231 * Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
9232 and SingleConverter.
9234 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9236 * RadioButton.cs: mono-stylized and some little fixes.
9238 * TextBox.cs: mono-stylized.
9239 (MaxLength): fixed typo.
9241 (AddAttributesToRender): don't render the text between the tags for
9242 SingleLine, use value attribute for it. Don't render the text for
9245 (OnPreRender): don't throw exception and call base.OnPreRender.
9247 (Render): for MultiLine, render the text between the opening and
9248 closing tags encoded as HTML.
9250 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9253 (AddAttributesToRender): fixer another stack overflow.
9256 (TagName): modified to use TagKey instead of tagKey as the property
9259 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9261 * LinkButton.cs: mono-stylized.
9262 (AddParsedSubObject):
9263 (RenderControls): little fixes.
9266 (AddAttributesToRender): fixed usage of IEnumerator.
9268 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9270 * Literal.cs: beautified.
9272 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9274 * Label.cs: beautified and fixed a couple of 'classic' bugs.
9276 * WebControl.cs: use Span as default tag when no other provided in
9277 constructor. That is what MS renders.
9279 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9282 (AddAttributesToRender): fixed (classic) stack overflow.
9284 * CheckBox.cs: mono-stylized.
9285 (AutoPostBack): fixed stack overflow.
9286 (Render): fixed alignment issues. Also set the For attribute always
9289 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9291 * AdRotator.cs: GetData does not work as it should, but now it returns
9292 useful data (only the first ad in the file). Set the NavigateUrl
9293 property in the hyperlink if available.
9295 * HyperLink.cs: fixed constructor and a couple of stack overflows.
9297 * Image.cs: added an attribute and fixed stack overflow.
9300 (RenderBeginTag): fixed.
9301 (TagName): don't call Enum.IsDefined twice.
9303 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9305 * WebControl.cs: added attributes PersistChildrenAttribute and
9306 ParseChildrenAttribute.
9308 2002-05-24 Duncan Mak <duncan@ximian.com>
9310 * DataGridItem.cs (SetItemType): Changed function signature to
9313 * ListItemCollection.cs (this): Changes the visibility level of
9316 * Repeater.cs (OnItemCommand):
9318 (OnItemDataBound): Added necessary casts.
9320 2002-05-07 Duncan Mak <duncan@ximian.com>
9322 * Button.cs (AddAttributesToRender):
9323 * ImageButton.cs (AddAttributesToRender): Added a missing argument to the
9324 GetClientValidatedEvent method.
9326 2002-03-27 Gaurav Vaish <gvaish@iitk.ac.in>
9328 * Removed extra methods, corrected access modifiers to several
9331 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
9333 * <SeveralFiles>.cs - Added some attributes
9334 * FontUnitConverter.cs - Added stubs for GetStandardValues*(..)
9335 methods. Will complete them later. Right now, busy with
9336 the attributes part.
9337 * RepeaterItem.cs - Completed.
9339 Oh God! Mercy! I will die applying attributes. I look at the missing
9340 part in the class-status - daemon! Kyrie eleison!
9342 2002-03-19 Gaurav Vaish <gvaish@iitk.ac.in>
9346 * AdRotator.cs - Added definition for Font.
9347 * BaseCompareValidator.cs - Added definition for Controls.
9348 * Calendar.cs - SelectMonthText definition corrected.
9349 * DataList.cs - Added definition for SeparatorTemplate.
9350 * BorderStyle.cs - Namespace correction. It belongs not to UI,
9351 but to UI.WebControls.
9353 2002-03-17 Gaurav Vaish <gvaish@iitk.ac.in>
9355 Finally, I have made it. Today I did a second build for the
9356 System.Web assembly. It compiled 195 classes today.
9357 I am waiting eagerly for the runtime to come up so that the objects
9358 may be tested to their last levels. Several of the methods are still
9359 under the tag of "TODO" throwing NotImplementedException. Well, I
9360 hope to remove them soon, but how far is this soon - even I don't
9361 know, though I am happy to make the build a success even before
9362 the vacations to come.
9364 2002-03-07 Gaurav Vaish <gvaish@iitk.ac.in>
9366 Yesterday and today I tried to do some building of the aseembly,
9367 but was dumped with uncoutably infinite errors. ;-)
9368 I have put the copies of the recent errors on my home page, want
9369 to have a look at them? See:
9370 http://mastergaurav.virtualave.net/mono/
9371 I don't know what to do with these errors. Oh! The buggy me! How
9372 will I overcome myself. Hopefully, by when my vacations over, I
9373 should have made a repository where the build will not fail.
9375 2002-03-05 Gaurav Vaish <gvaish@iitk.ac.in>
9377 I am now going to do a build that will include the
9378 System.Web.UI.WebControls namespace. Hoping that I will make it
9379 soon. My exams are coming near and I have to pack up soon.
9382 2002-03-04 Gaurav Vaish <gvaish@iitk.ac.in>
9385 And with this, ie, today's work, all the objects mentioned in the
9386 namespace appear in the implementation. But it may not be worth
9387 trying to go for a build because of dependence of several of the
9388 internal methods that may clash with already available assembly
9391 Also, the classes lack possible attributes, like those informing
9392 about child-controls etc. But I have to first create the attribute
9393 classes before I attach the attributes to the classes.
9395 * CustomValidator.cs - Completed. In process realized that
9396 I have to complete / rejuvinate BaseValidator class.
9397 * BaseValidator.cs - Complete rejuvination. Completed 80%
9398 of the job. All that is left is Render(HtmlTextWriter),
9399 DetermineRenderUplevel(), RegisterValidatorCommonScript()
9400 RegisterValidatorDeclaration()
9401 * DataGridPagerStyle.cs - Completed. That adds one more missle
9403 * DataKeyCollection.cs - Completed. Petty small.
9404 * Repeater.cs - Work started off. This is a quite
9406 * DataGridItemEventArgs.cs,
9407 * DataGridShortCommandEventArgs.cs,
9408 * DataListItemEventArgs.cs,
9409 * MonthChangedEventArgs.cs,
9410 * RepeaterItemEventArgs.cs,
9411 * ServerValidateEventArgs.cs,
9412 * DataGridPageChangedEventArgs.cs
9413 - Damn, I marked them "*", while they
9415 * Repeater.cs - Done all except for an undocumented
9416 method CreateControlHierarchy(bool). Though the method
9417 is quite clear by its name, but it will take some time
9418 for me to come with some material to flush in.
9420 2002-03-03 Gaurav Vaish <gvaish@iitk.ac.in>
9422 * SelectedDatesCollection.cs - Completed.
9423 * PagedDataSource.cs - Completed. Pathetically nice class.
9424 * RegularExpressionValidator.cs
9425 - Completed. Ridiculously small and
9426 annoyinglyc crazy-driving class, basically the method
9428 * RangeValidator.cs - Completed.
9429 * DataGridColumn.cs - Completed.
9430 * EditCommandColumn.cs - All is complete except for the
9431 InitializeCell(TableCell, int, ListItemType) method.
9432 * DataListItem.cs - All done except for a longish method
9433 RenderItem(HtmlTextWriter, bool, bool)
9435 2002-03-02 Gaurav Vaish <gvaish@iitk.ac.in>
9437 * RepeaterItemCollection.cs - Completed.
9438 I love *Collection classes. I am planning to make a
9439 program that will generate a *Collection class. It's so
9440 simple and the same. ;-)
9441 * DataGridColumnCollection.cs - Completed.
9442 ... except probably for *ColumnCollection classes, where
9443 you have to put in some more effort. Still, these class
9444 generation can be automated.
9445 * DataListItemCollection.cs - Completed.
9446 See, how easily, in less than a quarter of a minute, I
9447 completed this class - manually. Copy-Paste/Cut-Replace.
9449 2002-02-21 Gaurav Vaish <gvaish@iitk.ac.in>
9451 * DataGrid.cs - Following methods implemented:
9452 TrackViewState(), LoadViewState(object), SaveViewState(),
9453 On* -- The event raisers.
9454 OnBubbleEvent(object, EventArgs) is still incomplete.
9455 * DataGridItem.cs - Initial Implementation
9456 * DataGridItemCollection.cs - Completed.
9458 2002-02-08 Gaurav Vaish <gvaish@iitk.ac.in>
9460 * DataGrid.cs - Initial Implementation. Worked
9461 primarily with some properties.
9463 2002-02-07 Gaurav Vaish <gvaish@iitk.ac.in>
9465 * ListBox.cs - Completed. Implemented
9466 LoadPostData(string, NameValueCollection)
9467 * RequiredFieldValidator.cs - Completed. Pretty simple class.
9469 2002-02-06 Gaurav Vaish <gvaish@iitk.ac.in>
9471 * ListBox.cs - Implemented the following:
9472 RaisePostDataChangedEvent()
9474 2002-02-02 Gaurav Vaish <gvaish@iitk.ac.in>
9476 * ListBox.cs - Supports the following properties:
9477 BorderColor, BorderStyle, BorderWidth, Rows, SelectionMode,
9480 AddAttributesToRender(HtmlTextWriter), OnPreRender(EventArgs),
9481 RenderContents(HtmlTextWriter)
9484 2002-02-01 Gaurav Vaish <gvaish@iitk.ac.in>
9486 * TargetConverter.cs - Completed
9487 * TemplateColumn.cs - Completed
9488 * DataList.cs - Corrected the get-er methods for the
9489 *Style objects. Corrected the get/set-er methods for ViewState
9491 Addded support for properties:
9492 GridLines, HeaderStyle, HeaderTemplate, ItemStyle, ItemTemplate,
9493 RepeatColumns, RepeatDirection, RepeatLayout, SelectedIndex,
9494 SelectedItem, SelectedItemStyle, SelectedItemTemplate,
9495 SeparatorStyle, SeparatorItemTemplate.
9497 CancelCommand, DeleteCommand, EditCommand, ItemCommand,
9498 ItemCreated, ItemDataBound, UpdateCommand.
9500 CreateControlStyle(), LoadViewState(object),
9501 SaveViewState(), TrackViewState
9503 OnBubbleEvent, OnCancelCommand, OnDeleteCommand,
9504 OnEditCommand, OnItemCommand, OnItemCreated,
9505 OnItemDataBound, OnUpdateCommand
9506 Added dummy methods for some undocumented methods:
9507 CreateControlHierarchy(bool), CreateItem(int, ListItemType),
9508 CreateItem(int, ListItemType, bool, object),
9509 PrepareControlHierarchy(), InitializeItem(DataListItem)
9510 * ListBox.cs - Started working.
9514 2002-01-31 Gaurav Vaish <gvaish@iitk.ac.in>
9516 * RepeaterInfo.cs - Initial Implementation. Done all
9517 except for RepeatDirection.Vertical
9518 * TableStyle.cs - Completed
9520 2002-01-30 Gaurav Vaish <gvaish@iitk.ac.in>
9522 * DropDownList.cs - Completed
9523 * ListItemCollection.cs - Added method FindByValueInternal to
9524 assist in the derived classes.
9525 Discovered bug in FindByValue. Removed
9526 * UnitConverter.cs - Completed
9527 * PlaceHolder.cs - What can be simpler than this?
9528 * PlaceHolderControlBuilder.cs
9529 - Uh! Damn cool one.
9530 * RadioButtonList.cs - Initial Implementation. All is done
9531 except for the implementation of
9532 method IRepeatInfoUser.RenderItem(...)
9533 * ValidatedControlConverter.cs
9534 ^^^^^^^^^^^^^^^^^^^^^^^^^ - Looks complete. Doubtful though !!
9535 * ValidationSummary.cs - Initial Implementation.
9536 * WebColorConverter.cs - Initial Implementation
9538 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
9540 * FontNamesConverter.cs - Completed
9541 * FontUnitConverter.cs - Partial Implementation
9542 * ListItemControlBuilder.cs - Completed
9544 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
9546 * TextBox.cs - All done except *Render* methods
9547 * TextBoxControlBuilder.cs - Completed
9548 * Xml.cs - Partial Implementation
9550 2002-01-26 Gaurav Vaish <gvaish@iitk.ac.in>
9552 * RadioButton.cs - Completed
9553 * TextBox.cs - Partial Implementation
9555 2002-01-25 Gaurav Vaish <gvaish@iitk.ac.in>
9557 * Panel.cs - Completed
9558 * TableItemStyle.cs - Completed
9560 2002-01-18 Gaurav Vaish <gvaish@iitk.ac.in>
9562 * TableCellCollection.cs - Completed
9563 * TableRowCollection.cs - Completed
9564 * TableHeaderCell.cs - Completed
9565 * TableRow.cs - Completed
9567 2002-01-09 Gaurav Vaish <gvaish@iitk.ac.in>
9569 * TableCellControlBuilder.cs - Completed
9570 * Table.cs - Completed
9571 * TableCell.cs - Completed
9573 2002-01-07 Gaurav Vaish <gvaish@iitk.ac.in>
9575 * CheckBoxList.cs - Completed
9576 * ButtonColumn.cs - Completed
9577 * Button.cs - Completed
9579 2001-12-28 Gaurav Vaish <gvaish@iitk.ac.in>
9581 * HyperLink.cs - Completed
9582 * Image.cs - Completed
9583 * ImageButton.cs - Completed
9584 * Label.cs - Completed
9585 * LabelControlBuilder.cs - Completed
9586 * LinkButton.cs - Completed
9587 * LinkButtonControlBuilder.cs - Completed
9588 * Literal.cs - Completed
9589 * LieteralControlBuilder.cs - Completed
9590 * FontUnit.cs - Completed
9593 2001-12-27 Gaurav Vaish <gvaish@iitk.ac.in>
9595 * Calendar.cs - Completed the functions of Render*,
9596 ViewStates (Track/View/Save),
9598 Left: RenderAllDays (partially)
9600 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
9602 * Calendar.cs - Added some more functions
9603 * Style.cs - Completed
9604 * ListItem.cs - Completed
9605 * ListItemCollection.cs - Completed
9607 Made the first successful build of System.Web.dll that included
9608 System.Web.UI.WebControls!
9610 2001-12-20 Gaurav Vaish <gvaish@iitk.ac.in>
9612 FontInfo.cs - Complete revamp. Completed
9614 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
9616 ListItemCollection.cs - Completed
9617 ListItem.cs - Initial Implementation
9618 Style.cs - Initial Implementation
9620 Right now I am in a total mood to do a successful build. Creating so many
9621 classes, completing classes in System.Web System.Web.UI namespaces.
9623 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
9625 TODO - Properly added
9626 CheckBox.cs - Completed
9627 BaseDataList.cs - Completed
9628 DayRenderEventArgs.cs - Completed
9629 RepeaterItem.cs - Initial implementation
9631 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
9633 BaseCompareValidator.cs - Completed
9634 AdRotator.cs - Completed
9636 2001-12-15 Gaurav Vaish <gvaish@iitk.ac.in>
9638 CommandEventArgs.cs - Completed
9639 DataGridCommandEventArgs.cs - Completed
9640 RepeaterCommandEventArgs.cs - Completed
9641 DataListCommandEventArgs.cs - Completed
9642 CompareValidator.cs - Partial Implementation
9644 2001-12-02 Gaurav Vaish <gvaish@iitk.ac.in>
9646 CheckBoxList.cs - Partial Implementation.
9649 2001-12-01 Gaurav Vaish <gvaish@iitk.ac.in>
9651 ListControl.cs - Completed
9653 2001-11-30 Gaurav Vaish <gvaish@iitk.ac.in>
9655 CheckBox.cs - Completed
9656 ListControl.cs - Initial Implementation
9657 CheckBoxList.cs - Started with it, but first needed
9658 ListControl. Left it.
9660 2001-11-29 Gaurav Vaish <gvaish@iitk.ac.in>
9662 CalendarDay.cs - Making a note that this
9663 has been implemented
9664 Calendar.cs - Making a note that have made some changes.
9665 Unimplmented functions throw
9666 NotImplementedException
9667 CheckBox.cs - Can now "Render" and "LoadPostData"
9670 2001-11-08 Gaurav Vaish <gvaish@iitk.ac.in>
9671 WebControl.cs - Total Revamp, Partial Implementation
9672 AdRotator.cs - Able to load files
9673 AdCreatedEventArgs.cs - Implemented
9675 2001-11-05 Gaurav Vaish <gvaish@iitk.ac.in>
9676 Calendar.cs - Initial Implementation
9677 ButtonColumn.cs - Initial Implementation
9678 Button.cs - Initial Implementation
9679 BoundColumn.cs - Initial Implementation
9680 BaseCompareValidator.cs - Minor Changes
9681 DataList.cs, BaseValidator.cs, BaseDataList.cs
9682 - Added more functions, other changes
9684 2001-10-28 Gaurav Vaish <gvaish@iitk.ac.in>
9685 WebControl.cs - Initial Implementation
9686 DataList.cs - Initial Implementation
9687 BaseValidator.cs - Initial Implementation
9688 BaseDataList.cs - Initial Implementation
9690 2001-10-27 Gaurav Vaish <gvaish@iitk.ac.in>
9692 AdCreatedEventArgs.cs - Initial Implementation
9693 AdCratedEventHandler.cs - Implemented
9694 AdRotator.cs - Initial Implementation
9695 BorderStyle.cs - Implemented
9696 ButtonColumnStyle.cs - Implemented
9697 CalendarSelectionMode.cs - Implemented
9698 DayNameFormat.cs - Implemented
9699 FirstDayOfWeek - Implemented
9700 FontInfo.cs - Partial Implementation
9701 FontSize.cs - Implemented
9702 GridLines.cs - Implemented
9703 HorizontalAlign.cs - Implemented
9704 HyperLink.cs - Initial Implementation
9705 ImageAlign.cs - Implemented
9706 IRepeatInfoUser.cs - Implemented
9707 ListItemType.cs - Implemented
9708 ListSelectionMode.cs - Implemented
9709 NextPrevFormat.cs - Implemented
9710 PagerMode.cs - Implemented
9711 PagerPosition.cs - Implemented
9712 RepeatDirection.cs - Implemented
9713 RepeatLayout.cs - Implemented
9714 TextAlign.cs - Implemented
9715 TextBoxMode.cs - Implemented
9716 TitleFormat.cs - Implemented
9717 UnitType.cs - Implemented
9718 ValidationCompareOperator.cs
9720 ValidationDataType.cs - Implemented
9721 ValidationSummaryDisplayMode.cs
9723 ValidatorDisplay.cs - Implemented
9724 VerticalAlign.cs - Implemented
9728 i/ File Created 2001-11-13