1 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
3 * CommandField.cs: fixed:
4 considers CaseValidation, ValidationGroup, ButtonType.
5 * DataControlButton.cs: refactoring:
7 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
9 * DetailsView.cs: implemented: GetCallbackScript method.
11 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
13 * FormView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
15 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
17 * DetailsView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
19 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
21 * GridView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
22 * DataControlButton.cs:
23 * CommandField.cs: CausesValidation feature must be implemented other way
25 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
27 * CompositeDataBoundControl.cs: fixed: CreateChildControls flow.
29 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
31 * FormView.cs: fixed: OnBubbleEvent returns true when event is handled.
33 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
35 * DetailsView.cs: fixed: OnBubbleEvent works properly.
37 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
39 * DetailsView.cs: fixed: considers DataControlField.InsertVisible.
41 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
43 * DetailsView.cs: fixed: CurrentMode property.
45 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
47 * DetailsView.cs: fixed: current state are not changed during paging.
49 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
51 * DetailsView.cs: fixed:
52 in Insert mode Select not invoked from DataSource
54 2006-10-18 Konstantin Triger <kostat@mainsoft.com>
56 * ObjectDataSourceView.cs: use Type.GetType for loading full qualified types.
58 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
60 * FormView.cs: fixed: CreateDataSourceSelectArguments method.
61 (corresponding test does not work because bug in ObjectDataSourceView)
63 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
65 * DataBoundControl.cs: fixed: DataBind calls
66 CreateDataSourceSelectArguments() and stores result in SelectArguments
68 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
72 fixed: EnablePagingCallbacks feature.
73 when postback is invoked after callback control state is restored
76 2006-10-17 Vladimir Krasnov <vladimirk@mainsoft.com>
78 * SqlDataSource.cs, SqlDataSourceView.cs: redesign and bug fixes
80 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
82 * DetailsView.cs: fixed: CreateDataSourceSelectArguments method.
83 (corresponding test does not work because bug in ObjectDataSourceView)
85 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
87 * GridView.cs: fixed: EnableSortingAndPagingCallbacks feature.
88 when postback is invoked after callback control state is restored
91 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
93 * GridView.cs: fixed: Sorting feature.
94 When sorting EditIndex and PageIndex are reseted
96 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
98 * GridView.cs: fixed: Sorting feature.
99 CreateDataSourceSelectArguments considers SortExpression and SortDirection.
100 (corresponding test does not work because bug in ObjectDataSourceView)
102 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
104 * GridView.cs: fixed:
105 CreateDataSourceSelectArguments works according to MSDN.
106 (corresponding test does not work because bug in ObjectDataSourceView)
108 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
110 * ObjectDataSourceView.cs: fixed:
111 CanRetrieveTotalRowCount returns true if EnablePaging = false
113 2006-10-10 Igor Zelmanovich <igorz@mainsoft.com>
115 * DataBoundControl.cs: fixed: DataBind flow
116 CreateDataSourceSelectArguments() is called
117 each time as DataBind() is called
119 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
121 * BoundField.cs: implemented ValidateSupportsCallback().
123 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
125 * CommandField.cs: ValidateSupportsCallback(): exception's message.
127 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
129 * FormView.cs: fixed: CurrentMode property.
131 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
137 reverted r66222, problem solved in r66283: command buttons inherit ForeColor
139 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
141 * Image.cs: write 'alt' after 'src' so that the HyperLink test do not
144 2006-10-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
146 * HyperLink.cs: don't render the img tag 'by hand' but use an Image
147 instead, which takes care of the 0/0px case. Also set the ToolTip
148 property. Fixes bug #79585.
150 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
152 * DetailsView.cs: optimization for previous patch
154 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
156 * FormView.cs: optimization for previous patch
158 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
162 implemented PrepareControlHierarchy()
163 styles are applied correct
165 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
168 implemented PrepareControlHierarchy()
169 styles are applied correct
171 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
174 * DataControlButton.cs:
175 * DataControlField.cs:
176 implemented PrepareControlHierarchy()
177 styles are applied correct
178 command buttons inherit ForeColor
180 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
182 * WebControl.cs: fixed: CreateControlStyle()
184 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
190 corrected pager rendering: Color style applied to A tag,
191 Input type="image" used if ImageUrl is not empty.
193 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
195 * GridView.cs: corrected rendering
196 * ContainedTable.cs: added new helper class
198 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
200 * FormView.cs: fixed:
201 in Insert mode Select not invoked from DataSource
203 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
205 * FormView.cs: fixed:
206 Pager is not shown when page count < 1
207 in Edit mode use EmptyDataTemplate if there is no DataItem
208 when page changed FormView stays in current state.
210 2006-09-28 Igor Zelmanovich <igorz@mainsoft.com>
212 * FormView.cs: fixed: OnBubbleEvent works properly
214 2006-09-25 Igor Zelmanovich <igorz@mainsoft.com>
216 * DataBoundControl.cs: fixed: DataBind flow
217 GetData return "empty" DataSourceView when no DataSource and DataSourceID
218 was assigned to cause PerformDataBinding be called.
220 2006-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
222 * DataList.cs: use ExtractTemplateRows to determine if the style is
223 applied to the Table in a template or to its rows. Fixes bug #78058.
225 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
227 * ListBox.cs: if the list is not enabled, don't require a postback.
230 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
232 * HyperLink.cs: don't output the nabvigate url if disabled.
233 * LinkButton.cs: always call base.AddAttributesToRender(). Don't output
234 the link URL if disabled.
237 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
239 * RadioButtonList.cs:
240 make it to consider CausesValidation and ValidationGroup properties
242 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
245 make it to consider CausesValidation and ValidationGroup properties
247 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
250 Page.Validate() is called when CausesValidation=true
252 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
255 make onclick attribute to consider ValidationGroup property.
257 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
260 make rendering of the href attribute to consider ValidationGroup property.
261 Page.Validate() is called when CausesValidation=true
263 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
266 make rendering of the onchange attribute to consider ValidationGroup
268 Page.Validate() is called when CausesValidation=true
270 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
273 make rendering of the onclick attribute to consider ValidationGroup property
274 Page.Validate() is called when CausesValidation=true
276 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
279 VewState saving and restoring rolled back to 1.1 implementation
280 (fixed corresponding test), corrected public interface (there are no
281 overriden methods SaveControlState, LoadControlState and OnInit),
282 implemented CausesValidation and ValidationGroup properties.
284 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
287 make rendering of the onclick attribute to consider ValidationGroup property
288 Page.Validate() is called when CausesValidation=true
290 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
293 implemented: RaisePostBackEvent,
294 refactoring: GetPostBackOptions used to build onclick client event
296 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
298 * ImageButton.cs: implemented IButtonControl.Click, RaisePostBackEvent
300 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
302 * BaseValidator.cs: implemented ValidationGroup feature on client side
303 * ValidationSummary.cs:
305 2006-09-12 Igor Zelmanovich <igorz@mainsoft.com>
307 * TreeView.cs: corrected rendering
310 2006-09-11 Konstantin Triger <kostat@mainsoft.com>
312 * Login.cs: ensure the urls are correctly resolved.
314 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
316 * TreeView.cs: corrected rendering: styles are applied correct
320 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
322 * TreeView.cs: corrected rendering: HoverNodeStyle works
326 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
328 * TreeNodeStyle.cs: fixed: ViewState restored properly
330 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
335 * DataGridPagerStyle.cs:
336 refactoring: makes Style class more flexible for inheriting and reuse
338 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
340 * TreeView.cs: fixed: for PopulateOnDemand nodes expanded and checked
341 state restored correct on PostBack.
344 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
346 * ObjectDataSourceView.cs: correctly find the type when it is not in the
347 executing assembly. Fixes bug #78321. Patch by Marek Habersack.
349 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
351 * ControlParameter.cs: fix search for controls so that they use their
352 NamingContainer, not the Page. Patch by Marek Habersack that fixes
355 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
357 * Login.cs: fix problem with the login control and master pages.
358 Patch by Marek Habersack that fixes bug #78219.
360 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
362 * TreeView.cs: fixed: populating nodes.
365 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
367 * TreeNode.cs: fixed: ToggleExpandState.
369 2006-09-07 Andrew Skiba <andrews@mainsoft.com>
371 * SqlDataSourceView.cs: return DataView from ExecuteSelect when
372 DataSourceMode is DataSet.
374 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
376 * TreeView.cs: fixed: populating nodes flow.
377 * TreeNodeCollection.cs
380 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
382 * TreeNodeCollection.cs: fixed: ViewState saved and restored correct.
384 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
386 * TreeView.cs: corrected rendering: RenderBeginTag, RenderEndTag.
388 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
390 * TreeView.cs: fixed: when specified value is not one of
391 the TreeNodeTypes values exception is threw.
393 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
395 * TreeView.cs: fixed: when specified image set is not one of
396 the TreeViewImageSet values exception is threw.
398 2006-09-05 Igor Zelmanovich <igorz@mainsoft.com>
400 * TreeNodeStyleCollection.cs: fixed: ViewState saved and restored correct.
402 2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
404 * Style.cs: implemented SetBit().
406 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
408 * CompareValidator.cs: fixed controltocompare attribute.
410 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
413 when login attempt was not successful FailureText is shown.
415 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
417 * CreateUserWizard.cs: fixed: InvalidPasswordErrorMessage
418 is formatted correct.
420 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
422 * CreateUserWizard.cs:
423 * CompleteWizardStep.cs:
424 * CreateUserWizardStep.cs:
426 fixed: ContinueButtonClick occurs when the user clicks
427 the Continue button in the final user account creation step.
428 ContinueDestinationPageUrl - redirected after clicking
429 the Continue button on the success page.
431 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
433 * Wizard.cs: refactoring: Button, ImageButton and LinkButton are used
434 insted internal DataControlButton.
436 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
438 * Button.cs: implemented GetPostBackOptions + refactoring
440 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
442 * ImageButton.cs: implemented 2.0 features
443 OnClientClick attached to onclick attribute.
444 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
445 generate onclick attribute.
447 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
449 * LinkButton.cs: typo fix
451 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
453 * Button.cs: refactoring
455 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
457 * LinkButton.cs: implemented 2.0 features
458 OnClientClick attached to onclick attribute.
459 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
462 2006-08-29 Igor Zelmanovich <igorz@mainsoft.com>
464 * Button.cs: implemented 2.0 features
466 2006-08-28 Igor Zelmanovich <igorz@mainsoft.com>
468 * Menu.cs: refactoring
471 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
473 * TreeView.cs: fixed data binding
475 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
477 * TreeNodeBinding.cs: fixed ToString method
479 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
481 * MenuItem.cs: typo fix
483 2006-08-27 Vladimir Krasnov <vladimirk@mainsoft.com>
485 * CreateUserWizardStep.cs: fixed validators message display
487 2006-08-25 Kornél Pál <kornelpal@gmail.com>
489 * FileUpload.cs: Use assembly name constants.
491 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
493 * TemplateField.cs: fixed ExtractValuesFromCell, .net aspx parser not
494 always creates ExtractTemplateValuesMethod delegate
496 2006-08-24 Igor Zelmanovich <igorz@mainsoft.com>
498 * TreeNodeBinding.cs: corrected public interface
501 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
503 * TextBox.cs: fix for bugs #76771 and #79020. A test breaks for the 2.0
504 case, but there are many others.
506 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
508 * Menu.cs: corrected rendering of static and dynamic items
511 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
515 fixed: AddAttributesToRender method calls FillStyleAttributes,
516 text styles applied correct.
518 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
521 fixed: when removed the names from the bag also removed FontStyles.Names flag from fontstyles.
522 refactoring: Name and Names properties has same source in bag.
524 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
526 * Style.cs: restored r63894: for 1.x is refactoring only
528 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
531 fixed: CopyFrom and MergeWith behave differently between 1.1 and 2.0.
532 added ClearDefaults method for 2.0.
534 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
536 * ObjectDataSourceStatusEventArgs.cs: ExceptionHandled default value
539 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
541 * SubMenuStyle.cs: fixed:
542 Unit.ToString() already include unit (e.g. "3px")
544 2006-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
547 * ChangeLog: revert r63894. It modified the 1.x profile, it wasn't
548 submitted for review and it only added tests for the 2.0 profile.
550 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
552 * FormView.cs: added explicit implementation of
553 IDataItemContainer.DataItemIndex, as documented
555 2006-08-17 Igor Zelmanovich <igorz@mainsoft.com>
558 When style is registered with StyleSheet AddAttributesToRender method
559 adds class attribute but not style to writer
561 2006-08-15 Igor Zelmanovich <igorz@mainsoft.com>
564 OnBubleEvent works properly - controls like Button, LinkButton nested into template
565 can raise MenuItemClick event,
566 ViewState of Items saved and restored properly.
568 2006-08-14 Andrew Skiba <andrews@mainsoft.com>
570 * TableStyle.cs: replace ResolveUrl with ResolveClientUrl to match
573 2006-08-14 Igor Zelmanovich <igorz@mainsoft.com>
575 * Menu.cs: fixed databinding feature:
576 ensure that items initialization occurs only once
578 2006-08-10 Igor Zelmanovich <igorz@mainsoft.com>
580 * Menu.cs, MenuItem.cs: fixed databinding feature
582 2006-08-09 Robert Jordan <robertj@gmx.net>
584 * DataControlButton.cs, Image.cs, AdRotator.cs, HyperLink.cs:
585 replace ResolveUrl with ResolveClientUrl to match MS.NET's
586 behaviour. Fixes bug #77539.
588 2006-08-09 Igor Zelmanovich <igorz@mainsoft.com>
590 * HierarchicalDataBoundControl.cs: fixed DataBind flow
592 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
598 * WebControl.cs: fixed ParseChildren attribute to be compliant
601 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
603 * MultiView.cs: fixed: EnableTheming property
605 2006-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
609 * TreeView.cs: Patch by Marek Habersack that fixes bug #78968 take 2.
611 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
613 * Style.cs: fixed restoring FontInfo from ViewState
615 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
617 * XmlDataSource.cs: implemented caching functionality
619 2006-07-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
621 * PagerSettings.cs: Fixed the pager range calculation formula. The old
622 one didn't work with more than 20 pages. Patch by Marek Habersack that
625 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
627 * FormView.cs: fixes to make Render more similar to dotnet.
629 2006-07-30 Vladimir Krasnov <vladimirk@mainsoft.com>
631 * Wizard.cs: fixed return value of OnBubbleEvent
633 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
635 * FormView.cs: init BottomPagerRow.ItemIndex with 0; gracefully
636 handle null result of GetData().
638 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
640 * FormView.cs: use TableStyle for ControlStyle.
642 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
644 * FormView.cs: save DataKeyNames and DefaultMode in ControlState.
646 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
648 * FormView.cs: init DataKeys and fix null reference.
650 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
652 * TreeView.cs: several changes to improve compatibility with MS.
653 Patch by Marek Habersack that fixes bug #77551.
655 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
657 * Style.cs: output the text-decoration value even when it is 'none'.
658 Patch by Marek Habersack that fixes bug #78968.
660 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
662 * FormView.cs: initialize PageCount with 0; fix IsBindableType to
665 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
667 * DetailsViewRowCollection.cs: returns this in SyncRoot.
669 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
671 * FormView.cs: throw ArgumentOutOfRange exception on bad CellSpacing
674 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
676 * ObjectDataSource.cs: add doc and fix usage of MergeParameterValues
678 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
680 * AutoGeneratedField.cs: fix the internal constructor according to test
681 DetailsView_CreateAutoGenerateRow.
683 2006-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
685 * XmlDataSource.cs: implemented XSLT, removed properties from
687 * XmlDataSourceView.cs: fixed default xpath
689 2006-07-26 Andrew Skiba <andrews@mainsoft.com>
691 * DetailsView.cs: fix IsBindableType in accordance with MSDN and tests.
693 2006-07-25 Vladimir Krasnov <vladimirk@mainsoft.com>
695 * Wizard.cs: fixed ActiveStep property
696 fixed templated side bar
698 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
700 * ImageField.cs: fix null reference bug.
702 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
704 * DetailsView.cs: init DataKey property with empty collection.
705 * DataKey.cs: fix unexpected exception bug.
706 * DataControlField.cs: override ToString according to MSDN.
708 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
710 * DetailsView.cs: create table style in CreateControlStyle.
712 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
714 * DetailsView.cs: don't throw the exception which .Net does not throw.
716 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
718 * DetailsView.cs: save DefaultMode and DataKeyNames in control state,
719 to match .Net; fix PageCount to match record count.
721 2006-07-24 Vladimir Krasnov <vladimirk@mainsoft.com>
723 * Menu.cs: fixed properties default values, fixed rendering
726 2006-07-23 Vladimir Krasnov <vladimirk@mainsoft.com>
728 * Wizard.cs: implemented SkipLinkText, TagKey
729 fixed rendering bugs, fixed templated button bar rendering
730 fixed side bar rendering
731 * WizardStepBase.cs: fixed Name property
733 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
735 * DetailsView.cs: fix the regressions, caused by the previous commit.
737 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
739 * DetailsView.cs: correct handling the different default values of
740 DetailsView.CellSpacing and Table.CellSpacing.
742 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
744 * DetailsView.cs: create a pager row when needed.
746 2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
750 * PagedDataSource.cs:
753 * LinkButton.cs: implement GetPostBackOptions for the 2.0 controls that
754 support it. The GridView control will no longer throw an exception when
755 rendered in the paging mode. Patch by Marek Habersack. Fixes bug #78288.
757 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
759 * DetailsView.cs: many fixes: initialize PageCount with 0; initialize
760 Rows with empty collection; call EnsureChildControls from get Row;
761 NullReference in DeleteItem; fix RenderGrid (ideas from GridView);
762 implemented IPostBackContainer.GetPostBackOptions.
764 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
766 * DetailsView.cs: create HeaderRow and FooterRow even when HeaderText
767 and FooterText are empty, to match .NET. Otherwise we have NullReference
770 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
772 * DetailsView.cs: Render fix.
774 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
776 * BoundField.cs: don't call DataBinder.GetPropertyValue with empty
779 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
781 * DetailsView.cs: NullReferenceException fix
783 2006-07-20 Vladimir Krasnov <vladimirk@mainsoft.com>
785 * PagerSettings.cs: implemented PropertyGhanged event
787 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
789 * DetailsView.cs: throw ArgumentOutOfRangeException for compatibility
790 with .Net; don't throw NotImplemented when base class implementation
793 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
795 * DetailsViewPagerRow.cs: add a stub for this class
797 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
799 * GridView: fixed DataKeyNames property, moved to ControlState
800 fixed PageCount property, initial PageCount ahould be zero
801 fixed SelectedDataKey, should throw exception if not initialized
802 fixed CreateColumns, wrong order of columns
803 fixed CreateControlStyle,
804 fixed InitializePager, no columnspan attrib on only one column
805 fixed LoadControlState, SaveControlState added DataKeyNames
806 fixed Render, RenderGrid should render within div tag
807 implemented GetPostBackOptions
808 * DataControlButton.cs: fixed Render, fixed style for img button
810 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
812 * CheckBoxField.cs: fixed InitializeDataCell, tooltip only in edit
815 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
817 * CommandField.cs: fixed ValidateSupportsCallback
819 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
821 * Image.cs: prepare to use HttpBrowserCapabilities. Does not
824 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
826 * SiteMapPath.cs: fixes for SiteMapPathTest.Render_xxx tests.
828 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
830 * WebControl.cs: fix for AddAttributesToRender - add display
831 style when appropriate
833 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
835 * CommandField.cs: fixed InitializeCell, wrong order of command
837 * ImageField.cs: image field with null src and ConvertEmptyStringToNull
838 should be rendered as label
839 * BoundField.cs: empty null value should be rendered as nbsp
840 * GridViewRowCollection.cs: fixed SyncRoot
842 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
844 * SiteMapPath.cs: create Literal instead of Label according to the
845 MSDN and test SiteMapPath_InitializeItem.
847 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
849 * Style.cs: BorderStyle should be added if BorderWidth greater than 0
850 * Image.cs: in 2.0 there is no border attribute, but border-width
853 2006-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
855 * Button.cs: always render the 'name' attribute. Fixes bug #78746.
857 2006-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
859 * DataList.cs: correctly initialize editable items when there's an
860 EditItemTemplate. Patch by Jarosław Pawlak.
862 2006-07-13 Juraj Skripsky <js@hotfeet.ch>
864 * CheckBox.cs (LoadPostData): the value of a disabled checkbox remains
867 2006-07-13 Vladimir Krasnov <vladimirk@mainsoft.com>
869 * BulletedList.cs: fixed Render, RenderBulletText, various properties
870 * ListItem.cs, ListItemCollection.cs: added Enabled property that is
873 2006-07-12 Vladimir Krasnov <vladimirk@mainsoft.com>
875 * MultiView.cs: 'initied' state variable was changed to views count in
876 the views collection.
878 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
880 * AutoGeneratedField.cs: fixed InitializeDataCell, autogenerated
881 checkbox should have tooltip
882 * HyperLinkField.cs: fixed InitializeCell, should create link control
883 only in data cell (not in header or footer), initialization of
885 * ImageField.cs: fixed InitializeDataCell, initialization of
888 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
890 * MultiView.cs: removed exception throwing from ActiveViewIndex
892 2006-07-11 Konstantin Triger <kostat@mainsoft.com>
894 * DataControlFieldCollection.cs: added OnClearComplete override;
895 refactor to eliminate null reference exception.
897 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
899 * MultiView.cs: fixed ActiveViewIndex, AddParsedSubObject
900 * View.cs: fixed Visible property
902 2006-07-09 Konstantin Triger <kostat@mainsoft.com>
904 * ImageField.cs: fixing .net compliancy.
906 2006-07-10 Andrew Skiba <andrews@mainsoft.com>
908 * SiteMapPath.cs: fix the default PathSeparator value.
910 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
912 * GridView.cs: always create Header/Fotter rows, but render only when
913 ShowHeader/Footer is true. Compute Header/Footer rows from rows
915 * CheckBoxField.cs: add override to ApplyFormatInEditMode,
916 add ToolTip and Text to the created CheckBox,
917 wrap exception thrown in OnDataBindField in httpException.
919 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
921 * DataControlField.cs,BoundField.cs: bug fixes found by BoundFieldTest.
923 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
925 * DataControlField.cs: correct handling empty header/footer text.
926 * TemplateField.cs: correct initialization according to
929 2006-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
931 * Wizard.cs: added functionality for Templated WizardStep
933 * added CompleteWizardStep.cs, CreateUserWizard.cs,
934 CreateUserWizardStep.cs, TemplatedWizardStep.cs
936 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
938 * AutoGeneratedField.cs: correcting default dataType.
940 2006-07-03 Vladimir Krasnov <vladimirk@mainsoft.com>
942 * DataControlField.cs: fixed Initialize, should always return false
944 2006-07-03 Lluis Sanchez <lluis@novell.com>
946 * BoundField.cs: Fix setter for HtmlEncode (it was setting always True).
948 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
950 * DataBoundControl.cs: implement MarkAsDataBound and consider it while
951 setting RequiresDataBinding in OnLoad event.
952 * GridView.cs: DataBind rows before other control can access the data.
953 * BoundField.cs: add unique ID to control for postback parameters.
955 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
957 * WebControl.cs: fix typo in EnableTheming.
959 2006-07-02 Konstantin Triger <kostat@mainsoft.com>
961 * MenuItemCollection.cs: save items if the collection is dirty.
962 * MenuItem.cs: During data binding: initialize Text and invoke binding recoursively.
963 Add item to collection before binding to let the state be correctly tracked.
964 * Menu.cs: Add item to collection before binding to let the state be correctly
967 2006-06-28 Juraj Skripsky <js@hotfeet.ch>
969 * RegularExpressionValidator.cs (EvaluateIsValid): wrap regex to
970 test against with "^...$" if necessary. MS.NET does this too.
972 2006-06-28 Vladimir Krasnov <vladimirk@mainsoft.com>
974 * WizardStepCollection.cs: Fixed Add methods to initialize
975 WizardStep.Wizard property
976 * Wizard.cs: Fixed ActiveStepIndex, it should be -1 if there no steps
977 Fixed GetStepType, if only one step present, it should be FinishStep
978 Fixed styles of tables for more accurate rendering, fixed Wizard
981 2006-06-28 Konstantin Triger <kostat@mainsoft.com>
983 * FormView.cs: instantiate correct template when the bounding data source is
986 2006-06-25 Konstantin Triger <kostat@mainsoft.com>
988 * FormView.cs: disabling setting out of range FormView.PageIndex.
990 2006-06-21 Andrew Skiba <andrews@mainsoft.com>
992 * FileUpload.cs: added
994 2006-06-20 Andrew Skiba <andrews@mainsoft.com>
996 * FormView.cs: handle CssClass attribute
998 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1000 * Button.cs: do something in PostBackUrl.
1001 * Repeater.cs: when creating the RepeaterItemCollection, initialize
1002 'items' if it hasn't been done yet. Fixes bug #78417.
1004 2006-06-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1006 * BaseDataList.cs: added ConnectToDataSource method that called from
1007 OnLoad, fixed GetData method
1008 * Wizard.cs: fixed bug when called MoveTo after that control hierarchy
1011 2006-06-14 Andrew Skiba <andrews@mainsoft.com>
1013 * Menu.cs: add CssStyle value to the rendered class attribute
1015 2006-06-13 Juraj Skripsky <js@hotfeet.ch>
1017 * Calendar.cs: Make sure WebControls.Enabled is respected.
1018 * SelectedDatesCollection.cs: Set time for all DateTime object passed in
1019 to 12:00am as MS.NET does the same.
1022 2006-06-13 Vladimir Krasnov <vladimirk@mainsoft.com>
1024 * Repeater.cs: fixed ConnectToDataSource method, subscribed to
1025 DataSourceViewChanged, looks for a datasource in its parent control
1026 fixed GetData method, should not get data if datasource is null
1028 2006-06-13 Konstantin Triger <kostat@mainsoft.com>
1030 * ObjectDataSourceView.cs: raise OnDataSourceViewChanged events when data changes.
1032 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
1034 * GridView.cs: set the row index from GridRowView if CommandArgument does not contain this information.
1036 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
1038 * ObjectDataSourceViewTest.cs: return documented default for OldValuesParameterFormatString.
1040 2006-05-24 Vladimir Krasnov <vladimirk@mainsoft.com>
1042 * DataList.cs: Fixed LoadViewState method
1044 2006-05-04 Lluis Sanchez <lluis@novell.com>
1046 * BoundField.cs: Added missing throw kyword. Patch by Marek Habersack.
1048 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
1050 * BaseDataBoundControl.cs: ensure the control is bound if ViewState is disabled.
1052 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
1054 * FormView.cs: fix FormView.PageCount after data binding.
1056 2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1058 * CheckBox.cs: certain attributes have to be rendered in the input tag,
1059 not the <span>. Fixes bug #71251.
1061 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
1063 * BaseDataBoundControl.cs: RequiresDataBinding rebinds if the control prerendered.
1066 ensure rebinding when FormView.PageIndex is called.
1067 and bind to the correct PageIndex.
1069 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
1071 * MenuItem.cs: when binding to IHierarchyData, check whether
1072 it implements INavigateUIData and retrieve NavigateUrl.
1073 * CompositeDataBoundControl.cs: ensures data is bound before creating child controls.
1075 Enable DataBinding by not throwing NotImplementedException in OnDataBound event.
1076 Provide basic CreateChildControls implementation by ensuring the control is bound.
1077 Ensure the child controls are created when the postback event is raised.
1078 Provide default implementation for SkipLinkText to let the default functionality to work.
1080 2006-04-11 Lluis Sanchez <lluis@novell.com>
1082 * TreeNodeBinding.cs: Added HasPropertyValue property
1083 to check if some properties have a value in the
1085 * TreeNode.cs: Lazily get the dataPath. Instead of getting
1086 bound properties when they are requested, get all of
1087 them when the node is bound and store their values in
1088 the state bag. In this way it won't be necessary to
1089 query every time the datasource to get the values.
1090 * XmlHierarchyData.cs: Implemented IHierarchyData.Path.
1091 * TreeView.cs: Call base in OnInit(). Bind nodes after
1092 adding them to the list, to properly keep track of
1093 changes. Don't databind in postbacks.
1095 2006-04-11 Chris Toshok <toshok@ximian.com>
1097 * Login.cs (OnLoggingIn): use Events[loggingInEvent].
1099 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
1101 * BaseDataList.cs: Fix searching control by DataSourceID.
1102 * DataList.cs: Enable binding using DataSourceID for NET_2_0.
1105 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
1107 * Login.cs: Added LayoutTemplate property support.
1108 * LoginView.cs: Added LoggedInTemplate, AnonymousTemplate support.
1109 DataBind: correctly bind child controls.
1110 Implemented OnViewChanged, OnViewChanging, Render, Save/LoadControlState.
1112 2006-03-29 Robert Jordan <robertj@gmx.net>
1114 * DataGrid.cs: if custom paging is enabled the persisted item count
1115 must be the count of the rendered items, otherwise paging from the
1116 last to a previous page won't work correctly. Fixes bug #77556.
1118 2006-03-29 Vladimir Krasnov <vladimirk@mainsoft.com>
1120 * RepeatInfo.cs: fixed RenderBeginTag to set enabled value of table
1121 when rendering disabled list control
1123 2006-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1125 * Panel.cs: render the image url inside 'url()'. Fixes bug #77811.
1127 2006-03-28 Alexandre Miguel Pedro Gomes <alexmipego@gmail.com>
1129 * FontInfo.cs: Implemented ShouldSerializeNames
1131 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
1133 * DataGrid.cs, DataList.cs, RepeatInfo.cs: added accessablity features
1135 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
1137 * DataGrid.cs: fixed CreateControlHierarchy, added CurrentPageIndex
1139 in PrepareControlHierarchy fixed style applying to AlternatingItem
1141 2006-03-22 Vladimir Krasnov <vladimirk@mainsoft.com>
1143 * DataList.cs: fixed RepeatColumns property, added value validation
1144 in PrepareControlHierarchy method fixed style applying for
1145 AlternatingItem, EditItem and Separator item
1146 fixed RenderContents method, if no items exist, no nned to
1147 render emty table strructure.
1149 2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1151 * CompareValidator.cs: when searching for the control to compare, use
1152 NamingContainer instead of Page. Fixes bug #77793.
1154 2006-03-15 Chris Toshok <toshok@ximian.com>
1156 * SiteMapPath.cs (InitializeItem): in the Current and Root node
1157 cases, apply the NodeTemplate if it exists and there isn't a
1158 CurrentNodeTemplate or RootNodeTemplate, respectively.
1160 2006-03-15 Chris Toshok <toshok@ximian.com>
1162 * SiteMapDataSourceView.cs (OnDataSourceViewChanged): override.
1164 * SiteMapDataSource.cs (StartingNodeOffset): new property.
1165 (GetStartNode): add code to handle StartNodeOffset < 0.
1167 * CompositeControl.cs
1168 (ICompositeControlDesignerAccessor.RecreateChildControls): just
1169 call the non-iface method.
1171 * DataBoundControl.cs (GetDataSource): this is likely wrong, but
1172 traverse up the naming container tree looking for our datasource
1173 if we're bound using a DataSourceID. This fixes things in the
1174 sitemap1 test, which uses a mixture of templates and
1175 ContentPlaceholders with the sitemapdatasource and sitemappath at
1176 different levels in the naming container tree (let along the
1179 * SiteMapPath.cs (DataBind): implement this by chaining up to
1180 base.DataBind, then by looping over our children, emitting
1181 OnItemDataBound for each SiteMapNodeItem.
1182 (AddAttributesToRender): remove.
1183 (CreateChildControls): call DataBind as the final step here.. I
1184 have, of course, no idea if this is right.
1185 (CreateControlHierarchy): don't databind our children here, as
1186 they need to be in the Controls collection before we do.
1187 (RenderContents): render our accessibility/screenreader stuff
1188 here, if SkipLinkText != "".
1190 2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
1192 * DataGridPagerStyle.cs: fixed PrevPageText property
1194 2006-03-13 Chris Toshok <toshok@ximian.com>
1196 * BaseCompareValidator.cs (Convert): make the
1197 ValidationDataType.String case a bit more compact.
1199 2006-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1202 (RenderContents): don't call base.RenderContents. Fixes bug #77740.
1203 Patch by Hubert Fongarnand.
1205 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
1207 * FontInfo.cs: fixed CopyFrom, this method should not reset the
1208 received fontinfo if it is the same instance
1209 fixed ToString, corrected output where only font size specified
1211 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
1213 * Style.cs: fixed WriteStyleAttributes to set border style to solid,
1214 if it not set but the border has width
1215 fixes in CopyFrom, MergeWith correct unit compare when it has zero
1218 2006-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
1220 * DataGrid.cs: in AddColumnsFromSource method fixed columns from
1221 properties of custom class
1222 fixed InitializeNumericPager, pager numbers should be a Label control
1223 fixed CreateControlHierarchy, corrected dataset index of items if
1226 2006-03-09 Vladimir Krasnov <vladimirk@mainsoft.com>
1228 * DataList.cs: fixed DoItemInLoop method that fixes itemIndex
1230 fixed CreateControlStyle to set correct cellspacing of table style
1231 fixed InitializeItem to correct applying template to selected and
1234 2006-03-08 Chris Toshok <toshok@ximian.com>
1236 * SiteMapNodeType.cs: nuke.
1238 * BorderStyle.cs, ButtonColumnType.cs, CalendarSelectionMode.cs,
1239 DayNameFormat.cs, ListItemType.cs, ListSelectionMode.cs,
1240 NextPrevFormat.cs, PagerMode.cs, PagerPosition.cs,
1241 RepeatDirection.cs, RepeatLayout.cs, TableRowSection.cs,
1242 TextAlign.cs, TextBoxMode.cs, TitleFormat.cs,
1243 ValidationCompareOperator.cs, ValidationDataType.cs,
1244 ValidationSummaryDisplayMode.cs, ValidatorDisplay.cs: remove
1245 [Serializable] in 2.0.
1247 * DayNameFormat.cs: add "Shortest".
1249 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
1251 * LinkButton.cs: fixed AddAttributesToRender, removed not needed
1254 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
1256 * TextBox.cs: fixed missing value validations, fixed rendering
1257 of empty value attribute
1259 2006-03-07 Chris Toshok <toshok@ximian.com>
1261 * WebControl.cs (EnableTheming): leave the MonoTODO, but implement
1262 by chaining up to base.EnableTheming.
1264 2006-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1266 * DataList.cs: fixed CreateControlHierarchy, fixes 77693
1268 2006-03-06 Vladimir Krasnov <vladimirk@mainsoft.com>
1270 * RadioButton.cs: added ValueAttribute property to store the button
1272 * RadioButtonList.cs: fixed tab index when rendering.
1274 2006-03-02 Chris Toshok <toshok@ximian.com>
1276 * WebControl.cs (SkinID): implement setter/getter, and have them
1277 just chain up to base.SkinID.
1279 2006-02-27 Chris Toshok <toshok@ximian.com>
1281 * SqlDataSource.cs: track change to DataSourceControl's protected
1284 * AccessDataSource.cs: same.
1286 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
1288 * ListControl.cs: fixed SelectedIndex property, fixed selection
1289 reset on incorrect value
1291 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
1293 * TableStyle.cs: fixed AddAttributesToRender function, style
1294 BorderCollapse:Collapse was added if table's CellSpacing is zero
1296 2006-02-23 Chris Toshok <toshok@ximian.com>
1298 * CheckBox.cs, ContentControlBuilderInternal.cs, Content.cs,
1299 ContentPlaceHolderBuilder.cs, ContentPlaceHolder.cs,
1300 DataControlFieldHeaderCell.cs, DataGridColumn.cs,
1301 HierarchicalDataBoundControl.cs, HyperLinkField.cs,
1302 ImageButton.cs, ImageField.cs, Literal.cs,
1303 ObjectDataSourceView.cs, TextBox.cs: more corcompare work.
1305 * BaseCompareValidator.cs, BaseValidator.cs, Button.cs,
1306 DataControlField.cs, DetailsView.cs, FormView.cs, GridView.cs,
1307 HotSpot.cs, LinkButton.cs, Login.cs, SiteMapDataSource.cs,
1308 SqlDataSourceCommandType.cs, TableSectionStyle.cs,
1309 TemplateField.cs, TreeNodeCollection.cs, TreeNode.cs, TreeView.cs,
1310 ValidationSummary.cs, WizardStepBase.cs: fix tons of corcompare
1311 errors. most were caused by a property/method being virtual when
1312 it shouldn't be, or vice versa.
1314 2006-02-22 Chris Toshok <toshok@ximian.com>
1316 * ObjectDataSource.cs: corcompare work.
1318 2006-02-22 Chris Toshok <toshok@ximian.com>
1320 * ParameterCollection.cs: add an EditorAttribute to the class.
1322 * Parameter.cs: cleanup, fix the Value property, and implement the
1325 * SqlDataSourceView.cs: clean things up a bit, and add handling
1328 2006-02-22 Chris Toshok <toshok@ximian.com>
1330 * SqlDataSourceFilteringEventArgs.cs: formatting.
1332 * SqlDataSourceSelectingEventArgs.cs: remove ExecutingSelectCount,
1333 both the property and ctor arg.
1335 * AccessDataSourceView.cs (ExecuteSelect): use SelectingEventArgs,
1336 not CommandEventArgs. Also, cast the return value of
1337 oleCommand.ExecuteReader.
1339 * AccessDataSource.cs (.ctor): fix the ctors and remove FIXME
1341 (GetDbProviderFactory): implement naively, and leave a MonoTODO.
1342 (GetPhysicalDataFilePath): implement, again naively. this is
1343 where the NRE is generated when we access ConnectionString in a
1345 (ConnectionString): dynamically generate this based on our
1347 (DataFile): clear the ConnectionString in the setter so we'll
1349 (ProviderName): use base.ProviderName in the getter, not
1350 this.ProviderName, so we don't recurse infinitely.
1352 * SqlDataSourceView.cs: start reworking this class.
1354 * SqlDataSource.cs (GetDbProviderFactory): implement this,
1355 following the MS docs on the matter (if ProviderName is null/"",
1356 return SqlClientFactory.Instance.)
1357 (GetDbProviderFactoryInternal): add an internal method for use by
1359 (TrackViewState): don't invoke View.TrackViewState unless we have
1361 (Selecting): change event handler type to match MS.
1362 (Filtering): add missing event.
1363 (View): call CreateDataSourceView, don't just create an
1366 2006-02-21 Chris Toshok <toshok@ximian.com>
1368 * BoundField.cs: ues the ViewState.Get* pattern with default
1369 instead of the explicit ViewState lookup + null check, and fix the
1370 scope of InitializeDataCell.
1372 * ButtonField.cs: ues the ViewState.Get* pattern with default
1373 instead of the explicit ViewState lookup + null check.
1375 * CommandField.cs: same.
1377 * CheckBox.cs: same.
1379 * AutoGeneratedFieldProperties.cs: same.
1381 * BaseDataList.cs: same.
1383 * CircleHotSpot.cs: same.
1385 * BulletedList.cs: same.
1387 * DataBoundControl.cs: same.
1389 * CookieParameter.cs: same.
1391 * ControlParameter.cs: same.
1393 * CustomValidator.cs: same.
1395 * ButtonFieldBase.cs: same.
1397 * CheckBoxField.cs: same, and fix the scope of InitializeDataCell.
1399 * AutoGeneratedField.cs: fix scope of InitializeDataCell.
1401 * BaseValidator.cs: same, and clean up the getter/setter formatting.
1403 * CompareValidator.cs: same.
1405 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
1407 * ListControl.cs: fixed DataSource property, to throw
1408 ArgumentException on incorrect value
1410 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
1412 * Image.cs: fixed missing border="0" attribute, when image has style,
1413 but border width is not specified.
1415 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
1417 * CheckBox.cs: fixed InternalAddAttributesToRender, Render to
1418 correct the "disabled" attribute in CheckBoxList
1419 * CheckBoxList.cs: fixed RenderItem, to correct the "disabled"
1420 attribute in CheckBoxList
1422 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
1424 * CheckBox.cs: fixed Render function, removed rendering of empty
1425 <span> element if ControlStyleCreated but it's empty.
1426 fixed "disabled" attribute, it should be placed into span element
1428 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
1430 * BoundColumn.cs: fixed InitializeCell function, if DataField is
1431 null or empty string, the cell should not be bound.
1433 2006-02-08 Chris Toshok <toshok@ximian.com>
1435 * ListControl.cs (OnDataBinding): in 2.0, only clear our items if
1436 AppendDataBoundItems != false. Also, split all the databinding
1437 logic out to DoDataBinding, which we call from here only if
1439 (DoDataBinding): new function. actually perform the binding.
1440 (PerformDataBinding): implement.
1441 (PerformSelect): chain up to base class.
1443 2006-02-07 Chris Toshok <toshok@ximian.com>
1445 * ContentPlaceHolder.cs: fix ToolboxDataAttribute.
1447 * Content.cs: use ContentControlBuilderInternal, and add a bunch
1448 of unused (for now) EventHandler's here.
1450 * ContentControlBuilderInternal.cs: rename ContentControlBuilder
1453 2006-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1455 * ListControl.cs: bound checking for Items when loading the control
1456 state, as the number might have been changed on the fly. Patch by
1459 2006-01-22 Chris Toshok <toshok@ximian.com>
1461 * CheckBox.cs: s/GetPostBackClientEvent/GetPostBackEventReference.
1463 * MultiView.cs (OnBubbleEvent): case the rhs to a string to get
1464 the intended comparison right and quiet mcs.
1466 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
1468 * Button.cs: Add semicolon after client script if does not exist.
1470 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
1472 * Button.cs: preserve user logic when adding client validation.
1474 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
1476 * BaseValidator.cs: fixing visibility bahavior
1478 2006-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1480 * RangeValidator.cs: allow empty data from the control. Patch from Marek
1481 Habersack that fixes bug #77239.
1483 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1485 * Calendar.cs: use the DateTimeFormatInfo from the current thread. Patch
1486 by Cyrille Colin. Closes bug #77184.
1488 2006-01-08 Konstantin Triger <kostat@mainsoft.com>
1490 * PagedDataSource.cs, DataGrid.cs: TARGET_JVM changes to let the
1491 compilation pass with csc 1.1.
1493 2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1495 * DropDownList.cs: HtmlEncode the item text. Fixes bug #76949.
1497 2005-12-07 Chris Toshok <toshok@ximian.com>
1499 * BaseValidator.cs: in the uplevel rendering case, don't render
1500 the text if the validator's Display attribute is "None". Should
1503 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1505 * RadioButton.cs: if the 'value' attribute is set explicitly (as
1506 RadioButtonList does now), use that as the 'name' attribute.
1507 * RadioButtonList.cs: set the AutoPostBack and Enabled properties of
1512 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1514 * CheckBox.cs: add possible 'internal' attributes to the input tag. Fix
1515 the 'name' attribute when not aligninng to the right.
1516 * RadioButton.cs: use NameAttribute instead of GroupName when indexing
1517 the collection. Raise the OnCheckedChanged event. Fixes bug #76710.
1519 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1521 * DataGrid.cs: clear the control collection on every call to
1522 CreateControlHierarchy. Fixes bug #76732.
1524 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1526 * ListBox.cs: Rows and SelectionMode are virtual in 1.1
1528 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1530 * CheckBox.cs: use the NameAttribute property for setting 'name'.
1531 * RadioButton.cs: get a UniqueID based identifier for 'name'.
1534 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1536 * LinkButton.cs: don't output any javascript when the linkbutton is
1537 disabled. Fixes bug #76713.
1539 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1541 * DataGrid.cs: use TableHeaderCell instead of TableCell for headers when
1542 UseAccesibleHeader property is true. Patch by Robert Jordan.
1544 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1546 * BaseValidator.cs: 'controltovalidate' must be the ClientID of the
1547 control to validate. Fixes bug #76641.
1549 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1551 * BoundColumn.cs: when the column is readonly and we're in edit mode,
1552 keep it as a TextBox. Fixes bug #76714.
1554 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1556 * ListBox.cs: render the 'onchange' attribute when AutoPostback is
1557 enabled. Fixes bug #76608.
1559 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1561 * CheckBox.cs: AddAttributesToRender was extra in 1.1, so moved all
1562 the logic to Render and make it render the ID, which fixes bug #76596.
1564 2005-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1566 * Repeater.cs: someone forgot the curly brackets. Fixes bug 76537.
1568 2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1570 * Literal.cs: allow LiteralControl as child, but instead of adding it
1571 to the control collection, it just gets the Text out of it.
1573 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1575 * PagedDataSource.cs: fix range when we're at the last page.
1576 * DataGrid.cs: only need to keep the item count in the viewstate.
1579 2005-10-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1581 * ListControl.cs: made GetSelectedIndices() internal.
1582 * ListBox.cs: html-encode the item text. Fixed single and multiple
1583 selection handling. All the tests pass now. Closes bug #76478.
1585 2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1587 * ListControl.cs: throw when the selected value is not in the
1588 items collection. Fixes bug #76415.
1590 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1592 * BaseDataList.cs: Type.GetTypeCode was fixed and now does not
1593 throw a nullref, so we have to do it by ourselves here to make
1596 * BaseValidator.cs: render the text of the error message even if
1597 we set IsValid programatically. Don't use 'valid' directly, as
1602 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1604 * CustomValidator.cs: an empty ControlToValidate is valid.
1606 2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
1608 * RequiredFieldValidator.cs: Added missing permissions.
1610 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1612 * DataList.cs: copied and adapted PrepareControlHierarchy from DataGrid.
1613 Now the items get the attributes from the styles in datalist. Add the
1614 separators after each item, not before. GetItemStyle returns the actual
1615 item style, not the styles in the datalist. Fixes bug #76384 and all
1618 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1620 * Style.cs: add a 'border-style: solid' to make IE happy. Fixes bug
1623 2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1625 * TemplateColumn.cs: SelectedItem was missing from the select (). Fixes
1628 2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
1630 * FontInfo.cs: Gendarme strikes again. Sealed class have no need for
1631 inheritance demands.
1632 * FontUnit.cs: Structs are sealed so there's no need for inheritance
1634 * Unit.cs: Structs are sealed so there's no need for inheritance
1637 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1639 * PagedDataSource.cs: fix the upper bound for collection and ilist
1642 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1644 * DataGrid.cs: change the ListItemType for the item selected, set
1645 SelectedIndex before calling OnSelectedIndexChanged and set the selected
1646 item type correctly when creating the columns. Fixes bug #76334.
1649 * EditCommandColumn.cs: use a ForeColorLinkbutton, otherwise when
1650 selecting the row, the button keep the regular link color.
1652 * DataGridColumn.cs: made the class internal.
1654 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1656 * DataGrid.cs: fix breakaga of alternating item style in one of my
1659 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1661 * Calendar.cs: remove Console.
1662 * ListBox.cs: the name is the UniqueID, not the ClientID.
1663 * WebControl.cs: Attributes is case insensitive.
1665 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1667 * ImageButton.cs: use UniqueID in LoadPostData and also try just the
1668 UniqueID without appending a ".x" or ".y". Fixes several issues in
1669 mojoPortal. Thanks to Joe Audetter for his patience.
1671 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1673 * ButtonColumn.cs: it was lacking databinding, so copied most of it
1676 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1678 * FontInfo.cs: removed useless ctor.
1679 * Style.cs: keep here some commented out debugging code.
1680 * DataGrid.cs: the Items property does not create a new arraylist if
1681 the items_list was already initialized. Add case for Separator.
1682 * DataGridColumn.cs: when sorting is enabled, the linkbutton rendered
1683 in the header columns has a special ForeColor handling.
1685 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1687 * DataGrid.cs: PageCount must persist in ViewState too and returns the
1688 number of pages in the paged data source once we set that. Fix checks
1689 for visibility of the pager: no more 2 pagers when custom paging is
1692 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1694 * ImageButton.cs: fix a bug reported on the list. We were triggering the
1695 command event on every POST. And the 'name' attribute was not being
1696 rendered, so the 'x,y' coordinates didn't have 'uniqueid.' prepended
1697 and we couldn't find the values.
1699 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1701 * DataGrid.cs: fix the links for the numeric pager.
1703 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1705 * DataGrid.cs: when paging is enable, the actual number of items is not
1706 the number of items rendered before the postback, but that number times
1707 the number of pages. Now we store the page count in the viewstate. Also,
1708 as the number might be big, don't allocate an array of objects to fake
1709 the collection for the PagedDataSource, but use the new NCollection
1710 class instead, which provides cheap (memory wise) enumerator for an
1711 arbitrary number of items. Thanks to "Adriano" for the test case.
1713 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1715 * Xml.cs: the show must go on. Removed a few NotImplemented.
1717 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1719 * Button.cs: implemented 2.0 RaisePostBackEvent in terms of the
1720 existing code in 1.1 (or viceversa). RenderContents() does nothing.
1722 * DataGrid.cs: changed autoid api.
1724 * EditCommandColumn.cs: only 'Update' causes validation.
1726 * TableCell.cs: changed autoid api. RenderContents checks the number
1727 of controls to decide what to do, not the value of Text in the
1730 * TableRow.cs: changed autoid api.
1732 * BoundColumn.cs: SelectedItem was missing when attaching a DataBind
1733 event. When we get an EditItem, we need a TextBox to be created and
1734 this one will be the one that gets the event. Changed
1735 ItemDataBinding to deal with a TextBox too.
1737 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1739 * PagedDataSource.cs: fix IsLastPage. All tests pass.
1740 * DataGrid.cs: InitializePager always add a cell and it's brand new. No
1741 need to keep the old one in a field. Now all tests pass here too.
1743 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1745 * PagedDataSource.cs: don't use the properties when they just return a
1746 field. Fixed Count when paging is enabled. In GetEnumerator, IList goes
1747 before ICollection (otherwise, an IList will always fall under the
1748 ICollection case). The enumerator for lists will be empty if 'start'
1749 is beyond the list size. All existing tests pass, but one in
1750 DataGridTest that fails because of some problem with the paging.
1752 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1754 * Style.cs: fix the 2.0 build.
1756 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1758 * Style.cs: avoid unnecesary creation of a CssStyleCollection and
1759 instead write the style attributes directly to the HtmlTextWriter.
1761 * CheckBox.cs: adapted to new API.
1763 * DataGrid.cs: handle null data sources. Fixed the contions that make
1764 the table to be added to the Controls collection.
1766 * Calendar.cs: the table needed an ID and the attributes from the
1767 parent. Also don't create the ControlStyleCollection if it has not
1768 already been created.
1770 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1772 * DataGrid.cs: handle null data sources. Fixed the contions that make
1773 the table to be added to the Controls collection.
1775 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1777 * Calendar.cs: TrackViewState should be called upon creation, not on
1778 every get_XXX call. Cleanup.
1780 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1782 * DataGrid.cs: fix another test. The ID of the table generated by the
1783 datagrid is set to the one on the datagrid if no one set the ID for the
1786 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1788 * ListControl.cs: this fixes TestValueFieldAndTextFormat from
1791 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1793 * FontUnit.cs: use a table for FontSize names, as the X{1,2}.* ones are
1794 converted to string as X{1,2}-.*. All FontUnitTests pass now.
1795 * Unit.cs: throw a format exception when there's not number or minus
1796 sign in the first non-whitespace character.
1798 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1800 * ListControl.cs: SelectedIndex/SelectedValue can be set before
1801 DataBinding () is called on the control, so we have to keep this values
1802 around and use them after the data is read. If both properties are
1803 used, they must refer to the same item.
1805 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1807 * DataList.cs: fill in the data keys from BaseDataList so that the
1808 events can see them. Only assign DataItem when using data binding and
1809 nullify it after all events are raised.
1811 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1813 * DataList.cs: OnItemCommand() is raised any time OnBubbleEvent is
1816 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
1818 * Button.cs: For 2.0 don't add the "name" attribute unless there's an
1820 * DataGrid.cs: Fix TagKey (table) for 2.0.
1821 * DataList.cs: Revert 2.0 specific stuff that was changed in RC.
1822 * DropDownList.cs: For 2.0 don't add the "name" attribute unless
1824 * ListBox.cs: For 2.0 don't add the "name" attribute unless there's an
1826 * RoleGroupCollection.cs: Fix "extra" exception in Remove method.
1827 * Style.cs: Fixed (2.0) RegisteredCssClass to returns String.Empty
1829 * TextBox.cs: For 2.0 don't add the "name" attribute unless there's an
1831 * TreeView.cs: Added declarative security (Link and Inheritance
1832 demands) for Minimal.
1833 * XmlDataSource.cs: Added declarative security (Link and Inheritance
1834 demands) for Minimal.
1836 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
1838 * FontUnit.cs: Added, but only for 1.x, declarative security (Link and
1839 Inheritance demands) for Minimal.
1840 * Label.cs: Added declarative security (Link and Inheritance demands)
1842 * ListItem.cs: Added declarative security (LinkDemands) for Minimal.
1843 * ListItemCollection.cs: Added declarative security (LinkDemands) for
1845 * MonthChangedEventArgs.cs: Added declarative security (Link and, for
1846 2.0, Inheritance demands) for Minimal.
1847 * PagedDataSource.cs: Added declarative security (LinkDemands) for
1849 * Panel.cs: Added declarative security (Link and Inheritance demands)
1851 * Repeater.cs: Added declarative security (Link and Inheritance
1852 demands) for Minimal.
1853 * RepeatInfo.cs: Added declarative security (LinkDemands) for Minimal.
1854 * SelectedDatesCollection.cs: Added declarative security (LinkDemands)
1856 * TargetConverter.cs: Added declarative security (Link and Inheritance
1857 demands) for Minimal.
1858 * Unit.cs: Added, but only for 1.x, declarative security (Link and
1859 Inheritance demands) for Minimal.
1860 * ValidatedControlConverter.cs: Added declarative security (Link and
1861 Inheritance demands) for Minimal.
1862 * WebColorConverter.cs: Added declarative security (Link and
1863 Inheritance demands) for Minimal.
1864 * Xml.cs: Added declarative security (Link and Inheritance demands)
1866 * ValidationSummary.cs: Added declarative security (Link and
1867 Inheritance demands) for Minimal.
1869 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
1871 * UnitConverter.cs: Remove conversion from Unit (see unit tests).
1873 2005-09-22 Ben Maurer <bmaurer@ximian.com>
1875 * BulletedList.cs: Remove the cacheEnabled thing. I was thinking
1876 it took O(height) time, not O(1).
1878 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
1880 * CheckBoxList.cs: Fix unit test failure (which matched bug #48802).
1882 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
1884 * AdCreatedEventArgs.cs: Added declarative security (Link and, for
1885 2.0, Inheritance demands) for Minimal.
1886 * BaseCompareValidator.cs: Added declarative security (Link and
1887 Inheritance demands) for Minimal.
1888 * BaseDataBoundControl.cs: Added declarative security (Link and
1889 Inheritance demands) for Minimal.
1890 * BaseValidator.cs: Added declarative security (Link and Inheritance
1891 demands) for Minimal.
1892 * BoundColumn.cs: Added declarative security (Link and Inheritance
1893 demands) for Minimal.
1894 * ButtonColumn.cs: Added declarative security (Link and Inheritance
1895 demands) for Minimal.
1896 * CalendarDay.cs: Added declarative security (Link and Inheritance
1897 demands) for Minimal.
1898 * CheckBoxList.cs: Added declarative security (Link and Inheritance
1899 demands) for Minimal.
1900 * CompareValidator.cs: Added declarative security (Link and
1901 Inheritance demands) for Minimal.
1902 * CustomValidator.cs: Added declarative security (Link and Inheritance
1903 demands) for Minimal.
1904 * DataBoundControl.cs: Added declarative security (Link and
1905 Inheritance demands) for Minimal.
1906 * DataGridItemCollection.cs: Added declarative security (Link and
1907 Inheritance demands) for Minimal.
1908 * DataKeyCollection.cs: Added declarative security (LinkDemands) for
1910 * DataListItemCollection.cs: Added declarative security (LinkDemands)
1912 * DataListItem.cs: Added declarative security (Link and Inheritance
1913 demands) for Minimal.
1914 * FontNamesConverter.cs: Added declarative security (Link and
1915 Inheritance demands) for Minimal.
1916 * HyperLink.cs: Added declarative security (Link and Inheritance
1917 demands) for Minimal.
1918 * HyperLinkColumn.cs: Added declarative security (Link and Inheritance
1919 demands) for Minimal.
1920 * Image.cs: Added declarative security (Link and Inheritance demands)
1923 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1925 * BaseDataList.cs: it's the DataKeysArray what is stored in "DataKeys",
1927 * DataGrid.cs: add the keys to BaseDataList.DataKeysArray. When using
1928 a data source, first try reflection, then componentmodel. If we get
1929 an enumerator, keep it around, as MS only calls GetEnumerator once.
1930 Throw an exception if no columns can be created from the given data
1931 source. Tested with DbDataRecord, DataTable, ArrayList and
1932 ICustomTypeDescriptor.
1934 2005-09-20 Sebastien Pouliot <sebastien@ximian.com>
1936 * AccessDataSource.cs: Added declarative security (Link and Inheritance
1937 demands) for Minimal. Added [ToolboxBitmap] on class.
1938 * AdRotator.cs: Added declarative security (Link and Inheritance
1939 demands) for Minimal. Removed extra Page and ViewState properties.
1940 * BulletedList.cs: Added declarative security (Link and Inheritance
1941 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1942 * Button.cs: Added declarative security (Link and Inheritance demands)
1943 for Minimal. Added [SupportsEventValidation] on class (2.0).
1944 * Calendar.cs: Added declarative security (Link and Inheritance
1945 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1946 * CheckBox.cs: Added declarative security (Link and Inheritance
1947 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1948 * CompositeControl.cs: Added declarative security (Link and Inheritance
1949 demands) for Minimal. Added new protected RecreateChildControls method.
1950 * DataControlCommands.cs: Added declarative security (LinkDemands) for
1951 Minimal. Added private ctor.
1952 * DataGrid.cs: Added declarative security (Link and Inheritance
1953 demands) for Minimal. Fixed properties for 2.0 (mostly removing
1954 [Bindable]). Added override for TagKey property.
1955 * DataGridColumn.cs: Added declarative security (Link and Inheritance
1956 demands) for Minimal. Added [UrlProperty] on HeaderImageUrl (2.0).
1957 * DataGridItem.cs: Added declarative security (Link and Inheritance
1958 demands) for Minimal. Added IDataItemContainer interface for 2.0.
1959 * DataGridPagerStyle.cs: Added declarative security (LinkDemands) for
1960 Minimal. Remove [Bindable] from 2.0 and add [Localizable].
1961 * DataList.cs: Removed [Load|Save]ControlState methods.
1962 * DropDownList.cs: Added declarative security (Link and Inheritance
1963 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1964 * EditCommandColumn.cs: Added declarative security (Link and
1965 Inheritance demands) for Minimal. Added missing attributes,
1966 [DefaultValue] and [Localize] for 2.0.
1967 * FontInfo.cs: Added declarative security (Link and Inheritance
1968 demands) for Minimal. Remove [Bindable] and added [RefreshProperties]
1970 * Login.cs: Added declarative security (Link and Inheritance demands)
1971 for Minimal. Fixed IsStyleEmpty. Removed extra [Themeable] attributes.
1972 * ImageButton.cs: Added declarative security (Link and Inheritance
1973 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1974 * LinkButton.cs: Added declarative security (Link and Inheritance
1975 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1976 * ListBox.cs: Added declarative security (Link and Inheritance demands)
1977 for Minimal. Added [SupportsEventValidation] on class (2.0).
1978 * Literal.cs: Added declarative security (Link and Inheritance demands)
1979 for Minimal. Removed [EditorBrowsable] on CreateControlCollection method.
1980 * LoginStatus.cs: Added missing [Themeable] attributes on properties.
1981 * MenuItemStyle.cs: Changed IsEmpty to public (required to compile -
1982 but will be shown as extra).
1983 * RadioButton.cs: Added declarative security (Link and Inheritance
1984 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1985 * RadioButtonList.cs: Added declarative security (Link and Inheritance
1986 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1987 * RangeValidator.cs: Added declarative security (Link and Inheritance
1988 demands) for Minimal. Added missing [Themeable] attributes.
1989 * RegularExpressionValidator.cs: Added declarative security (Link and
1990 Inheritance demands) for Minimal. Remove [Bindable] from 2.0 and add
1992 * RoleGroupCollection.cs: Added declarative security (Link and
1993 Inheritance demands) for Minimal. Fixed base class (changed in RC).
1994 Re-implemented CopyTo. Removed some methods.
1995 * Style.cs: Added declarative security (Link and Inheritance demands)
1996 for Minimal. Remove static IsStyleEmpty and ToString (from 2.0). IsEmpty
1997 is now public in 2.0.
1998 * Table.cs: Added declarative security (Link and Inheritance demands)
1999 for Minimal. Added [SupportsEventValidation] on class (2.0).
2000 * TableCell.cs: Fixed PersistenceMode for 2.0.
2001 * TextBox.cs: Added declarative security (Link and Inheritance demands)
2002 for Minimal. Added [SupportsEventValidation] on class (2.0).
2003 * TreeNodeStyle.cs: Changed IsEmpty to public (required to compile -
2004 but will be shown as extra).
2005 * WebControl.cs: Added declarative security (Link and Inheritance
2006 demands) for Minimal. Removed [EditorBrowsable] on ControlStyleCreated
2009 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2011 * TableStyle.cs: fixed typo that prevented restoring GridLines from
2014 * DataGrid.cs: the table does not get an auto ID. When restoring from
2015 viewstate, use all the saved columns, not just that data bound ones. Set
2016 the owner of the BoundColumns created. Save/restore columns.
2017 OnItemCreated happens after the item is initialized and the data item is
2018 set before the event and nullified after OnItemDataBound.
2019 Add the render_table to the Controls immediately, otherwise we might get
2020 errors from child controls such as "must be rendered inside a form".
2021 Keep the items created in the list waiting for them.
2022 The table uses the attributes from the DataGrid and ControlStyle.
2023 Raise OnItemCommand on all bubble events and don't propagate bubble
2024 event up in the hierarchy
2026 * TableCell.cs: it does not get an automatic ID.
2027 * BoundColumn.cs: FormatDataValue returns an empty string on null input
2028 (there was already a test for this).
2032 2005-09-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2034 * DataGridColumnCollection.cs: track the view state in the newly added
2037 2005-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2039 * DataGrid.cs: merge column styles too. Fixes bug #76106.
2040 * DataGridColumn.cs: new internal method to retrieve the styles without
2041 creating an instance for them.
2043 2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
2045 * DataControlField.cs, HotSpot.cs, MenuItem.cs, Parameter.cs,
2046 Style.cs, TreeNode.cs: Replace _empty_ StateBag.SetDirty () with
2047 StateBag.SetDirty (true).
2049 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
2051 * Menu.cs: Fixed parameter orders for CreateStyleRule.
2053 2005-09-13 Chris Toshok <toshok@ximian.com>
2055 * Style.cs: corcompare stuff.
2057 * RequiredFieldValidator.cs: more corcompare stuff.
2059 * CheckBoxList.cs: clean up some of the interface methods vs
2060 protected virtual 2.0 calls.
2062 * SubMenuStyle.cs: corcompare says this should implement
2063 ICustomTypeDescriptor... sooo, make it.
2065 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2067 * TableCell.cs: do the same as HyperLink and others in
2068 AddParsedSubobject so that adding a literal control does not remove the
2069 existing controls if any. Fixes bug #76078.
2071 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2073 * GridView.cs: don't duplicate class attribute. Fixes bug #75936.
2075 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2077 * ImageButton.cs: fix invalid cast exception.
2079 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2081 * ListItem.cs: throw in AddParsedSubObject if the object is not a
2083 * RadioButtonList.cs: implemented LoadPostData and
2084 RaisePostDataChangedEvent.
2086 2005-09-09 Chris Toshok <toshok@ximian.com>
2088 * CheckBox.cs, CheckBoxList.cs, DropDownList.cs, ImageButton.cs,
2089 ListBox.cs, RadioButton.cs, RadioButtonList.cs, TextBox.cs: fix up
2090 LoadPostData/RaisePostDataChangedEvent.
2092 2005-09-09 Chris Toshok <toshok@ximian.com>
2094 * FontInfo.cs (IsEmpty): new internal property, used by
2097 * Style.cs (IsEmpty): make sure the fontinfo is null or empty as
2100 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2102 * ListItemCollection.cs: remove obsoleted methods.
2103 * ListBox.cs: use IStateManager on the item collection.
2105 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
2107 * Use C# 1.0 style of delegate instantiating. Needed to compile
2108 Grasshopper (TARGET_J2EE) which uses MS C# 1.0 compiler and not msc.
2110 2005-09-07 Chris Toshok <toshok@ximian.com>
2112 * Calendar.cs (WriteDay): always add BackColor=Silver,
2113 ForeColor=White to selected day cells, before copying over the
2114 selectedDayStyle, if it exists.
2115 (WriteDays): fix nunit test - if the first day of the month falls
2116 on the first day of the week, go back one week (effectively adding
2117 a row of dates from the previous month.)
2118 (WriteTitle): don't copy the control style to the tableTitle,
2119 since it might have height specifications, which would make the
2120 title look rather off.
2122 2005-09-07 Chris Toshok <toshok@ximian.com>
2124 * ValidationSummary.cs (AddAttributesToRender): we only set
2125 display=none if there are no errors.
2127 * BaseValidator.cs (OnPreRender): fix a JS error - on submit we
2128 call ValidatorOnSubmit, not ValidatorCommonOnSubmit.
2130 2005-09-07 Chris Toshok <toshok@ximian.com>
2132 * ListControl.cs (SelectedIndex): add comment about how you'd
2133 think OnSelectedIndexChanged would be called.. and you'd be wrong.
2134 (Text): implement in terms of SelectedValue.
2135 (TagKey): do the HAVE_CONTROL_ADAPTERS two-step.
2136 (LoadControlState): implement - this is where the selected index
2137 ArrayList gets stuffed in 2.0.
2138 (OnInit): call Page.RegisterRequiresControlState.
2139 (OnTextChanged): implement.
2140 (RenderContents): for now just chain up to base.RenderContents.
2141 (SaveControlState): save our control state properly.
2142 (GetSelectedIndices): split this out from SaveViewState to it can
2143 be used by both that and SaveControlState.
2144 (SaveViewState): mangle this function so it works in both 2.0 and
2146 (LoadViewState): same.
2148 2005-09-06 Chris Toshok <toshok@ximian.com>
2150 * BaseValidator.cs (AddAttributesToRender): render our ClientID if
2151 we weren't assigned an ID.
2153 * ValidationSummary.cs (AddAttributesToRender): same.
2155 2005-09-06 Chris Toshok <toshok@ximian.com>
2157 * WebControl.cs: revert the last change.
2159 2005-09-06 Chris Toshok <toshok@ximian.com>
2161 * WebControl.cs (AddAttributesToRender): always render ClientID.
2163 * ValidationSummary.cs (Render): same.
2165 * BaseValidator.cs (RegisterValidatorDeclaration): use ClientID
2168 2005-09-06 Chris Toshok <toshok@ximian.com>
2170 * ValidationSummary.cs (Render): only do the JS stuff when the
2171 validators on the page are uplevel.
2173 * BaseValidator.cs (Render): remove unnecessary comment.
2175 2005-09-05 Chris Toshok <toshok@ximian.com>
2177 * BaseDataBoundControl.cs (DataSourceID): testing reveals this is
2178 stored in the ViewState.
2180 2005-09-02 Chris Toshok <toshok@ximian.com>
2182 * Repeater.cs (GetData): change this slightly so the Repeater
2183 doesn't keep a ref to the return value of GetData.
2185 2005-09-01 Chris Toshok <toshok@ximian.com>
2187 * ListControl.cs (AppendDataBoundItems): implement (2.0)
2190 2005-09-01 Chris Toshok <toshok@ximian.com>
2192 * System.Web.UI.WebControls/MonthChangedEventArgs.cs,
2193 System.Web.UI.WebControls/ValidatedControlConverter.cs,
2194 System.Web.UI.WebControls/Xml.cs,
2195 System.Web.UI.WebControls/RegularExpressionValidator.cs,
2196 System.Web.UI.WebControls/ServerValidateEventArgs.cs,
2197 System.Web.UI.WebControls/Menu.cs,
2198 System.Web.UI.WebControls/MailMessageEventArgs.cs,
2199 System.Web.UI.WebControls/MenuItemStyle.cs,
2200 System.Web.UI.WebControls/RangeValidator.cs,
2201 System.Web.UI.WebControls/RepeaterItemEventArgs.cs,
2202 System.Web.UI.WebControls/MenuItem.cs,
2203 System.Web.UI.WebControls/RepeaterCommandEventArgs.cs,
2204 System.Web.UI.WebControls/DataGridSortCommandEventArgs.cs,
2205 System.Web.UI.WebControls/DataGridCommandEventArgs.cs,
2206 System.Web.UI.WebControls/DataGridPageChangedEventArgs.cs,
2207 System.Web.UI.WebControls/XmlBuilder.cs,
2208 System.Web.UI.WebControls/ImageButton.cs: someone stop me. more
2211 2005-09-01 Chris Toshok <toshok@ximian.com>
2213 * System.Web.UI.WebControls/Button.cs,
2214 System.Web.UI.WebControls/ButtonField.cs,
2215 System.Web.UI.WebControls/DataControlField.cs,
2216 System.Web.UI.WebControls/BaseCompareValidator.cs,
2217 System.Web.UI.WebControls/AutoGeneratedField.cs,
2218 System.Web.UI.WebControls/CustomValidator.cs,
2219 System.Web.UI.WebControls/Content.cs,
2220 System.Web.UI.WebControls/BoundField.cs,
2221 System.Web.UI.WebControls/AdRotator.cs,
2222 System.Web.UI.WebControls/ButtonColumn.cs,
2223 System.Web.UI.WebControls/CompareValidator.cs,
2224 System.Web.UI.WebControls/AdCreatedEventArgs.cs: More corcompare
2225 work. Stub things out, and add attributes.
2227 2005-09-01 Chris Toshok <toshok@ximian.com>
2229 * Button.cs, ButtonField.cs, FontInfo.cs, Style.cs, Xml.cs,
2230 CommandField.cs, HyperLinkColumn.cs, Table.cs,
2231 RegularExpressionValidator.cs, DataGridPagerStyle.cs, Label.cs,
2232 CheckBox.cs, RadioButton.cs, TableStyle.cs, ListControl.cs,
2233 Image.cs, BaseCompareValidator.cs, BaseDataList.cs, DataList.cs,
2234 TemplateColumn.cs, RangeValidator.cs, ImageField.cs,
2235 BaseValidator.cs, CustomValidator.cs, TextBox.cs,
2236 ButtonFieldBase.cs, BoundField.cs, CheckBoxList.cs,
2237 RadioButtonList.cs, RequiredFieldValidator.cs, AdRotator.cs,
2238 Repeater.cs, DropDownList.cs, CheckBoxField.cs, HyperLink.cs,
2239 XmlDataSource.cs, Panel.cs, DataGrid.cs, ButtonColumn.cs,
2240 CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs,
2241 WebControl.cs, Literal.cs, ValidationSummary.cs, ImageButton.cs,
2242 TableRow.cs, LinkButton.cs, DataGridColumn.cs, BoundColumn.cs,
2243 TableItemStyle.cs: Add some WebCategory and WebSysDescription
2246 2005-09-01 Chris Toshok <toshok@ximian.com>
2248 * AccessDataSource.cs: corcompare work.
2250 * SqlDataSource.cs: same.
2252 2005-09-01 Miguel de Icaza <miguel@novell.com>
2254 * Various places: make sure that the DefaultValue matches the
2255 type. Thanks to Michael for pointing this out.
2257 In future audits, you might want to use the following awk command:
2259 awk '/DefaultValue/ { v=$0; looking = 1; } /public/ && looking &&
2260 !/string/ && !/ int / && !/ bool / { print FILENAME; print v;
2261 print $0; looking = 0; } /public/ && looking { looking = 0; } '
2264 The above skips bools, strings and ints as those were fine as we
2265 set them. The bug was on the other ones.
2267 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2269 * Repeater.cs: fix the build.
2271 2005-08-31 Chris Toshok <toshok@ximian.com>
2273 * Repeater.cs: lots of 2.0 work, much of it c&p'ed from
2274 {Base}DataList, and also from debug spew garnered from some
2275 Repeater subclass tests on MS.
2276 (CreateControlHierarchy): in 2.0 if IsBonudUsingDataSourceID get
2277 the IEnumerable by calling GetData().
2278 (DataBind): reset RequiresDataBinding to false (2.0).
2279 (DataMember): copy the set implementation from DataList, and add
2280 2.0 code to call OnDataPropertyChanged if we're !Initialiezd.
2281 (DataSource): more c&p.
2282 (DataSourceID); implement (2.0)
2283 (Initialized): implement (2.0)
2284 (IsBoundUsingDataSource): implement (2.0)
2285 (RequiresDataBinding): implement (2.0)
2286 (SelectArguments): implement (2.0)
2287 (CreateDataSourceSelectArguments): implement (2.0)
2288 (EnsureDataBound): implement (2.0)
2289 (GetData): implement.
2290 (OnDataPropertyChanged): remove the NIE, but leave the MonoTODO
2292 (OnDataSourceViewChanged): set RequiresDataBinding to true, but
2293 leave the MonoTODO. (2.0)
2294 (OnInit): call base.OnInit instead of throwing NIE, but leave the
2296 (OnLoad): implement.
2297 (OnPreRender): implement.
2298 (ConnectToDataSource): new method - look for the right control.
2300 2005-08-31 Chris Toshok <toshok@ximian.com>
2302 * XmlDataSourceView.cs: fix the scope of our select. Don't use
2303 call SelectNodes on the XmlDocument, not on
2304 XmlDocument.DocumentElement.
2306 2005-08-31 Chris Toshok <toshok@ximian.com>
2308 * XmlDataSourceView.cs (.ctor): remove the nodelist parameter.
2309 (DoXPathSelect): put the xpath selection stuff here.
2310 (ExecuteSelect): call DoXPathSelect if we need to (if nodes ==
2313 * XmlDataSource.cs (IDataSource.GetView): don't do the XPath
2314 select here, the view does it.
2316 2005-08-31 Jackson Harper <jackson@ximian.com>
2318 * DataList.cs: Remove some debugging code that was starting to bug
2321 2005-08-31 Chris Toshok <toshok@ximian.com>
2323 * XmlDataSourceNodeDescriptor.cs: implement IXPathNavigable, and
2324 create our Navigator by calling node.CreateNavigator().
2326 2005-08-31 Chris Toshok <toshok@ximian.com>
2328 * XmlDataSource.cs (GetXmlDataDocument): rename this to
2329 GetXmlDocument, and change the return value from XmlDataDocument
2331 (LoadXmlDataDocument): similar change.
2332 (Save): xmlDataDocument -> xmlDocument.
2333 (CanBeSaved): there's no ReadOnly attribute.
2334 (LoadViewState, SaveViewState, TrackViewState): nuke.
2335 (GetHierarchicalView): xmlDataDocument -> xmlDocument.
2336 (CacheDuration): stub out with NIE.
2337 (CacheExpirationPolocy): same.
2338 (CacheKeyDependency): same.
2339 (EnableCaching): same.
2341 (Data, DataFile): xmlDataDocument -> xmlDocument.
2342 (Schema, SchemaFile): nuke.
2343 (Transform, TransformFile): xmlDataDocument -> xmlDocument.
2345 2005-08-30 Lluis Sanchez Gual <lluis@novell.com>
2347 * SubMenuStyle.cs, MenuItemStyle.cs, TreeNodeStyle.cs:
2348 Don't use the obsolete IsSet method.
2349 * Menu.cs: Implement IPostBackEventHandler.RaisePostBackEvent.
2350 * CheckBox.cs: Implement some 2.0 methods.
2351 * GridView.cs: Removed some "throw new NotImplementedException"
2353 2005-08-29 Chris Toshok <toshok@ximian.com>
2355 * TreeView.cs: Use the StateBag accessors Ben added, and implement
2356 SkipLinkText and Visible.
2358 2005-08-29 Chris Toshok <toshok@ximian.com>
2360 * TreeView.cs: fix typo in an attribute.
2362 2005-08-29 Jackson Harper <jackson@ximian.com>
2364 * PagedDataSource.cs: If it's not a list or collection we don't
2365 use a bounded enumerator.
2367 2005-08-29 Chris Toshok <toshok@ximian.com>
2369 * LinkButton.cs: fix some 2.0 Page/ClientScript obsolete warnings.
2371 * CheckBox.cs: same.
2373 * BaseValidator.cs: same.
2375 * DropDownList.cs: same.
2377 * ValidationSummary.cs: same.
2379 2005-08-28 Chris Toshok <toshok@ximian.com>
2381 * XmlHierarchyData.cs: fix IHierarchyData.GetParent.
2383 2005-08-26 Chris Toshok <toshok@ximian.com>
2385 * TextBox.cs: implement ValidationGroup and CausesValidation
2388 2005-08-26 Lluis Sanchez Gual <lluis@novell.com>
2390 * Style.cs: Implemented FillStyleAttributes, GetStyleAttributes and
2393 2005-08-26 Chris Toshok <toshok@ximian.com>
2395 * Unit.cs: implement the 2.0 ToString(IFormatProvider) method.
2397 * FontUnit.cs: add two 2.0 ctors, and the 2.0
2398 ToString(IFormatProvider) method.
2400 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
2402 * CheckListBox.cs: Nothing is rendered (i.e. no empty table) in 2.0 if
2403 no items are present in the list.
2404 * RoleGroup.cs: Added missing attributes.
2405 * RoleGroupCollection.cs: Added missing attributes and some (yet-to-be-
2406 documented) methods.
2407 * TableStyle.cs: *for 2.0* adding a "url({0})" to background image
2408 must be done in the HtmlTextWriter (not in the TableStyle).
2410 2005-08-26 Chris Toshok <toshok@ximian.com>
2412 * Calendar.cs (UseAccessibleHeader): implement.
2413 (RaisePostBackEvent): some #ifdef ugliness to get this all working
2414 propertly between 1.x and 2.0
2415 (WriteDayHeader): if UseAccessibleHeader == true, render header
2416 cells as th's, not td's, and add abbr and scope attributes.
2418 2005-08-25 Chris Toshok <toshok@ximian.com>
2420 * Calendar.cs (Caption, CaptionAlign): implement these properties.
2421 (Render): if we have a non-empty caption, show it.
2422 (WriteCaption): new method, output the caption.
2424 2005-08-25 Chris Toshok <toshok@ximian.com>
2426 * Calendar.cs (Render): Copy the entire style from the Calendar to
2427 the Table, not just the font.
2428 (WriteDay): don't just write the link/text/etc. Create a
2429 LiteralControl as a child of the cell, before the call to
2430 OnDayRender, with its text set to the day number. After
2431 OnDayRender, set the literal's text to either the number again (if
2432 it's not selectable) or the full text of the js __doPostBack
2433 hyperlink (if it is.) Also, use cell.RenderControl here so we can
2434 render child controls with the id's listed properly (and arguably
2436 (ApplyTitleStyleCell): remove.
2437 (WriteTitle): apply the titleStyle to the enclosing table, not the
2438 table cell containing the month name. Also, copy from the
2439 Calendar's ControlStyle to populate tableTitle's style initially.
2440 We end up with more (superfluous) style attributes than MS, but
2441 it's better than having less.
2443 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
2445 * HyperLink.cs: Fixed 2.0 rendering for Alt and Border|BorderWidth when
2448 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
2450 * Style.cs: Implemented 2.0 CopyTextStylesFrom(), SetRegisteredCssClass()
2451 and RegisteredCssClass property
2453 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
2455 * LoginView.cs: Fixed attributes.
2456 * Style.cs: Change SetRegisteredCssClass to internal and not to throw
2457 an exception to allow pages to work on 2.x.
2459 2005-08-25 Chris Toshok <toshok@ximian.com>
2461 * LinkButton.cs (PostBackUrl): correct the UrlProperty attribute.
2463 * Unit.cs: add [Serializable] and the 2.0 specific ToString(), not
2466 * HiddenField.cs: stub out this class and label everything
2469 2005-08-25 Jackson Harper <jackson@ximian.com>
2471 * DataGrid.cs: Disable the pager row if there no paging enabled
2474 2005-08-25 Chris Toshok <toshok@ximian.com>
2476 * SqlDataSourceFilteringEventArgs.cs: add some usings, and fix a
2479 * SqlDataSourceSelectingEventArgs.cs: IDbCommand -> DbCommand, and
2480 add a using statement.
2482 2005-08-25 Chris Toshok <toshok@ximian.com>
2484 * SqlDataSourceFilteringEventArgs.cs: new 2.0 class, as per
2487 * SqlDataSourceFilteringEventHandler.cs: new 2.0 delegate, as per
2490 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
2492 * Login.cs: Added rendering and fixed parts of the authentication.
2493 Now using IStateManager to allow compilation in another assembly (e.g.
2494 to test the control under IIS). Needs more tests (error conditions)
2495 once we get a "real" Membership provider running.
2496 * Style.cs: Fixed IsStyleEmpty (name ;-) and when null is provided
2499 2005-08-25 Chris Toshok <toshok@ximian.com>
2501 * SqlDataSourceCommandType.cs: new 2.0 enum, as per corcompare.
2503 2005-08-25 Chris Toshok <toshok@ximian.com>
2505 * AdRotator.cs: stub out enough of the 2.0 methods/properties by
2506 calling base.Foo to get the standalone adrotator (1.0) tests to
2507 run without throwing exceptions.
2509 2005-08-25 Chris Toshok <toshok@ximian.com>
2511 * ValidationSummary.cs (ValidationGroup): implement.
2512 (Render): use Page.GetValidators in .net 2.0, so we can support
2513 ValidationGroups. Also, <br>'s get rendered as <br /> in .net
2516 2005-08-25 Chris Toshok <toshok@ximian.com>
2518 * ImageButton.cs (TagKey): disable (but flag) the "virtual new"
2519 2.0 attribute modifiers, and revert back to "override".
2521 * ListBox.cs (BorderColor): disable (but flag) the "virtual new"
2522 2.0 attribute modifiers, and revert back to "override".
2523 (BorderStyle): same.
2524 (BorderWidth): same.
2526 * TextBox.cs (SaveViewState): implement naively, calling
2528 (TagKey): disable (but flag) the "virtual new" 2.0 attribute
2529 modifiers, and revert back to "override".
2531 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
2533 * Style.cs, TableStyle.cs, TableItemStyle.cs, DataGridPagerStyle.cs:
2534 Load ViewState for derived classes; no public LoadViewState override
2535 exists in those classes
2536 * Style.cs: Added 2.0 IsStyleEmpty method
2538 2005-08-25 Jackson Harper <jackson@ximian.com>
2540 * DataGrid.cs: The number of pages set in the pager is specified
2543 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
2545 * LoginView.cs: New (2.0). Work in progress.
2547 2005-08-24 Chris Toshok <toshok@ximian.com>
2549 * Button.cs, DetailsView.cs, FontInfo.cs, Style.cs, Xml.cs,
2550 Menu.cs, ObjectDataSource.cs, CheckBox.cs, RadioButton.cs,
2551 ListControl.cs, SiteMapPath.cs, BulletedList.cs,
2552 DataBoundControl.cs, ListItemCollection.cs, GridView.cs,
2553 Wizard.cs, TextBox.cs, CheckBoxList.cs, RadioButtonList.cs,
2554 PagedDataSource.cs, FormView.cs, AdRotator.cs, Repeater.cs,
2555 DropDownList.cs, MultiView.cs, HierarchicalDataBoundControl.cs,
2556 Calendar.cs, ListBox.cs, WebControl.cs, Literal.cs,
2557 ValidationSummary.cs, ImageButton.cs, LinkButton.cs, TreeView.cs:
2558 Add MonoTODO's for all things that throw NotImplementException.
2560 2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
2562 * RoleGroup.cs: New (2.0). Complete implementation.
2563 * RoleGroupCollection.cs: New (2.0). Mostly complete implementation.
2565 2005-08-23 Chris Toshok <toshok@ximian.com>
2567 * BaseCompareValidator.cs (GetFullYear): it turns out the docs up
2568 on msdn.microsoft.com tell exactly how the .net 2.0 stuff works,
2569 even though they were written for the 1.0 stuff.
2571 2005-08-23 Chris Toshok <toshok@ximian.com>
2573 * RepeatInfo.cs: some massaging to support both the 1.x and 2.0
2574 output. Our tests now pass on both mono and ms, with both 1.x and
2577 2005-08-23 Sebastien Pouliot <sebastien@ximian.com>
2579 * Login.cs: Throw exception if the specified provider doesn't exists.
2580 * LoginStatus.cs: Complete events.
2582 2005-08-22 Jackson Harper <jackson@ximian.com>
2584 * DataGrid.cs (CreateControlHierarchy): Clear out the old pager after creating the
2586 (InitializeNumericPager): Now that the pager actually renders
2587 properly I can see that I was computing it incorrectly.
2589 2005-08-22 Jackson Harper <jackson@ximian.com>
2591 * DataGrid.cs (RenderTable): Make sure the new table gets the
2593 (CreateColumnSet): Clear the data source columnbs before adding
2594 new ones regardless of whether or not a property descriptor was
2596 (InitializePager): pager_cell needs to be a member so it isn't
2597 created more then once per a render.
2598 (InitializeNumericPager): Compute start and end more
2600 - Link commands are 1 indexed.
2601 (CreateControlHierarchy): Clear the table before we begin
2603 - Revert patch that made adding the pagers conditional. This is
2604 incorrect, the pagers are always added. Only their visibility is
2605 affected by the pager style.
2606 - Save the entire count in the viewstate, not just the rendered
2607 count. So when paging is enabled the pager's count isn't broken by
2610 2005-08-22 Chris Toshok <toshok@ximian.com>
2612 * LinkButton.cs (ValidationGroup): implement.
2613 (IPostBackEventHandler.RaisePostBackEvent): in the 2.0 profile,
2614 pass ValidationGroup to Page.Validate.
2616 2005-08-22 Chris Toshok <toshok@ximian.com>
2618 * ImageButton.cs (ValidationGroup): implement.
2619 (IPostBackEventHandler.RaisePostBackEvent): if we cause
2620 validation, call Page.Validate properly (in both profiles).
2622 2005-08-22 Chris Toshok <toshok@ximian.com>
2624 * Button.cs (IPostBackEventHandler.RaisePostBackEvent): in the 2.0
2625 case, pass ValidationGroup to Page.Validate.
2626 (ValidationGroup): implement using ViewState.
2628 2005-08-22 Chris Toshok <toshok@ximian.com>
2630 * BaseValidator.cs (Text): 2.0 only. implement naively, just
2632 (OnInit): add 2.0 support for validation groups.
2635 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
2637 * LoginName.cs: New (2.0) web control.
2638 * LoginStatus.cs: New (2.0) web control.
2640 2005-08-19 Chris Toshok <toshok@ximian.com>
2642 * LinkButton.cs (ValidationGroup): implement getter/setter.
2643 (RaisePostBackEvent): implement naively, by c&p'ing the old
2644 implementation of IPostBackEventHandler.RaisePostBackEvent, but
2645 making use of the ValidationGroup in the call to Page.Validate.
2649 * Style.cs (LoadViewState): set our style flags for all the things
2650 we have flags for. Seems like the subclass flags should be
2651 handled in overridden LoadViewState methods, but none of the Style
2652 subclasses seem to override this method.
2654 2005-08-19 Chris Toshok <toshok@ximian.com>
2656 * TableStyle.cs (Merge, MergeWith): make these look a bit more
2657 like Copy/CopyFrom, with the styles checks instead of just
2660 * TableItemStyle.cs: same, only also make Copy/CopyFrom work as in
2663 2005-08-19 Chris Toshok <toshok@ximian.com>
2665 * DataGrid.cs (InitializePager): don't unconditionally set
2666 pager_cell to the numeric pager (especially after setting it
2667 conditionally to the nextprev pager.)
2668 (InitializeNumericPager): the link buttons don't participate in
2670 (InitializeNextPrevPager): same.
2671 (CreateControlHierarchy): create the top/bottom pagers only if the
2672 PagerStyle says too.
2674 2005-08-19 Sebastien Pouliot <sebastien@ximian.com>
2676 * TableCell.cs: Added AssociatedHeaderCellID property for 2.0.
2678 2005-08-18 Chris Toshok <toshok@ximian.com>
2680 * DataList.cs (CreateControlHierarchy): Call Controls.Clear() at
2681 the start of this method so templates are created properly.
2683 2005-08-18 Dick Porter <dick@ximian.com>
2685 * Button.cs, DetailsView.cs, Xml.cs, Table.cs, Menu.cs,
2686 DataControlButton.cs, Label.cs, ObjectDataSource.cs, CheckBox.cs,
2687 RadioButton.cs, ListControl.cs, Image.cs, SiteMapPath.cs,
2688 BaseDataList.cs, DataList.cs, BulletedList.cs,
2689 DataBoundControl.cs, Login.cs, GridView.cs,
2690 CompositeDataBoundControl.cs, Wizard.cs, BaseValidator.cs,
2691 TextBox.cs, CheckBoxList.cs, RadioButtonList.cs, FormView.cs,
2692 AdRotator.cs, Repeater.cs, MenuItemTemplateContainer.cs,
2693 DropDownList.cs, HyperLink.cs, ImageMap.cs, MultiView.cs,
2694 CompositeControl.cs, HierarchicalDataBoundControl.cs, Calendar.cs,
2695 ListBox.cs, TableCell.cs, WebControl.cs, Literal.cs,
2696 BaseDataBoundControl.cs, ValidationSummary.cs, ImageButton.cs,
2697 LinkButton.cs, TreeView.cs: 2.0 API fixes and stubs, and attribute
2700 2005-08-18 Sebastien Pouliot <sebastien@ximian.com>
2702 * BaseDataList.cs: Added a TODO for DataKeyField as we're not using it
2704 * DataList.cs: Reworked CreateControlHierarchy to avoid allocating an
2705 empty array of objects just to get the number of items.
2706 * Login.cs: Implemented OnBubbleEvent and parts of the authentication
2707 but we're missing some bits from the class lib to complete all this...
2709 2005-08-17 Jackson Harper <jackson@ximian.com>
2711 * DataGrid.cs: Only create one pager and add it to both the top
2712 and bottom of the grid, this way all the id numbers stay the same
2713 and we save a bunch of cycles.
2715 2005-08-17 Jackson Harper <jackson@ximian.com>
2717 * DataGrid.cs: The top and bottom pagers are always created. Just
2718 the visibility is changed by the PagerStyle::Position.
2720 2005-08-17 Chris Toshok <toshok@ximian.com>
2722 * CompositeControl.cs (RecreateChildControls): implement naively -
2723 just call CreateChildControls. We might need to call
2724 Controls.Clear() as well, but for the time being, this is ok.
2726 2005-08-17 Sebastien Pouliot <sebastien@ximian.com>
2728 * BaseDataList.cs: Completed implementation for 2.0.
2730 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
2732 * BaseDataList.cs: Added missing properties/methods/attributes for 2.0.
2733 * DataList.cs: Added missing [Browseable] attribute on SelectedValue.
2735 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
2737 * BaseDataList.cs: Removed old internal ctor as DataList TagKey was
2739 * DataList.cs: Implemented {Load|Save}ControlState and OnInit (2.0).
2740 Adjusted size and ordering of the ViewState (new element #0 is still
2741 unknown). Properly fixed the TagKey in 2.0.
2742 * Login.cs: Implemented {Load|Save|Track}ViewState. Added checks for
2743 all properties using enums.
2744 * Panel.cs: Fixed NoWrap rendering unit test (for 2.0).
2745 * TableItemStyle.cs: Fixed attribute rendering to use style to render
2746 "nowrap" in 2.0 (it used the HTML nowrap attribute in 1.x).
2748 2005-08-15 Jackson Harper <jackson@ximian.com>
2750 * EditCommandColumn.cs: Use a normal LinkButton.
2752 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
2754 * Image.cs: Don't remove GenerateEmptyAlternateText (2.0) from the
2755 viewstate (even if assigned to the default value).
2756 * TableRow.cs: Implement TableSection property (2.0). It has no effect
2757 on the rendering of the table row.
2759 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
2761 * BaseDataList.cs: Added new [Themeable] and [Localizable] attributes
2762 and removed [Bindable] attributes for 2.0.
2763 * DataList.cs: Added new 2.0 attributes on class and removed [Bindable]
2764 attributes (for 2.0).
2765 * DataListCommandEventArgs.cs: Not sealed in 2.0.
2766 * DataListItemEventArgs.cs: Not sealed in 2.0.
2767 * Image.cs: Fixed [Designer] attribute on class and all [Editor]
2768 attributes for URLs.
2769 * Login.cs: Fixed [Designer] attribute on class and all [Editor]
2770 attributes for URLs.
2771 * Table.cs: Fixed [Editor] attribute for 2.0.
2772 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
2773 * TableCell.cs: Fixed [Designer] attribute. Fixed property name for
2774 AssociatedHeaderCellID and it's [DefaultValue] attribute.
2775 * TableHeaderCell.cs: Fix [DefaultValue] attributes for CategoryText
2776 and Scope attributes.
2777 * TableRow.cs: Fixed [Designer] attribute. Added missing [DefaultValue]
2778 on TableSection attribute.
2779 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
2781 2005-08-14 Sebastien Pouliot <sebastien@ximian.com>
2783 * Image.cs: Fixed attributes for 2.0 profile.
2784 * Login.cs: Fixed some attributes and default values.
2785 * Table.cs: Fixed attributes for 2.0 profile. Added protected method
2786 RaisePostBackEvent (TODO) in 2.0 profile.
2787 * TableCell.cs: Fix properties (Bindable, Localizable, Designer...)
2788 and added AssociateHeaderCellID property (TODO).
2789 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
2790 * TableFooterRow.cs: New (2.0). TableRow that always shows on each
2791 page (if the device requires to breaks the table into multiple pages).
2792 This seems to be a "flag" class, the real work will be in Table.
2793 * TableHeaderCell.cs: Added CategoryText and Scope properties for 2.0.
2794 * TableHeaderRow.cs: New (2.0). TableRow that always shows on each
2795 page (if the device requires to breaks the table into multiple pages).
2796 This seems to be a "flag" class, the real work will be in Table.
2797 * TableItemStyle.cs: Remove [Bindable (true)] from 2.0 profile.
2798 * TableRow.cs: Remove [Bindable (true)] from properties and add
2799 [Bindable (false)] and [Designer] on class. Added new TableSection
2801 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
2802 * TableSectionStyle.cs: New (2.0). Add Visible to Style - but it's
2803 broken (int beta2) for IsEmpty, CopyFrom, MergeWith...
2804 * TableStyle.cs: Fixed attributes for 2.0 profile. Added new
2805 FillStyleAttributes method (2.0).
2807 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
2809 * Login.cs: New (2.0). Mostly a stub with copy-n-pasted code and
2810 attributes from existing controls.
2811 * LoginCancelEventArgs.cs: New (2.0). Required to build Login.
2812 * LoginCancelEventHandler.cs: New (2.0). Required to build Login.
2814 2005-08-12 Jackson Harper <jackson@ximian.com>
2816 * TableRow.cs: No AutoID for TableRows.
2818 2005-08-12 Jackson Harper <jackson@ximian.com>
2820 * DataGrid.cs (CreateRenderColumns): If we aren't using data
2821 binding grab the rendercols from the data source columns.
2822 (LoadViewState): Restore the bound columns when reloading the
2824 (InitializeNumericPager): Create elipsised pagers.
2825 (CreateItem): Don't set the item's ID.
2826 (CreateItem): Add the control to the table before it is databound
2827 so that it's value is saved in the viewstate.
2828 (CreateControlHierarchy): Create a fake data source when not using
2829 databinding. Don't add controls to the table as they are added in
2831 (PrepareControlHierarchy): Make footers and header non visible if
2832 they aren't enabled.
2834 2005-08-12 Chris Toshok <toshok@ximian.com>
2836 * CompositeControl.cs (DataBind, Render, get_Controls): the MSDN
2837 docs says these methods/properties "ensure the child controls are
2838 created" -- so call EnsureChildControls() before invoking the base
2841 2005-08-12 Jackson Harper <jackson@ximian.com>
2843 * BoundColumn.cs: Set the controls text instead of adding a
2844 literal control. So it is saved in the controls viewstate.
2846 2005-08-11 Jackson Harper <jackson@ximian.com>
2848 * CheckBoxList.cs: Set the tabindex on the checkbox control and
2849 don't render it on the main table (Setting it to zero causes it to
2850 not be rendered). Also use the invariant culture on the id.
2852 2005-08-11 Dick Porter <dick@ximian.com>
2854 * CheckBox.cs: Let ViewState manage removals; apply styles and
2855 "style" attributes in a surrounding <span>. Fixes unit tests.
2857 2005-08-10 Chris Toshok <toshok@ximian.com>
2859 * Label.cs (LoadViewState): set the Text attribute from our
2860 ViewState (if it exists) to clear out any child controls. Fixes
2861 jsunit test label/label-child-control-postback.aspx.
2863 2005-08-10 Jackson Harper <jackson@ximian.com>
2865 * PagedDataSource.cs: Respect paging with all data source types.
2867 2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
2869 * BaseDataList.cs: Changed Controls property from "virtual new"
2870 (2.0 doc) to "override" (monop) to fix the Visible bug (see
2871 datalist-invisible.aspx). Fixed AddParsedSubObject not to accept
2872 any controls (required due to change to Controls). Implemented
2873 DataBind(bool) for 2.0.
2874 * DataListItem.cs: Fix the multiple table when extractRows is used.
2875 Removed extra span tags by rendering contents (not control). Added
2876 support for IDataItemContainer (2.0).
2878 2005-08-08 Jackson Harper <jackson@ximian.com>
2880 * DataGrid.cs: Apply the styles to each item type.
2882 2005-08-08 Jackson Harper <jackson@ximian.com>
2884 * PagedDataSource.cs: If paging is not enabled keep enumerating to
2885 the end of the list.
2887 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
2889 * BaseDataList.cs: Remove old compatibility stuff.
2890 * DataList.cs: Fix the edit|update for datalist-style-edit.aspx.
2891 * WebControl.cs: Always call CreateControlStyle to create the
2892 ControlStyle. Fix the exception for datalist-style-edit.aspx.
2894 2005-08-05 Jackson Harper <jackson@ximian.com>
2896 * DataGrid.cs: Don't make the current page index a link in the
2899 2005-08-05 Jackson Harper <jackson@ximian.com>
2901 * DataGrid.cs: Honour PagerPosition.
2903 2005-08-05 Jackson Harper <jackson@ximian.com>
2905 * PagedDataSource.cs: Round PageCount properly.
2907 2005-08-05 Dick Porter <dick@ximian.com>
2909 * CheckBox.cs: Shut corcompare up a bit more. Still need to
2910 figure out how to not use AddAttributesToRender to get it
2913 * ButtonColumn.cs: Implement Initialize() and InitializeCell()
2915 * DataGridColumn.cs: Added the duplicate viewstate manipulation
2918 2005-08-05 Chris Toshok <toshok@ximian.com>
2920 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): treat "" as
2921 null when it comes to the format string.
2922 (FormatDataTextValue): same.
2924 2005-08-04 Chris Toshok <toshok@ximian.com>
2926 * BaseValidator.cs (Validate): only test a validator if it's both
2927 enabled and visible.
2929 2005-08-04 Chris Toshok <toshok@ximian.com>
2931 * BaseValidator.cs (AddAttributesToRender): add "enabled" if
2934 2005-08-04 Jackson Harper <jackson@ximian.com>
2936 * DataGrid.cs: Add a new space control for each link. Also make
2937 the link's text 1 indexed. Don't add the space after the last
2940 2005-08-04 Ben Maurer <bmaurer@ximian.com>
2942 * LinkButton.cs: Fix up the test suite here.
2944 * Panel.cs: Fix up nowrap
2946 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
2948 * ListBox.cs: Use WriteXXXX to render HTML, this way it matches MS output
2949 * ListControl.cs: Clear item list before adding data (again)
2951 2005-08-04 Jordi Mas i Hernandez <jordi@ximian.com>
2953 * Calendar.cs: fixes issues with OnDayRender event and others
2955 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
2957 * DataGrid.cs(CreateControlHierarchy): Consider the EditItemIndex when
2959 * ListControl.cs(OnDataBinding): Only apply DataTextFormatString to text
2960 if DataTextField is bound
2961 * EditCommandColumn.cs(InitializeCell): MS inserts a between the
2962 two controls in edit mode, lets do the same
2964 2005-08-03 Jackson Harper <jackson@ximian.com>
2966 * BoundColumn.cs: Respek for the thisExpr when data binding.
2968 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
2970 * EditCommandColumn.cs: No need to offer edit when in edit mode.
2973 2005-08-04 Dick Porter <dick@ximian.com>
2975 * DataGridColumn.cs: New implementation
2978 * DataGridColumnCollection.cs: Set the DataGridColumn's owner
2980 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
2982 * WebControl.cs(CopyBaseAttributes): Use Enabled setter to also
2985 2005-08-03 Ben Maurer <bmaurer@ximian.com>
2987 * RepeatInfo.cs: Finally figured out how to use base control
2989 2005-08-03 Jackson Harper <jackson@ximian.com>
2991 * ButtonColumn.cs: Partial implementation.
2993 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
2995 * DataGridPagerStyle.cs(PageButtonCount): Throw exception on
2998 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
3000 * Calendar.cs: fixes Save/Load state
3002 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
3004 * Calendar.cs: bug fixes
3006 2005-08-03 Jackson Harper <jackson@ximian.com>
3008 * DataGrid.cs: Merge the table style with the render table. Some
3009 initial work on the numeric pager. Remove some debugging code.
3011 2005-08-03 Jackson Harper <jackson@ximian.com>
3013 * BoundColumn.cs: Implement Initialize and InitializeCell. When
3014 Data is formated it uses the DataFormatString that was set at the
3015 time Initialize was called (or null if initialize was never
3018 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
3020 * RadioButtonList.cs: bug fixes
3022 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
3024 * CheckBox.cs, RadioButton.cs: mecanism to avoid exposing
3025 AddAttributesToRender
3026 * RadioButtonList.cs: Implementation
3028 2005-08-01 Jackson Harper <jackson@ximian.com>
3030 * TableStyle.cs: Copy style bit when copying from another style.
3032 2005-08-01 Jackson Harper <jackson@ximian.com>
3034 * PagedDataSource.cs: Implement missing properties, use yield for
3035 the Enumerator methods. Only allow the enums to return one page at
3038 2005-08-01 Chris Toshok <toshok@ximian.com>
3040 * HyperLinkColumn.cs (ItemDataBinding): remove incorrect comment.
3042 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
3044 * WebControl.cs: Track enabled state across sessions
3046 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
3048 * ListControl.cs(OnDatabinding): Value is equivalent to text if
3051 2005-08-01 Jordi Mas i Hernandez <jordi@ximian.com>
3053 * ImageButton.cs: fixes, complete missing parts
3055 2005-07-31 Ben Maurer <bmaurer@ximian.com>
3057 * TextBox.cs: Html encode for multiline text boxes
3059 * HyperLink.cs: Resolve images
3061 2005-07-30 Chris Toshok <toshok@ximian.com>
3063 * BaseValidator.cs: initial version of 2.0 properties
3064 ValidationGroup and SetFocusOnError.
3066 2005-07-30 Chris Toshok <toshok@ximian.com>
3068 * HyperLinkColumn.cs (InitializeCell): clean this up.
3070 2005-07-30 Chris Toshok <toshok@ximian.com>
3072 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): just use
3073 DataBinder.FormatResult.
3074 (FormatDataTextValue): same.
3075 (Initialize): call base.Initialize.
3076 (ItemDataBinding): new function, get the text/navigateurl and set
3077 them on our HyperLink control.
3078 (InitializeCell): create a hyperlink control in the
3079 Item/EditItem/AlternatingItem case.
3081 2005-07-30 Ben Maurer <bmaurer@ximian.com>
3083 * RepeatInfo.cs: Handle 0 items situations correctly
3085 * HyperLink.cs: Resolve urls correctly
3087 * CheckBox.cs: use the correct ID for the label element.
3089 * Label.cs: Correct AddParsedSubObject impl. See FAQ
3091 2005-07-29 Chris Toshok <toshok@ximian.com>
3093 * BaseCompareValidator.cs (GetDateElementOrder): implement.
3095 2005-07-29 Chris Toshok <toshok@ximian.com>
3097 * BaseCompareValidator.cs (GetFullYear): implement two ways. The
3098 #if'ed out version follows microsoft's docs on msdn, but doesn't
3099 match ms's behavior. The other matches their behavior but not
3100 their docs. we use the latter. go figure.
3101 (get_CutoffYear): implement using
3102 CultureInfo.CurrentCulture.Calendar.TwoDigitYearMax.
3104 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
3107 - Name property now throws exception when set to null
3108 - Names now handles situation where our bit tells us we have
3109 a font, but it's not in the StateBag (null removal)
3110 * RangeValidator.cs: Removed unused vars
3112 2005-07-29 Ben Maurer <bmaurer@ximian.com>
3114 * Label.cs: ClientID should be used rather than UniqueID to get
3117 2005-07-29 Chris Toshok <toshok@ximian.com>
3119 * BaseValidator.cs (Validatate): not sure if this is entirely
3120 correct (some fairly deep testing required), but setting Enabled =
3121 false has the effect of setting IsValid = true.
3123 2005-07-29 Ben Maurer <bmaurer@ximian.com>
3125 * RadioButton.cs: The "remove from groupstate" isn't needed any
3126 more, now that statebag is correct.
3128 2005-07-29 Dick Porter <dick@ximian.com>
3130 * RadioButton.cs: Hide nonstandard API; remove GroupName from the
3131 ViewState when it is null.
3133 * CheckBox.cs: Hide nonstandard API
3135 2005-07-29 Jordi Mas i Hernandez <jordi@ximian.com>
3137 * Calendar.cs: fixes exceptions, bug fixes, new features
3138 * SelectedDatesCollection.cs: Fixes bugs discovered by the tests
3139 * CalendarDay.cs: fixes default value
3141 2005-07-28 Ben Maurer <bmaurer@ximian.com>
3143 * CompositeControl.cs: Stub
3145 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
3147 * EditCommandColumn.cs: Implemented
3149 2005-07-27 Chris Toshok <toshok@ximian.com>
3151 * RegularExpressionValidator.cs (EvaluateIsValid): "" is valid.
3153 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
3155 * CustomValidator.cs: Bug fixes (Thanks to Chris for creating the
3158 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
3160 * DataGrid.cs: DataGridPagerStyle does not need DataGrid as argument
3161 for it's constructor, so remove it
3162 * DataGridPagerStyle.cs: Removed DataGrid argument from constructor
3164 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
3166 * DataGridPagerStyle.cs: Implemented
3167 * TableItemStyle.cs (MergeWith): Now only sets style bits it owns
3168 * Style.cs: Added Styles enum values for DataGridPagerStyle
3170 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
3172 * Calendar.cs: get the styles right, honors more properties, fixes, fix
3175 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
3177 * DataGridItem.cs: Implemented
3179 2005-07-26 Chris Toshok <toshok@ximian.com>
3181 * LinkButton.cs (AddParsedSubObject): reversed the order of
3182 Controls.Add() and Text = null
3183 (set_Text): call Controls.Clear()
3184 (RenderContents): use HasControls() for the if test instead of
3187 * HyperLink.cs (AddParsedSubObject): reversed the order of
3188 Controls.Add () and Text = null;
3190 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
3192 * DataGridItemCollection.cs: Implemented
3194 2005-07-26 Chris Toshok <toshok@ximian.com>
3196 * LinkButton.cs (AddParsedSubObject): copy implementation from
3198 (RenderContents): only call writer.Write(Text) if Text != "".
3199 Otherwise default to base.RenderContents.
3201 2005-07-26 Chris Toshok <toshok@ximian.com>
3203 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
3204 ImageButton.cs, LinkButton.cs (AddAttributesToRender): add if
3205 (Page != null) around my last commit.
3207 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
3209 * FontInfo.cs, CheckBox.cs, RadioButton.cs, ListItemCollection.cs:
3210 Fixed use of literal strings, instead using Consts
3211 * Xml.cs, RegularExpressionValidator.cs, TemplateColumn.cs,
3212 TextBox.cs, RequiredFieldValidator.cs, Repeater.cs, RepeaterItem.cs,
3213 Panel.cs, Literal.cs: Added attributes
3214 * BaseValidator.cs: Added missing override
3216 2005-07-26 Chris Toshok <toshok@ximian.com>
3218 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
3219 ImageButton.cs, LinkButton.cs (AddAttributesToRender): call
3220 Page.VerifyRenderingInServerFormHere.
3222 2005-07-26 Chris Toshok <toshok@ximian.com>
3224 * BaseValidator.cs: remove some MonoTODO's about the client side
3227 2005-07-26 Jordi Mas i Hernandez <jordi@ximian.com>
3229 * Calendar.cs: selection of dates, state load, save, track, support
3230 for new properties, many fixes.
3232 2005-07-26 Miguel de Icaza <miguel@novell.com>
3234 * Style.cs: Temporary methods to help buliding .NET 2.x
3236 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
3238 * BaseValidator.cs: Added AssociateControlID (new in sp1), fixed
3240 * Xml.cs: Fixed base class, attributes
3241 * Button.cs, DataGridColumnCollection.cs, HyperLinkColumn.cs,
3242 Label.cs, ListItem.cs, ListControl.cs, CustomValidator.cs,
3243 CheckBoxList.cs, AdRotator.cs, DropDownList.cs, HyperLink.cs,
3244 DataGrid.cs, ButtonColumn.cs, CompareValidator.cs, Calendar.cs,
3245 ListBox.cs, ImageButton.cs, LinkButton.cs: Attribute fixes
3247 2005-07-25 Ben Maurer <bmaurer@ximian.com>
3249 * RepeatInfo.cs: WOOHOOO! all tests pass. Boy is this class
3252 2005-07-25 Ben Maurer <bmaurer@ximian.com>
3254 * RepeatInfo.cs: If the repeater has one column, the separators
3255 are rendered on a different line
3257 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
3259 * DataGridSortCommandEventArgs: Sealed class
3260 * ButtonColumn.cs, Calendar.cs: Added Attributes
3262 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
3264 * Button.cs, Style.cs, BaseCompareValidator.cs, RangeValidator.cs,
3265 BaseValidator.cs, AdRotator.cs, BoundColumn.cs: Added Attributes
3267 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
3269 * FontInfo.cs, Style.cs, RangeValidator.cs, ListItemCollection.cs,
3270 DropDownList.cs, WebControl.cs, ValidationSummary.cs: Added Attributes
3272 2005-07-25 Chris Toshok <toshok@ximian.com>
3274 * ValidationSummary.cs (AddAttributesToRender): add client side
3276 (OnPreRender): set the "been here" flag.
3277 (Render): add client side support.
3279 2005-07-25 Ben Maurer <bmaurer@ximian.com>
3281 * RepeatInfo.cs: Split the horiz and vertical cases, because this
3282 class has rules that are beyond strange. Continue working to make
3285 2005-07-25 Ben Maurer <bmaurer@ximian.com>
3287 * RepeatInfo.cs: Misc fixes for my test suite.
3289 2005-07-25 Jackson Harper <jackson@ximian.com>
3291 * DataGrid.cs: Set the command name and args on the link buttons.
3293 2005-07-25 Jackson Harper <jackson@ximian.com>
3295 * DataGrid.cs: Lots o implementation.
3297 2005-07-25 Jackson Harper <jackson@ximian.com>
3299 * BoundColumn.cs: Partial implementation to get the DataGrid tests
3302 2005-07-23 Jordi Mas i Hernandez <jordi@ximian.com>
3304 * Button.cs: fixes events, adds attributes
3306 2005-07-23 Chris Toshok <toshok@ximian.com>
3308 * BaseValidator.cs (GetControlValidateValue): handle ListItems as
3309 prop.GetValue results.
3310 (Render): fix the static non-uplevel case, so that we display text
3311 when there's an error.
3313 2005-07-22 Chris Toshok <toshok@ximian.com>
3315 * RegularExpressionValidator.cs (AddAttributesToRender): only
3316 output ValidationExpression if it's != null.
3318 2005-07-22 Chris Toshok <toshok@ximian.com>
3320 * BaseValidator.cs (AddAttributesToRender): fix up the Display
3321 rendering such it matches MS's output.
3322 (Render): stop using the huge complicated if's for each output
3323 stage and move to boolean flags, and fix the static-nonuplevel
3324 case, where a validator outputs as nothing but
3326 2005-07-22 Jordi Mas i Hernandez <jordi@ximian.com>
3327 * Calendar.cs: Initial implementation
3328 * CalendarSelectionMode.cs: fix enum order
3330 2005-07-22 Sebastien Pouliot <sebastien@ximian.com>
3332 * DataList.cs: Rewrote the IRepeatInfoUser.RenderItem to support all
3333 (or more?) specific cases - including correct support for separators.
3334 Added some (commented) debugging code.
3335 * HyperLink.cs: Only render href and target attributes if they're not
3336 empty. Add "border=0" when rendering <img> tag. Fix Target default
3339 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
3341 * Style.cs (CopyFrom): Reset must go, MS doesn't do it (See tests)
3343 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
3345 * Style.cs (CopyFrom): Reset our styles and don't set bits from
3346 target explicitly, properties will set them
3348 2005-07-22 Dick Porter <dick@ximian.com>
3351 * ButtonColumn.cs: Initial stubs
3353 2005-07-22 Dick Porter <dick@ximian.com>
3356 * CheckBox.cs: Add assembly attributes
3358 2005-07-22 Ben Maurer <bmaurer@ximian.com>
3360 * HyperLink.cs: Handle non-literal children.
3362 2005-07-21 Ben Maurer <bmaurer@ximian.com>
3364 * Label.cs: SP1 stuff
3366 2005-07-21 Chris Toshok <toshok@ximian.com>
3368 * BaseValidator.cs (RegisterValidatorCommonScript): remove the NS4
3369 stuff that I c&p'ed from elsewhere - NS4 doesn't support the DOM1
3370 stuff WebUIValidation.js uses, so we don't support it for uplevel
3373 2005-07-21 Chris Toshok <toshok@ximian.com>
3375 * BaseValidator.cs (DetermineRenderUplevel): include checks for
3376 the EcmaScriptVersion and W3CDomVersion.
3378 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
3380 * BaseDataList.cs: Support IEnumerable.
3381 * DataList.cs: Fix alternate items.
3382 * TableCell.cs: Fixed AddParsedSubObject to work nicely with existing
3383 controls and the Text property.
3385 2005-07-21 Ben Maurer <bmaurer@ximian.com>
3387 * TextBoxMode.cs: Wrong ordering of enum...
3389 2005-07-21 Chris Toshok <toshok@ximian.com>
3391 * BaseValidator.cs (OnPreRender): call DetermineRenderUplevel and
3394 2005-07-21 Chris Toshok <toshok@ximian.com>
3396 * BaseValidator.cs (get_PropertiesValid): use our containing
3397 NamingContainer, not ourselves, to look up controls.
3398 (CheckControlValidationProperty): same.
3399 (GetControlRenderID): same.
3400 (GetControlValidationValue): same.
3401 (AddAttributesToRender): add the display style attribute if
3402 Display != Static, and add the value of IsValid if it's false.
3403 (DetermineRenderUplevel): use a try block around (Page.Request)
3404 since that can raise an exception.
3405 (OnPreRender): set pre_render_called, so we can consult it in
3407 (Render): complicate this method more to handle more of the
3408 Display/pre_render_called permutations.
3410 2005-07-21 Peter Dennis Bartok <pbartok@novell.com>
3412 * CustomValidator.cs: Initial implementation, still work in progress
3414 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
3416 * DataList.cs: Fix rendering for special items (-1).
3418 2005-07-21 Ben Maurer <bmaurer@ximian.com>
3420 * RepeatInfo.cs: Fix most of the tests.
3422 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
3424 * Image.cs: Call ResolveUrl for ImageUrl and DescriptionUrl properties.
3425 Add a border=0 attribute if no style is defined.
3426 * TableCell.cs: Use HtmlTextWriterTag (not a string).
3427 * TableHeaderCell.cs: Use HtmlTextWriterTag (not a string).
3428 * TableRow.cs: Use HtmlTextWriterTag (not a string).
3430 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
3432 * BaseDataList.cs: Fix attributes.
3433 * HorizontalAlign.cs: Fix attributes.
3434 * Image.cs: Fix attributes and enums checks.
3435 * Table.cs: Fix attributes an enums checks.
3436 * TableCell.cs: Fix attributes.
3437 * TableCellCollection.cs: Fix attributes.
3438 * TableItemStyle.cs: Fix attributes and enums checks.
3439 * TableRowCollection.cs: Fix attributes.
3440 * TableRow.cs: Fix attributes.
3441 * TableStyle.cs: Fix attributes and enums checks.
3442 * VerticalAlign.cs: Fix attributes.
3444 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
3446 * BaseDataList.cs: Remove/#if-out useless/2.0 stuff.
3447 * DataList.cs: Added rendering support when ExtractTemplatesRows
3448 property is true (but RepeatInfo needs to be fixed to see it works).
3449 * DataListItem.cs: Added rendering support when extractRows parameter
3450 is true (but RepeatInfo still needs to be fixed ;-)
3452 2005-07-21 Duncan Mak <duncan@novell.com>
3454 * HyperLinkColumn.cs: Initial implementation.
3455 Todo: Figure out Initialize and InitializeCell.
3457 2005-07-20 Chris Toshok <toshok@ximian.com>
3459 * BaseValidator.cs: don't use Page.FindControl, use this Control's
3460 FindControl, so it'll use the same naming container.
3462 2005-07-21 Duncan Mak <duncan@novell.com>
3464 * DataGridCommandEventArgs.cs:
3465 * DataGridPageChangedEventArgs.cs:
3466 * RepeaterCommandEventArgs.cs: Fixed visibility.
3468 * DataGridPageChangedEventArgs.cs (CommandSource): Fixed typo.
3469 * DataGridSortCommandEventArgs.cs (CommandSource): Ditto..
3471 2005-07-20 Chris Toshok <toshok@ximian.com>
3473 * Button.cs: hook up the client side validation stuff.
3475 * ImageButton.cs: same.
3477 * LinkButton.cs: same, although it's a little more complicated
3480 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
3483 - Implemented RaisePostDataChangedEvent()
3484 - Spewing postback command if AutoPostBack is true
3486 2005-07-20 Chris Toshok <toshok@ximian.com>
3488 * BaseValidator.cs: another Page != null check when uplevel
3491 2005-07-20 Chris Toshok <toshok@ximian.com>
3493 * BaseValidator.cs: check Page != null when determining if we're
3494 rendering uplevel or not.
3496 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
3498 * ListItemCollection.cs: Removed obsolete method that's no longer
3501 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
3503 * DropDownList.cs: Oops. Forgot to implement LoadPostData
3504 * ListItemCollection.cs: Added convenience method to have faster
3507 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
3510 - Automatically select the first item if none are selected
3511 - Throw exception if more than one item is selected
3513 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
3515 * DataList.cs: Fix style handling for RepeatLayout.Flow (which isn't
3516 handled by RepeatInfo).
3518 2005-07-20 Jackson Harper <jackson@ximian.com>
3520 * DataGrid.cs: Store the data source created columns in a
3521 DataGridColumnCollection. This way they can be put in the
3522 view state more easily, and accessed without casting.
3524 2005-07-20 Chris Toshok <toshok@ximian.com>
3526 * BaseValidator.cs (AddAttributesToRender): render the client side
3527 attributes if we're in uplevel mode.
3528 (DetermineRenderUplevel): flesh out a bit - for now basically
3529 return true unless the control has it disabled.
3530 (OnInit): only add the validator to Page's list if there is, in
3532 (OnUnload): same for removal.
3533 (OnPreRender): hook up client scripting stuff here. Only the call
3534 to RegisterValidatorCommonScript is a for sure thing here, the
3535 registering of the submit statement and startup script should
3536 probably go elsewhere, but I don't know where.
3537 (RegisterValidatorCommonScript): register the <script
3538 src=".../WebUIValidation.js"> tag, if it's not already there.
3539 (RegisterValidatorDeclaration): add our span object to the
3540 Page_Validators JS array.
3541 (Render): always render the tags (although this is probably not
3542 right), and call RegisterValidatorDeclaration here.
3544 * BaseCompareValidator.cs (AddAttributesToRender): render the
3545 client side attributes if we're in uplevel mode.
3546 (DetermineRenderUplevel): add MonoTODO.. why override this? Just
3547 call base.DetermineRenderUplevel for now.
3549 * RegularExpressionValidator.cs (AddAttributesToRender): render
3550 the client side attributes if we're in uplevel mode.
3552 * RequiredFieldValidator.cs (AddAttributesToRender): same.
3554 * CompareValidator.cs (AddAttributesToRender): same.
3556 2005-07-20 Jackson Harper <jackson@ximian.com>
3558 * DataGrid.cs: Save the data source created column set in the
3561 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
3563 * DataList.cs: Fix events and properties exceptions. Give the right
3564 informations to RenderItem.
3566 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
3568 * ValidationSummary.cs: Implemented rendering
3570 2005-07-20 Jackson Harper <jackson@ximian.com>
3572 * DataGrid.cs: column names are cached and only regenerated if useDataSource
3573 is set to true. Otherwise they are just fetched from the last set that
3574 was generated from the source.
3576 2005-07-20 Jackson Harper <jackson@ximian.com>
3578 * DataGrid.cs: Assign some properties of newly created BoundColumns.
3580 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
3582 * DataList.cs: Fix viewstate ordering.
3584 2005-07-20 Ben Maurer <bmaurer@ximian.com>
3586 * SelectedDatesCollection.cs: Apprarently, I don't write code well
3589 * Repeater.cs: Uh, actually add stuff to the items collection
3592 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
3594 * BaseDataList.cs: EnsureChildControls on Controls property.
3595 * DataList.cs: Fix rendering and Controls/Items differences.
3596 * DataListItem.cs: Added rendering of controls.
3598 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
3600 * BaseDataList.cs: Don't call base.Render (or we'll get an extra span).
3602 2005-07-20 Jackson Harper <jackson@ximian.com>
3604 * DataGrid.cs: Add some of the collections. Implement
3607 2005-07-20 Jackson Harper <jackson@ximian.com>
3609 * PagedDataSource.cs: Implement GetItemProperties, this is
3610 needed for the datagrid.
3612 2005-07-20 Ben Maurer <bmaurer@ximian.com>
3614 * DataGridColumnCollection.cs: New impl
3616 * TemplateColumn.cs: New impl
3618 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
3620 * BaseDataList.cs: Call PrepareControlHierarchy from Render.
3621 * DataList.cs: Work in progress... Added attributes, proper
3622 IRepeatInfoUser support and cool things stolen from other classes.
3623 * DataListCommandEventArgs.cs: Class is sealed.
3624 * DataListItem.cs: RenderItem is public.
3626 2005-07-19 Jackson Harper <jackson@ximian.com>
3628 * ListControl.cs: Use Events Add/RemoveHandler. Don't create
3629 a viewstate object if all the viewstate stuff is null.
3631 2005-07-19 Jackson Harper <jackson@ximian.com>
3633 * DataGrid.cs: Implement style properties and viewstate
3634 saving/loading/tracking.
3636 2005-07-19 Chris Toshok <toshok@ximian.com>
3638 * BaseValidator.cs: more fixes from pdb.
3640 2005-07-19 Chris Toshok <toshok@ximian.com>
3642 * BaseValidator.cs: some test-driven fixes.
3644 2005-07-19 Chris Toshok <toshok@ximian.com>
3646 * BaseValidator.cs: Initial implementation.
3648 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
3650 * Repeater.cs: Fix small typo.
3652 2005-07-19 Peter Dennis Bartok <pbartok@novell.com>
3654 * ValidationSummaryTest.cs: Started implementation
3655 * RangeValidator.cs: Implemented
3656 * ValidatedControlConverter.cs: Implemented
3657 * DropDownList.cs: Implemented
3659 2005-07-19 Jackson Harper <jackson@ximian.com>
3661 * DataGrid.cs: Implement bubble event.
3663 2005-07-19 Jackson Harper <jackson@ximian.com>
3665 * DataGrid.cs: New implementation. Just properties and events for
3668 2005-07-18 Chris Toshok <toshok@ximian.com>
3670 * BaseCompareValidator.cs: Initial implementation, with some NYI.
3672 2005-07-19 Ben Maurer <bmaurer@ximian.com>
3674 * FontUnit.cs: Corcompare fixes
3676 * UnitConverter.cs: Fix api diffs
3678 2005-07-18 Ben Maurer <bmaurer@ximian.com>
3680 * ListControl.cs: Fix api differences
3682 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
3684 * Table.cs: Fix indentation for caption. Simplify check when adding
3686 * TableRow.cs: Simplify check when adding controls.
3688 2005-07-18 Chris Toshok <toshok@ximian.com>
3690 * CompareValidator.cs: wtf, just use the base class's methods.
3692 2005-07-18 Chris Toshok <toshok@ximian.com>
3694 * CompareValidator.cs: do comparisons based on
3695 BaseCompareValidator.Type.
3697 2005-07-18 Chris Toshok <toshok@ximian.com>
3699 * CompareValidator.cs: initial implementation.
3701 2005-07-18 Chris Toshok <toshok@ximian.com>
3703 * RegularExpressionValidator.cs: initial implementation.
3705 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
3707 * DataList.cs: Fixed to match 1.1 behaviour (and new unit tests).
3709 2005-07-18 Jackson Harper <jackson@ximian.com>
3711 * CheckBoxList.cs: Implement LoadPostBackData. Also register
3712 checkboxes for postback if they are checked so we can find
3713 out when they are unchecked. Copy the AutoPostBack variable
3714 to the to be rendered checkbox when rendering.
3716 2005-07-18 Ben Maurer <bmaurer@ximian.com>
3718 * TextBox.cs: Finish this up.
3720 * AdRotator.cs: Fix issues in the test suite. Minor style
3723 * Repeater.cs: Fix a bug where the datasource is null and we do
3726 * WebColorConverter.cs: Optimize by not doing a concat on a
3729 2005-07-17 Ben Maurer <bmaurer@ximian.com>
3731 * ListItemCollection.cs: Multiple uses of equals rather than
3732 string.compare as below. Remove unreachable code warning.
3734 * WebColorConverter.cs (ConvertTo): Use the == operator on string
3735 rather than an invariant non-case ignoring compare. They are
3736 exactly the same thing. Use proper coding style in this method.
3738 * WebControl.cs: Return null when saving the view state if there
3739 is no state in any of the things we save. This creates a fairly
3740 large savings, because we can avoid saving anything about many
3741 levels of deaply nested controls.
3743 2005-07-15 Jackson Harper <jackson@ximian.com>
3745 * CheckBoxList.cs: Use the index as the ID, the rest of the
3746 id is built by being in the NamingContainer.
3748 2005-07-15 Jackson Harper <jackson@ximian.com>
3750 * ListControl.cs: Use enum instead of string. Saves a lookup.
3752 2005-07-15 Jackson Harper <jackson@ximian.com>
3754 * CheckBoxList.cs: FindControl always returns 'this' according
3757 2005-07-15 Jackson Harper <jackson@ximian.com>
3759 * CheckBoxList.cs: New impl.
3761 2005-07-15 Jackson Harper <jackson@ximian.com>
3763 * WebControl.cs: Use the ClientID when rendering a controls ID
3764 attribute so that naming containers are honoured.
3766 2005-07-15 Jackson Harper <jackson@ximian.com>
3768 * ListControl.cs: use the state manager interface for tracking
3771 2005-07-15 Ben Maurer <bmaurer@ximian.com>
3773 * Repeater.cs (DoItem): Add the DataItem before we call user
3774 methods, as it seems to be there with msft.
3776 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
3778 * BaseDataList.cs: New. (mostly complete) implementation.
3779 * DataKeyCollection.cs: New. Implementation (complete).
3780 * DataList.cs: New. (mostly incomplete) implementation.
3781 * DataListItem.cs: New. (mostly complete) implementation.
3782 * DataListItemCollection.cs: New. Implementation (complete).
3784 2005-07-15 Ben Maurer <bmaurer@ximian.com>
3786 * Repeater.cs (DoItem): We need to .Add the control *before* we
3787 data bind it so that the state gets tracked correctly. Fixes the
3790 2005-07-15 Jackson Harper <jackson@ximian.com>
3792 * ListControl.cs: Simplify comparison.
3794 2005-07-15 Jackson Harper <jackson@ximian.com>
3797 * Repeater.cs: Use new utility class for resolving data sources.
3799 2005-07-15 Jackson Harper <jackson@ximian.com>
3801 * ListControl.cs: Add attributes so the sub items get parsed
3802 properly. Remove old unneeded code for resolving lists.
3804 2005-07-15 Jackson Harper <jackson@ximian.com>
3806 * ListControl.cs: Use the DataSourceHelper so DataMembers are
3809 2005-07-14 Ben Maurer <bmaurer@ximian.com>
3812 - Some optimizations
3813 * Don't use enum formatting stuff, it is 1) expensive 2) does
3814 allocations. Use a new method in HtmlControl to do the right
3816 * Don't use Enum.IsDefined but an explicit check.
3817 * (x == "" || x.Length < 2) is not needed since "".Length == 0 < 2
3818 - Use the correct coding style.
3820 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
3822 * WebColorConverter.cs:
3823 - Alpha of 255 is only set if the hex number is exactly 6 digits
3824 - Ben didn't like the catch { throw; } (even though MS documents to
3826 - Use Invariant Culture for parsing (thanks, Ben)
3828 2005-07-14 Jackson Harper <jackson@ximian.com>
3830 * ListControl.cs: Use DataBinder.Eval for data binding. This is more
3831 code-reuse-arific. Also use the IStateManager interface for loading
3832 data instead of the old internal method.
3834 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
3836 * WebColorConverter.cs: Implemented
3838 2005-07-14 Ben Maurer <bmaurer@ximian.com>
3840 * Repeater.cs: Cleanup; use the DataSourceHelper thingy.
3842 2005-07-14 Ben Maurer <bmaurer@ximian.com>
3844 * Repeater.cs: Get it working
3846 2005-07-14 Jackson Harper <jackson@ximian.com>
3848 * ListControl.cs: Initial implementation of Databinding. Make sure
3849 that the ListItemCollection is created when we load its ViewState.
3851 2005-07-14 Jackson Harper <jackson@ximian.com>
3853 * ListControl.cs: Fix typo.
3855 2005-07-14 Jackson Harper <jackson@ximian.com>
3857 * ListControl.cs: New Implementation. Lacks databinding support.
3859 2005-07-14 Ben Maurer <bmaurer@ximian.com>
3861 * Repeater.cs: The beginnings of this control
3863 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
3865 * TargetConverter.cs: Implemented
3867 2005-07-14 Duncan Mak <duncan@novell.com>
3869 * PagedDataSource.cs: Initial implementation.
3871 Methods that need to be figured out:
3872 CopyTo, GetItemProperties, PageCount, IsLastPage.
3874 To complete: CollectionEnumerator, ListEnumerator.
3876 2005-07-13 Duncan Mak <duncan@novell.com>
3878 * RepeatDirection.cs:
3880 * ValidationCompareOperator.cs:
3881 * ValidationDataType.cs:
3882 * ValidationSummaryDisplayMode.cs:
3883 * ValidatorDisplay.cs: Added remaining enumerations.
3885 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
3887 * FontNamesConverter.cs: Implemented
3889 2005-07-13 Ben Maurer <bmaurer@ximian.com>
3891 * RepeaterItem.cs: Compile fix
3893 * RepeaterItemCollection.cs: New file
3895 * RepeaterItem.cs: get OnBubbleEvent right.
3897 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
3899 * ListItemCollection.cs: Count can be derived from the array, which
3900 allows us to use a Pair instead of a Triplet and save some space
3902 2005-07-13 Ben Maurer <bmaurer@ximian.com>
3904 * RepeaterItem.cs: Stub
3906 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
3908 * ListItemCollection.cs: Implemented
3909 * WebControl.cs: Added check for enumeration validity (thanks Jackson)
3911 2005-07-13 Ben Maurer <bmaurer@ximian.com>
3913 * RepeatInfo.cs: Impl.
3915 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
3917 * FirstDayOfWeek.cs: Added
3919 2005-07-13 Jackson Harper <jackson@ximian.com>
3921 * ListBox.cs: Some parameter checking.
3923 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
3925 * Image.cs: Added support for DescriptionUrl as this property was
3926 added in Fx 1.1 SP1.
3928 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
3930 * Style.cs (AddAttributesToRender): Don't render attributes if they
3931 contain only their default value
3933 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
3935 * Table.cs: New. Initial re-implementation.
3936 * TableCell.cs: New. Initial re-implementation.
3937 * TableCellCollection.cs: New. Initial re-implementation.
3938 * TableHeaderCell.cs: New. Initial re-implementation.
3939 * TableItemStyle.cs: New. Initial re-implementation.
3940 * TableRow.cs: New. Initial re-implementation.
3941 * TableRowCollection.cs: New. Initial re-implementation.
3942 * TableStyle.cs: New. Initial re-implementation.
3944 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
3946 * Style.cs: Removed the call to Reset in CopyFrom. This fix the new
3947 unit tests (for Style) and more tests in Table* classes.
3949 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
3951 * Style.cs: TableStyle and TableItemStyle don't override IsEmpty,
3952 however IsEmpty returns false if any of their properties are set.
3953 Looks ugly but it's compatible with MS implementation (feature and
3956 2005-07-13 Dick Porter <dick@ximian.com>
3958 * CheckBox.cs: Reverted Ben's enum-to-int ViewState change, remove
3959 null Text properties from the ViewState, test for TextAlign being
3960 out of range. All to make tests pass on both mono and ms
3963 2005-07-13 Jackson Harper <jackson@ximian.com>
3965 * ListBox.cs: Use invariant culture when doing a ToString,
3966 set value to the item's value, not to its Text.
3968 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
3970 * WebControl.cs (AddAttributesToRender): Added ID to rendered
3973 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
3975 * Style.cs(MergeWith): Handle null styles
3977 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
3979 * TableCaptionAlign.cs: This enum was added in 1.1 SP1 so I removed
3980 the #if NET_2_0 on it.
3982 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
3984 * Style.cs: Only render font elements if fontinfo object exists
3986 - Implemented SaveViewState()
3987 - Added loading of Style to LoadViewState
3988 - Implemented IAttributeAccessor methods
3990 2005-07-12 Jackson Harper <jackson@ximian.com>
3992 * ListBox.cs: Even track default values in the viewstate. Call
3993 base's RenderContents.
3995 2005-07-12 Jackson Harper <jackson@ximian.com>
3997 * ListBox.cs: New impl.
3999 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
4002 - Implemented methods
4005 2005-07-12 Ben Maurer <bmaurer@ximian.com>
4007 * ListItem.cs: New impl.
4009 2005-07-12 Duncan Mak <duncan@novell.com>
4011 * DayNameFormat.cs: Added.
4013 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
4015 * WebControl.cs: Implemented properties
4017 2005-07-12 Ben Maurer <bmaurer@ximian.com>
4019 * TextBox.cs: Passwords seem 1) not to be rendered to the client
4020 if set, 2) not kept in view state (for security reasons...)
4023 * Button.cs: Page.Validate () if needed. Gets the validator tests
4026 * TextBox.cs: Properties to get the validator stuff to work.
4028 2005-07-12 Miguel de Icaza <miguel@novell.com>
4030 * Unit.cs: If the units are pixels, then truncate the value.
4032 2005-07-12 Dick Porter <dick@ximian.com>
4034 * RadioButton.cs: New implementation
4036 * CheckBox.cs: Rearrange the attributes rendering to allow
4037 RadioButton to derive from this
4039 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
4041 * TitleFormat.cs: Add attribute
4042 * TextBoxMode.cs: Add attribute
4043 * CalendarDay.cs: Initial implementation
4044 * ImageButton.cs: Initial implementation
4045 * CalendarSelectionMode.cs:Initial implementation
4047 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
4049 * TextBoxMode.cs: simple enum
4050 * TitleFormat.cs: simple enum
4052 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
4054 * FontInfo.cs: Now using BenM's fancy internal StateBag methods
4056 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
4058 * FontUnit.cs: Added TypeConverter attribute to class
4059 * FontUnitConverter.cs: Implemented
4061 2005-07-11 Ben Maurer <bmaurer@ximian.com>
4064 * Button.cs: Bubble the Command event.
4066 2005-07-11 Ben Maurer <bmaurer@ximian.com>
4069 - Clean up style (with my wonderful state bag hack!)
4070 - Fix a view state typo.
4071 - Use AddAttributesToRender
4072 - Don't add an extra <span>
4074 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
4076 * Style.cs: Handle null constructor argument for bag
4078 2005-07-11 Dick Porter <dick@ximian.com>
4080 * CheckBox.cs: New implementation
4082 * RadioButton.cs: Initial stubbed version that just compiles
4084 2005-07-10 Jordi Mas i Hernandez <jordi@ximian.com>
4086 * Button.cs: Initial Button implementation
4088 2005-07-10 Sebastien Pouliot <sebastien@ximian.com>
4090 * VerticalAlign.cs: Fixed enum name (copy/paste from HorizontalAlign).
4092 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
4094 * HorizontalAlign.cs: Typo in header.
4095 * VerticalAlign.cs: New. Required enum for TableRow control.
4097 2005-07-09 Ben Maurer <bmaurer@ximian.com>
4099 * TextBox.cs: More work on this
4101 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
4103 * GridLines.cs: New. Required enum for Table control.
4104 * HorizontalAlign.cs: New. Required enum for Table control.
4106 2005-07-09 Duncan Mak <duncan@novell.com>
4108 * CommandEventHandler.cs:
4109 * DataGridCommandEventHandler.cs:
4110 * DataGridItemEventHandler.cs:
4111 * DataGridPageChangedEventHandler.cs:
4112 * DataGridSortCommandEventHandler.cs:
4113 * DataListCommandEventHandler.cs:
4114 * DayRenderEventHandler.cs:
4115 * RepeaterCommandEventHandler.cs:
4116 * ServerValidateEventHandler.cs: Add delegates.
4119 * ListSelectionMode.cs:
4120 * NextPrevFormat.cs:
4122 * PagerPosition.cs: Add enums.
4124 2005-07-09 Ben Maurer <bmaurer@ximian.com>
4126 * TextBox.cs: Add the work I did on this today. It's not complete
4127 yet, but its a start!
4129 2005-07-09 Duncan Mak <duncan@novell.com>
4131 * CommandEventArgs.cs:
4132 * DataGridCommandEventArgs.cs:
4133 * DataGridItemEventArgs.cs:
4134 * DataGridPageChangedEventArgs.cs:
4135 * DataGridSortCommandEventArgs.cs:
4136 * DataListCommandEventArgs.cs:
4137 * DataListItemEventArgs.cs:
4138 * DayRenderEventArgs.cs:
4139 * RepeaterCommandEventArgs.cs:
4140 * RepeaterItemEventArgs.cs:
4141 * ServerValidateEventArgs.cs: Implemented.
4143 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
4145 * Image.cs: New. Image class implementation.
4146 * ImageAlign.cs: New. ImageAlign enum definitions.
4148 2005-07-08 Jackson Harper <jackson@ximian.com>
4150 * Literal.cs: New implentation.
4151 * MonthChangedEventArgs.cs: new
4152 * MonthChangedEventHandler.cs: new
4154 2005-07-08 Ben Maurer <bmaurer@ximian.com>
4156 * LinkButton.cs: Command impl
4158 2005-07-08 Ben Maurer <bmaurer@ximian.com>
4160 * LinkButton.cs: Initial impl
4162 2005-07-08 Jackson Harper <jackson@ximian.com>
4164 * AdCreatedeventArgs.cs: New implementation.
4166 2005-07-08 Dick Porter <dick@ximian.com>
4169 * BorderStyle.cs: Added
4171 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
4173 * FontInfo.cs: Fixed behaviour discrepancies showed by tests
4175 2005-07-07 Miguel de Icaza <miguel@novell.com>
4177 * Xml.cs: New implementation. R00lz.
4179 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
4181 * FontInfo.cs: Added and implemented.
4182 * Style.cs: Fixed behaviour discrepancies showed by tests
4184 2005-07-07 Ben Maurer <bmaurer@ximian.com>
4186 * PlaceHolderControlBuilder.cs: new file
4188 * LabelControlBuilder.cs: New file
4190 * HyperLink.cs: use control builder; fix parsing stuff
4192 * HyperLinkControlBuilder.cs: new file
4194 * Panel.cs: misc fixes
4196 2005-07-07 Miguel de Icaza <miguel@novell.com>
4198 * Unit.cs: Add TypeConverter, so that web_panel.aspx works again.
4200 * UnitConverter.cs: Add new file, learned from the
4201 System.Drawing.ColorConverter.
4203 2005-07-07 Ben Maurer <bmaurer@ximian.com>
4205 * PlaceHolder.cs: New file. Seems to do nothing
4207 * Label.cs: Use my new statebag trick to reduce typing
4209 * HyperLink.cs: New file
4211 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
4213 * Style.cs: Added and implemented.
4215 2005-07-06 Miguel de Icaza <miguel@novell.com>
4217 * FontUnit.cs: New file.
4219 * Unit.cs: New file.
4221 Added support for null and empty string constructors.
4223 2005-07-06 Ben Maurer <bmaurer@ximian.com>
4225 * Unit.cs: cctor not needed; static fields are 0 init'd by default
4227 * WebControl.cs: Kothari & Datye's book explains how these work.
4229 * IRepeatInfoUser.cs: Reimpl.
4231 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
4233 * WebControl.cs: Added stub
4235 2005-07-05 Miguel de Icaza <miguel@novell.com>
4237 * Label.cs: First control.
4239 2005-06-27 Lluis Sanchez Gual <lluis@novell.com>
4241 * DataControlField.cs: Ignore the ShowHeader property when
4242 building the control's content. It is the resposability of
4243 the field container to decide if the header should be shown
4246 2005-06-10 Lluis Sanchez Gual <lluis@novell.com>
4249 * ImageFieldMode.cs:
4250 * DynamicImageParameterMode.cs:
4251 * TableViewMode.cs: Removed.
4255 * TableRowSection.cs:
4256 * AutoCompleteType.cs:
4257 * DayNameFormat.cs: Track changes in 2.0 api.
4259 * StringArrayConverter.cs: This class is 2.0 only.
4261 2005-06-06 Lluis Sanchez Gual <lluis@novell.com>
4265 * DetailsView.cs: Bind the control after creating all child
4267 * DataBoundControl.cs: Call OnDataBinding and OnDataBound in
4268 the correct methods.
4269 * BaseDataBoundControl.cs: Don't call DataBind nor OnDataBound
4270 in this class. This is done in DataBoundControl. All this fixes
4273 2005-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4275 * ListItemCollection.cs: Patch from Curtis (eto@shaw.ca) that fixes
4276 FindByText. Closes bug #74205.
4278 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4280 * PagedDataSource.cs: patch by Suresh Kumar that makes PageCount return
4281 1 when there's a datasource and 0 pages. Closes bug #73864.
4283 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
4290 * MenuItemTemplateContainer.cs:
4291 * DetailsView.cs: Track changes in the IDataItemContainer interface.
4293 * CommandField.cs: Added CausesValidation property. Set that
4294 property value to all buttons of the field.
4296 * SqlDataSourceView.cs:
4297 * CollectionDataSource.cs:
4298 * XmlDataSourceView.cs: Properly initialize the base class.
4300 * SiteMapDataSource.cs:
4301 * SiteMapHierarchicalDataSourceView.cs:
4302 * SiteMapNodeItem.cs:
4303 * SiteMapDataSourceView.cs:
4304 * SiteMapPath.cs: Mostly implemented.
4306 * HierarchicalDataBoundControl.cs: Always bind the control when the
4307 page is loaded for the first time.
4309 * TreeView.cs: Properly bind the control when loaded from a callback.
4311 2005-05-21 Ben Maurer <bmaurer@ximian.com>
4313 * BaseDataList.cs: Caption is in 1.1 too, though not
4314 documented. Gonz owes me [more] ice cream. Yummmmm.
4316 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4318 * BaseDataList.cs: implemented 2.0 Caption property.
4320 2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
4322 * TreeView.cs: Always render the startup script. This fixes
4325 2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
4327 * WizardStepBase.cs:
4328 * WizardStep.cs: Added missing attributes.
4329 * Wizard.cs: Implemented missing methods and properties. It can now
4330 be considered feature complete.
4332 2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4334 * DataGrid.cs: cleanup in AutoCreateColumns. Don't throw at the end of
4335 the method if the data source was en empty IEnumerator. Fixes
4338 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
4342 * Menu.cs: Implemented some new properties from beta 2.
4344 * DataControlButton.cs: Render the ControlStyle if it
4348 * FontUnitConverter.cs: Improved the conversion to InstanceDescriptor.
4349 It will now generate an object creation, instead of a Parse call.
4351 * GridViewCommandEventArgs.cs: Added missing property.
4352 * SubMenuStyleCollection.cs: This class is not sealed.
4353 * MultiView.cs: Set Visible=false to all views that are not
4354 shown. This ensures that it's view state is saved.
4356 * BaseDataBoundControl.cs:
4357 * GridViewDeletedEventArgs.cs: Minor api fixes.
4359 * FormViewDeleteEventArgs.cs:
4360 * DetailsViewDeletedEventArgs.cs:
4361 * ListControl.cs: Fix warnings.
4365 * HotSpotCollection.cs
4368 * RectangleHotSpot.cs
4369 * WizardStepCollection.cs : Implemented.
4373 * Wizard.cs: Initial implementation.
4375 2005-05-04 Lluis Sanchez Gual <lluis@novell.com>
4377 * DataControlField.cs:
4381 * DataControlCommands.cs:
4382 * DetailsView.cs: Use constants to identify commands.
4384 * SubMenuStyle.cs: Use Unit instead of int for padding.
4385 * SubMenuStyleCollection.cs: Implemented.
4388 * Menu.cs: Added some missing methods and properties.
4391 * DataGridPagerStyle.cs: Fixed default value attributes.
4392 * ListControl.cs: Implemented IEditableTextControl interface.
4394 * MenuItemBinding.cs: Added Selectable property.
4395 * CustomValidator.cs: removed interface.
4397 * MenuItem.cs: Added support for custom binding.
4398 * DropDownList.cs: Moved text properties to base class.
4400 2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4402 * Calendar.cs: OnDayRender can toggle IsSelectable on our back.
4404 2005-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4406 * Calendar.cs: when the day is active, modify the text of the literal
4407 control that holds the number, not the text of the TableCell. Also call
4408 OnDayRender before updating that text. Fixes bug #74718.
4410 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
4412 * DataKey.cs: Added virtual TrackViewState and IsTrackingViewState
4414 * DataControlFieldHeaderCell.cs: Save Scope in view state.
4415 Added AbbreviatedText property.
4416 * AutoGeneratedField.cs: The constructor should actually be internal.
4417 * DataGridItem.cs: Added implemented interface in 2.0.
4418 * DataControlFieldCollection.cs: Implemented CloneFields and
4422 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4424 * StringArrayConverter.cs:
4425 * Calendar.cs: warnings.
4427 2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
4429 * FormViewDeleteEventArgs.cs:
4430 * FormViewInsertEventArgs.cs:
4431 * FormViewUpdateEventArgs.cs:
4432 * FormViewDeletedEventArgs.cs:
4433 * FormViewUpdatedEventArgs.cs:
4434 * FormViewInsertedEventArgs.cs: Implemented some missing properties.
4437 * IButtonControl.cs:
4438 * Button.cs: Removed SoftKey property.
4440 * CheckBox.cs: Don't try to load post back data if the control
4444 * AutoGeneratedField.cs:
4445 * DataControlField.cs:
4447 * ButtonFieldBase.cs:
4451 * ButtonField.cs: Don't bind fields in Insert state.
4452 Implemented CreateField and CopyProperties.
4455 * DetailsView.cs: Removed some unneeded interfaces. Don't
4456 generate the field rows if there are no items in the data source.
4457 Don't get the current keys until the whole control has been
4460 * DetailsViewInsertedEventArgs.cs:
4461 * DataBoundControl.cs:
4462 * ObjectDataSourceView.cs: Made some methods private.
4465 * Menu.cs: Changed some properties from int to Unit.
4467 * DataControlButton.cs: javascript prefix is needed when raising
4468 the postback event from a link.
4470 * PagedDataSource.cs: Some fixes in Count and IsLastPage properties.
4471 The result was wrong when the total data source count was 0.
4473 * FormView.cs: Implemented.
4474 * FormViewRow.cs: Implemented.
4477 * Localize.cs: Fixed base interface.
4479 * BaseDataBoundControl.cs: In DataBind() call the base class
4480 DataBind method, so the binding context is properly set.
4482 2005-04-15 Lluis Sanchez Gual <lluis@novell.com>
4484 * DetailsView.cs: Added some null checks.
4485 * TemplateField.cs: Implemented support for two-way bindings.
4487 2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
4489 * DetailsView.cs: Implemented support for Insert operation.
4490 Added header and footer templates. Added missing style
4492 * ObjectDataSourceView.cs: Use ParameterCollection.GetValues
4493 to get filter values. Other minor fixes.
4494 * CommandField.cs: Properly render the Insert and New buttons.
4495 * ObjectDataSource.cs: Update the parameter collections after
4496 the page is loaded. This will fire the ParameterChanged event
4498 * DataBoundControl.cs: The OnDataSourceViewChanged method
4499 is called when the view changes, not when the datasource
4502 * DetailsViewInsertedEventArgs.cs:
4503 * DetailsViewInsertEventArgs.cs: Implement Values property.
4506 * AutoGeneratedField.cs
4509 Take into account the Insert mode.
4511 * ParameterCollection.cs: Implemented UpdateValues and fixed
4512 GetValues (values can't be cached because can change).
4513 * Parameter.cs: Detect value changes in GetValue, and fire
4514 the change event if needed. Removed unused ParameterValue
4515 property. Other fixes.
4517 2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
4519 * DetailsView.cs: Initial implementation.
4520 * ObjectDataSourceView.cs: Notify changes in the parameters.
4521 * DetailsViewDeletedEventArgs.cs, DetailsViewUpdatedEventArgs.cs,
4522 DetailsViewDeleteEventArgs.cs, DetailsViewUpdateEventArgs.cs:
4523 Implemented some properties.
4524 * GridView.cs: Added null check in SelectedValue. Don't return null
4525 for empty DataKeyNames list.
4526 * DetailsViewRowCollection.cs: Implemented.
4527 * DetailsViewRow.cs: Implemented.
4528 * ButtonFieldBase.cs: By default button field don't have headers.
4529 * BoundField.cs: Don't bind header fields.
4531 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
4533 * ButtonField.cs: Get data item properties using TypeDescriptor.
4534 Made OnDataBindField private.
4535 * ObjectDataSourceView.cs: Implemented support for Delete and
4536 Insert operations, support for filtering and sorting,
4537 conflict detection, etc. It's now complete.
4538 * ObjectDataSource.cs: Completed most of functionality. Only
4539 caching support is missing.
4540 * ObjectDataSourceFilteringEventHandler.cs: New event handler.
4541 * TreeNode.cs: Get data item properties using TypeDescriptor.
4542 * PagerSettings.cs: Flush.
4543 * ObjectDataSourceFilteringEventArgs.cs: New event args.
4544 * GridView.cs: Get data item properties using TypeDescriptor
4545 and cache them. Properly set descending order in the sort
4546 expression. In UpdateRow, make sure we get the old values
4547 before the control is bound again.
4548 * ImageField.cs: Implemented.
4549 * AutoGeneratedField.cs: Initialize the field's sort
4550 expression in the constructor.
4551 * MenuItem.cs: Get data item properties using TypeDescriptor.
4552 * BoundField.cs: Get data item properties using TypeDescriptor.
4553 * CheckBoxField.cs: Added missing attributes.
4554 * TemplateField.cs: Implemented.
4556 2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4559 * FontUnitConverter.cs: fixed ConvertTo to work with target
4560 InstanceDescriptor and value as a string.
4562 * Unit.cs: culture might be null.
4566 2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
4568 * ButtonField.cs: Mostly implemented.
4569 * DataControlFieldHeaderCell.cs: Implemented.
4570 * ObjectDataSourceView.cs: Initial implementation.
4571 * DataControlButton.cs: Added support for real buttons.
4572 * Label.cs, DataControlField.cs: Flush.
4573 * ObjectDataSource.cs: Initial implementation.
4574 * HiddenField.cs: Added class stub.
4575 * GridView.cs: Load autogenerated field properties before
4576 creating the children, to make sure that column info is ready.
4577 * ControlParameter.cs: Implemented Evaluate method.
4578 * ImageField.cs: Added class stub.
4579 * BoundField.cs: Added HtmlEncode property.
4580 * DataControlFieldCell.cs: Moved AccessibleDataControlFieldCell
4582 * CheckBoxField.cs: Mostly implemented.
4583 * TemplateField.cs: Added class stub.
4584 * ObjectDataSourceSelectingEventArgs.cs: Added missing property.
4585 * ObjectDataSourceMethodEventArgs.cs: Fixed base class.
4586 * Parameter.cs: Added internal GetValue method (Evaluate is protected)
4588 2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
4590 * DataControlField.cs: Added missing InsertVisible property.
4591 * AutoGeneratedFieldProperties.cs: Implemented.
4592 * PagerSettings.cs: Minor fix.
4593 * GridView.cs: Implemented support for autogenerated fields, templates,
4594 accessible headers. Implemented paging using PagedDataSource.
4595 Implemented missing overridable methods.
4596 * AutoGeneratedField.cs: Initial implementation.
4597 * BoundField.cs: Added ReadOnly property.
4598 * PagedDataSource.cs: Implemented 2.0 api.
4599 * DataControlFieldCell.cs: Implemented AccessibleDataControlFieldCell
4600 cell class to be used by accessible headers.
4601 * TableCell.cs: Removed unneded constructor. If the cell is bound to
4602 a template, call the default RenderContents method.
4604 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
4606 * TreeNode.cs, TreeView.cs: Don't raise the SelectedNodeChanged
4607 event when loading the view state. Fixes #73746.
4609 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
4611 * ListControl.cs: Load selected indices in the right place. Fixes #73745.
4613 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
4615 * Button.cs, ImageButton.cs: Interpret PostBackOptions.ClientSubmit
4617 * CommandField.cs: Mostly implemented.
4618 * Menu.cs: Use callback methods moved to ClientScriptManager.
4619 * DataControlButton.cs: Internal control used to implement buttons
4620 for navigating in data bound controls.
4621 * DataControlField.cs, PagerSettings.cs: Use the new DataControlButton
4622 to render the column headers.
4623 * CheckBox.cs, RadioButton.cs, BulletedList.cs, TextBox.cs
4624 DropDownList.cs, Calendar.cs, ListBox.cs, LinkButton.cs, TreeView.cs:
4625 Don't use Page.GetPostBackClientEvent
4626 since it is deprecated in 2.0.
4627 * GridView.cs: Implemented some several interfaces.
4628 Implemented support client sorting and page navigation (using callbacks).
4629 Implemented the autogenerated command column using the new CommandField
4631 * ButtonFieldBase.cs: Implemented.
4632 * GridView.js: New helper script to support client side sorting and
4633 paging in the grid view.
4635 2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
4637 * DataKey.cs: Implemented.
4638 * XmlDataSourceView.cs: Implemented support for row pagging.
4639 * Table.cs: Fixed attribute value.
4640 * DataControlField.cs: Added support for sorting headers.
4641 * ChildTable.cs: Created.
4642 * ListControl.cs: Delay selection assignment, since control state
4643 is now loaded before view state.
4644 * GridViewDeleteEventArgs.cs, GridViewUpdateEventArgs.cs,
4645 GridViewDeletedEventArgs.cs, GridViewUpdatedEventArgs.cs: Implemented
4646 several missing properties.
4647 * PagerSettings.cs: Fully implemented.
4648 * BaseDataList.cs: Added null check.
4649 * GridView.cs: Implemented more functionality.
4650 * BoundField.cs: Added support for cell editing.
4651 * StringArrayConverter.cs: Implemented.
4652 * DataKeyArray.cs: Implemented.
4653 * BaseDataBoundControl.cs: Reset the requires binding flag before
4654 executing the query. This avoids recursive query calls.
4655 * GridViewRow.cs: Handler commands raised from row childs.
4657 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
4659 * XmlDataSourceView.cs: ExecuteSelect now returns a list of
4660 XmlDataSourceNodeDescriptor instead of a list of nodes. In this way
4661 it is possible to query for properties fore each data item.
4662 * Menu.cs, TreeView.cs: Make sure that objects are correctly created
4663 when loading its view state.
4664 * DataControlField.cs: Implement properties using a StateBag.
4665 * XmlDataSourcePropertyDescriptor.cs: Implemented.
4666 * PagerSettings.cs: Mostly implemented.
4667 * AccessDataSourceView.cs, AccessDataSource.cs: Added security attribute.
4668 * DataBoundControl.cs: Added null check.
4669 * GridView.cs: Initial implementation.
4670 * CompositeDataBoundControl.cs: Implemented.
4671 * BoundField.cs: Initial implementation.
4672 * GridViewRowCollection.cs: Initial implementation.
4673 * DataControlFieldCollection.cs: Initial implementation.
4674 * DataControlFieldCell.cs: Fixed control tag.
4675 * GridViewRow: Initial implementation.
4676 * XmlDataSourceNodeDescriptor.cs: Implemented.
4678 2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4680 * WebControl.cs: correctly use TagName in RenderBeginTag, ie, if TagKey
4681 is zero, use the TagName no matter its value. Fixes bug #72415.
4683 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
4685 * Style.cs: Method name fix.
4686 * HyperLinkColumn.cs, HyperLink.cs: Moved SoftkeyLabel to HyperLink.
4687 * BaseCompareValidator.cs: Method signature fix.
4688 * CollectionDataSource.cs: Implemented DataSource wrapper for collections.
4689 * BaseDataList.cs, Repeater.cs: Fixed data binding code.
4690 * BulletedList.cs: Added missing method.
4691 * DataBoundControl.cs, BaseDataBoundControl.cs: Made it behave like MS.NET.
4693 2005-02-16 Lluis Sanchez Gual <lluis@novell.com>
4695 * HyperLinkColumn.cs, Label.cs: Added missing 2.0 properties.
4696 * RadioButton.cs: Added missing 2.0 methods.
4697 * ListItem.cs: Added Enabled property.
4698 * MailMessageEventArgs.cs: Use the correct message class.
4699 * ListControl.cs: Implemented missing properties and support for
4700 control state. Implemented base RenderContents method.
4701 * Image.cs: Implemented DescriptionUrl and GenerateEmptyAlternateText
4703 * BaseCompareValidator.cs: Implemented methods that support conditional
4704 use of the invariant culture.
4705 * DataBoundControl.cs: Set RequiresDataBinding to true in OnLoad.
4706 * SqlDataSourceCommandEventArgs.cs, SqlDataSourceStatusEventArgs.cs:
4707 It takes a DbCommand instead of a IDbCommand.
4708 * GridViewSortEventArgs.cs: Added SortDirection property.
4709 * TextBox.cs, CheckBoxList.cs: Added protected version of
4710 IPostBackDataHandler methods.
4711 * RadioButtonList.cs: Added protected version of
4712 IPostBackDataHandler and IRepeatInfoUser methods.
4713 * Repeater.cs: Updated some method names.
4714 * DropDownList.cs: Added protected version of
4715 IPostBackDataHandler methods. Reuse RenderContents from base class.
4716 * RepeaterItem.cs, Localize.cs, Literal.cs: Fix inheritance.
4717 * GridViewUpdatedEventArgs.cs: Fix typo.
4718 * ListBox.cs: Added protected version of IPostBackDataHandler methods.
4719 Reuse RenderContents from base class.
4720 * BaseDataBoundControl.cs: Several fixes.
4721 * ImageButton.cs, LinkButton.cs: Implemented several 2.0 properties.
4723 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
4725 * CheckBoxList.cs: Fix build.
4727 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
4729 * Button.cs: Use validation group when validating page.
4730 * XmlDataSourceView.cs: Implemented ExecuteSelect.
4731 * Menu.cs: Minor fix.
4732 * CheckBox.cs: Added 2.0 properties and methods.
4733 * BaseDataList.cs: Always databind the control if view state
4735 * DataList.cs: In 2.0, use control state to save the selected index.
4736 * DetailsViewUpdatedEventArgs.cs: Fix typo.
4737 * CustomValidator.cs: Implement IStaticTextControl interface.
4738 * CheckBoxList.cs: Added missing 2.0 methods.
4739 * DropDownList.cs: Added missing 2.0 methods. Implemented ITextControl
4741 * XmlDataSource.cs: Return childs of DocumentElement, not the root
4743 * DayRenderEventArgs.cs, CompareValidator.cs, DataListItem.cs:
4744 Implemented 2.0 API.
4747 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
4749 * Button.cs: Implemented all missing 2.0 features.
4750 * Table.cs: Render the table caption, when specified.
4751 * Calendar.cs: Implemented most of missing 2.0 features.
4752 * TableCell.cs: Fixed attributes.
4754 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
4756 * ControlPropertyNameConverter.cs: Added file.
4758 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
4760 * Button.cs, MonthChangedEventArgs.cs, FontInfo.cs, Xml.cs, Style.cs,
4761 CookieParameter.cs, HyperLinkColumn.cs, Table.cs,
4762 RegularExpressionValidator.cs, WizardNavigationEventArgs.cs,
4763 ServerValidateEventArgs.cs, Menu.cs, DataControlField.cs,
4764 DataGridPagerStyle.cs, Label.cs, CheckBox.cs, ListItem.cs,
4765 RadioButton.cs, TableStyle.cs, ListControl.cs, Image.cs,
4766 BaseCompareValidator.cs, FontUnit.cs, DataListCommandEventArgs.cs,
4767 IButtonControl.cs, BaseDataList.cs, DataList.cs, BulletedList.cs,
4768 RangeValidator.cs, DataBoundControl.cs, ControlParameter.cs,
4769 RepeaterItemEventArgs.cs, SqlDataSource.cs, BaseValidator.cs,
4770 CustomValidator.cs, MenuItem.cs, SessionParameter.cs, TextBox.cs,
4771 QueryStringParameter.cs, Content.cs, ContentPlaceHolder.cs,
4772 CheckBoxList.cs, RepeaterCommandEventArgs.cs, RadioButtonList.cs,
4773 RequiredFieldValidator.cs, AdRotator.cs, DataListItemEventArgs.cs,
4774 DataGridSortCommandEventArgs.cs, Repeater.cs,
4775 MenuItemTemplateContainer.cs, HyperLink.cs, SqlDataSourceView.cs,
4776 XmlDataSource.cs, MultiView.cs, DataGridCommandEventArgs.cs,
4777 Panel.cs, CompositeControl.cs, DataGrid.cs, ButtonColumn.cs,
4778 CompareValidator.cs, HierarchicalDataBoundControl.cs,
4779 EditCommandColumn.cs, Calendar.cs, SiteMapDataSource.cs,
4780 ListBox.cs, TableCell.cs, ObjectDataSourceSelectingEventArgs.cs,
4781 ObjectDataSourceMethodEventArgs.cs,DataGridPageChangedEventArgs.cs,
4782 WebControl.cs, BaseDataBoundControl.cs, FormParameter.cs,
4783 ValidationSummary.cs, View.cs, ImageButton.cs, TableRow.cs,
4784 LinkButton.cs, DataGridColumn.cs, Parameter.cs, TableItemStyle.cs,
4785 AdCreatedEventArgs.cs:
4787 General 2.0 API fixes: missing attributes, incorrect inheritance,
4788 missing sealed keywords, wrong signatures, etc.
4790 2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
4792 * Table.cs: Added some 2.0 properties.
4793 * FontUnitConverter.cs, UnitConverter.cs: Implemented conversion to
4795 * BaseValidator.cs: Fix warning.
4796 * MultiView.cs, ViewCollection.cs, View.cs: Implemented.
4798 2005-01-26 Lluis Sanchez Gual <lluis@novell.com>
4800 * Menu.cs: Rendering fixes.
4802 2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
4804 * Content.cs, ContentPlaceHolder.cs, ContentControlBuilder.cs
4805 ContentPlaceHolderBuilder.cs: Implemented.
4807 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4809 * CheckBox.cs: when rendering the input tag inside a span tag, keep the
4810 attributes that are meant to be in the input tag in their place.
4812 2005-01-10 Juraj Skripsky <juraj@hotfeet.ch>
4814 * RepeatInfo.cs: fixed bug #68927 (DataList with RepeatLayout='Flow'
4815 generates invalid html).
4817 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
4819 * Menu.cs: Implemented most of missing properties. Added support for
4820 item templates. Implemented menu scrolling.
4821 * MenuItemBinding.cs: Implemented most of missing properties.
4822 * MenuItem.cs: Implemented most of missing properties.
4823 * Menu.js: Implemented scrolling and menu reposition into screen.
4824 * MenuItemTemplateContainer.cs: Implemented.
4825 * SubMenuStyle.cs: Implemented.
4827 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
4829 * Style.cs: Implemented RegisteredCssClass property. Added
4830 CopyTextStylesFrom method, which copies styles that only apply to text.
4831 * Menu.cs, Menu.js: Added hover style support. Define all menu styles
4832 in the page stylesheet. Added support for ItemSpacing property.
4833 * MenuItemStyle.cs: Implemented FillStyleAttributes method.
4835 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
4837 * Style.cs: Generate styles using a CssStyleCollection, so the code can
4838 be reused for the 2.0 FillStyleAttributes method.
4839 * Menu.cs: Implemented more properties and events. Rendering is very
4841 * MenuItem.cs: Added PopOutImageUrl property.
4842 * Menu.js: More work on submenu management.
4844 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
4846 * Menu.cs: Implemented basic rendering. Added some missing properties.
4847 * MenuItem.cs: Improved implementation of Depth.
4848 * Unit.cs: Added serializable attribute.
4849 * TreeView.cs: Moved GetScriptLiteral method to ClientScriptManager,
4850 so it can be reused.
4851 * Menu.js: New script to support he Menu control.
4853 2004-12-03 Lluis Sanchez Gual <lluis@novell.com>
4855 * MenuEventArgs.cs: Changed to sealed.
4856 * TreeView.cs: Minor fix.
4857 * Menu.cs, MenuItemBindingCollection.cs, MenuItemCollection.cs,
4858 MenuItemStyle.cs, MenuItemBinding.cs, MenuItem.cs,
4859 MenuItemStyleCollection.cs: Initial Menu code.
4861 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
4863 * TreeNodeBindingCollection.cs, TreeNodeStyleCollection.cs:
4864 Implemented SetDirtyObject.
4865 * Style.cs: Implemented SetDirty().
4866 * TreeNodeBinding.cs: Added missing attributes. Implemented SetDirty().
4867 * TreeNode.cs: Added missing attributes added support for
4868 PopulateOnDemand. Added some missing property bindings.
4869 * TreeNodeCollection.cs: Several minor fixes. SetDirty must be called
4870 to newly added elements to make sure al new data is saved.
4871 * TreeView.js: Implemented support for client population of nodes.
4872 * TreeNodeStyle.cs: Added missing attributes.
4873 * TreeView.cs: Implemented support for PopulateNodesFromClient and
4874 PopulateOnDemand. Improved rendering.
4876 2004-11-29 Sanjay Gupta <gsanjay@novell.com>
4878 * DataControlField.cs:
4879 * DataControlFieldCell.cs: Initial implementation.
4881 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
4883 * TreeNodeBindingCollection.cs: Implemented.
4884 * TreeNodeBinding.cs: Implemented.
4885 * TreeNode.cs: Added support for data binding.
4886 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif
4887 TreeView_Default_NoExpand.gif: Moved to resources directory.
4888 * ListControl.cs: Fixed api.
4889 * XmlHierarchicalEnumerable.cs: Made internal.
4890 * DataBoundControl.cs: Modified api to match latest ms.net.
4891 * TreeView.js: New javascript file to support TreeView in the client.
4892 * XmlDataSource.cs: Added missing attributes.
4893 * HierarchicalDataBoundControl.cs: Mostly implemented.
4894 * BaseDataBoundControl.cs: Mostly implemented.
4895 * XmlHierarchyData.cs: Made internal.
4896 * TreeView.cs: Mostly implemented. The major missing feature is
4897 client side tree population.
4899 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
4902 * DataBountControl.cs:
4903 * Repeater.cs: Added SelectArguments property and updated.
4904 * SiteMapDataSourceView.cs:
4905 * SqlDataSourceView.cs:
4906 * XmlDataSourceView.cs: Removed extra method, which was there to
4907 keep things compiling.
4909 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
4911 * TreeNodeBindingCollection.cs, TreeNodeBinding.cs, TreeNode.cs,
4912 TreeNodeCollection.cs, TreeNodeStyleCollection.cs, TreeNodeStyle.cs,
4913 TreeView.cs: Initial implementation.
4914 * DataBoundControl.cs: Set the correct base class.
4915 * HierarchicalDataBoundControl.cs, BaseDataBoundControl.cs: Created stub.
4916 * TreeNodeSelectAction.cs: Formatting.
4917 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif,
4918 TreeView_Default_NoExpand.gif: TreeView images.
4920 2004-11-22 Sanjay Gupta <gsanjay@novell.com>
4922 * SqlDataSourceView.cs: Updated methods and added one property.
4924 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
4926 * AccessDataSource.cs:
4927 * SqlDataSourceView.cs: Implemented CreateDataSourceView () method.
4928 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
4930 * SqlDataSource.cs: Updated call to constructor of SqlDataSourceView.cs.
4931 * SqlDataSourceView.cs: Updated constructor.
4933 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
4935 * AccessDataSourceView.cs: Added new class.
4937 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
4939 * SqlDataSourceView.cs: Corrected exception handling in
4940 ExecuteSelect method.
4942 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
4944 * SiteMapHierarchicalDataSourceView.cs, SiteMapDataSource.cs: New files.
4945 * SiteMapDataSourceView.cs: Minor fix.
4947 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
4949 * SqlDataSourceView.cs: Updated ExecuteSelect method.
4951 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
4953 * SqlDataSource.cs: Corrected Select method.
4955 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
4957 * SqlDataSource.cs: Updated Select method definition.
4958 * SqlDataSourceStatusEventArgs.cs: Updated class.
4960 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
4962 * SqlDataSourceView.cs: Removed implementation of Events (it is inherited
4963 from DataSourceView.cs).
4965 2004-11-10 Raja R Harinath <rharinath@novell.com>
4967 * SqlDataSourceView.cs (Select): Add 'override' to make it compile.
4969 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
4971 * SqlDataSource.cs: Corrected method calls.
4972 * SqlDataSourceView.cs: Partial implementation of few methods.
4974 2004-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4976 * ListItemCollection.cs: fixed bug when indexing changed elements in
4977 LoadViewState. Patch from Alois Bělaška.
4979 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
4981 * SiteMapDataSourceView.cs:
4982 * SqlDataSourceView.cs:
4983 * XmlDataSourceView.cs: Cosmetic changes because of modifications in
4984 base class, DataSourceView. Changes are to keep things compiling.
4986 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
4988 * SiteMapDataSourceView.cs: Corrected class definition and updated.
4989 * XmlHierarchicalDataSourceView.cs: Modified according to changes in
4992 2004-10-14 Sanjay Gupta <gsanjay@novell.com>
4994 * AdRotator.cs: Updated.
4996 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
4998 * AccessDataSource.cs: Updated.
5000 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
5002 * ValidatedControlConverter.cs: Updated.
5004 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
5006 * AssociatedControlConverter.cs: Implemented.
5008 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
5010 * ControlIDConverter.cs: Initial implementation.
5012 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
5014 * IButtonControl.cs: Corrected property name.
5016 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
5018 * ParameterCollection.cs: Updated.
5020 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
5022 * Parameter.cs: Updated and completed implementation.
5024 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
5026 * ParameterCollection.cs: Resolved warnings, "Unreachable code detected"
5029 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
5031 * AccessDataSource.cs: Initial implementation.
5033 2004-09-30 Sanjay Gupta <gsanjay@novell.com>
5035 * DataControlRowState.cs:
5037 * TreeNodeTypes.cs: Added attribute.
5038 * DataControlRowType.cs:
5040 * SortDirection.cs: Corrected enumeration values.
5041 * TableRowSection.cs: Added new enumeration.
5042 * ObjectDataSourceStatusEventHandler.cs: Corrected method name.
5044 2004-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5046 * TableStyle.cs: don't render empty 'rules' attribute (again).
5048 2004-09-21 Sanjay Gupta <gsanjay@novell.com>
5050 * FormViewUpdatedEventArgs.cs: Spelling mistake.
5052 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
5054 * Literal.cs: Added new method Focus().
5056 2004-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5058 * RadioButton.cs: fix GroupName when the control is inside a
5059 NamingContainer different from Page. Closes bug #65586.
5061 2004-09-07 Sanjay Gupta <gsanjay@novell.com>
5063 * Localize.cs: Added new class.
5065 2004-09-03 Gaurav Vaish <gvaish_mono AT lycos.com>
5067 * CompositeControl.cs : Completed
5068 * Login.cs : Initial implementation.
5070 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5072 * Xml.cs: fixed get_DocumentContent (it was returning "" always!) and
5073 don't call MapPathSecure on the content itself.
5075 * XmlBuilder.cs: handle XML documents written inside asp:xml. The
5076 document is checked at parse time and will be checked again at run time.
5080 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
5082 * AuthenticateEventHandler.cs:
5083 * CreateUserErrorEventArgs.cs:
5084 * CreateUserErrorEventHandler.cs:
5085 * DetailsViewCommandEventHandler.cs:
5086 * DetailsViewDeleteEventArgs.cs:
5087 * DetailsViewDeleteEventHandler.cs:
5088 * DetailsViewDeletedEventArgs.cs:
5089 * DetailsViewDeletedEventHandler.cs:
5090 * DetailsViewInsertEventArgs.cs:
5091 * DetailsViewInsertEventHandler.cs:
5092 * DetailsViewInsertedEventArgs.cs:
5093 * DetailsViewInsertedEventHandler.cs:
5094 * DetailsViewModeEventArgs.cs:
5095 * DetailsViewModeEventHandler.cs:
5096 * DetailsViewPageEventHandler.cs:
5097 * DetailsViewUpdateEventArgs.cs:
5098 * DetailsViewUpdateEventHandler.cs:
5099 * DetailsViewUpdatedEventArgs.cs:
5100 * DetailsViewUpdatedEventHandler.cs:
5101 * FormViewCommandEventHandler.cs:
5102 * FormViewDeleteEventArgs.cs:
5103 * FormViewDeleteEventHandler.cs:
5104 * FormViewDeletedEventArgs.cs:
5105 * FormViewDeletedEventHandler.cs:
5106 * FormViewInsertEventArgs.cs:
5107 * FormViewInsertEventHandler.cs:
5108 * FormViewInsertedEventArgs.cs:
5109 * FormViewInsertedEventHandler.cs:
5110 * FormViewModeEventHandler.cs:
5111 * FormViewPageEventHandler.cs:
5112 * FormViewUpdateEventArgs.cs:
5113 * FormViewUpdateEventHandler.cs:
5114 * FormViewUpdatedEventArgs.cs:
5115 * FormViewUpdatedEventHandler.cs:
5116 * GridViewCancelEditEventArgs.cs:
5117 * GridViewCancelEditEventHandler.cs:
5118 * GridViewCommandEventHandler.cs:
5119 * GridViewDeleteEventArgs.cs:
5120 * GridViewDeleteEventHandler.cs:
5121 * GridViewDeletedEventArgs.cs:
5122 * GridViewDeletedEventHandler.cs:
5123 * GridViewEditEventHandler.cs:
5124 * GridViewPageEventHandler.cs:
5125 * GridViewRowEventHandler.cs:
5126 * GridViewSelectEventHandler.cs:
5127 * GridViewSortEventArgs.cs:
5128 * GridViewSortEventHandler.cs:
5129 * GridViewUpdateEventArgs.cs:
5130 * GridViewUpdateEventHandler.cs:
5131 * GridViewUpdatedEventArgs.cs:
5132 * GridViewUpdatedEventHandler.cs:
5133 * ImageMapEventHandler.cs:
5134 * MailMessageEventHandler.cs:
5135 * MenuEventHandler.cs:
5136 * ObjectDataSourceDisposingEventHandler.cs:
5137 * ObjectDataSourceEventHandler.cs:
5138 * ObjectDataSourceMethodEventArgs.cs:
5139 * ObjectDataSourceMethodEventHandler.cs:
5140 * ObjectDataSourceSelectingEventArgs.cs:
5141 * ObjectDataSourceSelectingEventHandler.cs:
5142 * ObjectDataSourceStatusEventArgs.cs:
5143 * ObjectDataSourceStatusEventHandler.cs:
5144 * SendMailErrorEventHandler.cs:
5145 * SiteMapNodeItemEventHandler.cs:
5146 * SqlDataSourceSelectingEventArgs.cs:
5147 * SqlDataSourceSelectingEventHandler.cs:
5148 * TreeNodeEventHandler.cs:
5149 * WizardNavigationEventArgs.cs:
5150 * WizardNavigationEventHandler.cs: Minor modifications, compiler error
5151 corrections and removing "sealed" access specifier from *EventHandler.cs
5153 2004-08-18 Sanjay Gupta <gsanjay@novell.com>
5155 * Literal.cs: Added new attributes and property for .Net 2.0
5157 2004-08-13 Sanjay Gupta <gsanjay@novell.com>
5159 * GridViewDeleteEventArgs.cs: Removed extra code.
5161 2004-08-12 Sanjay Gupta <gsanjay@novell.com>
5163 * SendMailErrorEventArgs.cs:
5164 * SendMailErrorEventHandler.cs:
5165 * SiteMapNodeItemEventArgs.cs:
5166 * SiteMapNodeItemEventHandler.cs:
5167 * SqlDataSourceSelectingEventArgs.cs:
5168 * SqlDataSourceSelectingEventHandler.cs:
5169 * TreeNodeEventArgs.cs:
5170 * TreeNodeEventHandler.cs:
5171 * WizardNavigationEventArgs.cs:
5172 * WizardNavigationEventHandler.cs: Added new delegates.
5174 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
5176 * ImageMapEventArgs.cs:
5177 * ImageMapEventHandler.cs:
5178 * MailMessageEventArgs.cs:
5179 * MailMessageEventHandler.cs:
5181 * MenuEventHandler.cs:
5182 * ObjectDataSourceDisposingEventArgs.cs:
5183 * ObjectDataSourceDisposingEventHandler.cs:
5184 * ObjectDataSourceEventArgs.cs:
5185 * ObjectDataSourceEventHandler.cs:
5186 * ObjectDataSourceMethodEventArgs.cs:
5187 * ObjectDataSourceMethodEventHandler.cs:
5188 * ObjectDataSourceSelectingEventArgs.cs:
5189 * ObjectDataSourceSelectingEventHandler.cs:
5190 * ObjectDataSourceStatusEventArgs.cs:
5191 * ObjectDataSourceStatusEventHandler.cs: Added new delegates.
5193 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
5195 * DetailsViewCommandEventArgs.cs:
5196 * FormViewCommandEventArgs.cs:
5197 * GridViewCommandEventArgs.cs: Corrected constructor.
5199 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
5201 * GridViewCancelEditEventArgs.cs:
5202 * GridViewCancelEditEventHandler.cs:
5203 * GridViewCommandEventArgs.cs:
5204 * GridViewCommandEventHandler.cs:
5205 * GridViewDeletedEventArgs.cs:
5206 * GridViewDeletedEventHandler.cs:
5207 * GridViewDeleteEventArgs.cs:
5208 * GridViewDeleteEventHandler.cs:
5209 * GridViewEditEventArgs.cs:
5210 * GridViewEditEventHandler.cs:
5211 * GridViewPageEventArgs.cs:
5212 * GridViewPageEventHandler.cs:
5213 * GridViewRowEventArgs.cs:
5214 * GridViewRowEventHandler.cs:
5215 * GridViewSelectEventArgs.cs:
5216 * GridViewSelectEventHandler.cs:
5217 * GridViewSortEventArgs.cs:
5218 * GridViewSortEventHandler.cs:
5219 * GridViewUpdatedEventArgs.cs:
5220 * GridViewUpdatedEventHandler.cs:
5221 * GridViewUpdateEventArgs.cs:
5222 * GridViewUpdateEventHandler.cs: Added new delegates.
5224 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
5226 * FormViewUpdatedEventArgs.cs: Corrected constructor.
5228 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
5230 * FormViewCommandEventArgs.cs: Corrected name of class.
5232 2004-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5234 * Xml.cs: use MapPath in DocumentSource and documentContent. Fixes
5237 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
5239 * FormViewCommandEventArgs.cs:
5240 * FormViewCommandEventHandler.cs:
5241 * FormViewDeletedEventArgs.cs:
5242 * FormViewDeletedEventHandler.cs:
5243 * FormViewDeleteEventArgs.cs:
5244 * FormViewDeleteEventHandler.cs:
5245 * FormViewInsertedEventArgs.cs:
5246 * FormViewInsertedEventHandler.cs:
5247 * FormViewInsertEventArgs.cs:
5248 * FormViewInsertEventHandler.cs:
5249 * FormViewModeEventArgs.cs:
5250 * FormViewModeEventHandler.cs:
5251 * FormViewPageEventArgs.cs:
5252 * FormViewPageEventHandler.cs:
5253 * FormViewUpdatedEventArgs.cs:
5254 * FormViewUpdatedEventHandler.cs:
5255 * FormViewUpdateEventArgs.cs:
5256 * FormViewUpdateEventHandler.cs: Added new delegates.
5258 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
5260 * DetailsViewCommandEventArgs.cs:
5261 * DetailsViewCommandEventHandler.cs:
5262 * DetailsViewDeletedEventArgs.cs:
5263 * DetailsViewDeletedEventHandler.cs:
5264 * DetailsViewDeleteEventArgs.cs:
5265 * DetailsViewDeleteEventHandler.cs:
5266 * DetailsViewInsertedEventArgs.cs:
5267 * DetailsViewInsertedEventHandler.cs:
5268 * DetailsViewInsertEventArgs.cs:
5269 * DetailsViewInsertEventHandler.cs:
5270 * DetailsViewModeEventArgs.cs:
5271 * DetailsViewModeEventHandler.cs:
5272 * DetailsViewPageEventArgs.cs:
5273 * DetailsViewPageEventHandler.cs:
5274 * DetailsViewUpdatedEventArgs.cs:
5275 * DetailsViewUpdatedEventHandler.cs:
5276 * DetailsViewUpdateEventArgs.cs:
5277 * DetailsViewUpdateEventHandler.cs: Added new delegates.
5279 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
5281 * AuthenticateEventArgs.cs:
5282 * AuthenticateEventHandler.cs:
5283 * CreateUserErrorEventArgs.cs:
5284 * CreateUserErrorEventHandler.cs: Added new delegates.
5286 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
5288 * IButtonControl.cs:
5289 * ICallbackContainer.cs:
5290 * ICompositeControlDesignerAccessor.cs:
5291 * IPostBackContainer.cs: Added new interfaces.
5293 2004-08-03 Sanjay Gupta <gsanjay@novell.com>
5296 * AutoCompleteType.cs:
5297 * ContentDirection.cs:
5298 * DataControlCellType.cs:
5299 * DataControlRowState.cs:
5300 * DataControlRowType.cs:
5301 * DetailsViewMode.cs:
5302 * DynamicImageParameterMode.cs:
5305 * ImageFieldMode.cs:
5312 * SiteMapNodeItemType.cs:
5313 * SiteMapNodeType.cs:
5314 * SiteMapViewType.cs:
5316 * TableCaptionAlign.cs:
5317 * TableHeaderScope.cs:
5319 * TreeNodeSelectAction.cs:
5321 * TreeViewImageSet.cs:
5322 * WizardStepType.cs: Added enumerations
5324 2004-08-02 Duncan Mak <duncan@ximian.com>
5327 * LoginFailureAction.cs:
5328 * LoginTextLayout.cs: Added enumerations.
5330 2004-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5332 * BaseValidator.cs: in Validate(), when the control is not visible or
5333 enabled, return inmediately after setting IsValid to true. Fixes bug
5336 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5338 * DataList.cs: s/HasChildren/HasControls()/.
5340 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5342 * DataList.cs: style.
5344 2004-07-27 Alon Gazit <along@mainsoft.com>
5345 * DataList.cs: Replaced foreach statement with for statement,
5346 in order to improve performence.
5348 2004-07-27 Alon Gazit <along@mainsoft.com>
5349 * WebControl.cs: changed RenderBeginTag()to use TagKey instead of
5351 * Unit.cs : changed GetTypeFromString() and GetStringFromPixel() to use
5352 switch statements in order to improve performance.
5354 2004-06-10 Alon Gazit <along@mainsoft.com>
5355 * WebControl.cs: fixed LoadViewState().
5356 Creates new attributes state bag only when the current is null.
5358 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5360 * Calendar.cs: implemented OnPreRender and HasWeekSelectors.
5362 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5364 * Calendar.cs: set the title class attribute if we have it. Fixes bug
5367 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5369 * Style.cs: added SetBit.
5371 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5374 * CompareValidator.cs:
5377 * WebControl.cs: Added protected missing members and attributes.
5379 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5381 * TextBox.cs: don't save the Text if in ViewState if it's a password.
5382 Save it if the control is not visible or not enabled. Fixes bug #58497.
5384 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5386 * Calendar.cs: fire OnDayRender after assigning the calendar cell text.
5389 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
5391 * SqlDataSourceCommandEventArgs:
5392 * XmlDataSource.cs : removed temporary workarounds for CLS
5393 compliance as System.Data is now CLS compliant
5395 2004-05-06 Alon Gazit <along@mainsoft.com>
5396 * WebControl.cs: fixed LoadViewState() and SaveViewState().
5397 Before the change the Enabled property wasn't updated when a postback
5399 * ListControl.cs: fixed SelectedIndex property implementation.
5400 Prevents throwing ArgumentOutOfRangeException (that should not be
5401 thrown), when the list is empty.
5403 2004-04-28 Alon Gazit <along@mainsoft.com>
5404 * WebControl.cs: fixed LoadViewState().
5405 Always loading the saved attributes collection.
5407 2004-04-18 Alon Gazit <along@mainsoft.com>
5408 * Repeater.cs: fixed InstantiateItem() and DataSource property.
5409 The change in DataSource prevents throwing ArgumentException while
5410 setting property value to null.
5411 The change in InstantiateItem() prevents NullReferenceException.
5413 2004-04-07 Lluis Sanchez Gual <lluis@ximian.com>
5415 * BaseValidator.cs: Store Display property in the correct ViewState
5416 property. Don't render anything if Display is ValidatorDisplay.None.
5418 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
5420 * Xml.cs: In LoadXpathDoc(), don't use MapPathSecure with documentSource,
5421 since it is already a physical path. Fixes bug #55334.
5423 2004-02-13 Jackson Harper <jackson@ximian.com>
5425 * Calendar.cs: Match MS postback data. This allows sites that
5426 parse the postback data manually to work.
5428 2004-02-04 Alon Gazit <along@mainsoft.com>
5429 * EditCommandColumn.cs: fixed InitializeCell().
5430 The rendered LiteralControl should contain " " and not " ".
5432 2004-02-01 Alon Gazit <along@mainsoft.com>
5434 * DataGrid.cs: fixed a problem in the paging mechanism in the method
5436 the problem was when (PagerStyle.Mode == PagerMode.NumericPages),
5437 while clicking the "..." link in the second page.
5439 2004-01-28 Alon Gazit <along@mainsoft.com>
5441 * Calendar.cs: prevent NullReferenceException in RenderAllDays().
5443 2004-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5445 * Calendar.cs: when rendering days, add a LiteralControl containing the
5446 day before OnDayRender is called. Only generate the default links for
5447 days when IsSelectable is true after OnDayRender. Fixes bug #53372.
5449 2004-01-21 Martin Baulig <martin@ximian.com>
5451 * XmlHierarchyData.cs: Make this compile with csc.
5453 * BulletedList.cs (BulletedList.SelectedItem): Removed the `set'
5454 accessor since the base class doesn't have one.
5456 2004-01-18 Alon Gazit <along@mainsoft.com>
5458 * CheckBoxList.cs: fix problem with negative TabIndex (wasn't rendered).
5460 2004-01-18 Alon Gazit <along@mainsoft.com>
5462 * Style.cs: CopyFrom method shouldn't copy a value that is equal to
5463 Property default value.
5464 * FontInfo.cs : CopyFrom method shouldn't copy a value that is equal to
5465 Property default value.
5467 2004-01-15 Alon Gazit <along@mainsoft.com>
5469 * RadioButtonList.cs: RepeatLayout property should affect the rendered
5472 2004-01-15 Alon Gazit <along@mainsoft.com>
5473 * FontInfo.cs: Add validation check to Size property.
5475 2004-01-07 Alon Gazit <along@mainsoft.com>
5476 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
5477 merge the column's style to the cell's style and not to
5478 the item's(row) style.
5480 2004-01-04 Alon Gazit <along@mainsoft.com>
5481 * RangeValidator.cs: Fixed ControlPropertiesValid().
5483 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5485 * Xml.cs: mono-stylized and removed warnings.
5487 2004-1-1 Alon Gazit <along@mainsoft.com>
5488 * RadioButtonList.cs: update RenderItem() so that each RadioButton
5489 is enabled or disabled like the RadioButtonList.
5490 * CheckBoxList.cs: update RenderItem() so that each CheckBox
5491 is enabled or disabled like the CheckBoxList.
5493 2004-1-1 Alon Gazit <along@mainsoft.com>
5494 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
5495 The Header or Footer Style shouldn't merge with the cells Style.
5497 2004-1-1 Alon Gazit <along@mainsoft.com>
5498 * DataGridColumn.cs: Headers and Footers are initialized
5499 with the relevant Style object.
5501 2003-12-30 Alon Gazit <along@mainsoft.com>
5502 * RepeatInfo.cs: Fixed DoVerticalRendering () and
5503 DoHorizontalRendering().
5504 Current implementation produces few extra html tags.
5506 2003-12-29 Alon Gazit <along@mainsoft.com>
5508 * CheckBox.cs: change the implementation of LoadPostData.
5509 Currently, while the AutoPostBack property equals true ,
5510 it isn't possible to perform uncheck.
5512 2003-12-19 Jackson Harper <jackson@ximian.com>
5514 * TableCell.cs: Setting a cells text should clear its control
5515 collection as per la specification. This fixes bug #51825.
5517 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5519 * DataGridColumn.cs: stylized LoadViewState.
5520 * DataGridColumnCollection.cs: when TrackViewState is called, also
5521 call it on all the existing columns. Fixes bug #52334.
5523 2003-12-18 Alon Gazit <along@mainsoft.com>
5525 * DataGridPagerStyle.cs: merge DataGridPagerStyle properties when Style
5528 2003-12-18 Alon Gazit <along@mainsoft.com>
5530 * TableStyle.cs: merge TableStyle properties when Style is empty.
5532 2003-12-16 Alon Gazit <along@mainsoft.com>
5534 * HyperLink.cs: Change Text property implementation. in MS when the Text
5535 property is set, all the controls in the HyperLink are being deleted.
5536 This fixes bug #52239.
5538 2003-12-15 Alon Gazit <along@mainsoft.com>
5539 * RepeatInfo.cs: Fixed DoVerticalRendering () and
5540 DoHorizontalRendering().
5541 Both methods add additional empty table row in the head of each item
5542 table when the variable named isTable equals true (happenes with the
5543 default instantiation of RepeatInfo). These additional rows should be
5544 added when isTable equals false.
5545 This fixes bug #52225.
5547 2003-12-15 Alon Gazit <along@mainsoft.com>
5549 * RepeatInfo.cs: Fixed DoVerticalRendering() and
5550 DoHorizontalRendering().
5551 Both methods add to rendered Header a colspan attribute according to the
5552 rows count. after the change the colspan is added according to the
5555 2003-12-15 Alon Gazit <along@mainsoft.com>
5556 * CheckBox.cs: Disabled CheckBox does not produce same HTML as .NET.
5557 In .NET if the checkbox is disabled ,its text appears disabled too.
5558 In Mono the text appears enabled. the fix is in Render().
5559 This fixes bug #52180.
5561 2003-12-15 Alon Gazit <along@mainsoft.com>
5562 * Repeater.cs: Change the implementation of CreateControlHierarchy().
5563 The current implementation renders extra Header and footer
5564 without Repeater.DataSource assign.
5565 This fixes bug #52179.
5567 2003-12-15 Alon Gazit <along@mainsoft.com>
5568 * DataGrid.cs: Change the implementation of the property
5569 BackImageUrl. The current implementation has no influence
5570 on the rendered Html.
5572 2003-12-15 Alon Gazit <along@mainsoft.com>
5573 * WebControl.cs: Change the implementation of the property
5574 Enabled. Before the change the WebControl also looked at
5575 parent.Enabled . fixed bug #52171.
5577 2003-12-11 Jackson Harper <jackson@ximian.com>
5579 * RepeatInfo.cs: When rendering vertically figure out how many
5580 colmns are not going to be filled in in the last row, and adjust
5581 things accordingly. This fixes bug #51863.
5583 2003-12-10 Alon Gazit <along@mainsoft.com>
5584 * TableRow.cs: Change the implementation of the properties
5585 HorizontalAlign and VerticalAlign. The current implementation
5586 has no influence on the rendered Html.
5588 2003-12-10 Alon Gazit <along@mainsoft.com>
5589 * TableItemStyle.cs: Add setting of The WRAP flag in the Wrap
5590 property's set method.
5592 2003-12-09 Jackson Harper <jackson@ximian.com>
5594 * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
5595 Increment counter when moving to start. Fixes bug #51926.
5597 2003-12-08 Jackson Harper <jackson@ximian.com>
5599 * HyperLinkColumn.cs: Fix navigate url rendering. Patch by
5600 Benjamin Jemlich. Fixes bug #51823.
5602 2003-12-07 Alon Gazit <along@mainsoft.com>
5603 * Panel.cs: Panel doesn't render nowrap attribute while the Wrap
5604 property is set to false. Fixes bug #58120.
5606 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5608 * TableItemStyle.cs: merge TableItemStyle properties when Style is
5609 empty. Fixes bug #51689. Patch by Alon Gazit <along@mainsoft.com>.
5611 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5613 * RadioButtonList.cs: render tabindex attribute if needed. Fixes bug
5616 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5618 * WebControl.cs: don't create the attributes when GetAttribute is
5621 2003-12-01 Jackson Harper <jackson@ximian.com>
5623 * WebControl.cs: Only allow access keys to be null or a single
5624 char. Patch by Alon Gazit <along@mainsoft.com>.
5626 2003-11-30 Jackson Harper <jackson@ximian.com>
5628 * CheckBoxList.cs: A checkbox will have null post data if it is
5629 unselected. This fixes bug #51516.
5631 2003-11-29 Jackson Harper <jackson@ximian.com>
5633 * DataGrid.cs: Display paging controls even when there is no
5634 data. Path by Mohammad DAMT. Fixes bug #51487.
5636 2003-11-29 Jackson Harper <jackson@ximian.com>
5638 * DataGrid.cs: Call TrackViewState when loading bound columns view
5639 state. So that their state is saved. This fixes bug #51424. Also
5642 2003-11-26 Jackson Harper <jackson@ximian.com>
5644 * BaseDataList.cs: Change && to || We will call that a typo so no
5645 one gets embarrased.
5647 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5649 * BaseDataList.cs: allow setting null as Datasource.
5651 * DataGrid.cs: keep autogenerated columns in the ViewState.
5653 Patches by Alon Gazit <along@mainsoft.com>.
5655 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
5657 * SqlDataSource*: Implement almost everything. Data access is
5660 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
5662 * Calendar.cs (SaveViewState):
5663 - We were allocating a 11 item array, we only used 10 items,
5664 so only allocate 10.
5665 - We only need to save the selected dates if there are any.
5666 * DataGrid.cs (SaveViewState):
5667 * DataGridColumn.cs (SaveViewState):
5668 * DataGridColumnCollection.cs (SaveViewState):
5669 - Only return the array if there is anything in it
5670 * Style.cs (SaveViewState):
5671 - Only save the bits if there were changes.
5672 * WebControl.cs (SaveViewState), (LoadViewState):
5673 - Don't save Enabled into the viewstate here, we already
5674 do it in the property. This just caused *EVERY* control
5675 to have a non-null state, taking up lots of extra room
5677 - The style will always be created with this control's
5678 viewstate, so the style will always return null for the
5679 viewstate. As such, we do not need to store it. We can
5680 also reduce the triplet to a pair because of this.
5682 2003-11-22 Jackson Harper <jackson@ximian.com>
5684 * ValidationSummary.cs: Fix number of messages and message array computation.
5686 2003-11-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5688 * Xml.cs: Corrected attribute
5689 * XmlBuilder.cs: Added
5691 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5693 * Xml.cs: class status based fixes.
5695 2003-11-19 Jackson Harper <jackson@ximian.com>
5697 * HyperLink.cs: Use ResolveUrl instead of ResolveBaseUrl.
5699 2003-11-19 Jackson Harper <jackson@ximian.com>
5701 * HyperLink.cs: Use ResolveBaseUrl so that ~/ is interpreted as
5702 teh applications base directory. This fixes bug #51092.
5704 2003-11-18 Todd Berman <tberman@gentoo.org>
5706 * ControlParameter.cs:
5707 * CookieParameter.cs:
5709 * QueryStringParameter.cs:
5710 * SessionParameter.cs: added public .ctor ()
5711 * Parameter.cs: added public .ctor (), internal SetOwnerCollection
5712 and handling, as well as internal ParameterValue for easy access.
5713 NOTE: ParameterValue doesnt respect TreatEmptyStringAsNull yet.
5714 * ParameterCollection.cs: implementation redux.
5716 2003-11-18 Todd Berman <tberman@gentoo.org>
5718 * ParameterCollection.cs: Implemented
5719 * Parameter.cs: Added _owner, SetOwnerCollection and proper handling.
5720 ToString () now matches asp.net
5722 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
5724 * ControlParameter.cs:
5725 * CookieParameter.cs:
5728 * QueryStringParameter.cs: New v2 files. Mostly
5729 implemented, still need a few methods.
5731 2003-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5733 * ListItem.cs: prevent nullrefs ni Get/SetAttribute. Thanks to Alon
5734 Gazit <along@mainsoft.com>.
5736 2003-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5738 * RadioButton.cs: fixed RenderInputTag for negative TabIndex values.
5739 Patch by Alon Gazit <along@mainsoft.com>.
5741 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
5743 * DataBoundControl.cs: Implement
5744 * ListControl.cs: inherit from the above.
5745 * Repeater.cs, BaseDataList.cs: should reset whenever we databind.
5747 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
5752 * Repeater.cs: add v2 databinding stuff
5753 * XmlDataSource.cs: make it load the xml.
5755 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
5758 * XmlDataSourceView.cs:
5759 * XmlHierarchicalDataSourceView.cs:
5760 * XmlHierarchicalEnumerable.cs:
5761 * XmlHierarchyData.cs: Implement
5763 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
5765 * SiteMapDataSourceView.cs: Implement.
5767 2003-11-07 Jackson Harper <jackson@ximian.com>
5769 * ImageButton.cs: This is a workaround for bug #49819. It appears
5770 that the .x and .y values are not being posted, and only the x
5771 value is being posted with the ctrl's id as the key.
5773 2003-11-07 Jackson Harper <jackson@ximian.com>
5775 * DataGrid.cs (CreateControlHierarchy): Current page index is
5776 alolowed to equal page count. This prevents an exception being
5777 thrown when both are zero.
5779 2003-11-06 Jackson Harper <jackson@ximian.com>
5781 * ValidationSummary.cs: Add Render method. Patch by Yaron Shkop.
5782 * BaseValidator.cs: Disable base control so the isValid flag is
5785 2003-11-03 Jackson Harper <jackson@ximian.com>
5787 * TemplateColumn.cs: Use the same renderer for selected items as
5788 normal items. This fixes bug #49744.
5790 2003-11-03 Jackson Harper <jackson@ximian.com>
5793 * WebControl.cs: Fix argument out of range exceptions on
5794 properties. Patch by Yaron Shkop.
5796 2003-11-03 Jackson Harper <jackson@ximian.com>
5798 * TemplateColumn.cs: If the item is selected but there is no
5799 editItemTemplate use the itemTemplate. This matches MS behvoir.
5801 2003-11-03 Jackson Harper <jackson@ximian.com>
5803 * Repeater.cs: Always set alternating items to the AlternatingItem
5804 type, when instantiating alternating items use the itemTemplate if
5805 the alternatingItem template is null. This matches MS behavoir and
5808 2003-11-03 Jackson Harper <jackson@ximian.com>
5810 * DataGridPagerStyle.cs: Name of view state attribute is
5811 PagerVisible not Visible. Call owner.OnPagerChanged when the pager
5812 visibility is changed. Patch by Yaron Shkop.
5814 2003-11-03 Jackson Harper <jackson@ximian.com>
5816 * RepeatInfo.cs: When doing horizontal rendering use the repeat
5817 columns as the number of columns in a row. This fixes bug #49016.
5819 2003-11-03 Jackson Harper <jackson@ximian.com>
5821 * PagedDataSource.cs (PageCount): Return page count of 1 if there
5822 paging is disabled. Patch by Yaron Shkop.
5823 * PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
5824 * TableStyle.cs (AddAttributesToRender): Render border style
5825 collapse. Patch by Yaron Shkop.
5827 * TableItemStyle.cs:
5828 * DataGridPagerStyle.cs: Call base copy and merge even if style is of
5829 the wrong type. Patch by Yaron Shkop.
5831 2003-11-03 Jackson Harper <jackson@ximian.com>
5833 * BoundColumn.cs: Render readonly columns. Patch by Mohammad DAMT.
5835 2003-11-02 Ben Maurer <bmaurer@users.sourceforge.net>
5838 * BulletedListDisplayMode.cs:
5839 * BulletedListEventHandler.cs:
5841 * BulletedListEventArgs.cs: V2 controls (yay!)
5843 2003-10-30 Jackson Harper <jackson@ximian.com>
5845 * Repeater.cs: Throw an exception if the datasource is set to
5846 something that does not implement either IListSource or
5847 IEnumerable. This fixes bug #50155.
5849 2003-10-30 Jackson Harper <jackson@ximian.com>
5851 * DataGridPagerStyle.cs: Do not allow page button counts to be set
5852 to less then 1. Patch by Yaron Shkop. This fixes bug #50236.
5854 2003-10-29 Jackson Harper <jackson@ximian.com>
5856 * ButtonColumn.cs: Format string and text to format were
5857 inversed. This fixes bug #50171.
5859 2003-10-29 Jackson Harper <jackson@ximian.com>
5861 * DataGridColumn.cs: If an item style is set apply it to the
5862 cell. This fixes bug #50173.
5864 2003-10-29 Ben Maurer <bmaurer@users.sourceforge.net>
5866 * HyperLinkColumn.cs: Patch by Yaron Shkop. Fixes #50234. Remove
5867 old debugging value.
5869 2003-10-29 Jackson Harper <jackson@ximian.com>
5871 * PagedDataSource.cs:
5872 * DataGrid.cs: Patch by Mohammad DAMT. Do not go past the
5873 end of the last page. Fixes bug #5085.
5875 2003-10-29 Jackson Harper <jackson@ximian.com>
5877 * CheckBox.cs: Do not change the status of a checkbox when there
5878 is no post data. This fixes bug #49091.
5879 * CheckBoxList.cs: Do not change the status of the checkboxes when
5880 there is no post data. This fixes bug #49093.
5882 2003-10-26 Ben Maurer <bmaurer@users.sourceforge.net>
5884 * RadioButton.cs: Patch by Yaron Shkop. Enables disabling a
5885 RadioButton. Fixes #50132
5887 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
5889 * PagedDataSource.cs: Patch by Ivo Haamer. Typo prevented
5890 paging from working. Fixes #48814.
5892 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
5894 * DataGrid.cs: A few typos kept us from viewing datagrids
5895 that were based on customized collections.
5897 2003-10-24 Ben Maurer <bmaurer@users.sourceforge.net>
5899 * DataGridCommandEventArgs.cs: typo, cmdSrc was becoming origionalArgs.
5901 2003-10-23 Ben Maurer <bmaurer@users.sourceforge.net>
5903 * Calendar.cs: render the next month button so that aligns to the
5906 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5908 * BaseCompareValidator.cs: splitted Convert. Fixed bug #49927. The fix
5909 was just changing && by || after the first Match.
5911 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5913 * Calendar.cs: apply header style in RenderHeader. Fixes bug #49144.
5914 Patch by Yaron Shkop.
5916 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5918 * DataGrid.cs: applied patch from Yaron Shkop (yaronsh@mainsoft.com)
5919 that fixes bug #49744. Now the selection doesn't lose its data.
5921 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
5923 * EditCommandColumn.cs: Implement; fix #49736
5925 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
5927 * ButtonColumn.cs: Use the DataGridLinkButton, so that we inherit
5928 the forground color. bug #49738
5930 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5932 * Calendar.cs: fixed bug #49727.
5934 2003-10-18 Ben Maurer <bmaurer@users.sourceforge.net>
5936 * TableStyle.cs: fix #49740.
5938 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5940 * SelectedDatesCollection.cs: fix by Yaron for bug #49698.
5941 * ValidationSummary.cs: fixes bug #49669.
5943 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5945 * Calendar.cs: apply the calendar style to the new Table, not to itself.
5948 * CheckBox.cs: render the hidden fields if AutoPostBack.
5950 * Style.cs: don't render empty width/height. Small improvement in
5953 * Table.cs: fixed condition for border width.
5956 (CopyFrom): always call the base class to copy other attributes. Fixes
5957 bug #49408. Don't render empty 'rules' attribute.
5959 * WebControl.cs: track viewstate when enabled. Don't overwrite source
5960 control attributes in CopyBaseAttributes.
5962 * ChangeLog: fixed dates.
5965 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
5967 * WebControl.cs : Attributes { get; } - Is Complete.
5968 * ValidationSummary.cs : AddAttributesToRender(HtmlTextWriter)
5971 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
5973 * BaseValidator.cs : DetermineRenderUplevel() - Completed.
5974 : RegisterValidatorCommonScript()
5975 - More code, I need HELP!
5976 : RegisterValidatorDeclaration()
5977 - More code, I need HELP!
5979 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5981 * CheckBoxList.cs: don't lose state when enabling/disabling. See bug
5984 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5986 * Repeater.cs: fixed bug #48807. It needed to use a DummyDataSource and
5987 ClearViewState only called when no items.
5989 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5991 * RadioButtonList.cs: fix for bug #48874 by Yaron Shkop.
5993 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5995 * RadioButtonList.cs: fix for bug #48870 by Yaron Shkop.
5997 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5999 * DataList.cs: fixed bug #48217. Patch by yaronsh@mainsoft.com (Yaron
6002 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6004 * AdRotator.cs: fixes bug #48691. Patch by yaronsh@mainsoft.com (Yaron
6007 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6009 * CheckBox.cs: render the 'disabled' attribute in the correct tag.
6010 * WebControl.cs: fixed Enabled property and save it in ViewState.
6014 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6016 * ListControl.cs: fixed bug #48668. Thanks to Yaron Shkop.
6018 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6020 * ListBox.cs: patch by yaronsh@mainsoft.com (Yaron Shkop) that fixes
6023 2003-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6025 * FontInfo.cs: fixed Name property as suggested by Rich Alimi
6026 <rich@velvetsea.net>.
6028 2003-09-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6030 * RegularExpressionValidator.cs: fix for EvaluateIsValid by Juraj
6031 Skripsky <juraj@hotfeet.ch>
6033 2003-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6035 * BaseValidator.cs: patch by Juraj Skripsky (juraj@hotfeet.ch) that
6036 fixes rendering of the end tag.
6038 2003-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6040 * Repeater.cs: fix for Items property provided by yaronsh@mainsoft.com
6041 (Yaron Shkop). Closes bug #48060.
6043 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6045 * CheckBox.cs: in LoadPostData, only return
6046 true when the new data is different from the one we had. Fixed
6047 conditions to save Checked state. Thanks to yaronshkop@hotmail.com
6050 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6052 * Style.cs: Font.Strikeout renders as 'line-through'. Fixes bug #47871.
6054 2003-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6056 * WebControl.cs: removed dangling ^M and unneeded fields. Keep track
6057 of Enable in ViewState. Fixes bug #47865.
6059 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6061 * Style.cs: the MARKED bit is not send set in ViewState unless something
6062 is changed. Fixed TrackViewState condition.
6064 * WebControl.cs: save the base ViewState *after* ControlStyle is done,
6065 because it uses the same ViewState as the control. Fixes bug #47725.
6067 2003-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6069 * HyperLinkColumn.cs: patch from David Pickens <dsp@rci.rutgers.edu>
6070 that fixes databinding when only DataTextField or DataNavigateUrlField
6073 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6075 * ListControl.cs: patch sent by Yaacov Akiba Slama <ya@slamail.org> on
6076 behalf of Yaron Shkop <yaronsh@mainsoft.com> that fixes selection of
6077 values before assigning a data source and other issues.
6079 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6081 * CheckBox.cs: save viewstate when needed and correctly handle post
6082 data. Fixes bug #47462.
6084 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6086 * ButtonColumn.cs: Removed additional attributes
6087 * CheckBox.cs: Added attribute
6088 * DataGrid.cs: Added attributes
6089 * HyperLinkColumn.cs: Changed attributes, added lamespec
6090 * Style.cs: Removed attributes
6091 * TextBox.cs: Added/ removed attributes
6093 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6095 * AdRotator.cs: Added all attributes
6096 * BaseDataList.cs: Added all attributes, added lamespec, removed additional attributes
6097 * BaseValidator.cs: Added all attributes
6098 * BoundColumn.cs: Added all attributes
6099 * Button.cs: Added all attributes
6100 * ButtonColumn.cs: Added all attributes, added lamespec
6101 * Calendar.cs: Added all attributes, added error checks, throws more exceptions
6102 * CheckBox.cs: Added all attributes
6103 * CheckBoxList.cs: Added all attributes
6104 * CompareValidator.cs: Added all attributes
6105 * CustomValidator.cs: Added all attributes
6106 * DataGrid.cs: Added all attributes, more verbose exceptions, fixed signature, removed additional attributes
6107 * DataGridColumn.cs: Added all attributes
6108 * DataGridColumnCollection.cs: Added all attributes
6109 * DataGridPagerStyle.cs: Added all attributes
6110 * DataGridTableInternal.cs: Made DataGridTableInternal internal
6111 * DataList.cs: Added all attributes, more verbose exceptions, removed non-existing member
6112 * DropDownList.cs: Added all attributes
6113 * FontInfo.cs: Added all attributes
6114 * HyperLink.cs: Added all attributes
6115 * HyperLinkColumn.cs: Added all attributes
6116 * Image.cs: Added all attributes
6117 * ImageButton.cs: Added all attributes
6118 * Label.cs: Added all attributes
6119 * LinkButton.cs: Added all attributes
6120 * ListBox.cs: Added all attributes, added error checks, throws more exceptions
6121 * ListControl.cs: Added all attributes
6122 * ListItem.cs: Added all attributes
6123 * ListItemCollection.cs: Added attribute
6124 * Literal.cs: Added all attributes
6125 * Panel.cs: Added all attributes
6126 * RadioButton.cs: Added all attributes
6127 * RadioButtonList.cs: Added all attributes, added error checks, throws more exceptions
6128 * RangeValidator.cs: Added all attributes
6129 * RegularExpressionValidator.cs: Added all attributes
6130 * Repeater.cs: Added all attributes
6132 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6134 * RequiredFieldValidator.cs: Added all attributes
6135 * Style.cs: Added all attributes
6136 * Table.cs: Added all attributes
6137 * TableCell.cs: Added all attributes, added error checks, throws more exceptions
6138 * TableCellCollection.cs: Added attribute
6139 * TableRow.cs: Added all attributes
6140 * TableRowCollection: Added attribute
6141 * TableStyle.cs: Added all attributes, improved error messages
6142 * TemplateColumn.cs: Added all attributes
6143 * TextBox.cs: Added all attributes, added error checks, throws more exceptions
6144 * ValidationSummary.cs: Added all attributes
6145 * WebControl.cs: Added all attributes
6146 * Xml.cs: Added all attributes
6148 2003-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6150 * DataGrid.cs: fixed signature of ItemCreated and PageIndexChanged.
6151 * DataList.cs: fixed signature of ItemCreated and ItemDataBound.
6153 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6155 * CheckBoxList.cs: fixes bug reported on the list about the state of
6156 the CheckButtons not being preserved across posts.
6158 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6160 * ListControl.cs: added SelectedValue property (1.1). Closes 46412.
6162 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6164 * AdRotator.cs: fixed bug #44271 and a few others bugs. Mono-stylized.
6166 2003-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6168 * ListControl.cs: save viewstate data when any of the 3 values is not
6169 null. Fixed condition to save selection indices. Closes bug #45493.
6171 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6173 * DataGrid.cs: fixed bug #43823.
6175 2003-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6177 * DataGrid.cs: fixed delegate type for SortCommand.
6179 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6181 * DataGridColumnCollection.cs: added missing return in RemoveAt.
6183 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6185 * DataGridColumnCollection.cs: fixed LoadViewState for the columns.
6186 Don't save ViewState is the number of columns is 0.
6188 2003-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6190 * DataGrid.cs: get the right item Type for the property we're reading
6191 fromt the data source.
6193 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6196 * TextBox.cs: added control builder attribute.
6198 2003-03-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6200 * DataGrid.cs: Fixed SaveViewState and type of ItemDataBound.
6202 2003-03-17 George Kodinov <gkodinov@openlinksw.co.uk>
6204 * Unit.cs: Called the correct method to get the Numeric locale for the
6207 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6209 * ButtonColumn.cs: fixed a couple of infinite loop problems and render
6210 correctly the header of the column.
6212 * DataGridTableInternal.cs: don't assign a default ID to this control.
6214 * LinkButton.cs: raise bubble event in OnCommand.
6216 * TableCellCollection.cs: fixed the index returned by Add.
6218 * TableRowCollection.cs: ditto.
6220 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6222 * Xml.cs: don't call MapPathSecure when setting DocumentSource.
6224 2003-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6226 * RangeValidator.cs: fixed bug #37577. Thanks to Stephane Tombeur
6227 for reporting the bug and providing the fix.
6229 2003-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6231 * DataGrid.cs: AutoGenerateColumns defaults to true. Fixed
6232 CreateColumnSet. Set the owner of the column when auto generated.
6233 In PrepareControlHierarchyForItem, fixed for loop bound.
6235 * LinkButtonInternal.cs: fixed infinite recursion bug.
6239 2003-01-22 Zdravko Tashev <ztashev@openlinksw.co.uk>
6241 * Xml.cs: a few fixes.
6243 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6245 * DataList.cs: handle the exception when adding new keys to
6248 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6250 * BaseDataList.cs: what can I say for this one? I spent so many time
6251 until I finally found this that I'm gonna miss this f....g bug... ;-).
6252 Farewell. Now we can get events from image buttons inside Data*.
6254 * DataList.cs: now the value stored in ViewState for item count is
6257 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6259 * DataGrid.cs: default value for ShowHeaders is true. Fixed style for
6261 * DataGridColumn.cs: added SetOwner method.
6262 * DataGridColumnCollection.cs: set the owner of the column when added.
6264 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6266 * BoundColumn.cs: typo.
6267 * DataGrid.cs: use 'as' instead of casting. Typo.
6268 * HyperLinkColumn.cs: call OnColumnChanged when any property change.
6271 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6273 * HyperLink.cs: fixes bug #36336.
6275 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6277 * DataList.cs: fixed IRepeatInfoUser.GetItemStyle.
6279 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6281 * BaseValidator.cs: return an empty string in GetControlValidationValue
6282 when GetValue returned null.
6284 * CompareValidator.cs: fixed EvaluateIsValid.
6286 * RegularExpressionValidator.cs: fixed EvaluateIsValid.
6288 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6290 * Xml.cs: use MapPathSecure to get the path of the document.
6292 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6294 * DataList.cs: fixed header & footer.
6296 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6298 * DataList.cs: for header and footer don't use data source.
6299 Instantiate in the DataListItem, not in the DataList.
6300 databind-template.aspx works now.
6302 2002-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6305 (Render): call RenderContents (), not base.RenderContents ().
6307 * DataList.cs: style.
6309 But I still haven't found what i'm looking for....
6311 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6313 * Calendar.cs: fixed loading/saving selected dates.
6314 * SelectedDatesCollection.cs: added internal function to get the
6315 underlying ArrayList.
6317 Calendar navigation works again. Selecting dates too.
6319 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6321 * DataList.cs: added a few attributes and fixed infinite recursion.
6323 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6325 * ListItemCollection.cs: fixed LoadViewState.
6327 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6329 * TableItemStyle.cs: TypeDescriptor.GetConverter seems to fail.
6330 Commented out some code until it works.
6332 2002-10-29 Gaurav Vaish <gvaish_mono@lycos.com>
6334 * BaseCompareValidator.cs - Fixed operator bug in
6335 Compare(string, string, ...)
6336 * CompareValidator.cs - EvaluateIsValid() : Implemented.
6338 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
6340 * BoundColumn.cs - InitializeCell(TableCell, int, ListItemType)
6342 - All Properties : Now make use of ViewState.
6344 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
6346 * BaseValidator.cs - Uncomment NotImplementedException.
6348 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
6350 * BaseValidator.cs - Minor changes in TODO comments.
6352 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
6354 * BaseValidator.cs - DetermineRenderUpLevel() : Uncomment
6355 the NotImplementedException being thrown.
6356 * DataGridPagerStyle.cs - Mode { set; } : Implemented.
6357 * DataGridLinkButton.cs - Added new class (private) : Implemented.
6358 * DataGrid.cs - InitializePager(DataGridItem, int,
6359 PagedDataSource) : Implemented.
6361 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
6363 * DataList.cs - PrepareControlHierarchy() : Implemented.
6365 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
6367 * DataList.cs - RenderContents(HtmlTextWriter) : Implemented.
6368 - GetItem(ListItemType, int) : Removed TODO.
6369 - CreateControlHierarchy(bool) : Implemented.
6370 - CreateItem(int, ListItemType) : Implemented.
6371 - CreateItem(int, ListItemType,
6372 bool, object) : Implemented.
6373 - InitializeItem(DataItem) : Implemented.
6374 * DataGrid.cs - CreateControlHierarchy(bool) : Bug fix.
6375 The ViewState["_!ItemCount"],
6376 ViewState["_!DataSource_ItemCount"]
6377 are shared by DataList and DataGrid, and hence
6378 should share the same name.
6379 - ResolveDataSource(object, string)
6380 : Removed. Use System.Web.UI.Utils.DataSourceHelper
6381 ::GetResolvedDataSource(object, string).
6384 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6386 * DataGrid.cs: fixed compilation
6388 2002-09-12 Gaurav Vaish <gvaish_mono@lycos.com>
6390 * PagedDataSource.cs - FirstIndexInPage : Fixed bug.
6391 * DataGrid.cs - CreateControlHierarchy(bool)
6392 : working towards completion.
6393 - ResolveDataSource(object, string)
6394 : stubbed new method
6396 : stubbed new method
6397 Well. It's almost done.
6398 * DataGridTableInternal.cs
6399 - Added new internal class.
6401 2002-08-28 Gaurav Vaish <gvaish_mono@lycos.com>
6403 * DataSourceInternal.cs - Added new class (internal).
6405 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6408 * HorizontalAlign.cs:
6410 * VerticalAlign.cs: fixes based on class status page.
6412 * HorizontalAlignConverter.cs: implemented.
6413 * VerticalAlignConverter.cs: implemented.
6415 * FontUnitConverter.cs: implemented GetStandardValues ().
6417 * WebColorConverter.cs: implemented ConvertFrom () and ConvertTo ().
6419 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
6421 * DataGrid.cs - AutoCreateColumns: Bug fixes.
6423 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
6425 * DataGrid.cs - AutoCreateColumns: completed, hopefully!
6427 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
6429 * DataGrid.cs - Working on the undocumented protected
6430 method CreateColumnSet. AutoCreateColumns method
6431 stubbed. Left CreateControlHierarchy for the time
6432 being, looks like I'm going insane. ;-)
6434 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
6436 * Button.cs - Steffen's OnCommand bug fix.
6438 2002-08-12 Gaurav Vaish <gvaish_mono@lycos.com>
6440 * DataGrid.cs - Added protected method (skeleton)
6441 CreateColumnSet(PagedDataSource, bool)
6442 Still trying to know how will it be used
6445 2002-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6447 * PagedDataSource.cs: fixed compilation.
6449 2002-08-08 Gaurav Vaish <gvaish_mono@lycos.com>
6451 * DataGrid.cs - Added private method
6452 CreatePagedDataSource
6454 CreateControlHierarchy(bool)
6455 * PagedDataSource.cs - Bug fixed.
6456 CurrentPageIndex is writable.
6458 2002-08-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6460 * DataGrid.cs: fixed typo.
6461 * DataGridPagerStyle.cs: added IsPagerOnTop and IsPagerOnBottom.
6463 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
6465 * DataGridColumn.cs - Added internal methods to get the
6466 various styles (needed in DataGrid.cs)
6467 * DataGrid.cs - Completed the method
6468 PrepareControlHierarchy()
6470 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
6472 * DataGrid.cs - Wokring on PrepareControlHierarchy()
6473 - Added private method
6474 PrepareControlHierarchyForItem()
6476 2002-08-05 Gaurav Vaish <gvaish_mono@lycos.com>
6478 * DataGrid.cs - Completed method
6479 OnBubbleEvent(object, EventArgs)
6481 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6483 * Xml.cs: implemented document/transform load.
6485 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6487 * Calendar.cs: added myself to the list of authors.
6488 * DropDownList.cs: fixed a few properties.
6489 * ListControl.cs: fixed SelectedIndex.
6491 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6493 * Calendar.cs: lots of fixes. Render days. Still left to persist
6494 selected days when changing month.
6496 * Unit.cs: fixed Percentage and Pixel.
6498 * WebControl.cs: a few properties are now using ControlStyle instead
6499 of ViewState to persist.
6501 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6503 * BaseValidator.cs: it works now.
6504 * DataGridColumn.cs: added attribute and made it abstract.
6505 * RequiredFieldValidator.cs: fixed return value in EvaluateIsValid.
6507 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6509 * TextBox.cs: default for Wrap is true.
6510 (OnPreRender): don't save Text if there are no listeners on TextChanged.
6512 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6518 (LoadViewState): fixed.
6520 * ListItemCollection.cs:
6521 (TrackViewState): use items instead of 'this' in foreach.
6524 (LoadViewState): more checking of parameters.
6526 * WebControl.cs: implemented LoadViewState and SaveViewState.
6529 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6531 * ListItem.cs: there was no code to unset the flags!!!
6533 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6535 * FontUnit.cs: use a hashtable for mapping size name to value.
6536 * HyperLink.cs: fixed a bug and a typo.
6537 * Unit.cs: some fixes to internal constructor.
6539 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6541 * ListControl.cs: fixed a couple of range checks.
6542 * WebControl.cs: MS lies! Not all WebControls must be rendered inside
6543 an HtmlForm (p.e., Label).
6545 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6555 * HyperLinkColumn.cs:
6564 * RadioButtonList.cs:
6568 * WebControl.cs: removed attributes added by mistake (i used
6569 GetCustomAttributes (true), d'oh!).
6571 * DataListItem.cs: implemented RenderItem.
6573 * Repeater.cs: implemented CreateItem and InitializeItem.
6575 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6577 * BaseDataList.cs: a couple of fiex and added attributes.
6578 * DataGrid.cs: little fixes.
6580 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6589 * RadioButtonList.cs:
6592 * Xml.cs: forgot to add using System.ComponentModel.
6594 * BaseValidator.cs: use explicitly
6595 System.ComponentModel.AttributeCollection as there is another class
6596 with the same name under System.Web.UI.
6598 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6617 * RadioButtonList.cs:
6622 * Xml.cs: added/fixed all attributes used by xsp.
6624 * BaseValidator.cs: some fixes.
6626 2002-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6629 (AddAttributesToRender): correctly default to border=1.
6631 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6634 (LoadAdFile): make the dictionary null after every iteration.
6638 * ListItem.cs: fixed warnings.
6640 Mon Jul 1 16:23:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
6642 * Style.cs, TableRow.cs, DataListItem.cs: fix compilation.
6644 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6646 * DataGridColumn.cs:
6647 * DataGridPagerStyle.cs:
6654 * ListItemCollection.cs:
6656 * ServerValidateEventArgs.cs:
6660 * Xml.cs: more class status page based changes.
6662 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6665 (.ctor): fixed to render the correct tag.
6666 (IPostBAckEventHandler.RaisePostBackEvent): fixed.
6668 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6671 (AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
6672 WebControl derived classes should be rendered inside a HtmlForm.
6674 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6676 * Repeater.cs: implemented CreateControlHierarchy. Fixed some event
6679 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6681 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
6682 * RepeatInfo.cs: implemented DoHorizontalRendering.
6684 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6686 * System.Web.UI.WebControls/Repeater.cs:
6688 (OnDataBinding): fixed stack overflow.
6690 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6692 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
6693 * RepeatInfo.cs: implemented DoHorizontalRendering.
6695 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6698 (CopyBaseAttributes): copy Attributes and don't throw exception.
6700 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6702 * ListBox.cs: mono-stylized.
6703 (AddAttributesToRender): call parent class method.
6705 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6707 * Style.cs: fixed IsEmpty and Width.
6709 * Table.cs: mono-stylized.
6710 (TableRowControlCollection.AddAt): fixed.
6711 (AddAttributesToRender): fixed.
6713 * TableCell.cs: mono-stylized.
6714 (.ctor): use PreventAutoID.
6715 (AddAttributesToRender): fixed.
6716 (AddParsedSubObject): fixed.
6718 * TableRow.cs: mono-stylized. Added
6719 ParseChildren attribute.
6722 (get_GridLine): fixed.
6724 2002-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6726 * Panel.cs: fixed stack overflow.
6727 * Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
6728 and SingleConverter.
6730 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6732 * RadioButton.cs: mono-stylized and some little fixes.
6734 * TextBox.cs: mono-stylized.
6735 (MaxLength): fixed typo.
6737 (AddAttributesToRender): don't render the text between the tags for
6738 SingleLine, use value attribute for it. Don't render the text for
6741 (OnPreRender): don't throw exception and call base.OnPreRender.
6743 (Render): for MultiLine, render the text between the opening and
6744 closing tags encoded as HTML.
6746 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6749 (AddAttributesToRender): fixer another stack overflow.
6752 (TagName): modified to use TagKey instead of tagKey as the property
6755 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6757 * LinkButton.cs: mono-stylized.
6758 (AddParsedSubObject):
6759 (RenderControls): little fixes.
6762 (AddAttributesToRender): fixed usage of IEnumerator.
6764 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6766 * Literal.cs: beautified.
6768 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6770 * Label.cs: beautified and fixed a couple of 'classic' bugs.
6772 * WebControl.cs: use Span as default tag when no other provided in
6773 constructor. That is what MS renders.
6775 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6778 (AddAttributesToRender): fixed (classic) stack overflow.
6780 * CheckBox.cs: mono-stylized.
6781 (AutoPostBack): fixed stack overflow.
6782 (Render): fixed alignment issues. Also set the For attribute always
6785 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6787 * AdRotator.cs: GetData does not work as it should, but now it returns
6788 useful data (only the first ad in the file). Set the NavigateUrl
6789 property in the hyperlink if available.
6791 * HyperLink.cs: fixed constructor and a couple of stack overflows.
6793 * Image.cs: added an attribute and fixed stack overflow.
6796 (RenderBeginTag): fixed.
6797 (TagName): don't call Enum.IsDefined twice.
6799 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6801 * WebControl.cs: added attributes PersistChildrenAttribute and
6802 ParseChildrenAttribute.
6804 2002-05-24 Duncan Mak <duncan@ximian.com>
6806 * DataGridItem.cs (SetItemType): Changed function signature to
6809 * ListItemCollection.cs (this): Changes the visibility level of
6812 * Repeater.cs (OnItemCommand):
6814 (OnItemDataBound): Added necessary casts.
6816 2002-05-07 Duncan Mak <duncan@ximian.com>
6818 * Button.cs (AddAttributesToRender):
6819 * ImageButton.cs (AddAttributesToRender): Added a missing argument to the
6820 GetClientValidatedEvent method.
6822 2002-03-27 Gaurav Vaish <gvaish@iitk.ac.in>
6824 * Removed extra methods, corrected access modifiers to several
6827 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
6829 * <SeveralFiles>.cs - Added some attributes
6830 * FontUnitConverter.cs - Added stubs for GetStandardValues*(..)
6831 methods. Will complete them later. Right now, busy with
6832 the attributes part.
6833 * RepeaterItem.cs - Completed.
6835 Oh God! Mercy! I will die applying attributes. I look at the missing
6836 part in the class-status - daemon! Kyrie eleison!
6838 2002-03-19 Gaurav Vaish <gvaish@iitk.ac.in>
6842 * AdRotator.cs - Added definition for Font.
6843 * BaseCompareValidator.cs - Added definition for Controls.
6844 * Calendar.cs - SelectMonthText definition corrected.
6845 * DataList.cs - Added definition for SeparatorTemplate.
6846 * BorderStyle.cs - Namespace correction. It belongs not to UI,
6847 but to UI.WebControls.
6849 2002-03-17 Gaurav Vaish <gvaish@iitk.ac.in>
6851 Finally, I have made it. Today I did a second build for the
6852 System.Web assembly. It compiled 195 classes today.
6853 I am waiting eagerly for the runtime to come up so that the objects
6854 may be tested to their last levels. Several of the methods are still
6855 under the tag of "TODO" throwing NotImplementedException. Well, I
6856 hope to remove them soon, but how far is this soon - even I don't
6857 know, though I am happy to make the build a success even before
6858 the vacations to come.
6860 2002-03-07 Gaurav Vaish <gvaish@iitk.ac.in>
6862 Yesterday and today I tried to do some building of the aseembly,
6863 but was dumped with uncoutably infinite errors. ;-)
6864 I have put the copies of the recent errors on my home page, want
6865 to have a look at them? See:
6866 http://mastergaurav.virtualave.net/mono/
6867 I don't know what to do with these errors. Oh! The buggy me! How
6868 will I overcome myself. Hopefully, by when my vacations over, I
6869 should have made a repository where the build will not fail.
6871 2002-03-05 Gaurav Vaish <gvaish@iitk.ac.in>
6873 I am now going to do a build that will include the
6874 System.Web.UI.WebControls namespace. Hoping that I will make it
6875 soon. My exams are coming near and I have to pack up soon.
6878 2002-03-04 Gaurav Vaish <gvaish@iitk.ac.in>
6881 And with this, ie, today's work, all the objects mentioned in the
6882 namespace appear in the implementation. But it may not be worth
6883 trying to go for a build because of dependence of several of the
6884 internal methods that may clash with already available assembly
6887 Also, the classes lack possible attributes, like those informing
6888 about child-controls etc. But I have to first create the attribute
6889 classes before I attach the attributes to the classes.
6891 * CustomValidator.cs - Completed. In process realized that
6892 I have to complete / rejuvinate BaseValidator class.
6893 * BaseValidator.cs - Complete rejuvination. Completed 80%
6894 of the job. All that is left is Render(HtmlTextWriter),
6895 DetermineRenderUplevel(), RegisterValidatorCommonScript()
6896 RegisterValidatorDeclaration()
6897 * DataGridPagerStyle.cs - Completed. That adds one more missle
6899 * DataKeyCollection.cs - Completed. Petty small.
6900 * Repeater.cs - Work started off. This is a quite
6902 * DataGridItemEventArgs.cs,
6903 * DataGridShortCommandEventArgs.cs,
6904 * DataListItemEventArgs.cs,
6905 * MonthChangedEventArgs.cs,
6906 * RepeaterItemEventArgs.cs,
6907 * ServerValidateEventArgs.cs,
6908 * DataGridPageChangedEventArgs.cs
6909 - Damn, I marked them "*", while they
6911 * Repeater.cs - Done all except for an undocumented
6912 method CreateControlHierarchy(bool). Though the method
6913 is quite clear by its name, but it will take some time
6914 for me to come with some material to flush in.
6916 2002-03-03 Gaurav Vaish <gvaish@iitk.ac.in>
6918 * SelectedDatesCollection.cs - Completed.
6919 * PagedDataSource.cs - Completed. Pathetically nice class.
6920 * RegularExpressionValidator.cs
6921 - Completed. Ridiculously small and
6922 annoyinglyc crazy-driving class, basically the method
6924 * RangeValidator.cs - Completed.
6925 * DataGridColumn.cs - Completed.
6926 * EditCommandColumn.cs - All is complete except for the
6927 InitializeCell(TableCell, int, ListItemType) method.
6928 * DataListItem.cs - All done except for a longish method
6929 RenderItem(HtmlTextWriter, bool, bool)
6931 2002-03-02 Gaurav Vaish <gvaish@iitk.ac.in>
6933 * RepeaterItemCollection.cs - Completed.
6934 I love *Collection classes. I am planning to make a
6935 program that will generate a *Collection class. It's so
6936 simple and the same. ;-)
6937 * DataGridColumnCollection.cs - Completed.
6938 ... except probably for *ColumnCollection classes, where
6939 you have to put in some more effort. Still, these class
6940 generation can be automated.
6941 * DataListItemCollection.cs - Completed.
6942 See, how easily, in less than a quarter of a minute, I
6943 completed this class - manually. Copy-Paste/Cut-Replace.
6945 2002-02-21 Gaurav Vaish <gvaish@iitk.ac.in>
6947 * DataGrid.cs - Following methods implemented:
6948 TrackViewState(), LoadViewState(object), SaveViewState(),
6949 On* -- The event raisers.
6950 OnBubbleEvent(object, EventArgs) is still incomplete.
6951 * DataGridItem.cs - Initial Implementation
6952 * DataGridItemCollection.cs - Completed.
6954 2002-02-08 Gaurav Vaish <gvaish@iitk.ac.in>
6956 * DataGrid.cs - Initial Implementation. Worked
6957 primarily with some properties.
6959 2002-02-07 Gaurav Vaish <gvaish@iitk.ac.in>
6961 * ListBox.cs - Completed. Implemented
6962 LoadPostData(string, NameValueCollection)
6963 * RequiredFieldValidator.cs - Completed. Pretty simple class.
6965 2002-02-06 Gaurav Vaish <gvaish@iitk.ac.in>
6967 * ListBox.cs - Implemented the following:
6968 RaisePostDataChangedEvent()
6970 2002-02-02 Gaurav Vaish <gvaish@iitk.ac.in>
6972 * ListBox.cs - Supports the following properties:
6973 BorderColor, BorderStyle, BorderWidth, Rows, SelectionMode,
6976 AddAttributesToRender(HtmlTextWriter), OnPreRender(EventArgs),
6977 RenderContents(HtmlTextWriter)
6980 2002-02-01 Gaurav Vaish <gvaish@iitk.ac.in>
6982 * TargetConverter.cs - Completed
6983 * TemplateColumn.cs - Completed
6984 * DataList.cs - Corrected the get-er methods for the
6985 *Style objects. Corrected the get/set-er methods for ViewState
6987 Addded support for properties:
6988 GridLines, HeaderStyle, HeaderTemplate, ItemStyle, ItemTemplate,
6989 RepeatColumns, RepeatDirection, RepeatLayout, SelectedIndex,
6990 SelectedItem, SelectedItemStyle, SelectedItemTemplate,
6991 SeparatorStyle, SeparatorItemTemplate.
6993 CancelCommand, DeleteCommand, EditCommand, ItemCommand,
6994 ItemCreated, ItemDataBound, UpdateCommand.
6996 CreateControlStyle(), LoadViewState(object),
6997 SaveViewState(), TrackViewState
6999 OnBubbleEvent, OnCancelCommand, OnDeleteCommand,
7000 OnEditCommand, OnItemCommand, OnItemCreated,
7001 OnItemDataBound, OnUpdateCommand
7002 Added dummy methods for some undocumented methods:
7003 CreateControlHierarchy(bool), CreateItem(int, ListItemType),
7004 CreateItem(int, ListItemType, bool, object),
7005 PrepareControlHierarchy(), InitializeItem(DataListItem)
7006 * ListBox.cs - Started working.
7010 2002-01-31 Gaurav Vaish <gvaish@iitk.ac.in>
7012 * RepeaterInfo.cs - Initial Implementation. Done all
7013 except for RepeatDirection.Vertical
7014 * TableStyle.cs - Completed
7016 2002-01-30 Gaurav Vaish <gvaish@iitk.ac.in>
7018 * DropDownList.cs - Completed
7019 * ListItemCollection.cs - Added method FindByValueInternal to
7020 assist in the derived classes.
7021 Discovered bug in FindByValue. Removed
7022 * UnitConverter.cs - Completed
7023 * PlaceHolder.cs - What can be simpler than this?
7024 * PlaceHolderControlBuilder.cs
7025 - Uh! Damn cool one.
7026 * RadioButtonList.cs - Initial Implementation. All is done
7027 except for the implementation of
7028 method IRepeatInfoUser.RenderItem(...)
7029 * ValidatedControlConverter.cs
7030 ^^^^^^^^^^^^^^^^^^^^^^^^^ - Looks complete. Doubtful though !!
7031 * ValidationSummary.cs - Initial Implementation.
7032 * WebColorConverter.cs - Initial Implementation
7034 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
7036 * FontNamesConverter.cs - Completed
7037 * FontUnitConverter.cs - Partial Implementation
7038 * ListItemControlBuilder.cs - Completed
7040 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
7042 * TextBox.cs - All done except *Render* methods
7043 * TextBoxControlBuilder.cs - Completed
7044 * Xml.cs - Partial Implementation
7046 2002-01-26 Gaurav Vaish <gvaish@iitk.ac.in>
7048 * RadioButton.cs - Completed
7049 * TextBox.cs - Partial Implementation
7051 2002-01-25 Gaurav Vaish <gvaish@iitk.ac.in>
7053 * Panel.cs - Completed
7054 * TableItemStyle.cs - Completed
7056 2002-01-18 Gaurav Vaish <gvaish@iitk.ac.in>
7058 * TableCellCollection.cs - Completed
7059 * TableRowCollection.cs - Completed
7060 * TableHeaderCell.cs - Completed
7061 * TableRow.cs - Completed
7063 2002-01-09 Gaurav Vaish <gvaish@iitk.ac.in>
7065 * TableCellControlBuilder.cs - Completed
7066 * Table.cs - Completed
7067 * TableCell.cs - Completed
7069 2002-01-07 Gaurav Vaish <gvaish@iitk.ac.in>
7071 * CheckBoxList.cs - Completed
7072 * ButtonColumn.cs - Completed
7073 * Button.cs - Completed
7075 2001-12-28 Gaurav Vaish <gvaish@iitk.ac.in>
7077 * HyperLink.cs - Completed
7078 * Image.cs - Completed
7079 * ImageButton.cs - Completed
7080 * Label.cs - Completed
7081 * LabelControlBuilder.cs - Completed
7082 * LinkButton.cs - Completed
7083 * LinkButtonControlBuilder.cs - Completed
7084 * Literal.cs - Completed
7085 * LieteralControlBuilder.cs - Completed
7086 * FontUnit.cs - Completed
7089 2001-12-27 Gaurav Vaish <gvaish@iitk.ac.in>
7091 * Calendar.cs - Completed the functions of Render*,
7092 ViewStates (Track/View/Save),
7094 Left: RenderAllDays (partially)
7096 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
7098 * Calendar.cs - Added some more functions
7099 * Style.cs - Completed
7100 * ListItem.cs - Completed
7101 * ListItemCollection.cs - Completed
7103 Made the first successful build of System.Web.dll that included
7104 System.Web.UI.WebControls!
7106 2001-12-20 Gaurav Vaish <gvaish@iitk.ac.in>
7108 FontInfo.cs - Complete revamp. Completed
7110 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
7112 ListItemCollection.cs - Completed
7113 ListItem.cs - Initial Implementation
7114 Style.cs - Initial Implementation
7116 Right now I am in a total mood to do a successful build. Creating so many
7117 classes, completing classes in System.Web System.Web.UI namespaces.
7119 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
7121 TODO - Properly added
7122 CheckBox.cs - Completed
7123 BaseDataList.cs - Completed
7124 DayRenderEventArgs.cs - Completed
7125 RepeaterItem.cs - Initial implementation
7127 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
7129 BaseCompareValidator.cs - Completed
7130 AdRotator.cs - Completed
7132 2001-12-15 Gaurav Vaish <gvaish@iitk.ac.in>
7134 CommandEventArgs.cs - Completed
7135 DataGridCommandEventArgs.cs - Completed
7136 RepeaterCommandEventArgs.cs - Completed
7137 DataListCommandEventArgs.cs - Completed
7138 CompareValidator.cs - Partial Implementation
7140 2001-12-02 Gaurav Vaish <gvaish@iitk.ac.in>
7142 CheckBoxList.cs - Partial Implementation.
7145 2001-12-01 Gaurav Vaish <gvaish@iitk.ac.in>
7147 ListControl.cs - Completed
7149 2001-11-30 Gaurav Vaish <gvaish@iitk.ac.in>
7151 CheckBox.cs - Completed
7152 ListControl.cs - Initial Implementation
7153 CheckBoxList.cs - Started with it, but first needed
7154 ListControl. Left it.
7156 2001-11-29 Gaurav Vaish <gvaish@iitk.ac.in>
7158 CalendarDay.cs - Making a note that this
7159 has been implemented
7160 Calendar.cs - Making a note that have made some changes.
7161 Unimplmented functions throw
7162 NotImplementedException
7163 CheckBox.cs - Can now "Render" and "LoadPostData"
7166 2001-11-08 Gaurav Vaish <gvaish@iitk.ac.in>
7167 WebControl.cs - Total Revamp, Partial Implementation
7168 AdRotator.cs - Able to load files
7169 AdCreatedEventArgs.cs - Implemented
7171 2001-11-05 Gaurav Vaish <gvaish@iitk.ac.in>
7172 Calendar.cs - Initial Implementation
7173 ButtonColumn.cs - Initial Implementation
7174 Button.cs - Initial Implementation
7175 BoundColumn.cs - Initial Implementation
7176 BaseCompareValidator.cs - Minor Changes
7177 DataList.cs, BaseValidator.cs, BaseDataList.cs
7178 - Added more functions, other changes
7180 2001-10-28 Gaurav Vaish <gvaish@iitk.ac.in>
7181 WebControl.cs - Initial Implementation
7182 DataList.cs - Initial Implementation
7183 BaseValidator.cs - Initial Implementation
7184 BaseDataList.cs - Initial Implementation
7186 2001-10-27 Gaurav Vaish <gvaish@iitk.ac.in>
7188 AdCreatedEventArgs.cs - Initial Implementation
7189 AdCratedEventHandler.cs - Implemented
7190 AdRotator.cs - Initial Implementation
7191 BorderStyle.cs - Implemented
7192 ButtonColumnStyle.cs - Implemented
7193 CalendarSelectionMode.cs - Implemented
7194 DayNameFormat.cs - Implemented
7195 FirstDayOfWeek - Implemented
7196 FontInfo.cs - Partial Implementation
7197 FontSize.cs - Implemented
7198 GridLines.cs - Implemented
7199 HorizontalAlign.cs - Implemented
7200 HyperLink.cs - Initial Implementation
7201 ImageAlign.cs - Implemented
7202 IRepeatInfoUser.cs - Implemented
7203 ListItemType.cs - Implemented
7204 ListSelectionMode.cs - Implemented
7205 NextPrevFormat.cs - Implemented
7206 PagerMode.cs - Implemented
7207 PagerPosition.cs - Implemented
7208 RepeatDirection.cs - Implemented
7209 RepeatLayout.cs - Implemented
7210 TextAlign.cs - Implemented
7211 TextBoxMode.cs - Implemented
7212 TitleFormat.cs - Implemented
7213 UnitType.cs - Implemented
7214 ValidationCompareOperator.cs
7216 ValidationDataType.cs - Implemented
7217 ValidationSummaryDisplayMode.cs
7219 ValidatorDisplay.cs - Implemented
7220 VerticalAlign.cs - Implemented
7224 i/ File Created 2001-11-13