1 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
3 * DetailsView.cs: fixed: considers DataControlField.InsertVisible.
5 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
7 * DetailsView.cs: fixed: CurrentMode property.
9 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
11 * DetailsView.cs: fixed: current state are not changed during paging.
13 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
15 * DetailsView.cs: fixed:
16 in Insert mode Select not invoked from DataSource
18 2006-10-18 Konstantin Triger <kostat@mainsoft.com>
20 * ObjectDataSourceView.cs: use Type.GetType for loading full qualified types.
22 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
24 * FormView.cs: fixed: CreateDataSourceSelectArguments method.
25 (corresponding test does not work because bug in ObjectDataSourceView)
27 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
29 * DataBoundControl.cs: fixed: DataBind calls
30 CreateDataSourceSelectArguments() and stores result in SelectArguments
32 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
36 fixed: EnablePagingCallbacks feature.
37 when postback is invoked after callback control state is restored
40 2006-10-17 Vladimir Krasnov <vladimirk@mainsoft.com>
42 * SqlDataSource.cs, SqlDataSourceView.cs: redesign and bug fixes
44 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
46 * DetailsView.cs: fixed: CreateDataSourceSelectArguments method.
47 (corresponding test does not work because bug in ObjectDataSourceView)
49 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
51 * GridView.cs: fixed: EnableSortingAndPagingCallbacks feature.
52 when postback is invoked after callback control state is restored
55 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
57 * GridView.cs: fixed: Sorting feature.
58 When sorting EditIndex and PageIndex are reseted
60 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
62 * GridView.cs: fixed: Sorting feature.
63 CreateDataSourceSelectArguments considers SortExpression and SortDirection.
64 (corresponding test does not work because bug in ObjectDataSourceView)
66 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
69 CreateDataSourceSelectArguments works according to MSDN.
70 (corresponding test does not work because bug in ObjectDataSourceView)
72 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
74 * ObjectDataSourceView.cs: fixed:
75 CanRetrieveTotalRowCount returns true if EnablePaging = false
77 2006-10-10 Igor Zelmanovich <igorz@mainsoft.com>
79 * DataBoundControl.cs: fixed: DataBind flow
80 CreateDataSourceSelectArguments() is called
81 each time as DataBind() is called
83 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
85 * BoundField.cs: implemented ValidateSupportsCallback().
87 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
89 * CommandField.cs: ValidateSupportsCallback(): exception's message.
91 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
93 * FormView.cs: fixed: CurrentMode property.
95 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
101 reverted r66222, problem solved in r66283: command buttons inherit ForeColor
103 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
105 * Image.cs: write 'alt' after 'src' so that the HyperLink test do not
108 2006-10-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
110 * HyperLink.cs: don't render the img tag 'by hand' but use an Image
111 instead, which takes care of the 0/0px case. Also set the ToolTip
112 property. Fixes bug #79585.
114 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
116 * DetailsView.cs: optimization for previous patch
118 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
120 * FormView.cs: optimization for previous patch
122 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
126 implemented PrepareControlHierarchy()
127 styles are applied correct
129 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
132 implemented PrepareControlHierarchy()
133 styles are applied correct
135 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
138 * DataControlButton.cs:
139 * DataControlField.cs:
140 implemented PrepareControlHierarchy()
141 styles are applied correct
142 command buttons inherit ForeColor
144 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
146 * WebControl.cs: fixed: CreateControlStyle()
148 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
154 corrected pager rendering: Color style applied to A tag,
155 Input type="image" used if ImageUrl is not empty.
157 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
159 * GridView.cs: corrected rendering
160 * ContainedTable.cs: added new helper class
162 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
164 * FormView.cs: fixed:
165 in Insert mode Select not invoked from DataSource
167 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
169 * FormView.cs: fixed:
170 Pager is not shown when page count < 1
171 in Edit mode use EmptyDataTemplate if there is no DataItem
172 when page changed FormView stays in current state.
174 2006-09-28 Igor Zelmanovich <igorz@mainsoft.com>
176 * FormView.cs: fixed: OnBubbleEvent works properly
178 2006-09-25 Igor Zelmanovich <igorz@mainsoft.com>
180 * DataBoundControl.cs: fixed: DataBind flow
181 GetData return "empty" DataSourceView when no DataSource and DataSourceID
182 was assigned to cause PerformDataBinding be called.
184 2006-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
186 * DataList.cs: use ExtractTemplateRows to determine if the style is
187 applied to the Table in a template or to its rows. Fixes bug #78058.
189 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
191 * ListBox.cs: if the list is not enabled, don't require a postback.
194 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
196 * HyperLink.cs: don't output the nabvigate url if disabled.
197 * LinkButton.cs: always call base.AddAttributesToRender(). Don't output
198 the link URL if disabled.
201 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
203 * RadioButtonList.cs:
204 make it to consider CausesValidation and ValidationGroup properties
206 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
209 make it to consider CausesValidation and ValidationGroup properties
211 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
214 Page.Validate() is called when CausesValidation=true
216 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
219 make onclick attribute to consider ValidationGroup property.
221 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
224 make rendering of the href attribute to consider ValidationGroup property.
225 Page.Validate() is called when CausesValidation=true
227 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
230 make rendering of the onchange attribute to consider ValidationGroup
232 Page.Validate() is called when CausesValidation=true
234 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
237 make rendering of the onclick attribute to consider ValidationGroup property
238 Page.Validate() is called when CausesValidation=true
240 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
243 VewState saving and restoring rolled back to 1.1 implementation
244 (fixed corresponding test), corrected public interface (there are no
245 overriden methods SaveControlState, LoadControlState and OnInit),
246 implemented CausesValidation and ValidationGroup properties.
248 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
251 make rendering of the onclick attribute to consider ValidationGroup property
252 Page.Validate() is called when CausesValidation=true
254 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
257 implemented: RaisePostBackEvent,
258 refactoring: GetPostBackOptions used to build onclick client event
260 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
262 * ImageButton.cs: implemented IButtonControl.Click, RaisePostBackEvent
264 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
266 * BaseValidator.cs: implemented ValidationGroup feature on client side
267 * ValidationSummary.cs:
269 2006-09-12 Igor Zelmanovich <igorz@mainsoft.com>
271 * TreeView.cs: corrected rendering
274 2006-09-11 Konstantin Triger <kostat@mainsoft.com>
276 * Login.cs: ensure the urls are correctly resolved.
278 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
280 * TreeView.cs: corrected rendering: styles are applied correct
284 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
286 * TreeView.cs: corrected rendering: HoverNodeStyle works
290 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
292 * TreeNodeStyle.cs: fixed: ViewState restored properly
294 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
299 * DataGridPagerStyle.cs:
300 refactoring: makes Style class more flexible for inheriting and reuse
302 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
304 * TreeView.cs: fixed: for PopulateOnDemand nodes expanded and checked
305 state restored correct on PostBack.
308 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
310 * ObjectDataSourceView.cs: correctly find the type when it is not in the
311 executing assembly. Fixes bug #78321. Patch by Marek Habersack.
313 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
315 * ControlParameter.cs: fix search for controls so that they use their
316 NamingContainer, not the Page. Patch by Marek Habersack that fixes
319 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
321 * Login.cs: fix problem with the login control and master pages.
322 Patch by Marek Habersack that fixes bug #78219.
324 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
326 * TreeView.cs: fixed: populating nodes.
329 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
331 * TreeNode.cs: fixed: ToggleExpandState.
333 2006-09-07 Andrew Skiba <andrews@mainsoft.com>
335 * SqlDataSourceView.cs: return DataView from ExecuteSelect when
336 DataSourceMode is DataSet.
338 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
340 * TreeView.cs: fixed: populating nodes flow.
341 * TreeNodeCollection.cs
344 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
346 * TreeNodeCollection.cs: fixed: ViewState saved and restored correct.
348 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
350 * TreeView.cs: corrected rendering: RenderBeginTag, RenderEndTag.
352 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
354 * TreeView.cs: fixed: when specified value is not one of
355 the TreeNodeTypes values exception is threw.
357 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
359 * TreeView.cs: fixed: when specified image set is not one of
360 the TreeViewImageSet values exception is threw.
362 2006-09-05 Igor Zelmanovich <igorz@mainsoft.com>
364 * TreeNodeStyleCollection.cs: fixed: ViewState saved and restored correct.
366 2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
368 * Style.cs: implemented SetBit().
370 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
372 * CompareValidator.cs: fixed controltocompare attribute.
374 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
377 when login attempt was not successful FailureText is shown.
379 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
381 * CreateUserWizard.cs: fixed: InvalidPasswordErrorMessage
382 is formatted correct.
384 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
386 * CreateUserWizard.cs:
387 * CompleteWizardStep.cs:
388 * CreateUserWizardStep.cs:
390 fixed: ContinueButtonClick occurs when the user clicks
391 the Continue button in the final user account creation step.
392 ContinueDestinationPageUrl - redirected after clicking
393 the Continue button on the success page.
395 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
397 * Wizard.cs: refactoring: Button, ImageButton and LinkButton are used
398 insted internal DataControlButton.
400 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
402 * Button.cs: implemented GetPostBackOptions + refactoring
404 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
406 * ImageButton.cs: implemented 2.0 features
407 OnClientClick attached to onclick attribute.
408 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
409 generate onclick attribute.
411 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
413 * LinkButton.cs: typo fix
415 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
417 * Button.cs: refactoring
419 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
421 * LinkButton.cs: implemented 2.0 features
422 OnClientClick attached to onclick attribute.
423 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
426 2006-08-29 Igor Zelmanovich <igorz@mainsoft.com>
428 * Button.cs: implemented 2.0 features
430 2006-08-28 Igor Zelmanovich <igorz@mainsoft.com>
432 * Menu.cs: refactoring
435 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
437 * TreeView.cs: fixed data binding
439 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
441 * TreeNodeBinding.cs: fixed ToString method
443 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
445 * MenuItem.cs: typo fix
447 2006-08-27 Vladimir Krasnov <vladimirk@mainsoft.com>
449 * CreateUserWizardStep.cs: fixed validators message display
451 2006-08-25 Kornél Pál <kornelpal@gmail.com>
453 * FileUpload.cs: Use assembly name constants.
455 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
457 * TemplateField.cs: fixed ExtractValuesFromCell, .net aspx parser not
458 always creates ExtractTemplateValuesMethod delegate
460 2006-08-24 Igor Zelmanovich <igorz@mainsoft.com>
462 * TreeNodeBinding.cs: corrected public interface
465 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
467 * TextBox.cs: fix for bugs #76771 and #79020. A test breaks for the 2.0
468 case, but there are many others.
470 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
472 * Menu.cs: corrected rendering of static and dynamic items
475 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
479 fixed: AddAttributesToRender method calls FillStyleAttributes,
480 text styles applied correct.
482 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
485 fixed: when removed the names from the bag also removed FontStyles.Names flag from fontstyles.
486 refactoring: Name and Names properties has same source in bag.
488 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
490 * Style.cs: restored r63894: for 1.x is refactoring only
492 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
495 fixed: CopyFrom and MergeWith behave differently between 1.1 and 2.0.
496 added ClearDefaults method for 2.0.
498 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
500 * ObjectDataSourceStatusEventArgs.cs: ExceptionHandled default value
503 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
505 * SubMenuStyle.cs: fixed:
506 Unit.ToString() already include unit (e.g. "3px")
508 2006-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
511 * ChangeLog: revert r63894. It modified the 1.x profile, it wasn't
512 submitted for review and it only added tests for the 2.0 profile.
514 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
516 * FormView.cs: added explicit implementation of
517 IDataItemContainer.DataItemIndex, as documented
519 2006-08-17 Igor Zelmanovich <igorz@mainsoft.com>
522 When style is registered with StyleSheet AddAttributesToRender method
523 adds class attribute but not style to writer
525 2006-08-15 Igor Zelmanovich <igorz@mainsoft.com>
528 OnBubleEvent works properly - controls like Button, LinkButton nested into template
529 can raise MenuItemClick event,
530 ViewState of Items saved and restored properly.
532 2006-08-14 Andrew Skiba <andrews@mainsoft.com>
534 * TableStyle.cs: replace ResolveUrl with ResolveClientUrl to match
537 2006-08-14 Igor Zelmanovich <igorz@mainsoft.com>
539 * Menu.cs: fixed databinding feature:
540 ensure that items initialization occurs only once
542 2006-08-10 Igor Zelmanovich <igorz@mainsoft.com>
544 * Menu.cs, MenuItem.cs: fixed databinding feature
546 2006-08-09 Robert Jordan <robertj@gmx.net>
548 * DataControlButton.cs, Image.cs, AdRotator.cs, HyperLink.cs:
549 replace ResolveUrl with ResolveClientUrl to match MS.NET's
550 behaviour. Fixes bug #77539.
552 2006-08-09 Igor Zelmanovich <igorz@mainsoft.com>
554 * HierarchicalDataBoundControl.cs: fixed DataBind flow
556 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
562 * WebControl.cs: fixed ParseChildren attribute to be compliant
565 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
567 * MultiView.cs: fixed: EnableTheming property
569 2006-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
573 * TreeView.cs: Patch by Marek Habersack that fixes bug #78968 take 2.
575 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
577 * Style.cs: fixed restoring FontInfo from ViewState
579 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
581 * XmlDataSource.cs: implemented caching functionality
583 2006-07-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
585 * PagerSettings.cs: Fixed the pager range calculation formula. The old
586 one didn't work with more than 20 pages. Patch by Marek Habersack that
589 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
591 * FormView.cs: fixes to make Render more similar to dotnet.
593 2006-07-30 Vladimir Krasnov <vladimirk@mainsoft.com>
595 * Wizard.cs: fixed return value of OnBubbleEvent
597 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
599 * FormView.cs: init BottomPagerRow.ItemIndex with 0; gracefully
600 handle null result of GetData().
602 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
604 * FormView.cs: use TableStyle for ControlStyle.
606 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
608 * FormView.cs: save DataKeyNames and DefaultMode in ControlState.
610 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
612 * FormView.cs: init DataKeys and fix null reference.
614 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
616 * TreeView.cs: several changes to improve compatibility with MS.
617 Patch by Marek Habersack that fixes bug #77551.
619 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
621 * Style.cs: output the text-decoration value even when it is 'none'.
622 Patch by Marek Habersack that fixes bug #78968.
624 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
626 * FormView.cs: initialize PageCount with 0; fix IsBindableType to
629 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
631 * DetailsViewRowCollection.cs: returns this in SyncRoot.
633 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
635 * FormView.cs: throw ArgumentOutOfRange exception on bad CellSpacing
638 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
640 * ObjectDataSource.cs: add doc and fix usage of MergeParameterValues
642 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
644 * AutoGeneratedField.cs: fix the internal constructor according to test
645 DetailsView_CreateAutoGenerateRow.
647 2006-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
649 * XmlDataSource.cs: implemented XSLT, removed properties from
651 * XmlDataSourceView.cs: fixed default xpath
653 2006-07-26 Andrew Skiba <andrews@mainsoft.com>
655 * DetailsView.cs: fix IsBindableType in accordance with MSDN and tests.
657 2006-07-25 Vladimir Krasnov <vladimirk@mainsoft.com>
659 * Wizard.cs: fixed ActiveStep property
660 fixed templated side bar
662 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
664 * ImageField.cs: fix null reference bug.
666 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
668 * DetailsView.cs: init DataKey property with empty collection.
669 * DataKey.cs: fix unexpected exception bug.
670 * DataControlField.cs: override ToString according to MSDN.
672 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
674 * DetailsView.cs: create table style in CreateControlStyle.
676 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
678 * DetailsView.cs: don't throw the exception which .Net does not throw.
680 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
682 * DetailsView.cs: save DefaultMode and DataKeyNames in control state,
683 to match .Net; fix PageCount to match record count.
685 2006-07-24 Vladimir Krasnov <vladimirk@mainsoft.com>
687 * Menu.cs: fixed properties default values, fixed rendering
690 2006-07-23 Vladimir Krasnov <vladimirk@mainsoft.com>
692 * Wizard.cs: implemented SkipLinkText, TagKey
693 fixed rendering bugs, fixed templated button bar rendering
694 fixed side bar rendering
695 * WizardStepBase.cs: fixed Name property
697 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
699 * DetailsView.cs: fix the regressions, caused by the previous commit.
701 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
703 * DetailsView.cs: correct handling the different default values of
704 DetailsView.CellSpacing and Table.CellSpacing.
706 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
708 * DetailsView.cs: create a pager row when needed.
710 2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
714 * PagedDataSource.cs:
717 * LinkButton.cs: implement GetPostBackOptions for the 2.0 controls that
718 support it. The GridView control will no longer throw an exception when
719 rendered in the paging mode. Patch by Marek Habersack. Fixes bug #78288.
721 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
723 * DetailsView.cs: many fixes: initialize PageCount with 0; initialize
724 Rows with empty collection; call EnsureChildControls from get Row;
725 NullReference in DeleteItem; fix RenderGrid (ideas from GridView);
726 implemented IPostBackContainer.GetPostBackOptions.
728 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
730 * DetailsView.cs: create HeaderRow and FooterRow even when HeaderText
731 and FooterText are empty, to match .NET. Otherwise we have NullReference
734 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
736 * DetailsView.cs: Render fix.
738 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
740 * BoundField.cs: don't call DataBinder.GetPropertyValue with empty
743 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
745 * DetailsView.cs: NullReferenceException fix
747 2006-07-20 Vladimir Krasnov <vladimirk@mainsoft.com>
749 * PagerSettings.cs: implemented PropertyGhanged event
751 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
753 * DetailsView.cs: throw ArgumentOutOfRangeException for compatibility
754 with .Net; don't throw NotImplemented when base class implementation
757 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
759 * DetailsViewPagerRow.cs: add a stub for this class
761 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
763 * GridView: fixed DataKeyNames property, moved to ControlState
764 fixed PageCount property, initial PageCount ahould be zero
765 fixed SelectedDataKey, should throw exception if not initialized
766 fixed CreateColumns, wrong order of columns
767 fixed CreateControlStyle,
768 fixed InitializePager, no columnspan attrib on only one column
769 fixed LoadControlState, SaveControlState added DataKeyNames
770 fixed Render, RenderGrid should render within div tag
771 implemented GetPostBackOptions
772 * DataControlButton.cs: fixed Render, fixed style for img button
774 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
776 * CheckBoxField.cs: fixed InitializeDataCell, tooltip only in edit
779 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
781 * CommandField.cs: fixed ValidateSupportsCallback
783 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
785 * Image.cs: prepare to use HttpBrowserCapabilities. Does not
788 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
790 * SiteMapPath.cs: fixes for SiteMapPathTest.Render_xxx tests.
792 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
794 * WebControl.cs: fix for AddAttributesToRender - add display
795 style when appropriate
797 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
799 * CommandField.cs: fixed InitializeCell, wrong order of command
801 * ImageField.cs: image field with null src and ConvertEmptyStringToNull
802 should be rendered as label
803 * BoundField.cs: empty null value should be rendered as nbsp
804 * GridViewRowCollection.cs: fixed SyncRoot
806 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
808 * SiteMapPath.cs: create Literal instead of Label according to the
809 MSDN and test SiteMapPath_InitializeItem.
811 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
813 * Style.cs: BorderStyle should be added if BorderWidth greater than 0
814 * Image.cs: in 2.0 there is no border attribute, but border-width
817 2006-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
819 * Button.cs: always render the 'name' attribute. Fixes bug #78746.
821 2006-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
823 * DataList.cs: correctly initialize editable items when there's an
824 EditItemTemplate. Patch by Jarosław Pawlak.
826 2006-07-13 Juraj Skripsky <js@hotfeet.ch>
828 * CheckBox.cs (LoadPostData): the value of a disabled checkbox remains
831 2006-07-13 Vladimir Krasnov <vladimirk@mainsoft.com>
833 * BulletedList.cs: fixed Render, RenderBulletText, various properties
834 * ListItem.cs, ListItemCollection.cs: added Enabled property that is
837 2006-07-12 Vladimir Krasnov <vladimirk@mainsoft.com>
839 * MultiView.cs: 'initied' state variable was changed to views count in
840 the views collection.
842 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
844 * AutoGeneratedField.cs: fixed InitializeDataCell, autogenerated
845 checkbox should have tooltip
846 * HyperLinkField.cs: fixed InitializeCell, should create link control
847 only in data cell (not in header or footer), initialization of
849 * ImageField.cs: fixed InitializeDataCell, initialization of
852 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
854 * MultiView.cs: removed exception throwing from ActiveViewIndex
856 2006-07-11 Konstantin Triger <kostat@mainsoft.com>
858 * DataControlFieldCollection.cs: added OnClearComplete override;
859 refactor to eliminate null reference exception.
861 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
863 * MultiView.cs: fixed ActiveViewIndex, AddParsedSubObject
864 * View.cs: fixed Visible property
866 2006-07-09 Konstantin Triger <kostat@mainsoft.com>
868 * ImageField.cs: fixing .net compliancy.
870 2006-07-10 Andrew Skiba <andrews@mainsoft.com>
872 * SiteMapPath.cs: fix the default PathSeparator value.
874 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
876 * GridView.cs: always create Header/Fotter rows, but render only when
877 ShowHeader/Footer is true. Compute Header/Footer rows from rows
879 * CheckBoxField.cs: add override to ApplyFormatInEditMode,
880 add ToolTip and Text to the created CheckBox,
881 wrap exception thrown in OnDataBindField in httpException.
883 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
885 * DataControlField.cs,BoundField.cs: bug fixes found by BoundFieldTest.
887 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
889 * DataControlField.cs: correct handling empty header/footer text.
890 * TemplateField.cs: correct initialization according to
893 2006-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
895 * Wizard.cs: added functionality for Templated WizardStep
897 * added CompleteWizardStep.cs, CreateUserWizard.cs,
898 CreateUserWizardStep.cs, TemplatedWizardStep.cs
900 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
902 * AutoGeneratedField.cs: correcting default dataType.
904 2006-07-03 Vladimir Krasnov <vladimirk@mainsoft.com>
906 * DataControlField.cs: fixed Initialize, should always return false
908 2006-07-03 Lluis Sanchez <lluis@novell.com>
910 * BoundField.cs: Fix setter for HtmlEncode (it was setting always True).
912 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
914 * DataBoundControl.cs: implement MarkAsDataBound and consider it while
915 setting RequiresDataBinding in OnLoad event.
916 * GridView.cs: DataBind rows before other control can access the data.
917 * BoundField.cs: add unique ID to control for postback parameters.
919 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
921 * WebControl.cs: fix typo in EnableTheming.
923 2006-07-02 Konstantin Triger <kostat@mainsoft.com>
925 * MenuItemCollection.cs: save items if the collection is dirty.
926 * MenuItem.cs: During data binding: initialize Text and invoke binding recoursively.
927 Add item to collection before binding to let the state be correctly tracked.
928 * Menu.cs: Add item to collection before binding to let the state be correctly
931 2006-06-28 Juraj Skripsky <js@hotfeet.ch>
933 * RegularExpressionValidator.cs (EvaluateIsValid): wrap regex to
934 test against with "^...$" if necessary. MS.NET does this too.
936 2006-06-28 Vladimir Krasnov <vladimirk@mainsoft.com>
938 * WizardStepCollection.cs: Fixed Add methods to initialize
939 WizardStep.Wizard property
940 * Wizard.cs: Fixed ActiveStepIndex, it should be -1 if there no steps
941 Fixed GetStepType, if only one step present, it should be FinishStep
942 Fixed styles of tables for more accurate rendering, fixed Wizard
945 2006-06-28 Konstantin Triger <kostat@mainsoft.com>
947 * FormView.cs: instantiate correct template when the bounding data source is
950 2006-06-25 Konstantin Triger <kostat@mainsoft.com>
952 * FormView.cs: disabling setting out of range FormView.PageIndex.
954 2006-06-21 Andrew Skiba <andrews@mainsoft.com>
956 * FileUpload.cs: added
958 2006-06-20 Andrew Skiba <andrews@mainsoft.com>
960 * FormView.cs: handle CssClass attribute
962 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
964 * Button.cs: do something in PostBackUrl.
965 * Repeater.cs: when creating the RepeaterItemCollection, initialize
966 'items' if it hasn't been done yet. Fixes bug #78417.
968 2006-06-14 Vladimir Krasnov <vladimirk@mainsoft.com>
970 * BaseDataList.cs: added ConnectToDataSource method that called from
971 OnLoad, fixed GetData method
972 * Wizard.cs: fixed bug when called MoveTo after that control hierarchy
975 2006-06-14 Andrew Skiba <andrews@mainsoft.com>
977 * Menu.cs: add CssStyle value to the rendered class attribute
979 2006-06-13 Juraj Skripsky <js@hotfeet.ch>
981 * Calendar.cs: Make sure WebControls.Enabled is respected.
982 * SelectedDatesCollection.cs: Set time for all DateTime object passed in
983 to 12:00am as MS.NET does the same.
986 2006-06-13 Vladimir Krasnov <vladimirk@mainsoft.com>
988 * Repeater.cs: fixed ConnectToDataSource method, subscribed to
989 DataSourceViewChanged, looks for a datasource in its parent control
990 fixed GetData method, should not get data if datasource is null
992 2006-06-13 Konstantin Triger <kostat@mainsoft.com>
994 * ObjectDataSourceView.cs: raise OnDataSourceViewChanged events when data changes.
996 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
998 * GridView.cs: set the row index from GridRowView if CommandArgument does not contain this information.
1000 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
1002 * ObjectDataSourceViewTest.cs: return documented default for OldValuesParameterFormatString.
1004 2006-05-24 Vladimir Krasnov <vladimirk@mainsoft.com>
1006 * DataList.cs: Fixed LoadViewState method
1008 2006-05-04 Lluis Sanchez <lluis@novell.com>
1010 * BoundField.cs: Added missing throw kyword. Patch by Marek Habersack.
1012 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
1014 * BaseDataBoundControl.cs: ensure the control is bound if ViewState is disabled.
1016 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
1018 * FormView.cs: fix FormView.PageCount after data binding.
1020 2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1022 * CheckBox.cs: certain attributes have to be rendered in the input tag,
1023 not the <span>. Fixes bug #71251.
1025 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
1027 * BaseDataBoundControl.cs: RequiresDataBinding rebinds if the control prerendered.
1030 ensure rebinding when FormView.PageIndex is called.
1031 and bind to the correct PageIndex.
1033 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
1035 * MenuItem.cs: when binding to IHierarchyData, check whether
1036 it implements INavigateUIData and retrieve NavigateUrl.
1037 * CompositeDataBoundControl.cs: ensures data is bound before creating child controls.
1039 Enable DataBinding by not throwing NotImplementedException in OnDataBound event.
1040 Provide basic CreateChildControls implementation by ensuring the control is bound.
1041 Ensure the child controls are created when the postback event is raised.
1042 Provide default implementation for SkipLinkText to let the default functionality to work.
1044 2006-04-11 Lluis Sanchez <lluis@novell.com>
1046 * TreeNodeBinding.cs: Added HasPropertyValue property
1047 to check if some properties have a value in the
1049 * TreeNode.cs: Lazily get the dataPath. Instead of getting
1050 bound properties when they are requested, get all of
1051 them when the node is bound and store their values in
1052 the state bag. In this way it won't be necessary to
1053 query every time the datasource to get the values.
1054 * XmlHierarchyData.cs: Implemented IHierarchyData.Path.
1055 * TreeView.cs: Call base in OnInit(). Bind nodes after
1056 adding them to the list, to properly keep track of
1057 changes. Don't databind in postbacks.
1059 2006-04-11 Chris Toshok <toshok@ximian.com>
1061 * Login.cs (OnLoggingIn): use Events[loggingInEvent].
1063 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
1065 * BaseDataList.cs: Fix searching control by DataSourceID.
1066 * DataList.cs: Enable binding using DataSourceID for NET_2_0.
1069 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
1071 * Login.cs: Added LayoutTemplate property support.
1072 * LoginView.cs: Added LoggedInTemplate, AnonymousTemplate support.
1073 DataBind: correctly bind child controls.
1074 Implemented OnViewChanged, OnViewChanging, Render, Save/LoadControlState.
1076 2006-03-29 Robert Jordan <robertj@gmx.net>
1078 * DataGrid.cs: if custom paging is enabled the persisted item count
1079 must be the count of the rendered items, otherwise paging from the
1080 last to a previous page won't work correctly. Fixes bug #77556.
1082 2006-03-29 Vladimir Krasnov <vladimirk@mainsoft.com>
1084 * RepeatInfo.cs: fixed RenderBeginTag to set enabled value of table
1085 when rendering disabled list control
1087 2006-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1089 * Panel.cs: render the image url inside 'url()'. Fixes bug #77811.
1091 2006-03-28 Alexandre Miguel Pedro Gomes <alexmipego@gmail.com>
1093 * FontInfo.cs: Implemented ShouldSerializeNames
1095 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
1097 * DataGrid.cs, DataList.cs, RepeatInfo.cs: added accessablity features
1099 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
1101 * DataGrid.cs: fixed CreateControlHierarchy, added CurrentPageIndex
1103 in PrepareControlHierarchy fixed style applying to AlternatingItem
1105 2006-03-22 Vladimir Krasnov <vladimirk@mainsoft.com>
1107 * DataList.cs: fixed RepeatColumns property, added value validation
1108 in PrepareControlHierarchy method fixed style applying for
1109 AlternatingItem, EditItem and Separator item
1110 fixed RenderContents method, if no items exist, no nned to
1111 render emty table strructure.
1113 2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1115 * CompareValidator.cs: when searching for the control to compare, use
1116 NamingContainer instead of Page. Fixes bug #77793.
1118 2006-03-15 Chris Toshok <toshok@ximian.com>
1120 * SiteMapPath.cs (InitializeItem): in the Current and Root node
1121 cases, apply the NodeTemplate if it exists and there isn't a
1122 CurrentNodeTemplate or RootNodeTemplate, respectively.
1124 2006-03-15 Chris Toshok <toshok@ximian.com>
1126 * SiteMapDataSourceView.cs (OnDataSourceViewChanged): override.
1128 * SiteMapDataSource.cs (StartingNodeOffset): new property.
1129 (GetStartNode): add code to handle StartNodeOffset < 0.
1131 * CompositeControl.cs
1132 (ICompositeControlDesignerAccessor.RecreateChildControls): just
1133 call the non-iface method.
1135 * DataBoundControl.cs (GetDataSource): this is likely wrong, but
1136 traverse up the naming container tree looking for our datasource
1137 if we're bound using a DataSourceID. This fixes things in the
1138 sitemap1 test, which uses a mixture of templates and
1139 ContentPlaceholders with the sitemapdatasource and sitemappath at
1140 different levels in the naming container tree (let along the
1143 * SiteMapPath.cs (DataBind): implement this by chaining up to
1144 base.DataBind, then by looping over our children, emitting
1145 OnItemDataBound for each SiteMapNodeItem.
1146 (AddAttributesToRender): remove.
1147 (CreateChildControls): call DataBind as the final step here.. I
1148 have, of course, no idea if this is right.
1149 (CreateControlHierarchy): don't databind our children here, as
1150 they need to be in the Controls collection before we do.
1151 (RenderContents): render our accessibility/screenreader stuff
1152 here, if SkipLinkText != "".
1154 2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
1156 * DataGridPagerStyle.cs: fixed PrevPageText property
1158 2006-03-13 Chris Toshok <toshok@ximian.com>
1160 * BaseCompareValidator.cs (Convert): make the
1161 ValidationDataType.String case a bit more compact.
1163 2006-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1166 (RenderContents): don't call base.RenderContents. Fixes bug #77740.
1167 Patch by Hubert Fongarnand.
1169 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
1171 * FontInfo.cs: fixed CopyFrom, this method should not reset the
1172 received fontinfo if it is the same instance
1173 fixed ToString, corrected output where only font size specified
1175 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
1177 * Style.cs: fixed WriteStyleAttributes to set border style to solid,
1178 if it not set but the border has width
1179 fixes in CopyFrom, MergeWith correct unit compare when it has zero
1182 2006-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
1184 * DataGrid.cs: in AddColumnsFromSource method fixed columns from
1185 properties of custom class
1186 fixed InitializeNumericPager, pager numbers should be a Label control
1187 fixed CreateControlHierarchy, corrected dataset index of items if
1190 2006-03-09 Vladimir Krasnov <vladimirk@mainsoft.com>
1192 * DataList.cs: fixed DoItemInLoop method that fixes itemIndex
1194 fixed CreateControlStyle to set correct cellspacing of table style
1195 fixed InitializeItem to correct applying template to selected and
1198 2006-03-08 Chris Toshok <toshok@ximian.com>
1200 * SiteMapNodeType.cs: nuke.
1202 * BorderStyle.cs, ButtonColumnType.cs, CalendarSelectionMode.cs,
1203 DayNameFormat.cs, ListItemType.cs, ListSelectionMode.cs,
1204 NextPrevFormat.cs, PagerMode.cs, PagerPosition.cs,
1205 RepeatDirection.cs, RepeatLayout.cs, TableRowSection.cs,
1206 TextAlign.cs, TextBoxMode.cs, TitleFormat.cs,
1207 ValidationCompareOperator.cs, ValidationDataType.cs,
1208 ValidationSummaryDisplayMode.cs, ValidatorDisplay.cs: remove
1209 [Serializable] in 2.0.
1211 * DayNameFormat.cs: add "Shortest".
1213 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
1215 * LinkButton.cs: fixed AddAttributesToRender, removed not needed
1218 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
1220 * TextBox.cs: fixed missing value validations, fixed rendering
1221 of empty value attribute
1223 2006-03-07 Chris Toshok <toshok@ximian.com>
1225 * WebControl.cs (EnableTheming): leave the MonoTODO, but implement
1226 by chaining up to base.EnableTheming.
1228 2006-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1230 * DataList.cs: fixed CreateControlHierarchy, fixes 77693
1232 2006-03-06 Vladimir Krasnov <vladimirk@mainsoft.com>
1234 * RadioButton.cs: added ValueAttribute property to store the button
1236 * RadioButtonList.cs: fixed tab index when rendering.
1238 2006-03-02 Chris Toshok <toshok@ximian.com>
1240 * WebControl.cs (SkinID): implement setter/getter, and have them
1241 just chain up to base.SkinID.
1243 2006-02-27 Chris Toshok <toshok@ximian.com>
1245 * SqlDataSource.cs: track change to DataSourceControl's protected
1248 * AccessDataSource.cs: same.
1250 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
1252 * ListControl.cs: fixed SelectedIndex property, fixed selection
1253 reset on incorrect value
1255 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
1257 * TableStyle.cs: fixed AddAttributesToRender function, style
1258 BorderCollapse:Collapse was added if table's CellSpacing is zero
1260 2006-02-23 Chris Toshok <toshok@ximian.com>
1262 * CheckBox.cs, ContentControlBuilderInternal.cs, Content.cs,
1263 ContentPlaceHolderBuilder.cs, ContentPlaceHolder.cs,
1264 DataControlFieldHeaderCell.cs, DataGridColumn.cs,
1265 HierarchicalDataBoundControl.cs, HyperLinkField.cs,
1266 ImageButton.cs, ImageField.cs, Literal.cs,
1267 ObjectDataSourceView.cs, TextBox.cs: more corcompare work.
1269 * BaseCompareValidator.cs, BaseValidator.cs, Button.cs,
1270 DataControlField.cs, DetailsView.cs, FormView.cs, GridView.cs,
1271 HotSpot.cs, LinkButton.cs, Login.cs, SiteMapDataSource.cs,
1272 SqlDataSourceCommandType.cs, TableSectionStyle.cs,
1273 TemplateField.cs, TreeNodeCollection.cs, TreeNode.cs, TreeView.cs,
1274 ValidationSummary.cs, WizardStepBase.cs: fix tons of corcompare
1275 errors. most were caused by a property/method being virtual when
1276 it shouldn't be, or vice versa.
1278 2006-02-22 Chris Toshok <toshok@ximian.com>
1280 * ObjectDataSource.cs: corcompare work.
1282 2006-02-22 Chris Toshok <toshok@ximian.com>
1284 * ParameterCollection.cs: add an EditorAttribute to the class.
1286 * Parameter.cs: cleanup, fix the Value property, and implement the
1289 * SqlDataSourceView.cs: clean things up a bit, and add handling
1292 2006-02-22 Chris Toshok <toshok@ximian.com>
1294 * SqlDataSourceFilteringEventArgs.cs: formatting.
1296 * SqlDataSourceSelectingEventArgs.cs: remove ExecutingSelectCount,
1297 both the property and ctor arg.
1299 * AccessDataSourceView.cs (ExecuteSelect): use SelectingEventArgs,
1300 not CommandEventArgs. Also, cast the return value of
1301 oleCommand.ExecuteReader.
1303 * AccessDataSource.cs (.ctor): fix the ctors and remove FIXME
1305 (GetDbProviderFactory): implement naively, and leave a MonoTODO.
1306 (GetPhysicalDataFilePath): implement, again naively. this is
1307 where the NRE is generated when we access ConnectionString in a
1309 (ConnectionString): dynamically generate this based on our
1311 (DataFile): clear the ConnectionString in the setter so we'll
1313 (ProviderName): use base.ProviderName in the getter, not
1314 this.ProviderName, so we don't recurse infinitely.
1316 * SqlDataSourceView.cs: start reworking this class.
1318 * SqlDataSource.cs (GetDbProviderFactory): implement this,
1319 following the MS docs on the matter (if ProviderName is null/"",
1320 return SqlClientFactory.Instance.)
1321 (GetDbProviderFactoryInternal): add an internal method for use by
1323 (TrackViewState): don't invoke View.TrackViewState unless we have
1325 (Selecting): change event handler type to match MS.
1326 (Filtering): add missing event.
1327 (View): call CreateDataSourceView, don't just create an
1330 2006-02-21 Chris Toshok <toshok@ximian.com>
1332 * BoundField.cs: ues the ViewState.Get* pattern with default
1333 instead of the explicit ViewState lookup + null check, and fix the
1334 scope of InitializeDataCell.
1336 * ButtonField.cs: ues the ViewState.Get* pattern with default
1337 instead of the explicit ViewState lookup + null check.
1339 * CommandField.cs: same.
1341 * CheckBox.cs: same.
1343 * AutoGeneratedFieldProperties.cs: same.
1345 * BaseDataList.cs: same.
1347 * CircleHotSpot.cs: same.
1349 * BulletedList.cs: same.
1351 * DataBoundControl.cs: same.
1353 * CookieParameter.cs: same.
1355 * ControlParameter.cs: same.
1357 * CustomValidator.cs: same.
1359 * ButtonFieldBase.cs: same.
1361 * CheckBoxField.cs: same, and fix the scope of InitializeDataCell.
1363 * AutoGeneratedField.cs: fix scope of InitializeDataCell.
1365 * BaseValidator.cs: same, and clean up the getter/setter formatting.
1367 * CompareValidator.cs: same.
1369 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
1371 * ListControl.cs: fixed DataSource property, to throw
1372 ArgumentException on incorrect value
1374 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
1376 * Image.cs: fixed missing border="0" attribute, when image has style,
1377 but border width is not specified.
1379 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
1381 * CheckBox.cs: fixed InternalAddAttributesToRender, Render to
1382 correct the "disabled" attribute in CheckBoxList
1383 * CheckBoxList.cs: fixed RenderItem, to correct the "disabled"
1384 attribute in CheckBoxList
1386 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
1388 * CheckBox.cs: fixed Render function, removed rendering of empty
1389 <span> element if ControlStyleCreated but it's empty.
1390 fixed "disabled" attribute, it should be placed into span element
1392 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
1394 * BoundColumn.cs: fixed InitializeCell function, if DataField is
1395 null or empty string, the cell should not be bound.
1397 2006-02-08 Chris Toshok <toshok@ximian.com>
1399 * ListControl.cs (OnDataBinding): in 2.0, only clear our items if
1400 AppendDataBoundItems != false. Also, split all the databinding
1401 logic out to DoDataBinding, which we call from here only if
1403 (DoDataBinding): new function. actually perform the binding.
1404 (PerformDataBinding): implement.
1405 (PerformSelect): chain up to base class.
1407 2006-02-07 Chris Toshok <toshok@ximian.com>
1409 * ContentPlaceHolder.cs: fix ToolboxDataAttribute.
1411 * Content.cs: use ContentControlBuilderInternal, and add a bunch
1412 of unused (for now) EventHandler's here.
1414 * ContentControlBuilderInternal.cs: rename ContentControlBuilder
1417 2006-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1419 * ListControl.cs: bound checking for Items when loading the control
1420 state, as the number might have been changed on the fly. Patch by
1423 2006-01-22 Chris Toshok <toshok@ximian.com>
1425 * CheckBox.cs: s/GetPostBackClientEvent/GetPostBackEventReference.
1427 * MultiView.cs (OnBubbleEvent): case the rhs to a string to get
1428 the intended comparison right and quiet mcs.
1430 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
1432 * Button.cs: Add semicolon after client script if does not exist.
1434 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
1436 * Button.cs: preserve user logic when adding client validation.
1438 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
1440 * BaseValidator.cs: fixing visibility bahavior
1442 2006-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1444 * RangeValidator.cs: allow empty data from the control. Patch from Marek
1445 Habersack that fixes bug #77239.
1447 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1449 * Calendar.cs: use the DateTimeFormatInfo from the current thread. Patch
1450 by Cyrille Colin. Closes bug #77184.
1452 2006-01-08 Konstantin Triger <kostat@mainsoft.com>
1454 * PagedDataSource.cs, DataGrid.cs: TARGET_JVM changes to let the
1455 compilation pass with csc 1.1.
1457 2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1459 * DropDownList.cs: HtmlEncode the item text. Fixes bug #76949.
1461 2005-12-07 Chris Toshok <toshok@ximian.com>
1463 * BaseValidator.cs: in the uplevel rendering case, don't render
1464 the text if the validator's Display attribute is "None". Should
1467 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1469 * RadioButton.cs: if the 'value' attribute is set explicitly (as
1470 RadioButtonList does now), use that as the 'name' attribute.
1471 * RadioButtonList.cs: set the AutoPostBack and Enabled properties of
1476 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1478 * CheckBox.cs: add possible 'internal' attributes to the input tag. Fix
1479 the 'name' attribute when not aligninng to the right.
1480 * RadioButton.cs: use NameAttribute instead of GroupName when indexing
1481 the collection. Raise the OnCheckedChanged event. Fixes bug #76710.
1483 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1485 * DataGrid.cs: clear the control collection on every call to
1486 CreateControlHierarchy. Fixes bug #76732.
1488 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1490 * ListBox.cs: Rows and SelectionMode are virtual in 1.1
1492 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1494 * CheckBox.cs: use the NameAttribute property for setting 'name'.
1495 * RadioButton.cs: get a UniqueID based identifier for 'name'.
1498 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1500 * LinkButton.cs: don't output any javascript when the linkbutton is
1501 disabled. Fixes bug #76713.
1503 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1505 * DataGrid.cs: use TableHeaderCell instead of TableCell for headers when
1506 UseAccesibleHeader property is true. Patch by Robert Jordan.
1508 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1510 * BaseValidator.cs: 'controltovalidate' must be the ClientID of the
1511 control to validate. Fixes bug #76641.
1513 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1515 * BoundColumn.cs: when the column is readonly and we're in edit mode,
1516 keep it as a TextBox. Fixes bug #76714.
1518 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1520 * ListBox.cs: render the 'onchange' attribute when AutoPostback is
1521 enabled. Fixes bug #76608.
1523 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1525 * CheckBox.cs: AddAttributesToRender was extra in 1.1, so moved all
1526 the logic to Render and make it render the ID, which fixes bug #76596.
1528 2005-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1530 * Repeater.cs: someone forgot the curly brackets. Fixes bug 76537.
1532 2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1534 * Literal.cs: allow LiteralControl as child, but instead of adding it
1535 to the control collection, it just gets the Text out of it.
1537 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1539 * PagedDataSource.cs: fix range when we're at the last page.
1540 * DataGrid.cs: only need to keep the item count in the viewstate.
1543 2005-10-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1545 * ListControl.cs: made GetSelectedIndices() internal.
1546 * ListBox.cs: html-encode the item text. Fixed single and multiple
1547 selection handling. All the tests pass now. Closes bug #76478.
1549 2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1551 * ListControl.cs: throw when the selected value is not in the
1552 items collection. Fixes bug #76415.
1554 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1556 * BaseDataList.cs: Type.GetTypeCode was fixed and now does not
1557 throw a nullref, so we have to do it by ourselves here to make
1560 * BaseValidator.cs: render the text of the error message even if
1561 we set IsValid programatically. Don't use 'valid' directly, as
1566 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1568 * CustomValidator.cs: an empty ControlToValidate is valid.
1570 2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
1572 * RequiredFieldValidator.cs: Added missing permissions.
1574 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1576 * DataList.cs: copied and adapted PrepareControlHierarchy from DataGrid.
1577 Now the items get the attributes from the styles in datalist. Add the
1578 separators after each item, not before. GetItemStyle returns the actual
1579 item style, not the styles in the datalist. Fixes bug #76384 and all
1582 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1584 * Style.cs: add a 'border-style: solid' to make IE happy. Fixes bug
1587 2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1589 * TemplateColumn.cs: SelectedItem was missing from the select (). Fixes
1592 2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
1594 * FontInfo.cs: Gendarme strikes again. Sealed class have no need for
1595 inheritance demands.
1596 * FontUnit.cs: Structs are sealed so there's no need for inheritance
1598 * Unit.cs: Structs are sealed so there's no need for inheritance
1601 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1603 * PagedDataSource.cs: fix the upper bound for collection and ilist
1606 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1608 * DataGrid.cs: change the ListItemType for the item selected, set
1609 SelectedIndex before calling OnSelectedIndexChanged and set the selected
1610 item type correctly when creating the columns. Fixes bug #76334.
1613 * EditCommandColumn.cs: use a ForeColorLinkbutton, otherwise when
1614 selecting the row, the button keep the regular link color.
1616 * DataGridColumn.cs: made the class internal.
1618 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1620 * DataGrid.cs: fix breakaga of alternating item style in one of my
1623 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1625 * Calendar.cs: remove Console.
1626 * ListBox.cs: the name is the UniqueID, not the ClientID.
1627 * WebControl.cs: Attributes is case insensitive.
1629 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1631 * ImageButton.cs: use UniqueID in LoadPostData and also try just the
1632 UniqueID without appending a ".x" or ".y". Fixes several issues in
1633 mojoPortal. Thanks to Joe Audetter for his patience.
1635 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1637 * ButtonColumn.cs: it was lacking databinding, so copied most of it
1640 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1642 * FontInfo.cs: removed useless ctor.
1643 * Style.cs: keep here some commented out debugging code.
1644 * DataGrid.cs: the Items property does not create a new arraylist if
1645 the items_list was already initialized. Add case for Separator.
1646 * DataGridColumn.cs: when sorting is enabled, the linkbutton rendered
1647 in the header columns has a special ForeColor handling.
1649 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1651 * DataGrid.cs: PageCount must persist in ViewState too and returns the
1652 number of pages in the paged data source once we set that. Fix checks
1653 for visibility of the pager: no more 2 pagers when custom paging is
1656 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1658 * ImageButton.cs: fix a bug reported on the list. We were triggering the
1659 command event on every POST. And the 'name' attribute was not being
1660 rendered, so the 'x,y' coordinates didn't have 'uniqueid.' prepended
1661 and we couldn't find the values.
1663 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1665 * DataGrid.cs: fix the links for the numeric pager.
1667 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1669 * DataGrid.cs: when paging is enable, the actual number of items is not
1670 the number of items rendered before the postback, but that number times
1671 the number of pages. Now we store the page count in the viewstate. Also,
1672 as the number might be big, don't allocate an array of objects to fake
1673 the collection for the PagedDataSource, but use the new NCollection
1674 class instead, which provides cheap (memory wise) enumerator for an
1675 arbitrary number of items. Thanks to "Adriano" for the test case.
1677 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1679 * Xml.cs: the show must go on. Removed a few NotImplemented.
1681 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1683 * Button.cs: implemented 2.0 RaisePostBackEvent in terms of the
1684 existing code in 1.1 (or viceversa). RenderContents() does nothing.
1686 * DataGrid.cs: changed autoid api.
1688 * EditCommandColumn.cs: only 'Update' causes validation.
1690 * TableCell.cs: changed autoid api. RenderContents checks the number
1691 of controls to decide what to do, not the value of Text in the
1694 * TableRow.cs: changed autoid api.
1696 * BoundColumn.cs: SelectedItem was missing when attaching a DataBind
1697 event. When we get an EditItem, we need a TextBox to be created and
1698 this one will be the one that gets the event. Changed
1699 ItemDataBinding to deal with a TextBox too.
1701 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1703 * PagedDataSource.cs: fix IsLastPage. All tests pass.
1704 * DataGrid.cs: InitializePager always add a cell and it's brand new. No
1705 need to keep the old one in a field. Now all tests pass here too.
1707 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1709 * PagedDataSource.cs: don't use the properties when they just return a
1710 field. Fixed Count when paging is enabled. In GetEnumerator, IList goes
1711 before ICollection (otherwise, an IList will always fall under the
1712 ICollection case). The enumerator for lists will be empty if 'start'
1713 is beyond the list size. All existing tests pass, but one in
1714 DataGridTest that fails because of some problem with the paging.
1716 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1718 * Style.cs: fix the 2.0 build.
1720 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1722 * Style.cs: avoid unnecesary creation of a CssStyleCollection and
1723 instead write the style attributes directly to the HtmlTextWriter.
1725 * CheckBox.cs: adapted to new API.
1727 * DataGrid.cs: handle null data sources. Fixed the contions that make
1728 the table to be added to the Controls collection.
1730 * Calendar.cs: the table needed an ID and the attributes from the
1731 parent. Also don't create the ControlStyleCollection if it has not
1732 already been created.
1734 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1736 * DataGrid.cs: handle null data sources. Fixed the contions that make
1737 the table to be added to the Controls collection.
1739 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1741 * Calendar.cs: TrackViewState should be called upon creation, not on
1742 every get_XXX call. Cleanup.
1744 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1746 * DataGrid.cs: fix another test. The ID of the table generated by the
1747 datagrid is set to the one on the datagrid if no one set the ID for the
1750 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1752 * ListControl.cs: this fixes TestValueFieldAndTextFormat from
1755 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1757 * FontUnit.cs: use a table for FontSize names, as the X{1,2}.* ones are
1758 converted to string as X{1,2}-.*. All FontUnitTests pass now.
1759 * Unit.cs: throw a format exception when there's not number or minus
1760 sign in the first non-whitespace character.
1762 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1764 * ListControl.cs: SelectedIndex/SelectedValue can be set before
1765 DataBinding () is called on the control, so we have to keep this values
1766 around and use them after the data is read. If both properties are
1767 used, they must refer to the same item.
1769 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1771 * DataList.cs: fill in the data keys from BaseDataList so that the
1772 events can see them. Only assign DataItem when using data binding and
1773 nullify it after all events are raised.
1775 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1777 * DataList.cs: OnItemCommand() is raised any time OnBubbleEvent is
1780 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
1782 * Button.cs: For 2.0 don't add the "name" attribute unless there's an
1784 * DataGrid.cs: Fix TagKey (table) for 2.0.
1785 * DataList.cs: Revert 2.0 specific stuff that was changed in RC.
1786 * DropDownList.cs: For 2.0 don't add the "name" attribute unless
1788 * ListBox.cs: For 2.0 don't add the "name" attribute unless there's an
1790 * RoleGroupCollection.cs: Fix "extra" exception in Remove method.
1791 * Style.cs: Fixed (2.0) RegisteredCssClass to returns String.Empty
1793 * TextBox.cs: For 2.0 don't add the "name" attribute unless there's an
1795 * TreeView.cs: Added declarative security (Link and Inheritance
1796 demands) for Minimal.
1797 * XmlDataSource.cs: Added declarative security (Link and Inheritance
1798 demands) for Minimal.
1800 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
1802 * FontUnit.cs: Added, but only for 1.x, declarative security (Link and
1803 Inheritance demands) for Minimal.
1804 * Label.cs: Added declarative security (Link and Inheritance demands)
1806 * ListItem.cs: Added declarative security (LinkDemands) for Minimal.
1807 * ListItemCollection.cs: Added declarative security (LinkDemands) for
1809 * MonthChangedEventArgs.cs: Added declarative security (Link and, for
1810 2.0, Inheritance demands) for Minimal.
1811 * PagedDataSource.cs: Added declarative security (LinkDemands) for
1813 * Panel.cs: Added declarative security (Link and Inheritance demands)
1815 * Repeater.cs: Added declarative security (Link and Inheritance
1816 demands) for Minimal.
1817 * RepeatInfo.cs: Added declarative security (LinkDemands) for Minimal.
1818 * SelectedDatesCollection.cs: Added declarative security (LinkDemands)
1820 * TargetConverter.cs: Added declarative security (Link and Inheritance
1821 demands) for Minimal.
1822 * Unit.cs: Added, but only for 1.x, declarative security (Link and
1823 Inheritance demands) for Minimal.
1824 * ValidatedControlConverter.cs: Added declarative security (Link and
1825 Inheritance demands) for Minimal.
1826 * WebColorConverter.cs: Added declarative security (Link and
1827 Inheritance demands) for Minimal.
1828 * Xml.cs: Added declarative security (Link and Inheritance demands)
1830 * ValidationSummary.cs: Added declarative security (Link and
1831 Inheritance demands) for Minimal.
1833 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
1835 * UnitConverter.cs: Remove conversion from Unit (see unit tests).
1837 2005-09-22 Ben Maurer <bmaurer@ximian.com>
1839 * BulletedList.cs: Remove the cacheEnabled thing. I was thinking
1840 it took O(height) time, not O(1).
1842 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
1844 * CheckBoxList.cs: Fix unit test failure (which matched bug #48802).
1846 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
1848 * AdCreatedEventArgs.cs: Added declarative security (Link and, for
1849 2.0, Inheritance demands) for Minimal.
1850 * BaseCompareValidator.cs: Added declarative security (Link and
1851 Inheritance demands) for Minimal.
1852 * BaseDataBoundControl.cs: Added declarative security (Link and
1853 Inheritance demands) for Minimal.
1854 * BaseValidator.cs: Added declarative security (Link and Inheritance
1855 demands) for Minimal.
1856 * BoundColumn.cs: Added declarative security (Link and Inheritance
1857 demands) for Minimal.
1858 * ButtonColumn.cs: Added declarative security (Link and Inheritance
1859 demands) for Minimal.
1860 * CalendarDay.cs: Added declarative security (Link and Inheritance
1861 demands) for Minimal.
1862 * CheckBoxList.cs: Added declarative security (Link and Inheritance
1863 demands) for Minimal.
1864 * CompareValidator.cs: Added declarative security (Link and
1865 Inheritance demands) for Minimal.
1866 * CustomValidator.cs: Added declarative security (Link and Inheritance
1867 demands) for Minimal.
1868 * DataBoundControl.cs: Added declarative security (Link and
1869 Inheritance demands) for Minimal.
1870 * DataGridItemCollection.cs: Added declarative security (Link and
1871 Inheritance demands) for Minimal.
1872 * DataKeyCollection.cs: Added declarative security (LinkDemands) for
1874 * DataListItemCollection.cs: Added declarative security (LinkDemands)
1876 * DataListItem.cs: Added declarative security (Link and Inheritance
1877 demands) for Minimal.
1878 * FontNamesConverter.cs: Added declarative security (Link and
1879 Inheritance demands) for Minimal.
1880 * HyperLink.cs: Added declarative security (Link and Inheritance
1881 demands) for Minimal.
1882 * HyperLinkColumn.cs: Added declarative security (Link and Inheritance
1883 demands) for Minimal.
1884 * Image.cs: Added declarative security (Link and Inheritance demands)
1887 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1889 * BaseDataList.cs: it's the DataKeysArray what is stored in "DataKeys",
1891 * DataGrid.cs: add the keys to BaseDataList.DataKeysArray. When using
1892 a data source, first try reflection, then componentmodel. If we get
1893 an enumerator, keep it around, as MS only calls GetEnumerator once.
1894 Throw an exception if no columns can be created from the given data
1895 source. Tested with DbDataRecord, DataTable, ArrayList and
1896 ICustomTypeDescriptor.
1898 2005-09-20 Sebastien Pouliot <sebastien@ximian.com>
1900 * AccessDataSource.cs: Added declarative security (Link and Inheritance
1901 demands) for Minimal. Added [ToolboxBitmap] on class.
1902 * AdRotator.cs: Added declarative security (Link and Inheritance
1903 demands) for Minimal. Removed extra Page and ViewState properties.
1904 * BulletedList.cs: Added declarative security (Link and Inheritance
1905 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1906 * Button.cs: Added declarative security (Link and Inheritance demands)
1907 for Minimal. Added [SupportsEventValidation] on class (2.0).
1908 * Calendar.cs: Added declarative security (Link and Inheritance
1909 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1910 * CheckBox.cs: Added declarative security (Link and Inheritance
1911 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1912 * CompositeControl.cs: Added declarative security (Link and Inheritance
1913 demands) for Minimal. Added new protected RecreateChildControls method.
1914 * DataControlCommands.cs: Added declarative security (LinkDemands) for
1915 Minimal. Added private ctor.
1916 * DataGrid.cs: Added declarative security (Link and Inheritance
1917 demands) for Minimal. Fixed properties for 2.0 (mostly removing
1918 [Bindable]). Added override for TagKey property.
1919 * DataGridColumn.cs: Added declarative security (Link and Inheritance
1920 demands) for Minimal. Added [UrlProperty] on HeaderImageUrl (2.0).
1921 * DataGridItem.cs: Added declarative security (Link and Inheritance
1922 demands) for Minimal. Added IDataItemContainer interface for 2.0.
1923 * DataGridPagerStyle.cs: Added declarative security (LinkDemands) for
1924 Minimal. Remove [Bindable] from 2.0 and add [Localizable].
1925 * DataList.cs: Removed [Load|Save]ControlState methods.
1926 * DropDownList.cs: Added declarative security (Link and Inheritance
1927 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1928 * EditCommandColumn.cs: Added declarative security (Link and
1929 Inheritance demands) for Minimal. Added missing attributes,
1930 [DefaultValue] and [Localize] for 2.0.
1931 * FontInfo.cs: Added declarative security (Link and Inheritance
1932 demands) for Minimal. Remove [Bindable] and added [RefreshProperties]
1934 * Login.cs: Added declarative security (Link and Inheritance demands)
1935 for Minimal. Fixed IsStyleEmpty. Removed extra [Themeable] attributes.
1936 * ImageButton.cs: Added declarative security (Link and Inheritance
1937 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1938 * LinkButton.cs: Added declarative security (Link and Inheritance
1939 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1940 * ListBox.cs: Added declarative security (Link and Inheritance demands)
1941 for Minimal. Added [SupportsEventValidation] on class (2.0).
1942 * Literal.cs: Added declarative security (Link and Inheritance demands)
1943 for Minimal. Removed [EditorBrowsable] on CreateControlCollection method.
1944 * LoginStatus.cs: Added missing [Themeable] attributes on properties.
1945 * MenuItemStyle.cs: Changed IsEmpty to public (required to compile -
1946 but will be shown as extra).
1947 * RadioButton.cs: Added declarative security (Link and Inheritance
1948 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1949 * RadioButtonList.cs: Added declarative security (Link and Inheritance
1950 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1951 * RangeValidator.cs: Added declarative security (Link and Inheritance
1952 demands) for Minimal. Added missing [Themeable] attributes.
1953 * RegularExpressionValidator.cs: Added declarative security (Link and
1954 Inheritance demands) for Minimal. Remove [Bindable] from 2.0 and add
1956 * RoleGroupCollection.cs: Added declarative security (Link and
1957 Inheritance demands) for Minimal. Fixed base class (changed in RC).
1958 Re-implemented CopyTo. Removed some methods.
1959 * Style.cs: Added declarative security (Link and Inheritance demands)
1960 for Minimal. Remove static IsStyleEmpty and ToString (from 2.0). IsEmpty
1961 is now public in 2.0.
1962 * Table.cs: Added declarative security (Link and Inheritance demands)
1963 for Minimal. Added [SupportsEventValidation] on class (2.0).
1964 * TableCell.cs: Fixed PersistenceMode for 2.0.
1965 * TextBox.cs: Added declarative security (Link and Inheritance demands)
1966 for Minimal. Added [SupportsEventValidation] on class (2.0).
1967 * TreeNodeStyle.cs: Changed IsEmpty to public (required to compile -
1968 but will be shown as extra).
1969 * WebControl.cs: Added declarative security (Link and Inheritance
1970 demands) for Minimal. Removed [EditorBrowsable] on ControlStyleCreated
1973 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1975 * TableStyle.cs: fixed typo that prevented restoring GridLines from
1978 * DataGrid.cs: the table does not get an auto ID. When restoring from
1979 viewstate, use all the saved columns, not just that data bound ones. Set
1980 the owner of the BoundColumns created. Save/restore columns.
1981 OnItemCreated happens after the item is initialized and the data item is
1982 set before the event and nullified after OnItemDataBound.
1983 Add the render_table to the Controls immediately, otherwise we might get
1984 errors from child controls such as "must be rendered inside a form".
1985 Keep the items created in the list waiting for them.
1986 The table uses the attributes from the DataGrid and ControlStyle.
1987 Raise OnItemCommand on all bubble events and don't propagate bubble
1988 event up in the hierarchy
1990 * TableCell.cs: it does not get an automatic ID.
1991 * BoundColumn.cs: FormatDataValue returns an empty string on null input
1992 (there was already a test for this).
1996 2005-09-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1998 * DataGridColumnCollection.cs: track the view state in the newly added
2001 2005-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2003 * DataGrid.cs: merge column styles too. Fixes bug #76106.
2004 * DataGridColumn.cs: new internal method to retrieve the styles without
2005 creating an instance for them.
2007 2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
2009 * DataControlField.cs, HotSpot.cs, MenuItem.cs, Parameter.cs,
2010 Style.cs, TreeNode.cs: Replace _empty_ StateBag.SetDirty () with
2011 StateBag.SetDirty (true).
2013 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
2015 * Menu.cs: Fixed parameter orders for CreateStyleRule.
2017 2005-09-13 Chris Toshok <toshok@ximian.com>
2019 * Style.cs: corcompare stuff.
2021 * RequiredFieldValidator.cs: more corcompare stuff.
2023 * CheckBoxList.cs: clean up some of the interface methods vs
2024 protected virtual 2.0 calls.
2026 * SubMenuStyle.cs: corcompare says this should implement
2027 ICustomTypeDescriptor... sooo, make it.
2029 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2031 * TableCell.cs: do the same as HyperLink and others in
2032 AddParsedSubobject so that adding a literal control does not remove the
2033 existing controls if any. Fixes bug #76078.
2035 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2037 * GridView.cs: don't duplicate class attribute. Fixes bug #75936.
2039 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2041 * ImageButton.cs: fix invalid cast exception.
2043 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2045 * ListItem.cs: throw in AddParsedSubObject if the object is not a
2047 * RadioButtonList.cs: implemented LoadPostData and
2048 RaisePostDataChangedEvent.
2050 2005-09-09 Chris Toshok <toshok@ximian.com>
2052 * CheckBox.cs, CheckBoxList.cs, DropDownList.cs, ImageButton.cs,
2053 ListBox.cs, RadioButton.cs, RadioButtonList.cs, TextBox.cs: fix up
2054 LoadPostData/RaisePostDataChangedEvent.
2056 2005-09-09 Chris Toshok <toshok@ximian.com>
2058 * FontInfo.cs (IsEmpty): new internal property, used by
2061 * Style.cs (IsEmpty): make sure the fontinfo is null or empty as
2064 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2066 * ListItemCollection.cs: remove obsoleted methods.
2067 * ListBox.cs: use IStateManager on the item collection.
2069 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
2071 * Use C# 1.0 style of delegate instantiating. Needed to compile
2072 Grasshopper (TARGET_J2EE) which uses MS C# 1.0 compiler and not msc.
2074 2005-09-07 Chris Toshok <toshok@ximian.com>
2076 * Calendar.cs (WriteDay): always add BackColor=Silver,
2077 ForeColor=White to selected day cells, before copying over the
2078 selectedDayStyle, if it exists.
2079 (WriteDays): fix nunit test - if the first day of the month falls
2080 on the first day of the week, go back one week (effectively adding
2081 a row of dates from the previous month.)
2082 (WriteTitle): don't copy the control style to the tableTitle,
2083 since it might have height specifications, which would make the
2084 title look rather off.
2086 2005-09-07 Chris Toshok <toshok@ximian.com>
2088 * ValidationSummary.cs (AddAttributesToRender): we only set
2089 display=none if there are no errors.
2091 * BaseValidator.cs (OnPreRender): fix a JS error - on submit we
2092 call ValidatorOnSubmit, not ValidatorCommonOnSubmit.
2094 2005-09-07 Chris Toshok <toshok@ximian.com>
2096 * ListControl.cs (SelectedIndex): add comment about how you'd
2097 think OnSelectedIndexChanged would be called.. and you'd be wrong.
2098 (Text): implement in terms of SelectedValue.
2099 (TagKey): do the HAVE_CONTROL_ADAPTERS two-step.
2100 (LoadControlState): implement - this is where the selected index
2101 ArrayList gets stuffed in 2.0.
2102 (OnInit): call Page.RegisterRequiresControlState.
2103 (OnTextChanged): implement.
2104 (RenderContents): for now just chain up to base.RenderContents.
2105 (SaveControlState): save our control state properly.
2106 (GetSelectedIndices): split this out from SaveViewState to it can
2107 be used by both that and SaveControlState.
2108 (SaveViewState): mangle this function so it works in both 2.0 and
2110 (LoadViewState): same.
2112 2005-09-06 Chris Toshok <toshok@ximian.com>
2114 * BaseValidator.cs (AddAttributesToRender): render our ClientID if
2115 we weren't assigned an ID.
2117 * ValidationSummary.cs (AddAttributesToRender): same.
2119 2005-09-06 Chris Toshok <toshok@ximian.com>
2121 * WebControl.cs: revert the last change.
2123 2005-09-06 Chris Toshok <toshok@ximian.com>
2125 * WebControl.cs (AddAttributesToRender): always render ClientID.
2127 * ValidationSummary.cs (Render): same.
2129 * BaseValidator.cs (RegisterValidatorDeclaration): use ClientID
2132 2005-09-06 Chris Toshok <toshok@ximian.com>
2134 * ValidationSummary.cs (Render): only do the JS stuff when the
2135 validators on the page are uplevel.
2137 * BaseValidator.cs (Render): remove unnecessary comment.
2139 2005-09-05 Chris Toshok <toshok@ximian.com>
2141 * BaseDataBoundControl.cs (DataSourceID): testing reveals this is
2142 stored in the ViewState.
2144 2005-09-02 Chris Toshok <toshok@ximian.com>
2146 * Repeater.cs (GetData): change this slightly so the Repeater
2147 doesn't keep a ref to the return value of GetData.
2149 2005-09-01 Chris Toshok <toshok@ximian.com>
2151 * ListControl.cs (AppendDataBoundItems): implement (2.0)
2154 2005-09-01 Chris Toshok <toshok@ximian.com>
2156 * System.Web.UI.WebControls/MonthChangedEventArgs.cs,
2157 System.Web.UI.WebControls/ValidatedControlConverter.cs,
2158 System.Web.UI.WebControls/Xml.cs,
2159 System.Web.UI.WebControls/RegularExpressionValidator.cs,
2160 System.Web.UI.WebControls/ServerValidateEventArgs.cs,
2161 System.Web.UI.WebControls/Menu.cs,
2162 System.Web.UI.WebControls/MailMessageEventArgs.cs,
2163 System.Web.UI.WebControls/MenuItemStyle.cs,
2164 System.Web.UI.WebControls/RangeValidator.cs,
2165 System.Web.UI.WebControls/RepeaterItemEventArgs.cs,
2166 System.Web.UI.WebControls/MenuItem.cs,
2167 System.Web.UI.WebControls/RepeaterCommandEventArgs.cs,
2168 System.Web.UI.WebControls/DataGridSortCommandEventArgs.cs,
2169 System.Web.UI.WebControls/DataGridCommandEventArgs.cs,
2170 System.Web.UI.WebControls/DataGridPageChangedEventArgs.cs,
2171 System.Web.UI.WebControls/XmlBuilder.cs,
2172 System.Web.UI.WebControls/ImageButton.cs: someone stop me. more
2175 2005-09-01 Chris Toshok <toshok@ximian.com>
2177 * System.Web.UI.WebControls/Button.cs,
2178 System.Web.UI.WebControls/ButtonField.cs,
2179 System.Web.UI.WebControls/DataControlField.cs,
2180 System.Web.UI.WebControls/BaseCompareValidator.cs,
2181 System.Web.UI.WebControls/AutoGeneratedField.cs,
2182 System.Web.UI.WebControls/CustomValidator.cs,
2183 System.Web.UI.WebControls/Content.cs,
2184 System.Web.UI.WebControls/BoundField.cs,
2185 System.Web.UI.WebControls/AdRotator.cs,
2186 System.Web.UI.WebControls/ButtonColumn.cs,
2187 System.Web.UI.WebControls/CompareValidator.cs,
2188 System.Web.UI.WebControls/AdCreatedEventArgs.cs: More corcompare
2189 work. Stub things out, and add attributes.
2191 2005-09-01 Chris Toshok <toshok@ximian.com>
2193 * Button.cs, ButtonField.cs, FontInfo.cs, Style.cs, Xml.cs,
2194 CommandField.cs, HyperLinkColumn.cs, Table.cs,
2195 RegularExpressionValidator.cs, DataGridPagerStyle.cs, Label.cs,
2196 CheckBox.cs, RadioButton.cs, TableStyle.cs, ListControl.cs,
2197 Image.cs, BaseCompareValidator.cs, BaseDataList.cs, DataList.cs,
2198 TemplateColumn.cs, RangeValidator.cs, ImageField.cs,
2199 BaseValidator.cs, CustomValidator.cs, TextBox.cs,
2200 ButtonFieldBase.cs, BoundField.cs, CheckBoxList.cs,
2201 RadioButtonList.cs, RequiredFieldValidator.cs, AdRotator.cs,
2202 Repeater.cs, DropDownList.cs, CheckBoxField.cs, HyperLink.cs,
2203 XmlDataSource.cs, Panel.cs, DataGrid.cs, ButtonColumn.cs,
2204 CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs,
2205 WebControl.cs, Literal.cs, ValidationSummary.cs, ImageButton.cs,
2206 TableRow.cs, LinkButton.cs, DataGridColumn.cs, BoundColumn.cs,
2207 TableItemStyle.cs: Add some WebCategory and WebSysDescription
2210 2005-09-01 Chris Toshok <toshok@ximian.com>
2212 * AccessDataSource.cs: corcompare work.
2214 * SqlDataSource.cs: same.
2216 2005-09-01 Miguel de Icaza <miguel@novell.com>
2218 * Various places: make sure that the DefaultValue matches the
2219 type. Thanks to Michael for pointing this out.
2221 In future audits, you might want to use the following awk command:
2223 awk '/DefaultValue/ { v=$0; looking = 1; } /public/ && looking &&
2224 !/string/ && !/ int / && !/ bool / { print FILENAME; print v;
2225 print $0; looking = 0; } /public/ && looking { looking = 0; } '
2228 The above skips bools, strings and ints as those were fine as we
2229 set them. The bug was on the other ones.
2231 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2233 * Repeater.cs: fix the build.
2235 2005-08-31 Chris Toshok <toshok@ximian.com>
2237 * Repeater.cs: lots of 2.0 work, much of it c&p'ed from
2238 {Base}DataList, and also from debug spew garnered from some
2239 Repeater subclass tests on MS.
2240 (CreateControlHierarchy): in 2.0 if IsBonudUsingDataSourceID get
2241 the IEnumerable by calling GetData().
2242 (DataBind): reset RequiresDataBinding to false (2.0).
2243 (DataMember): copy the set implementation from DataList, and add
2244 2.0 code to call OnDataPropertyChanged if we're !Initialiezd.
2245 (DataSource): more c&p.
2246 (DataSourceID); implement (2.0)
2247 (Initialized): implement (2.0)
2248 (IsBoundUsingDataSource): implement (2.0)
2249 (RequiresDataBinding): implement (2.0)
2250 (SelectArguments): implement (2.0)
2251 (CreateDataSourceSelectArguments): implement (2.0)
2252 (EnsureDataBound): implement (2.0)
2253 (GetData): implement.
2254 (OnDataPropertyChanged): remove the NIE, but leave the MonoTODO
2256 (OnDataSourceViewChanged): set RequiresDataBinding to true, but
2257 leave the MonoTODO. (2.0)
2258 (OnInit): call base.OnInit instead of throwing NIE, but leave the
2260 (OnLoad): implement.
2261 (OnPreRender): implement.
2262 (ConnectToDataSource): new method - look for the right control.
2264 2005-08-31 Chris Toshok <toshok@ximian.com>
2266 * XmlDataSourceView.cs: fix the scope of our select. Don't use
2267 call SelectNodes on the XmlDocument, not on
2268 XmlDocument.DocumentElement.
2270 2005-08-31 Chris Toshok <toshok@ximian.com>
2272 * XmlDataSourceView.cs (.ctor): remove the nodelist parameter.
2273 (DoXPathSelect): put the xpath selection stuff here.
2274 (ExecuteSelect): call DoXPathSelect if we need to (if nodes ==
2277 * XmlDataSource.cs (IDataSource.GetView): don't do the XPath
2278 select here, the view does it.
2280 2005-08-31 Jackson Harper <jackson@ximian.com>
2282 * DataList.cs: Remove some debugging code that was starting to bug
2285 2005-08-31 Chris Toshok <toshok@ximian.com>
2287 * XmlDataSourceNodeDescriptor.cs: implement IXPathNavigable, and
2288 create our Navigator by calling node.CreateNavigator().
2290 2005-08-31 Chris Toshok <toshok@ximian.com>
2292 * XmlDataSource.cs (GetXmlDataDocument): rename this to
2293 GetXmlDocument, and change the return value from XmlDataDocument
2295 (LoadXmlDataDocument): similar change.
2296 (Save): xmlDataDocument -> xmlDocument.
2297 (CanBeSaved): there's no ReadOnly attribute.
2298 (LoadViewState, SaveViewState, TrackViewState): nuke.
2299 (GetHierarchicalView): xmlDataDocument -> xmlDocument.
2300 (CacheDuration): stub out with NIE.
2301 (CacheExpirationPolocy): same.
2302 (CacheKeyDependency): same.
2303 (EnableCaching): same.
2305 (Data, DataFile): xmlDataDocument -> xmlDocument.
2306 (Schema, SchemaFile): nuke.
2307 (Transform, TransformFile): xmlDataDocument -> xmlDocument.
2309 2005-08-30 Lluis Sanchez Gual <lluis@novell.com>
2311 * SubMenuStyle.cs, MenuItemStyle.cs, TreeNodeStyle.cs:
2312 Don't use the obsolete IsSet method.
2313 * Menu.cs: Implement IPostBackEventHandler.RaisePostBackEvent.
2314 * CheckBox.cs: Implement some 2.0 methods.
2315 * GridView.cs: Removed some "throw new NotImplementedException"
2317 2005-08-29 Chris Toshok <toshok@ximian.com>
2319 * TreeView.cs: Use the StateBag accessors Ben added, and implement
2320 SkipLinkText and Visible.
2322 2005-08-29 Chris Toshok <toshok@ximian.com>
2324 * TreeView.cs: fix typo in an attribute.
2326 2005-08-29 Jackson Harper <jackson@ximian.com>
2328 * PagedDataSource.cs: If it's not a list or collection we don't
2329 use a bounded enumerator.
2331 2005-08-29 Chris Toshok <toshok@ximian.com>
2333 * LinkButton.cs: fix some 2.0 Page/ClientScript obsolete warnings.
2335 * CheckBox.cs: same.
2337 * BaseValidator.cs: same.
2339 * DropDownList.cs: same.
2341 * ValidationSummary.cs: same.
2343 2005-08-28 Chris Toshok <toshok@ximian.com>
2345 * XmlHierarchyData.cs: fix IHierarchyData.GetParent.
2347 2005-08-26 Chris Toshok <toshok@ximian.com>
2349 * TextBox.cs: implement ValidationGroup and CausesValidation
2352 2005-08-26 Lluis Sanchez Gual <lluis@novell.com>
2354 * Style.cs: Implemented FillStyleAttributes, GetStyleAttributes and
2357 2005-08-26 Chris Toshok <toshok@ximian.com>
2359 * Unit.cs: implement the 2.0 ToString(IFormatProvider) method.
2361 * FontUnit.cs: add two 2.0 ctors, and the 2.0
2362 ToString(IFormatProvider) method.
2364 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
2366 * CheckListBox.cs: Nothing is rendered (i.e. no empty table) in 2.0 if
2367 no items are present in the list.
2368 * RoleGroup.cs: Added missing attributes.
2369 * RoleGroupCollection.cs: Added missing attributes and some (yet-to-be-
2370 documented) methods.
2371 * TableStyle.cs: *for 2.0* adding a "url({0})" to background image
2372 must be done in the HtmlTextWriter (not in the TableStyle).
2374 2005-08-26 Chris Toshok <toshok@ximian.com>
2376 * Calendar.cs (UseAccessibleHeader): implement.
2377 (RaisePostBackEvent): some #ifdef ugliness to get this all working
2378 propertly between 1.x and 2.0
2379 (WriteDayHeader): if UseAccessibleHeader == true, render header
2380 cells as th's, not td's, and add abbr and scope attributes.
2382 2005-08-25 Chris Toshok <toshok@ximian.com>
2384 * Calendar.cs (Caption, CaptionAlign): implement these properties.
2385 (Render): if we have a non-empty caption, show it.
2386 (WriteCaption): new method, output the caption.
2388 2005-08-25 Chris Toshok <toshok@ximian.com>
2390 * Calendar.cs (Render): Copy the entire style from the Calendar to
2391 the Table, not just the font.
2392 (WriteDay): don't just write the link/text/etc. Create a
2393 LiteralControl as a child of the cell, before the call to
2394 OnDayRender, with its text set to the day number. After
2395 OnDayRender, set the literal's text to either the number again (if
2396 it's not selectable) or the full text of the js __doPostBack
2397 hyperlink (if it is.) Also, use cell.RenderControl here so we can
2398 render child controls with the id's listed properly (and arguably
2400 (ApplyTitleStyleCell): remove.
2401 (WriteTitle): apply the titleStyle to the enclosing table, not the
2402 table cell containing the month name. Also, copy from the
2403 Calendar's ControlStyle to populate tableTitle's style initially.
2404 We end up with more (superfluous) style attributes than MS, but
2405 it's better than having less.
2407 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
2409 * HyperLink.cs: Fixed 2.0 rendering for Alt and Border|BorderWidth when
2412 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
2414 * Style.cs: Implemented 2.0 CopyTextStylesFrom(), SetRegisteredCssClass()
2415 and RegisteredCssClass property
2417 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
2419 * LoginView.cs: Fixed attributes.
2420 * Style.cs: Change SetRegisteredCssClass to internal and not to throw
2421 an exception to allow pages to work on 2.x.
2423 2005-08-25 Chris Toshok <toshok@ximian.com>
2425 * LinkButton.cs (PostBackUrl): correct the UrlProperty attribute.
2427 * Unit.cs: add [Serializable] and the 2.0 specific ToString(), not
2430 * HiddenField.cs: stub out this class and label everything
2433 2005-08-25 Jackson Harper <jackson@ximian.com>
2435 * DataGrid.cs: Disable the pager row if there no paging enabled
2438 2005-08-25 Chris Toshok <toshok@ximian.com>
2440 * SqlDataSourceFilteringEventArgs.cs: add some usings, and fix a
2443 * SqlDataSourceSelectingEventArgs.cs: IDbCommand -> DbCommand, and
2444 add a using statement.
2446 2005-08-25 Chris Toshok <toshok@ximian.com>
2448 * SqlDataSourceFilteringEventArgs.cs: new 2.0 class, as per
2451 * SqlDataSourceFilteringEventHandler.cs: new 2.0 delegate, as per
2454 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
2456 * Login.cs: Added rendering and fixed parts of the authentication.
2457 Now using IStateManager to allow compilation in another assembly (e.g.
2458 to test the control under IIS). Needs more tests (error conditions)
2459 once we get a "real" Membership provider running.
2460 * Style.cs: Fixed IsStyleEmpty (name ;-) and when null is provided
2463 2005-08-25 Chris Toshok <toshok@ximian.com>
2465 * SqlDataSourceCommandType.cs: new 2.0 enum, as per corcompare.
2467 2005-08-25 Chris Toshok <toshok@ximian.com>
2469 * AdRotator.cs: stub out enough of the 2.0 methods/properties by
2470 calling base.Foo to get the standalone adrotator (1.0) tests to
2471 run without throwing exceptions.
2473 2005-08-25 Chris Toshok <toshok@ximian.com>
2475 * ValidationSummary.cs (ValidationGroup): implement.
2476 (Render): use Page.GetValidators in .net 2.0, so we can support
2477 ValidationGroups. Also, <br>'s get rendered as <br /> in .net
2480 2005-08-25 Chris Toshok <toshok@ximian.com>
2482 * ImageButton.cs (TagKey): disable (but flag) the "virtual new"
2483 2.0 attribute modifiers, and revert back to "override".
2485 * ListBox.cs (BorderColor): disable (but flag) the "virtual new"
2486 2.0 attribute modifiers, and revert back to "override".
2487 (BorderStyle): same.
2488 (BorderWidth): same.
2490 * TextBox.cs (SaveViewState): implement naively, calling
2492 (TagKey): disable (but flag) the "virtual new" 2.0 attribute
2493 modifiers, and revert back to "override".
2495 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
2497 * Style.cs, TableStyle.cs, TableItemStyle.cs, DataGridPagerStyle.cs:
2498 Load ViewState for derived classes; no public LoadViewState override
2499 exists in those classes
2500 * Style.cs: Added 2.0 IsStyleEmpty method
2502 2005-08-25 Jackson Harper <jackson@ximian.com>
2504 * DataGrid.cs: The number of pages set in the pager is specified
2507 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
2509 * LoginView.cs: New (2.0). Work in progress.
2511 2005-08-24 Chris Toshok <toshok@ximian.com>
2513 * Button.cs, DetailsView.cs, FontInfo.cs, Style.cs, Xml.cs,
2514 Menu.cs, ObjectDataSource.cs, CheckBox.cs, RadioButton.cs,
2515 ListControl.cs, SiteMapPath.cs, BulletedList.cs,
2516 DataBoundControl.cs, ListItemCollection.cs, GridView.cs,
2517 Wizard.cs, TextBox.cs, CheckBoxList.cs, RadioButtonList.cs,
2518 PagedDataSource.cs, FormView.cs, AdRotator.cs, Repeater.cs,
2519 DropDownList.cs, MultiView.cs, HierarchicalDataBoundControl.cs,
2520 Calendar.cs, ListBox.cs, WebControl.cs, Literal.cs,
2521 ValidationSummary.cs, ImageButton.cs, LinkButton.cs, TreeView.cs:
2522 Add MonoTODO's for all things that throw NotImplementException.
2524 2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
2526 * RoleGroup.cs: New (2.0). Complete implementation.
2527 * RoleGroupCollection.cs: New (2.0). Mostly complete implementation.
2529 2005-08-23 Chris Toshok <toshok@ximian.com>
2531 * BaseCompareValidator.cs (GetFullYear): it turns out the docs up
2532 on msdn.microsoft.com tell exactly how the .net 2.0 stuff works,
2533 even though they were written for the 1.0 stuff.
2535 2005-08-23 Chris Toshok <toshok@ximian.com>
2537 * RepeatInfo.cs: some massaging to support both the 1.x and 2.0
2538 output. Our tests now pass on both mono and ms, with both 1.x and
2541 2005-08-23 Sebastien Pouliot <sebastien@ximian.com>
2543 * Login.cs: Throw exception if the specified provider doesn't exists.
2544 * LoginStatus.cs: Complete events.
2546 2005-08-22 Jackson Harper <jackson@ximian.com>
2548 * DataGrid.cs (CreateControlHierarchy): Clear out the old pager after creating the
2550 (InitializeNumericPager): Now that the pager actually renders
2551 properly I can see that I was computing it incorrectly.
2553 2005-08-22 Jackson Harper <jackson@ximian.com>
2555 * DataGrid.cs (RenderTable): Make sure the new table gets the
2557 (CreateColumnSet): Clear the data source columnbs before adding
2558 new ones regardless of whether or not a property descriptor was
2560 (InitializePager): pager_cell needs to be a member so it isn't
2561 created more then once per a render.
2562 (InitializeNumericPager): Compute start and end more
2564 - Link commands are 1 indexed.
2565 (CreateControlHierarchy): Clear the table before we begin
2567 - Revert patch that made adding the pagers conditional. This is
2568 incorrect, the pagers are always added. Only their visibility is
2569 affected by the pager style.
2570 - Save the entire count in the viewstate, not just the rendered
2571 count. So when paging is enabled the pager's count isn't broken by
2574 2005-08-22 Chris Toshok <toshok@ximian.com>
2576 * LinkButton.cs (ValidationGroup): implement.
2577 (IPostBackEventHandler.RaisePostBackEvent): in the 2.0 profile,
2578 pass ValidationGroup to Page.Validate.
2580 2005-08-22 Chris Toshok <toshok@ximian.com>
2582 * ImageButton.cs (ValidationGroup): implement.
2583 (IPostBackEventHandler.RaisePostBackEvent): if we cause
2584 validation, call Page.Validate properly (in both profiles).
2586 2005-08-22 Chris Toshok <toshok@ximian.com>
2588 * Button.cs (IPostBackEventHandler.RaisePostBackEvent): in the 2.0
2589 case, pass ValidationGroup to Page.Validate.
2590 (ValidationGroup): implement using ViewState.
2592 2005-08-22 Chris Toshok <toshok@ximian.com>
2594 * BaseValidator.cs (Text): 2.0 only. implement naively, just
2596 (OnInit): add 2.0 support for validation groups.
2599 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
2601 * LoginName.cs: New (2.0) web control.
2602 * LoginStatus.cs: New (2.0) web control.
2604 2005-08-19 Chris Toshok <toshok@ximian.com>
2606 * LinkButton.cs (ValidationGroup): implement getter/setter.
2607 (RaisePostBackEvent): implement naively, by c&p'ing the old
2608 implementation of IPostBackEventHandler.RaisePostBackEvent, but
2609 making use of the ValidationGroup in the call to Page.Validate.
2613 * Style.cs (LoadViewState): set our style flags for all the things
2614 we have flags for. Seems like the subclass flags should be
2615 handled in overridden LoadViewState methods, but none of the Style
2616 subclasses seem to override this method.
2618 2005-08-19 Chris Toshok <toshok@ximian.com>
2620 * TableStyle.cs (Merge, MergeWith): make these look a bit more
2621 like Copy/CopyFrom, with the styles checks instead of just
2624 * TableItemStyle.cs: same, only also make Copy/CopyFrom work as in
2627 2005-08-19 Chris Toshok <toshok@ximian.com>
2629 * DataGrid.cs (InitializePager): don't unconditionally set
2630 pager_cell to the numeric pager (especially after setting it
2631 conditionally to the nextprev pager.)
2632 (InitializeNumericPager): the link buttons don't participate in
2634 (InitializeNextPrevPager): same.
2635 (CreateControlHierarchy): create the top/bottom pagers only if the
2636 PagerStyle says too.
2638 2005-08-19 Sebastien Pouliot <sebastien@ximian.com>
2640 * TableCell.cs: Added AssociatedHeaderCellID property for 2.0.
2642 2005-08-18 Chris Toshok <toshok@ximian.com>
2644 * DataList.cs (CreateControlHierarchy): Call Controls.Clear() at
2645 the start of this method so templates are created properly.
2647 2005-08-18 Dick Porter <dick@ximian.com>
2649 * Button.cs, DetailsView.cs, Xml.cs, Table.cs, Menu.cs,
2650 DataControlButton.cs, Label.cs, ObjectDataSource.cs, CheckBox.cs,
2651 RadioButton.cs, ListControl.cs, Image.cs, SiteMapPath.cs,
2652 BaseDataList.cs, DataList.cs, BulletedList.cs,
2653 DataBoundControl.cs, Login.cs, GridView.cs,
2654 CompositeDataBoundControl.cs, Wizard.cs, BaseValidator.cs,
2655 TextBox.cs, CheckBoxList.cs, RadioButtonList.cs, FormView.cs,
2656 AdRotator.cs, Repeater.cs, MenuItemTemplateContainer.cs,
2657 DropDownList.cs, HyperLink.cs, ImageMap.cs, MultiView.cs,
2658 CompositeControl.cs, HierarchicalDataBoundControl.cs, Calendar.cs,
2659 ListBox.cs, TableCell.cs, WebControl.cs, Literal.cs,
2660 BaseDataBoundControl.cs, ValidationSummary.cs, ImageButton.cs,
2661 LinkButton.cs, TreeView.cs: 2.0 API fixes and stubs, and attribute
2664 2005-08-18 Sebastien Pouliot <sebastien@ximian.com>
2666 * BaseDataList.cs: Added a TODO for DataKeyField as we're not using it
2668 * DataList.cs: Reworked CreateControlHierarchy to avoid allocating an
2669 empty array of objects just to get the number of items.
2670 * Login.cs: Implemented OnBubbleEvent and parts of the authentication
2671 but we're missing some bits from the class lib to complete all this...
2673 2005-08-17 Jackson Harper <jackson@ximian.com>
2675 * DataGrid.cs: Only create one pager and add it to both the top
2676 and bottom of the grid, this way all the id numbers stay the same
2677 and we save a bunch of cycles.
2679 2005-08-17 Jackson Harper <jackson@ximian.com>
2681 * DataGrid.cs: The top and bottom pagers are always created. Just
2682 the visibility is changed by the PagerStyle::Position.
2684 2005-08-17 Chris Toshok <toshok@ximian.com>
2686 * CompositeControl.cs (RecreateChildControls): implement naively -
2687 just call CreateChildControls. We might need to call
2688 Controls.Clear() as well, but for the time being, this is ok.
2690 2005-08-17 Sebastien Pouliot <sebastien@ximian.com>
2692 * BaseDataList.cs: Completed implementation for 2.0.
2694 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
2696 * BaseDataList.cs: Added missing properties/methods/attributes for 2.0.
2697 * DataList.cs: Added missing [Browseable] attribute on SelectedValue.
2699 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
2701 * BaseDataList.cs: Removed old internal ctor as DataList TagKey was
2703 * DataList.cs: Implemented {Load|Save}ControlState and OnInit (2.0).
2704 Adjusted size and ordering of the ViewState (new element #0 is still
2705 unknown). Properly fixed the TagKey in 2.0.
2706 * Login.cs: Implemented {Load|Save|Track}ViewState. Added checks for
2707 all properties using enums.
2708 * Panel.cs: Fixed NoWrap rendering unit test (for 2.0).
2709 * TableItemStyle.cs: Fixed attribute rendering to use style to render
2710 "nowrap" in 2.0 (it used the HTML nowrap attribute in 1.x).
2712 2005-08-15 Jackson Harper <jackson@ximian.com>
2714 * EditCommandColumn.cs: Use a normal LinkButton.
2716 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
2718 * Image.cs: Don't remove GenerateEmptyAlternateText (2.0) from the
2719 viewstate (even if assigned to the default value).
2720 * TableRow.cs: Implement TableSection property (2.0). It has no effect
2721 on the rendering of the table row.
2723 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
2725 * BaseDataList.cs: Added new [Themeable] and [Localizable] attributes
2726 and removed [Bindable] attributes for 2.0.
2727 * DataList.cs: Added new 2.0 attributes on class and removed [Bindable]
2728 attributes (for 2.0).
2729 * DataListCommandEventArgs.cs: Not sealed in 2.0.
2730 * DataListItemEventArgs.cs: Not sealed in 2.0.
2731 * Image.cs: Fixed [Designer] attribute on class and all [Editor]
2732 attributes for URLs.
2733 * Login.cs: Fixed [Designer] attribute on class and all [Editor]
2734 attributes for URLs.
2735 * Table.cs: Fixed [Editor] attribute for 2.0.
2736 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
2737 * TableCell.cs: Fixed [Designer] attribute. Fixed property name for
2738 AssociatedHeaderCellID and it's [DefaultValue] attribute.
2739 * TableHeaderCell.cs: Fix [DefaultValue] attributes for CategoryText
2740 and Scope attributes.
2741 * TableRow.cs: Fixed [Designer] attribute. Added missing [DefaultValue]
2742 on TableSection attribute.
2743 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
2745 2005-08-14 Sebastien Pouliot <sebastien@ximian.com>
2747 * Image.cs: Fixed attributes for 2.0 profile.
2748 * Login.cs: Fixed some attributes and default values.
2749 * Table.cs: Fixed attributes for 2.0 profile. Added protected method
2750 RaisePostBackEvent (TODO) in 2.0 profile.
2751 * TableCell.cs: Fix properties (Bindable, Localizable, Designer...)
2752 and added AssociateHeaderCellID property (TODO).
2753 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
2754 * TableFooterRow.cs: New (2.0). TableRow that always shows on each
2755 page (if the device requires to breaks the table into multiple pages).
2756 This seems to be a "flag" class, the real work will be in Table.
2757 * TableHeaderCell.cs: Added CategoryText and Scope properties for 2.0.
2758 * TableHeaderRow.cs: New (2.0). TableRow that always shows on each
2759 page (if the device requires to breaks the table into multiple pages).
2760 This seems to be a "flag" class, the real work will be in Table.
2761 * TableItemStyle.cs: Remove [Bindable (true)] from 2.0 profile.
2762 * TableRow.cs: Remove [Bindable (true)] from properties and add
2763 [Bindable (false)] and [Designer] on class. Added new TableSection
2765 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
2766 * TableSectionStyle.cs: New (2.0). Add Visible to Style - but it's
2767 broken (int beta2) for IsEmpty, CopyFrom, MergeWith...
2768 * TableStyle.cs: Fixed attributes for 2.0 profile. Added new
2769 FillStyleAttributes method (2.0).
2771 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
2773 * Login.cs: New (2.0). Mostly a stub with copy-n-pasted code and
2774 attributes from existing controls.
2775 * LoginCancelEventArgs.cs: New (2.0). Required to build Login.
2776 * LoginCancelEventHandler.cs: New (2.0). Required to build Login.
2778 2005-08-12 Jackson Harper <jackson@ximian.com>
2780 * TableRow.cs: No AutoID for TableRows.
2782 2005-08-12 Jackson Harper <jackson@ximian.com>
2784 * DataGrid.cs (CreateRenderColumns): If we aren't using data
2785 binding grab the rendercols from the data source columns.
2786 (LoadViewState): Restore the bound columns when reloading the
2788 (InitializeNumericPager): Create elipsised pagers.
2789 (CreateItem): Don't set the item's ID.
2790 (CreateItem): Add the control to the table before it is databound
2791 so that it's value is saved in the viewstate.
2792 (CreateControlHierarchy): Create a fake data source when not using
2793 databinding. Don't add controls to the table as they are added in
2795 (PrepareControlHierarchy): Make footers and header non visible if
2796 they aren't enabled.
2798 2005-08-12 Chris Toshok <toshok@ximian.com>
2800 * CompositeControl.cs (DataBind, Render, get_Controls): the MSDN
2801 docs says these methods/properties "ensure the child controls are
2802 created" -- so call EnsureChildControls() before invoking the base
2805 2005-08-12 Jackson Harper <jackson@ximian.com>
2807 * BoundColumn.cs: Set the controls text instead of adding a
2808 literal control. So it is saved in the controls viewstate.
2810 2005-08-11 Jackson Harper <jackson@ximian.com>
2812 * CheckBoxList.cs: Set the tabindex on the checkbox control and
2813 don't render it on the main table (Setting it to zero causes it to
2814 not be rendered). Also use the invariant culture on the id.
2816 2005-08-11 Dick Porter <dick@ximian.com>
2818 * CheckBox.cs: Let ViewState manage removals; apply styles and
2819 "style" attributes in a surrounding <span>. Fixes unit tests.
2821 2005-08-10 Chris Toshok <toshok@ximian.com>
2823 * Label.cs (LoadViewState): set the Text attribute from our
2824 ViewState (if it exists) to clear out any child controls. Fixes
2825 jsunit test label/label-child-control-postback.aspx.
2827 2005-08-10 Jackson Harper <jackson@ximian.com>
2829 * PagedDataSource.cs: Respect paging with all data source types.
2831 2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
2833 * BaseDataList.cs: Changed Controls property from "virtual new"
2834 (2.0 doc) to "override" (monop) to fix the Visible bug (see
2835 datalist-invisible.aspx). Fixed AddParsedSubObject not to accept
2836 any controls (required due to change to Controls). Implemented
2837 DataBind(bool) for 2.0.
2838 * DataListItem.cs: Fix the multiple table when extractRows is used.
2839 Removed extra span tags by rendering contents (not control). Added
2840 support for IDataItemContainer (2.0).
2842 2005-08-08 Jackson Harper <jackson@ximian.com>
2844 * DataGrid.cs: Apply the styles to each item type.
2846 2005-08-08 Jackson Harper <jackson@ximian.com>
2848 * PagedDataSource.cs: If paging is not enabled keep enumerating to
2849 the end of the list.
2851 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
2853 * BaseDataList.cs: Remove old compatibility stuff.
2854 * DataList.cs: Fix the edit|update for datalist-style-edit.aspx.
2855 * WebControl.cs: Always call CreateControlStyle to create the
2856 ControlStyle. Fix the exception for datalist-style-edit.aspx.
2858 2005-08-05 Jackson Harper <jackson@ximian.com>
2860 * DataGrid.cs: Don't make the current page index a link in the
2863 2005-08-05 Jackson Harper <jackson@ximian.com>
2865 * DataGrid.cs: Honour PagerPosition.
2867 2005-08-05 Jackson Harper <jackson@ximian.com>
2869 * PagedDataSource.cs: Round PageCount properly.
2871 2005-08-05 Dick Porter <dick@ximian.com>
2873 * CheckBox.cs: Shut corcompare up a bit more. Still need to
2874 figure out how to not use AddAttributesToRender to get it
2877 * ButtonColumn.cs: Implement Initialize() and InitializeCell()
2879 * DataGridColumn.cs: Added the duplicate viewstate manipulation
2882 2005-08-05 Chris Toshok <toshok@ximian.com>
2884 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): treat "" as
2885 null when it comes to the format string.
2886 (FormatDataTextValue): same.
2888 2005-08-04 Chris Toshok <toshok@ximian.com>
2890 * BaseValidator.cs (Validate): only test a validator if it's both
2891 enabled and visible.
2893 2005-08-04 Chris Toshok <toshok@ximian.com>
2895 * BaseValidator.cs (AddAttributesToRender): add "enabled" if
2898 2005-08-04 Jackson Harper <jackson@ximian.com>
2900 * DataGrid.cs: Add a new space control for each link. Also make
2901 the link's text 1 indexed. Don't add the space after the last
2904 2005-08-04 Ben Maurer <bmaurer@ximian.com>
2906 * LinkButton.cs: Fix up the test suite here.
2908 * Panel.cs: Fix up nowrap
2910 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
2912 * ListBox.cs: Use WriteXXXX to render HTML, this way it matches MS output
2913 * ListControl.cs: Clear item list before adding data (again)
2915 2005-08-04 Jordi Mas i Hernandez <jordi@ximian.com>
2917 * Calendar.cs: fixes issues with OnDayRender event and others
2919 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
2921 * DataGrid.cs(CreateControlHierarchy): Consider the EditItemIndex when
2923 * ListControl.cs(OnDataBinding): Only apply DataTextFormatString to text
2924 if DataTextField is bound
2925 * EditCommandColumn.cs(InitializeCell): MS inserts a between the
2926 two controls in edit mode, lets do the same
2928 2005-08-03 Jackson Harper <jackson@ximian.com>
2930 * BoundColumn.cs: Respek for the thisExpr when data binding.
2932 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
2934 * EditCommandColumn.cs: No need to offer edit when in edit mode.
2937 2005-08-04 Dick Porter <dick@ximian.com>
2939 * DataGridColumn.cs: New implementation
2942 * DataGridColumnCollection.cs: Set the DataGridColumn's owner
2944 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
2946 * WebControl.cs(CopyBaseAttributes): Use Enabled setter to also
2949 2005-08-03 Ben Maurer <bmaurer@ximian.com>
2951 * RepeatInfo.cs: Finally figured out how to use base control
2953 2005-08-03 Jackson Harper <jackson@ximian.com>
2955 * ButtonColumn.cs: Partial implementation.
2957 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
2959 * DataGridPagerStyle.cs(PageButtonCount): Throw exception on
2962 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
2964 * Calendar.cs: fixes Save/Load state
2966 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
2968 * Calendar.cs: bug fixes
2970 2005-08-03 Jackson Harper <jackson@ximian.com>
2972 * DataGrid.cs: Merge the table style with the render table. Some
2973 initial work on the numeric pager. Remove some debugging code.
2975 2005-08-03 Jackson Harper <jackson@ximian.com>
2977 * BoundColumn.cs: Implement Initialize and InitializeCell. When
2978 Data is formated it uses the DataFormatString that was set at the
2979 time Initialize was called (or null if initialize was never
2982 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
2984 * RadioButtonList.cs: bug fixes
2986 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
2988 * CheckBox.cs, RadioButton.cs: mecanism to avoid exposing
2989 AddAttributesToRender
2990 * RadioButtonList.cs: Implementation
2992 2005-08-01 Jackson Harper <jackson@ximian.com>
2994 * TableStyle.cs: Copy style bit when copying from another style.
2996 2005-08-01 Jackson Harper <jackson@ximian.com>
2998 * PagedDataSource.cs: Implement missing properties, use yield for
2999 the Enumerator methods. Only allow the enums to return one page at
3002 2005-08-01 Chris Toshok <toshok@ximian.com>
3004 * HyperLinkColumn.cs (ItemDataBinding): remove incorrect comment.
3006 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
3008 * WebControl.cs: Track enabled state across sessions
3010 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
3012 * ListControl.cs(OnDatabinding): Value is equivalent to text if
3015 2005-08-01 Jordi Mas i Hernandez <jordi@ximian.com>
3017 * ImageButton.cs: fixes, complete missing parts
3019 2005-07-31 Ben Maurer <bmaurer@ximian.com>
3021 * TextBox.cs: Html encode for multiline text boxes
3023 * HyperLink.cs: Resolve images
3025 2005-07-30 Chris Toshok <toshok@ximian.com>
3027 * BaseValidator.cs: initial version of 2.0 properties
3028 ValidationGroup and SetFocusOnError.
3030 2005-07-30 Chris Toshok <toshok@ximian.com>
3032 * HyperLinkColumn.cs (InitializeCell): clean this up.
3034 2005-07-30 Chris Toshok <toshok@ximian.com>
3036 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): just use
3037 DataBinder.FormatResult.
3038 (FormatDataTextValue): same.
3039 (Initialize): call base.Initialize.
3040 (ItemDataBinding): new function, get the text/navigateurl and set
3041 them on our HyperLink control.
3042 (InitializeCell): create a hyperlink control in the
3043 Item/EditItem/AlternatingItem case.
3045 2005-07-30 Ben Maurer <bmaurer@ximian.com>
3047 * RepeatInfo.cs: Handle 0 items situations correctly
3049 * HyperLink.cs: Resolve urls correctly
3051 * CheckBox.cs: use the correct ID for the label element.
3053 * Label.cs: Correct AddParsedSubObject impl. See FAQ
3055 2005-07-29 Chris Toshok <toshok@ximian.com>
3057 * BaseCompareValidator.cs (GetDateElementOrder): implement.
3059 2005-07-29 Chris Toshok <toshok@ximian.com>
3061 * BaseCompareValidator.cs (GetFullYear): implement two ways. The
3062 #if'ed out version follows microsoft's docs on msdn, but doesn't
3063 match ms's behavior. The other matches their behavior but not
3064 their docs. we use the latter. go figure.
3065 (get_CutoffYear): implement using
3066 CultureInfo.CurrentCulture.Calendar.TwoDigitYearMax.
3068 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
3071 - Name property now throws exception when set to null
3072 - Names now handles situation where our bit tells us we have
3073 a font, but it's not in the StateBag (null removal)
3074 * RangeValidator.cs: Removed unused vars
3076 2005-07-29 Ben Maurer <bmaurer@ximian.com>
3078 * Label.cs: ClientID should be used rather than UniqueID to get
3081 2005-07-29 Chris Toshok <toshok@ximian.com>
3083 * BaseValidator.cs (Validatate): not sure if this is entirely
3084 correct (some fairly deep testing required), but setting Enabled =
3085 false has the effect of setting IsValid = true.
3087 2005-07-29 Ben Maurer <bmaurer@ximian.com>
3089 * RadioButton.cs: The "remove from groupstate" isn't needed any
3090 more, now that statebag is correct.
3092 2005-07-29 Dick Porter <dick@ximian.com>
3094 * RadioButton.cs: Hide nonstandard API; remove GroupName from the
3095 ViewState when it is null.
3097 * CheckBox.cs: Hide nonstandard API
3099 2005-07-29 Jordi Mas i Hernandez <jordi@ximian.com>
3101 * Calendar.cs: fixes exceptions, bug fixes, new features
3102 * SelectedDatesCollection.cs: Fixes bugs discovered by the tests
3103 * CalendarDay.cs: fixes default value
3105 2005-07-28 Ben Maurer <bmaurer@ximian.com>
3107 * CompositeControl.cs: Stub
3109 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
3111 * EditCommandColumn.cs: Implemented
3113 2005-07-27 Chris Toshok <toshok@ximian.com>
3115 * RegularExpressionValidator.cs (EvaluateIsValid): "" is valid.
3117 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
3119 * CustomValidator.cs: Bug fixes (Thanks to Chris for creating the
3122 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
3124 * DataGrid.cs: DataGridPagerStyle does not need DataGrid as argument
3125 for it's constructor, so remove it
3126 * DataGridPagerStyle.cs: Removed DataGrid argument from constructor
3128 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
3130 * DataGridPagerStyle.cs: Implemented
3131 * TableItemStyle.cs (MergeWith): Now only sets style bits it owns
3132 * Style.cs: Added Styles enum values for DataGridPagerStyle
3134 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
3136 * Calendar.cs: get the styles right, honors more properties, fixes, fix
3139 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
3141 * DataGridItem.cs: Implemented
3143 2005-07-26 Chris Toshok <toshok@ximian.com>
3145 * LinkButton.cs (AddParsedSubObject): reversed the order of
3146 Controls.Add() and Text = null
3147 (set_Text): call Controls.Clear()
3148 (RenderContents): use HasControls() for the if test instead of
3151 * HyperLink.cs (AddParsedSubObject): reversed the order of
3152 Controls.Add () and Text = null;
3154 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
3156 * DataGridItemCollection.cs: Implemented
3158 2005-07-26 Chris Toshok <toshok@ximian.com>
3160 * LinkButton.cs (AddParsedSubObject): copy implementation from
3162 (RenderContents): only call writer.Write(Text) if Text != "".
3163 Otherwise default to base.RenderContents.
3165 2005-07-26 Chris Toshok <toshok@ximian.com>
3167 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
3168 ImageButton.cs, LinkButton.cs (AddAttributesToRender): add if
3169 (Page != null) around my last commit.
3171 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
3173 * FontInfo.cs, CheckBox.cs, RadioButton.cs, ListItemCollection.cs:
3174 Fixed use of literal strings, instead using Consts
3175 * Xml.cs, RegularExpressionValidator.cs, TemplateColumn.cs,
3176 TextBox.cs, RequiredFieldValidator.cs, Repeater.cs, RepeaterItem.cs,
3177 Panel.cs, Literal.cs: Added attributes
3178 * BaseValidator.cs: Added missing override
3180 2005-07-26 Chris Toshok <toshok@ximian.com>
3182 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
3183 ImageButton.cs, LinkButton.cs (AddAttributesToRender): call
3184 Page.VerifyRenderingInServerFormHere.
3186 2005-07-26 Chris Toshok <toshok@ximian.com>
3188 * BaseValidator.cs: remove some MonoTODO's about the client side
3191 2005-07-26 Jordi Mas i Hernandez <jordi@ximian.com>
3193 * Calendar.cs: selection of dates, state load, save, track, support
3194 for new properties, many fixes.
3196 2005-07-26 Miguel de Icaza <miguel@novell.com>
3198 * Style.cs: Temporary methods to help buliding .NET 2.x
3200 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
3202 * BaseValidator.cs: Added AssociateControlID (new in sp1), fixed
3204 * Xml.cs: Fixed base class, attributes
3205 * Button.cs, DataGridColumnCollection.cs, HyperLinkColumn.cs,
3206 Label.cs, ListItem.cs, ListControl.cs, CustomValidator.cs,
3207 CheckBoxList.cs, AdRotator.cs, DropDownList.cs, HyperLink.cs,
3208 DataGrid.cs, ButtonColumn.cs, CompareValidator.cs, Calendar.cs,
3209 ListBox.cs, ImageButton.cs, LinkButton.cs: Attribute fixes
3211 2005-07-25 Ben Maurer <bmaurer@ximian.com>
3213 * RepeatInfo.cs: WOOHOOO! all tests pass. Boy is this class
3216 2005-07-25 Ben Maurer <bmaurer@ximian.com>
3218 * RepeatInfo.cs: If the repeater has one column, the separators
3219 are rendered on a different line
3221 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
3223 * DataGridSortCommandEventArgs: Sealed class
3224 * ButtonColumn.cs, Calendar.cs: Added Attributes
3226 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
3228 * Button.cs, Style.cs, BaseCompareValidator.cs, RangeValidator.cs,
3229 BaseValidator.cs, AdRotator.cs, BoundColumn.cs: Added Attributes
3231 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
3233 * FontInfo.cs, Style.cs, RangeValidator.cs, ListItemCollection.cs,
3234 DropDownList.cs, WebControl.cs, ValidationSummary.cs: Added Attributes
3236 2005-07-25 Chris Toshok <toshok@ximian.com>
3238 * ValidationSummary.cs (AddAttributesToRender): add client side
3240 (OnPreRender): set the "been here" flag.
3241 (Render): add client side support.
3243 2005-07-25 Ben Maurer <bmaurer@ximian.com>
3245 * RepeatInfo.cs: Split the horiz and vertical cases, because this
3246 class has rules that are beyond strange. Continue working to make
3249 2005-07-25 Ben Maurer <bmaurer@ximian.com>
3251 * RepeatInfo.cs: Misc fixes for my test suite.
3253 2005-07-25 Jackson Harper <jackson@ximian.com>
3255 * DataGrid.cs: Set the command name and args on the link buttons.
3257 2005-07-25 Jackson Harper <jackson@ximian.com>
3259 * DataGrid.cs: Lots o implementation.
3261 2005-07-25 Jackson Harper <jackson@ximian.com>
3263 * BoundColumn.cs: Partial implementation to get the DataGrid tests
3266 2005-07-23 Jordi Mas i Hernandez <jordi@ximian.com>
3268 * Button.cs: fixes events, adds attributes
3270 2005-07-23 Chris Toshok <toshok@ximian.com>
3272 * BaseValidator.cs (GetControlValidateValue): handle ListItems as
3273 prop.GetValue results.
3274 (Render): fix the static non-uplevel case, so that we display text
3275 when there's an error.
3277 2005-07-22 Chris Toshok <toshok@ximian.com>
3279 * RegularExpressionValidator.cs (AddAttributesToRender): only
3280 output ValidationExpression if it's != null.
3282 2005-07-22 Chris Toshok <toshok@ximian.com>
3284 * BaseValidator.cs (AddAttributesToRender): fix up the Display
3285 rendering such it matches MS's output.
3286 (Render): stop using the huge complicated if's for each output
3287 stage and move to boolean flags, and fix the static-nonuplevel
3288 case, where a validator outputs as nothing but
3290 2005-07-22 Jordi Mas i Hernandez <jordi@ximian.com>
3291 * Calendar.cs: Initial implementation
3292 * CalendarSelectionMode.cs: fix enum order
3294 2005-07-22 Sebastien Pouliot <sebastien@ximian.com>
3296 * DataList.cs: Rewrote the IRepeatInfoUser.RenderItem to support all
3297 (or more?) specific cases - including correct support for separators.
3298 Added some (commented) debugging code.
3299 * HyperLink.cs: Only render href and target attributes if they're not
3300 empty. Add "border=0" when rendering <img> tag. Fix Target default
3303 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
3305 * Style.cs (CopyFrom): Reset must go, MS doesn't do it (See tests)
3307 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
3309 * Style.cs (CopyFrom): Reset our styles and don't set bits from
3310 target explicitly, properties will set them
3312 2005-07-22 Dick Porter <dick@ximian.com>
3315 * ButtonColumn.cs: Initial stubs
3317 2005-07-22 Dick Porter <dick@ximian.com>
3320 * CheckBox.cs: Add assembly attributes
3322 2005-07-22 Ben Maurer <bmaurer@ximian.com>
3324 * HyperLink.cs: Handle non-literal children.
3326 2005-07-21 Ben Maurer <bmaurer@ximian.com>
3328 * Label.cs: SP1 stuff
3330 2005-07-21 Chris Toshok <toshok@ximian.com>
3332 * BaseValidator.cs (RegisterValidatorCommonScript): remove the NS4
3333 stuff that I c&p'ed from elsewhere - NS4 doesn't support the DOM1
3334 stuff WebUIValidation.js uses, so we don't support it for uplevel
3337 2005-07-21 Chris Toshok <toshok@ximian.com>
3339 * BaseValidator.cs (DetermineRenderUplevel): include checks for
3340 the EcmaScriptVersion and W3CDomVersion.
3342 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
3344 * BaseDataList.cs: Support IEnumerable.
3345 * DataList.cs: Fix alternate items.
3346 * TableCell.cs: Fixed AddParsedSubObject to work nicely with existing
3347 controls and the Text property.
3349 2005-07-21 Ben Maurer <bmaurer@ximian.com>
3351 * TextBoxMode.cs: Wrong ordering of enum...
3353 2005-07-21 Chris Toshok <toshok@ximian.com>
3355 * BaseValidator.cs (OnPreRender): call DetermineRenderUplevel and
3358 2005-07-21 Chris Toshok <toshok@ximian.com>
3360 * BaseValidator.cs (get_PropertiesValid): use our containing
3361 NamingContainer, not ourselves, to look up controls.
3362 (CheckControlValidationProperty): same.
3363 (GetControlRenderID): same.
3364 (GetControlValidationValue): same.
3365 (AddAttributesToRender): add the display style attribute if
3366 Display != Static, and add the value of IsValid if it's false.
3367 (DetermineRenderUplevel): use a try block around (Page.Request)
3368 since that can raise an exception.
3369 (OnPreRender): set pre_render_called, so we can consult it in
3371 (Render): complicate this method more to handle more of the
3372 Display/pre_render_called permutations.
3374 2005-07-21 Peter Dennis Bartok <pbartok@novell.com>
3376 * CustomValidator.cs: Initial implementation, still work in progress
3378 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
3380 * DataList.cs: Fix rendering for special items (-1).
3382 2005-07-21 Ben Maurer <bmaurer@ximian.com>
3384 * RepeatInfo.cs: Fix most of the tests.
3386 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
3388 * Image.cs: Call ResolveUrl for ImageUrl and DescriptionUrl properties.
3389 Add a border=0 attribute if no style is defined.
3390 * TableCell.cs: Use HtmlTextWriterTag (not a string).
3391 * TableHeaderCell.cs: Use HtmlTextWriterTag (not a string).
3392 * TableRow.cs: Use HtmlTextWriterTag (not a string).
3394 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
3396 * BaseDataList.cs: Fix attributes.
3397 * HorizontalAlign.cs: Fix attributes.
3398 * Image.cs: Fix attributes and enums checks.
3399 * Table.cs: Fix attributes an enums checks.
3400 * TableCell.cs: Fix attributes.
3401 * TableCellCollection.cs: Fix attributes.
3402 * TableItemStyle.cs: Fix attributes and enums checks.
3403 * TableRowCollection.cs: Fix attributes.
3404 * TableRow.cs: Fix attributes.
3405 * TableStyle.cs: Fix attributes and enums checks.
3406 * VerticalAlign.cs: Fix attributes.
3408 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
3410 * BaseDataList.cs: Remove/#if-out useless/2.0 stuff.
3411 * DataList.cs: Added rendering support when ExtractTemplatesRows
3412 property is true (but RepeatInfo needs to be fixed to see it works).
3413 * DataListItem.cs: Added rendering support when extractRows parameter
3414 is true (but RepeatInfo still needs to be fixed ;-)
3416 2005-07-21 Duncan Mak <duncan@novell.com>
3418 * HyperLinkColumn.cs: Initial implementation.
3419 Todo: Figure out Initialize and InitializeCell.
3421 2005-07-20 Chris Toshok <toshok@ximian.com>
3423 * BaseValidator.cs: don't use Page.FindControl, use this Control's
3424 FindControl, so it'll use the same naming container.
3426 2005-07-21 Duncan Mak <duncan@novell.com>
3428 * DataGridCommandEventArgs.cs:
3429 * DataGridPageChangedEventArgs.cs:
3430 * RepeaterCommandEventArgs.cs: Fixed visibility.
3432 * DataGridPageChangedEventArgs.cs (CommandSource): Fixed typo.
3433 * DataGridSortCommandEventArgs.cs (CommandSource): Ditto..
3435 2005-07-20 Chris Toshok <toshok@ximian.com>
3437 * Button.cs: hook up the client side validation stuff.
3439 * ImageButton.cs: same.
3441 * LinkButton.cs: same, although it's a little more complicated
3444 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
3447 - Implemented RaisePostDataChangedEvent()
3448 - Spewing postback command if AutoPostBack is true
3450 2005-07-20 Chris Toshok <toshok@ximian.com>
3452 * BaseValidator.cs: another Page != null check when uplevel
3455 2005-07-20 Chris Toshok <toshok@ximian.com>
3457 * BaseValidator.cs: check Page != null when determining if we're
3458 rendering uplevel or not.
3460 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
3462 * ListItemCollection.cs: Removed obsolete method that's no longer
3465 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
3467 * DropDownList.cs: Oops. Forgot to implement LoadPostData
3468 * ListItemCollection.cs: Added convenience method to have faster
3471 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
3474 - Automatically select the first item if none are selected
3475 - Throw exception if more than one item is selected
3477 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
3479 * DataList.cs: Fix style handling for RepeatLayout.Flow (which isn't
3480 handled by RepeatInfo).
3482 2005-07-20 Jackson Harper <jackson@ximian.com>
3484 * DataGrid.cs: Store the data source created columns in a
3485 DataGridColumnCollection. This way they can be put in the
3486 view state more easily, and accessed without casting.
3488 2005-07-20 Chris Toshok <toshok@ximian.com>
3490 * BaseValidator.cs (AddAttributesToRender): render the client side
3491 attributes if we're in uplevel mode.
3492 (DetermineRenderUplevel): flesh out a bit - for now basically
3493 return true unless the control has it disabled.
3494 (OnInit): only add the validator to Page's list if there is, in
3496 (OnUnload): same for removal.
3497 (OnPreRender): hook up client scripting stuff here. Only the call
3498 to RegisterValidatorCommonScript is a for sure thing here, the
3499 registering of the submit statement and startup script should
3500 probably go elsewhere, but I don't know where.
3501 (RegisterValidatorCommonScript): register the <script
3502 src=".../WebUIValidation.js"> tag, if it's not already there.
3503 (RegisterValidatorDeclaration): add our span object to the
3504 Page_Validators JS array.
3505 (Render): always render the tags (although this is probably not
3506 right), and call RegisterValidatorDeclaration here.
3508 * BaseCompareValidator.cs (AddAttributesToRender): render the
3509 client side attributes if we're in uplevel mode.
3510 (DetermineRenderUplevel): add MonoTODO.. why override this? Just
3511 call base.DetermineRenderUplevel for now.
3513 * RegularExpressionValidator.cs (AddAttributesToRender): render
3514 the client side attributes if we're in uplevel mode.
3516 * RequiredFieldValidator.cs (AddAttributesToRender): same.
3518 * CompareValidator.cs (AddAttributesToRender): same.
3520 2005-07-20 Jackson Harper <jackson@ximian.com>
3522 * DataGrid.cs: Save the data source created column set in the
3525 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
3527 * DataList.cs: Fix events and properties exceptions. Give the right
3528 informations to RenderItem.
3530 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
3532 * ValidationSummary.cs: Implemented rendering
3534 2005-07-20 Jackson Harper <jackson@ximian.com>
3536 * DataGrid.cs: column names are cached and only regenerated if useDataSource
3537 is set to true. Otherwise they are just fetched from the last set that
3538 was generated from the source.
3540 2005-07-20 Jackson Harper <jackson@ximian.com>
3542 * DataGrid.cs: Assign some properties of newly created BoundColumns.
3544 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
3546 * DataList.cs: Fix viewstate ordering.
3548 2005-07-20 Ben Maurer <bmaurer@ximian.com>
3550 * SelectedDatesCollection.cs: Apprarently, I don't write code well
3553 * Repeater.cs: Uh, actually add stuff to the items collection
3556 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
3558 * BaseDataList.cs: EnsureChildControls on Controls property.
3559 * DataList.cs: Fix rendering and Controls/Items differences.
3560 * DataListItem.cs: Added rendering of controls.
3562 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
3564 * BaseDataList.cs: Don't call base.Render (or we'll get an extra span).
3566 2005-07-20 Jackson Harper <jackson@ximian.com>
3568 * DataGrid.cs: Add some of the collections. Implement
3571 2005-07-20 Jackson Harper <jackson@ximian.com>
3573 * PagedDataSource.cs: Implement GetItemProperties, this is
3574 needed for the datagrid.
3576 2005-07-20 Ben Maurer <bmaurer@ximian.com>
3578 * DataGridColumnCollection.cs: New impl
3580 * TemplateColumn.cs: New impl
3582 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
3584 * BaseDataList.cs: Call PrepareControlHierarchy from Render.
3585 * DataList.cs: Work in progress... Added attributes, proper
3586 IRepeatInfoUser support and cool things stolen from other classes.
3587 * DataListCommandEventArgs.cs: Class is sealed.
3588 * DataListItem.cs: RenderItem is public.
3590 2005-07-19 Jackson Harper <jackson@ximian.com>
3592 * ListControl.cs: Use Events Add/RemoveHandler. Don't create
3593 a viewstate object if all the viewstate stuff is null.
3595 2005-07-19 Jackson Harper <jackson@ximian.com>
3597 * DataGrid.cs: Implement style properties and viewstate
3598 saving/loading/tracking.
3600 2005-07-19 Chris Toshok <toshok@ximian.com>
3602 * BaseValidator.cs: more fixes from pdb.
3604 2005-07-19 Chris Toshok <toshok@ximian.com>
3606 * BaseValidator.cs: some test-driven fixes.
3608 2005-07-19 Chris Toshok <toshok@ximian.com>
3610 * BaseValidator.cs: Initial implementation.
3612 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
3614 * Repeater.cs: Fix small typo.
3616 2005-07-19 Peter Dennis Bartok <pbartok@novell.com>
3618 * ValidationSummaryTest.cs: Started implementation
3619 * RangeValidator.cs: Implemented
3620 * ValidatedControlConverter.cs: Implemented
3621 * DropDownList.cs: Implemented
3623 2005-07-19 Jackson Harper <jackson@ximian.com>
3625 * DataGrid.cs: Implement bubble event.
3627 2005-07-19 Jackson Harper <jackson@ximian.com>
3629 * DataGrid.cs: New implementation. Just properties and events for
3632 2005-07-18 Chris Toshok <toshok@ximian.com>
3634 * BaseCompareValidator.cs: Initial implementation, with some NYI.
3636 2005-07-19 Ben Maurer <bmaurer@ximian.com>
3638 * FontUnit.cs: Corcompare fixes
3640 * UnitConverter.cs: Fix api diffs
3642 2005-07-18 Ben Maurer <bmaurer@ximian.com>
3644 * ListControl.cs: Fix api differences
3646 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
3648 * Table.cs: Fix indentation for caption. Simplify check when adding
3650 * TableRow.cs: Simplify check when adding controls.
3652 2005-07-18 Chris Toshok <toshok@ximian.com>
3654 * CompareValidator.cs: wtf, just use the base class's methods.
3656 2005-07-18 Chris Toshok <toshok@ximian.com>
3658 * CompareValidator.cs: do comparisons based on
3659 BaseCompareValidator.Type.
3661 2005-07-18 Chris Toshok <toshok@ximian.com>
3663 * CompareValidator.cs: initial implementation.
3665 2005-07-18 Chris Toshok <toshok@ximian.com>
3667 * RegularExpressionValidator.cs: initial implementation.
3669 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
3671 * DataList.cs: Fixed to match 1.1 behaviour (and new unit tests).
3673 2005-07-18 Jackson Harper <jackson@ximian.com>
3675 * CheckBoxList.cs: Implement LoadPostBackData. Also register
3676 checkboxes for postback if they are checked so we can find
3677 out when they are unchecked. Copy the AutoPostBack variable
3678 to the to be rendered checkbox when rendering.
3680 2005-07-18 Ben Maurer <bmaurer@ximian.com>
3682 * TextBox.cs: Finish this up.
3684 * AdRotator.cs: Fix issues in the test suite. Minor style
3687 * Repeater.cs: Fix a bug where the datasource is null and we do
3690 * WebColorConverter.cs: Optimize by not doing a concat on a
3693 2005-07-17 Ben Maurer <bmaurer@ximian.com>
3695 * ListItemCollection.cs: Multiple uses of equals rather than
3696 string.compare as below. Remove unreachable code warning.
3698 * WebColorConverter.cs (ConvertTo): Use the == operator on string
3699 rather than an invariant non-case ignoring compare. They are
3700 exactly the same thing. Use proper coding style in this method.
3702 * WebControl.cs: Return null when saving the view state if there
3703 is no state in any of the things we save. This creates a fairly
3704 large savings, because we can avoid saving anything about many
3705 levels of deaply nested controls.
3707 2005-07-15 Jackson Harper <jackson@ximian.com>
3709 * CheckBoxList.cs: Use the index as the ID, the rest of the
3710 id is built by being in the NamingContainer.
3712 2005-07-15 Jackson Harper <jackson@ximian.com>
3714 * ListControl.cs: Use enum instead of string. Saves a lookup.
3716 2005-07-15 Jackson Harper <jackson@ximian.com>
3718 * CheckBoxList.cs: FindControl always returns 'this' according
3721 2005-07-15 Jackson Harper <jackson@ximian.com>
3723 * CheckBoxList.cs: New impl.
3725 2005-07-15 Jackson Harper <jackson@ximian.com>
3727 * WebControl.cs: Use the ClientID when rendering a controls ID
3728 attribute so that naming containers are honoured.
3730 2005-07-15 Jackson Harper <jackson@ximian.com>
3732 * ListControl.cs: use the state manager interface for tracking
3735 2005-07-15 Ben Maurer <bmaurer@ximian.com>
3737 * Repeater.cs (DoItem): Add the DataItem before we call user
3738 methods, as it seems to be there with msft.
3740 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
3742 * BaseDataList.cs: New. (mostly complete) implementation.
3743 * DataKeyCollection.cs: New. Implementation (complete).
3744 * DataList.cs: New. (mostly incomplete) implementation.
3745 * DataListItem.cs: New. (mostly complete) implementation.
3746 * DataListItemCollection.cs: New. Implementation (complete).
3748 2005-07-15 Ben Maurer <bmaurer@ximian.com>
3750 * Repeater.cs (DoItem): We need to .Add the control *before* we
3751 data bind it so that the state gets tracked correctly. Fixes the
3754 2005-07-15 Jackson Harper <jackson@ximian.com>
3756 * ListControl.cs: Simplify comparison.
3758 2005-07-15 Jackson Harper <jackson@ximian.com>
3761 * Repeater.cs: Use new utility class for resolving data sources.
3763 2005-07-15 Jackson Harper <jackson@ximian.com>
3765 * ListControl.cs: Add attributes so the sub items get parsed
3766 properly. Remove old unneeded code for resolving lists.
3768 2005-07-15 Jackson Harper <jackson@ximian.com>
3770 * ListControl.cs: Use the DataSourceHelper so DataMembers are
3773 2005-07-14 Ben Maurer <bmaurer@ximian.com>
3776 - Some optimizations
3777 * Don't use enum formatting stuff, it is 1) expensive 2) does
3778 allocations. Use a new method in HtmlControl to do the right
3780 * Don't use Enum.IsDefined but an explicit check.
3781 * (x == "" || x.Length < 2) is not needed since "".Length == 0 < 2
3782 - Use the correct coding style.
3784 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
3786 * WebColorConverter.cs:
3787 - Alpha of 255 is only set if the hex number is exactly 6 digits
3788 - Ben didn't like the catch { throw; } (even though MS documents to
3790 - Use Invariant Culture for parsing (thanks, Ben)
3792 2005-07-14 Jackson Harper <jackson@ximian.com>
3794 * ListControl.cs: Use DataBinder.Eval for data binding. This is more
3795 code-reuse-arific. Also use the IStateManager interface for loading
3796 data instead of the old internal method.
3798 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
3800 * WebColorConverter.cs: Implemented
3802 2005-07-14 Ben Maurer <bmaurer@ximian.com>
3804 * Repeater.cs: Cleanup; use the DataSourceHelper thingy.
3806 2005-07-14 Ben Maurer <bmaurer@ximian.com>
3808 * Repeater.cs: Get it working
3810 2005-07-14 Jackson Harper <jackson@ximian.com>
3812 * ListControl.cs: Initial implementation of Databinding. Make sure
3813 that the ListItemCollection is created when we load its ViewState.
3815 2005-07-14 Jackson Harper <jackson@ximian.com>
3817 * ListControl.cs: Fix typo.
3819 2005-07-14 Jackson Harper <jackson@ximian.com>
3821 * ListControl.cs: New Implementation. Lacks databinding support.
3823 2005-07-14 Ben Maurer <bmaurer@ximian.com>
3825 * Repeater.cs: The beginnings of this control
3827 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
3829 * TargetConverter.cs: Implemented
3831 2005-07-14 Duncan Mak <duncan@novell.com>
3833 * PagedDataSource.cs: Initial implementation.
3835 Methods that need to be figured out:
3836 CopyTo, GetItemProperties, PageCount, IsLastPage.
3838 To complete: CollectionEnumerator, ListEnumerator.
3840 2005-07-13 Duncan Mak <duncan@novell.com>
3842 * RepeatDirection.cs:
3844 * ValidationCompareOperator.cs:
3845 * ValidationDataType.cs:
3846 * ValidationSummaryDisplayMode.cs:
3847 * ValidatorDisplay.cs: Added remaining enumerations.
3849 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
3851 * FontNamesConverter.cs: Implemented
3853 2005-07-13 Ben Maurer <bmaurer@ximian.com>
3855 * RepeaterItem.cs: Compile fix
3857 * RepeaterItemCollection.cs: New file
3859 * RepeaterItem.cs: get OnBubbleEvent right.
3861 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
3863 * ListItemCollection.cs: Count can be derived from the array, which
3864 allows us to use a Pair instead of a Triplet and save some space
3866 2005-07-13 Ben Maurer <bmaurer@ximian.com>
3868 * RepeaterItem.cs: Stub
3870 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
3872 * ListItemCollection.cs: Implemented
3873 * WebControl.cs: Added check for enumeration validity (thanks Jackson)
3875 2005-07-13 Ben Maurer <bmaurer@ximian.com>
3877 * RepeatInfo.cs: Impl.
3879 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
3881 * FirstDayOfWeek.cs: Added
3883 2005-07-13 Jackson Harper <jackson@ximian.com>
3885 * ListBox.cs: Some parameter checking.
3887 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
3889 * Image.cs: Added support for DescriptionUrl as this property was
3890 added in Fx 1.1 SP1.
3892 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
3894 * Style.cs (AddAttributesToRender): Don't render attributes if they
3895 contain only their default value
3897 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
3899 * Table.cs: New. Initial re-implementation.
3900 * TableCell.cs: New. Initial re-implementation.
3901 * TableCellCollection.cs: New. Initial re-implementation.
3902 * TableHeaderCell.cs: New. Initial re-implementation.
3903 * TableItemStyle.cs: New. Initial re-implementation.
3904 * TableRow.cs: New. Initial re-implementation.
3905 * TableRowCollection.cs: New. Initial re-implementation.
3906 * TableStyle.cs: New. Initial re-implementation.
3908 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
3910 * Style.cs: Removed the call to Reset in CopyFrom. This fix the new
3911 unit tests (for Style) and more tests in Table* classes.
3913 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
3915 * Style.cs: TableStyle and TableItemStyle don't override IsEmpty,
3916 however IsEmpty returns false if any of their properties are set.
3917 Looks ugly but it's compatible with MS implementation (feature and
3920 2005-07-13 Dick Porter <dick@ximian.com>
3922 * CheckBox.cs: Reverted Ben's enum-to-int ViewState change, remove
3923 null Text properties from the ViewState, test for TextAlign being
3924 out of range. All to make tests pass on both mono and ms
3927 2005-07-13 Jackson Harper <jackson@ximian.com>
3929 * ListBox.cs: Use invariant culture when doing a ToString,
3930 set value to the item's value, not to its Text.
3932 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
3934 * WebControl.cs (AddAttributesToRender): Added ID to rendered
3937 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
3939 * Style.cs(MergeWith): Handle null styles
3941 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
3943 * TableCaptionAlign.cs: This enum was added in 1.1 SP1 so I removed
3944 the #if NET_2_0 on it.
3946 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
3948 * Style.cs: Only render font elements if fontinfo object exists
3950 - Implemented SaveViewState()
3951 - Added loading of Style to LoadViewState
3952 - Implemented IAttributeAccessor methods
3954 2005-07-12 Jackson Harper <jackson@ximian.com>
3956 * ListBox.cs: Even track default values in the viewstate. Call
3957 base's RenderContents.
3959 2005-07-12 Jackson Harper <jackson@ximian.com>
3961 * ListBox.cs: New impl.
3963 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
3966 - Implemented methods
3969 2005-07-12 Ben Maurer <bmaurer@ximian.com>
3971 * ListItem.cs: New impl.
3973 2005-07-12 Duncan Mak <duncan@novell.com>
3975 * DayNameFormat.cs: Added.
3977 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
3979 * WebControl.cs: Implemented properties
3981 2005-07-12 Ben Maurer <bmaurer@ximian.com>
3983 * TextBox.cs: Passwords seem 1) not to be rendered to the client
3984 if set, 2) not kept in view state (for security reasons...)
3987 * Button.cs: Page.Validate () if needed. Gets the validator tests
3990 * TextBox.cs: Properties to get the validator stuff to work.
3992 2005-07-12 Miguel de Icaza <miguel@novell.com>
3994 * Unit.cs: If the units are pixels, then truncate the value.
3996 2005-07-12 Dick Porter <dick@ximian.com>
3998 * RadioButton.cs: New implementation
4000 * CheckBox.cs: Rearrange the attributes rendering to allow
4001 RadioButton to derive from this
4003 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
4005 * TitleFormat.cs: Add attribute
4006 * TextBoxMode.cs: Add attribute
4007 * CalendarDay.cs: Initial implementation
4008 * ImageButton.cs: Initial implementation
4009 * CalendarSelectionMode.cs:Initial implementation
4011 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
4013 * TextBoxMode.cs: simple enum
4014 * TitleFormat.cs: simple enum
4016 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
4018 * FontInfo.cs: Now using BenM's fancy internal StateBag methods
4020 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
4022 * FontUnit.cs: Added TypeConverter attribute to class
4023 * FontUnitConverter.cs: Implemented
4025 2005-07-11 Ben Maurer <bmaurer@ximian.com>
4028 * Button.cs: Bubble the Command event.
4030 2005-07-11 Ben Maurer <bmaurer@ximian.com>
4033 - Clean up style (with my wonderful state bag hack!)
4034 - Fix a view state typo.
4035 - Use AddAttributesToRender
4036 - Don't add an extra <span>
4038 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
4040 * Style.cs: Handle null constructor argument for bag
4042 2005-07-11 Dick Porter <dick@ximian.com>
4044 * CheckBox.cs: New implementation
4046 * RadioButton.cs: Initial stubbed version that just compiles
4048 2005-07-10 Jordi Mas i Hernandez <jordi@ximian.com>
4050 * Button.cs: Initial Button implementation
4052 2005-07-10 Sebastien Pouliot <sebastien@ximian.com>
4054 * VerticalAlign.cs: Fixed enum name (copy/paste from HorizontalAlign).
4056 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
4058 * HorizontalAlign.cs: Typo in header.
4059 * VerticalAlign.cs: New. Required enum for TableRow control.
4061 2005-07-09 Ben Maurer <bmaurer@ximian.com>
4063 * TextBox.cs: More work on this
4065 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
4067 * GridLines.cs: New. Required enum for Table control.
4068 * HorizontalAlign.cs: New. Required enum for Table control.
4070 2005-07-09 Duncan Mak <duncan@novell.com>
4072 * CommandEventHandler.cs:
4073 * DataGridCommandEventHandler.cs:
4074 * DataGridItemEventHandler.cs:
4075 * DataGridPageChangedEventHandler.cs:
4076 * DataGridSortCommandEventHandler.cs:
4077 * DataListCommandEventHandler.cs:
4078 * DayRenderEventHandler.cs:
4079 * RepeaterCommandEventHandler.cs:
4080 * ServerValidateEventHandler.cs: Add delegates.
4083 * ListSelectionMode.cs:
4084 * NextPrevFormat.cs:
4086 * PagerPosition.cs: Add enums.
4088 2005-07-09 Ben Maurer <bmaurer@ximian.com>
4090 * TextBox.cs: Add the work I did on this today. It's not complete
4091 yet, but its a start!
4093 2005-07-09 Duncan Mak <duncan@novell.com>
4095 * CommandEventArgs.cs:
4096 * DataGridCommandEventArgs.cs:
4097 * DataGridItemEventArgs.cs:
4098 * DataGridPageChangedEventArgs.cs:
4099 * DataGridSortCommandEventArgs.cs:
4100 * DataListCommandEventArgs.cs:
4101 * DataListItemEventArgs.cs:
4102 * DayRenderEventArgs.cs:
4103 * RepeaterCommandEventArgs.cs:
4104 * RepeaterItemEventArgs.cs:
4105 * ServerValidateEventArgs.cs: Implemented.
4107 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
4109 * Image.cs: New. Image class implementation.
4110 * ImageAlign.cs: New. ImageAlign enum definitions.
4112 2005-07-08 Jackson Harper <jackson@ximian.com>
4114 * Literal.cs: New implentation.
4115 * MonthChangedEventArgs.cs: new
4116 * MonthChangedEventHandler.cs: new
4118 2005-07-08 Ben Maurer <bmaurer@ximian.com>
4120 * LinkButton.cs: Command impl
4122 2005-07-08 Ben Maurer <bmaurer@ximian.com>
4124 * LinkButton.cs: Initial impl
4126 2005-07-08 Jackson Harper <jackson@ximian.com>
4128 * AdCreatedeventArgs.cs: New implementation.
4130 2005-07-08 Dick Porter <dick@ximian.com>
4133 * BorderStyle.cs: Added
4135 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
4137 * FontInfo.cs: Fixed behaviour discrepancies showed by tests
4139 2005-07-07 Miguel de Icaza <miguel@novell.com>
4141 * Xml.cs: New implementation. R00lz.
4143 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
4145 * FontInfo.cs: Added and implemented.
4146 * Style.cs: Fixed behaviour discrepancies showed by tests
4148 2005-07-07 Ben Maurer <bmaurer@ximian.com>
4150 * PlaceHolderControlBuilder.cs: new file
4152 * LabelControlBuilder.cs: New file
4154 * HyperLink.cs: use control builder; fix parsing stuff
4156 * HyperLinkControlBuilder.cs: new file
4158 * Panel.cs: misc fixes
4160 2005-07-07 Miguel de Icaza <miguel@novell.com>
4162 * Unit.cs: Add TypeConverter, so that web_panel.aspx works again.
4164 * UnitConverter.cs: Add new file, learned from the
4165 System.Drawing.ColorConverter.
4167 2005-07-07 Ben Maurer <bmaurer@ximian.com>
4169 * PlaceHolder.cs: New file. Seems to do nothing
4171 * Label.cs: Use my new statebag trick to reduce typing
4173 * HyperLink.cs: New file
4175 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
4177 * Style.cs: Added and implemented.
4179 2005-07-06 Miguel de Icaza <miguel@novell.com>
4181 * FontUnit.cs: New file.
4183 * Unit.cs: New file.
4185 Added support for null and empty string constructors.
4187 2005-07-06 Ben Maurer <bmaurer@ximian.com>
4189 * Unit.cs: cctor not needed; static fields are 0 init'd by default
4191 * WebControl.cs: Kothari & Datye's book explains how these work.
4193 * IRepeatInfoUser.cs: Reimpl.
4195 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
4197 * WebControl.cs: Added stub
4199 2005-07-05 Miguel de Icaza <miguel@novell.com>
4201 * Label.cs: First control.
4203 2005-06-27 Lluis Sanchez Gual <lluis@novell.com>
4205 * DataControlField.cs: Ignore the ShowHeader property when
4206 building the control's content. It is the resposability of
4207 the field container to decide if the header should be shown
4210 2005-06-10 Lluis Sanchez Gual <lluis@novell.com>
4213 * ImageFieldMode.cs:
4214 * DynamicImageParameterMode.cs:
4215 * TableViewMode.cs: Removed.
4219 * TableRowSection.cs:
4220 * AutoCompleteType.cs:
4221 * DayNameFormat.cs: Track changes in 2.0 api.
4223 * StringArrayConverter.cs: This class is 2.0 only.
4225 2005-06-06 Lluis Sanchez Gual <lluis@novell.com>
4229 * DetailsView.cs: Bind the control after creating all child
4231 * DataBoundControl.cs: Call OnDataBinding and OnDataBound in
4232 the correct methods.
4233 * BaseDataBoundControl.cs: Don't call DataBind nor OnDataBound
4234 in this class. This is done in DataBoundControl. All this fixes
4237 2005-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4239 * ListItemCollection.cs: Patch from Curtis (eto@shaw.ca) that fixes
4240 FindByText. Closes bug #74205.
4242 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4244 * PagedDataSource.cs: patch by Suresh Kumar that makes PageCount return
4245 1 when there's a datasource and 0 pages. Closes bug #73864.
4247 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
4254 * MenuItemTemplateContainer.cs:
4255 * DetailsView.cs: Track changes in the IDataItemContainer interface.
4257 * CommandField.cs: Added CausesValidation property. Set that
4258 property value to all buttons of the field.
4260 * SqlDataSourceView.cs:
4261 * CollectionDataSource.cs:
4262 * XmlDataSourceView.cs: Properly initialize the base class.
4264 * SiteMapDataSource.cs:
4265 * SiteMapHierarchicalDataSourceView.cs:
4266 * SiteMapNodeItem.cs:
4267 * SiteMapDataSourceView.cs:
4268 * SiteMapPath.cs: Mostly implemented.
4270 * HierarchicalDataBoundControl.cs: Always bind the control when the
4271 page is loaded for the first time.
4273 * TreeView.cs: Properly bind the control when loaded from a callback.
4275 2005-05-21 Ben Maurer <bmaurer@ximian.com>
4277 * BaseDataList.cs: Caption is in 1.1 too, though not
4278 documented. Gonz owes me [more] ice cream. Yummmmm.
4280 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4282 * BaseDataList.cs: implemented 2.0 Caption property.
4284 2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
4286 * TreeView.cs: Always render the startup script. This fixes
4289 2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
4291 * WizardStepBase.cs:
4292 * WizardStep.cs: Added missing attributes.
4293 * Wizard.cs: Implemented missing methods and properties. It can now
4294 be considered feature complete.
4296 2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4298 * DataGrid.cs: cleanup in AutoCreateColumns. Don't throw at the end of
4299 the method if the data source was en empty IEnumerator. Fixes
4302 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
4306 * Menu.cs: Implemented some new properties from beta 2.
4308 * DataControlButton.cs: Render the ControlStyle if it
4312 * FontUnitConverter.cs: Improved the conversion to InstanceDescriptor.
4313 It will now generate an object creation, instead of a Parse call.
4315 * GridViewCommandEventArgs.cs: Added missing property.
4316 * SubMenuStyleCollection.cs: This class is not sealed.
4317 * MultiView.cs: Set Visible=false to all views that are not
4318 shown. This ensures that it's view state is saved.
4320 * BaseDataBoundControl.cs:
4321 * GridViewDeletedEventArgs.cs: Minor api fixes.
4323 * FormViewDeleteEventArgs.cs:
4324 * DetailsViewDeletedEventArgs.cs:
4325 * ListControl.cs: Fix warnings.
4329 * HotSpotCollection.cs
4332 * RectangleHotSpot.cs
4333 * WizardStepCollection.cs : Implemented.
4337 * Wizard.cs: Initial implementation.
4339 2005-05-04 Lluis Sanchez Gual <lluis@novell.com>
4341 * DataControlField.cs:
4345 * DataControlCommands.cs:
4346 * DetailsView.cs: Use constants to identify commands.
4348 * SubMenuStyle.cs: Use Unit instead of int for padding.
4349 * SubMenuStyleCollection.cs: Implemented.
4352 * Menu.cs: Added some missing methods and properties.
4355 * DataGridPagerStyle.cs: Fixed default value attributes.
4356 * ListControl.cs: Implemented IEditableTextControl interface.
4358 * MenuItemBinding.cs: Added Selectable property.
4359 * CustomValidator.cs: removed interface.
4361 * MenuItem.cs: Added support for custom binding.
4362 * DropDownList.cs: Moved text properties to base class.
4364 2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4366 * Calendar.cs: OnDayRender can toggle IsSelectable on our back.
4368 2005-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4370 * Calendar.cs: when the day is active, modify the text of the literal
4371 control that holds the number, not the text of the TableCell. Also call
4372 OnDayRender before updating that text. Fixes bug #74718.
4374 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
4376 * DataKey.cs: Added virtual TrackViewState and IsTrackingViewState
4378 * DataControlFieldHeaderCell.cs: Save Scope in view state.
4379 Added AbbreviatedText property.
4380 * AutoGeneratedField.cs: The constructor should actually be internal.
4381 * DataGridItem.cs: Added implemented interface in 2.0.
4382 * DataControlFieldCollection.cs: Implemented CloneFields and
4386 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4388 * StringArrayConverter.cs:
4389 * Calendar.cs: warnings.
4391 2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
4393 * FormViewDeleteEventArgs.cs:
4394 * FormViewInsertEventArgs.cs:
4395 * FormViewUpdateEventArgs.cs:
4396 * FormViewDeletedEventArgs.cs:
4397 * FormViewUpdatedEventArgs.cs:
4398 * FormViewInsertedEventArgs.cs: Implemented some missing properties.
4401 * IButtonControl.cs:
4402 * Button.cs: Removed SoftKey property.
4404 * CheckBox.cs: Don't try to load post back data if the control
4408 * AutoGeneratedField.cs:
4409 * DataControlField.cs:
4411 * ButtonFieldBase.cs:
4415 * ButtonField.cs: Don't bind fields in Insert state.
4416 Implemented CreateField and CopyProperties.
4419 * DetailsView.cs: Removed some unneeded interfaces. Don't
4420 generate the field rows if there are no items in the data source.
4421 Don't get the current keys until the whole control has been
4424 * DetailsViewInsertedEventArgs.cs:
4425 * DataBoundControl.cs:
4426 * ObjectDataSourceView.cs: Made some methods private.
4429 * Menu.cs: Changed some properties from int to Unit.
4431 * DataControlButton.cs: javascript prefix is needed when raising
4432 the postback event from a link.
4434 * PagedDataSource.cs: Some fixes in Count and IsLastPage properties.
4435 The result was wrong when the total data source count was 0.
4437 * FormView.cs: Implemented.
4438 * FormViewRow.cs: Implemented.
4441 * Localize.cs: Fixed base interface.
4443 * BaseDataBoundControl.cs: In DataBind() call the base class
4444 DataBind method, so the binding context is properly set.
4446 2005-04-15 Lluis Sanchez Gual <lluis@novell.com>
4448 * DetailsView.cs: Added some null checks.
4449 * TemplateField.cs: Implemented support for two-way bindings.
4451 2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
4453 * DetailsView.cs: Implemented support for Insert operation.
4454 Added header and footer templates. Added missing style
4456 * ObjectDataSourceView.cs: Use ParameterCollection.GetValues
4457 to get filter values. Other minor fixes.
4458 * CommandField.cs: Properly render the Insert and New buttons.
4459 * ObjectDataSource.cs: Update the parameter collections after
4460 the page is loaded. This will fire the ParameterChanged event
4462 * DataBoundControl.cs: The OnDataSourceViewChanged method
4463 is called when the view changes, not when the datasource
4466 * DetailsViewInsertedEventArgs.cs:
4467 * DetailsViewInsertEventArgs.cs: Implement Values property.
4470 * AutoGeneratedField.cs
4473 Take into account the Insert mode.
4475 * ParameterCollection.cs: Implemented UpdateValues and fixed
4476 GetValues (values can't be cached because can change).
4477 * Parameter.cs: Detect value changes in GetValue, and fire
4478 the change event if needed. Removed unused ParameterValue
4479 property. Other fixes.
4481 2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
4483 * DetailsView.cs: Initial implementation.
4484 * ObjectDataSourceView.cs: Notify changes in the parameters.
4485 * DetailsViewDeletedEventArgs.cs, DetailsViewUpdatedEventArgs.cs,
4486 DetailsViewDeleteEventArgs.cs, DetailsViewUpdateEventArgs.cs:
4487 Implemented some properties.
4488 * GridView.cs: Added null check in SelectedValue. Don't return null
4489 for empty DataKeyNames list.
4490 * DetailsViewRowCollection.cs: Implemented.
4491 * DetailsViewRow.cs: Implemented.
4492 * ButtonFieldBase.cs: By default button field don't have headers.
4493 * BoundField.cs: Don't bind header fields.
4495 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
4497 * ButtonField.cs: Get data item properties using TypeDescriptor.
4498 Made OnDataBindField private.
4499 * ObjectDataSourceView.cs: Implemented support for Delete and
4500 Insert operations, support for filtering and sorting,
4501 conflict detection, etc. It's now complete.
4502 * ObjectDataSource.cs: Completed most of functionality. Only
4503 caching support is missing.
4504 * ObjectDataSourceFilteringEventHandler.cs: New event handler.
4505 * TreeNode.cs: Get data item properties using TypeDescriptor.
4506 * PagerSettings.cs: Flush.
4507 * ObjectDataSourceFilteringEventArgs.cs: New event args.
4508 * GridView.cs: Get data item properties using TypeDescriptor
4509 and cache them. Properly set descending order in the sort
4510 expression. In UpdateRow, make sure we get the old values
4511 before the control is bound again.
4512 * ImageField.cs: Implemented.
4513 * AutoGeneratedField.cs: Initialize the field's sort
4514 expression in the constructor.
4515 * MenuItem.cs: Get data item properties using TypeDescriptor.
4516 * BoundField.cs: Get data item properties using TypeDescriptor.
4517 * CheckBoxField.cs: Added missing attributes.
4518 * TemplateField.cs: Implemented.
4520 2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4523 * FontUnitConverter.cs: fixed ConvertTo to work with target
4524 InstanceDescriptor and value as a string.
4526 * Unit.cs: culture might be null.
4530 2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
4532 * ButtonField.cs: Mostly implemented.
4533 * DataControlFieldHeaderCell.cs: Implemented.
4534 * ObjectDataSourceView.cs: Initial implementation.
4535 * DataControlButton.cs: Added support for real buttons.
4536 * Label.cs, DataControlField.cs: Flush.
4537 * ObjectDataSource.cs: Initial implementation.
4538 * HiddenField.cs: Added class stub.
4539 * GridView.cs: Load autogenerated field properties before
4540 creating the children, to make sure that column info is ready.
4541 * ControlParameter.cs: Implemented Evaluate method.
4542 * ImageField.cs: Added class stub.
4543 * BoundField.cs: Added HtmlEncode property.
4544 * DataControlFieldCell.cs: Moved AccessibleDataControlFieldCell
4546 * CheckBoxField.cs: Mostly implemented.
4547 * TemplateField.cs: Added class stub.
4548 * ObjectDataSourceSelectingEventArgs.cs: Added missing property.
4549 * ObjectDataSourceMethodEventArgs.cs: Fixed base class.
4550 * Parameter.cs: Added internal GetValue method (Evaluate is protected)
4552 2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
4554 * DataControlField.cs: Added missing InsertVisible property.
4555 * AutoGeneratedFieldProperties.cs: Implemented.
4556 * PagerSettings.cs: Minor fix.
4557 * GridView.cs: Implemented support for autogenerated fields, templates,
4558 accessible headers. Implemented paging using PagedDataSource.
4559 Implemented missing overridable methods.
4560 * AutoGeneratedField.cs: Initial implementation.
4561 * BoundField.cs: Added ReadOnly property.
4562 * PagedDataSource.cs: Implemented 2.0 api.
4563 * DataControlFieldCell.cs: Implemented AccessibleDataControlFieldCell
4564 cell class to be used by accessible headers.
4565 * TableCell.cs: Removed unneded constructor. If the cell is bound to
4566 a template, call the default RenderContents method.
4568 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
4570 * TreeNode.cs, TreeView.cs: Don't raise the SelectedNodeChanged
4571 event when loading the view state. Fixes #73746.
4573 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
4575 * ListControl.cs: Load selected indices in the right place. Fixes #73745.
4577 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
4579 * Button.cs, ImageButton.cs: Interpret PostBackOptions.ClientSubmit
4581 * CommandField.cs: Mostly implemented.
4582 * Menu.cs: Use callback methods moved to ClientScriptManager.
4583 * DataControlButton.cs: Internal control used to implement buttons
4584 for navigating in data bound controls.
4585 * DataControlField.cs, PagerSettings.cs: Use the new DataControlButton
4586 to render the column headers.
4587 * CheckBox.cs, RadioButton.cs, BulletedList.cs, TextBox.cs
4588 DropDownList.cs, Calendar.cs, ListBox.cs, LinkButton.cs, TreeView.cs:
4589 Don't use Page.GetPostBackClientEvent
4590 since it is deprecated in 2.0.
4591 * GridView.cs: Implemented some several interfaces.
4592 Implemented support client sorting and page navigation (using callbacks).
4593 Implemented the autogenerated command column using the new CommandField
4595 * ButtonFieldBase.cs: Implemented.
4596 * GridView.js: New helper script to support client side sorting and
4597 paging in the grid view.
4599 2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
4601 * DataKey.cs: Implemented.
4602 * XmlDataSourceView.cs: Implemented support for row pagging.
4603 * Table.cs: Fixed attribute value.
4604 * DataControlField.cs: Added support for sorting headers.
4605 * ChildTable.cs: Created.
4606 * ListControl.cs: Delay selection assignment, since control state
4607 is now loaded before view state.
4608 * GridViewDeleteEventArgs.cs, GridViewUpdateEventArgs.cs,
4609 GridViewDeletedEventArgs.cs, GridViewUpdatedEventArgs.cs: Implemented
4610 several missing properties.
4611 * PagerSettings.cs: Fully implemented.
4612 * BaseDataList.cs: Added null check.
4613 * GridView.cs: Implemented more functionality.
4614 * BoundField.cs: Added support for cell editing.
4615 * StringArrayConverter.cs: Implemented.
4616 * DataKeyArray.cs: Implemented.
4617 * BaseDataBoundControl.cs: Reset the requires binding flag before
4618 executing the query. This avoids recursive query calls.
4619 * GridViewRow.cs: Handler commands raised from row childs.
4621 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
4623 * XmlDataSourceView.cs: ExecuteSelect now returns a list of
4624 XmlDataSourceNodeDescriptor instead of a list of nodes. In this way
4625 it is possible to query for properties fore each data item.
4626 * Menu.cs, TreeView.cs: Make sure that objects are correctly created
4627 when loading its view state.
4628 * DataControlField.cs: Implement properties using a StateBag.
4629 * XmlDataSourcePropertyDescriptor.cs: Implemented.
4630 * PagerSettings.cs: Mostly implemented.
4631 * AccessDataSourceView.cs, AccessDataSource.cs: Added security attribute.
4632 * DataBoundControl.cs: Added null check.
4633 * GridView.cs: Initial implementation.
4634 * CompositeDataBoundControl.cs: Implemented.
4635 * BoundField.cs: Initial implementation.
4636 * GridViewRowCollection.cs: Initial implementation.
4637 * DataControlFieldCollection.cs: Initial implementation.
4638 * DataControlFieldCell.cs: Fixed control tag.
4639 * GridViewRow: Initial implementation.
4640 * XmlDataSourceNodeDescriptor.cs: Implemented.
4642 2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4644 * WebControl.cs: correctly use TagName in RenderBeginTag, ie, if TagKey
4645 is zero, use the TagName no matter its value. Fixes bug #72415.
4647 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
4649 * Style.cs: Method name fix.
4650 * HyperLinkColumn.cs, HyperLink.cs: Moved SoftkeyLabel to HyperLink.
4651 * BaseCompareValidator.cs: Method signature fix.
4652 * CollectionDataSource.cs: Implemented DataSource wrapper for collections.
4653 * BaseDataList.cs, Repeater.cs: Fixed data binding code.
4654 * BulletedList.cs: Added missing method.
4655 * DataBoundControl.cs, BaseDataBoundControl.cs: Made it behave like MS.NET.
4657 2005-02-16 Lluis Sanchez Gual <lluis@novell.com>
4659 * HyperLinkColumn.cs, Label.cs: Added missing 2.0 properties.
4660 * RadioButton.cs: Added missing 2.0 methods.
4661 * ListItem.cs: Added Enabled property.
4662 * MailMessageEventArgs.cs: Use the correct message class.
4663 * ListControl.cs: Implemented missing properties and support for
4664 control state. Implemented base RenderContents method.
4665 * Image.cs: Implemented DescriptionUrl and GenerateEmptyAlternateText
4667 * BaseCompareValidator.cs: Implemented methods that support conditional
4668 use of the invariant culture.
4669 * DataBoundControl.cs: Set RequiresDataBinding to true in OnLoad.
4670 * SqlDataSourceCommandEventArgs.cs, SqlDataSourceStatusEventArgs.cs:
4671 It takes a DbCommand instead of a IDbCommand.
4672 * GridViewSortEventArgs.cs: Added SortDirection property.
4673 * TextBox.cs, CheckBoxList.cs: Added protected version of
4674 IPostBackDataHandler methods.
4675 * RadioButtonList.cs: Added protected version of
4676 IPostBackDataHandler and IRepeatInfoUser methods.
4677 * Repeater.cs: Updated some method names.
4678 * DropDownList.cs: Added protected version of
4679 IPostBackDataHandler methods. Reuse RenderContents from base class.
4680 * RepeaterItem.cs, Localize.cs, Literal.cs: Fix inheritance.
4681 * GridViewUpdatedEventArgs.cs: Fix typo.
4682 * ListBox.cs: Added protected version of IPostBackDataHandler methods.
4683 Reuse RenderContents from base class.
4684 * BaseDataBoundControl.cs: Several fixes.
4685 * ImageButton.cs, LinkButton.cs: Implemented several 2.0 properties.
4687 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
4689 * CheckBoxList.cs: Fix build.
4691 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
4693 * Button.cs: Use validation group when validating page.
4694 * XmlDataSourceView.cs: Implemented ExecuteSelect.
4695 * Menu.cs: Minor fix.
4696 * CheckBox.cs: Added 2.0 properties and methods.
4697 * BaseDataList.cs: Always databind the control if view state
4699 * DataList.cs: In 2.0, use control state to save the selected index.
4700 * DetailsViewUpdatedEventArgs.cs: Fix typo.
4701 * CustomValidator.cs: Implement IStaticTextControl interface.
4702 * CheckBoxList.cs: Added missing 2.0 methods.
4703 * DropDownList.cs: Added missing 2.0 methods. Implemented ITextControl
4705 * XmlDataSource.cs: Return childs of DocumentElement, not the root
4707 * DayRenderEventArgs.cs, CompareValidator.cs, DataListItem.cs:
4708 Implemented 2.0 API.
4711 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
4713 * Button.cs: Implemented all missing 2.0 features.
4714 * Table.cs: Render the table caption, when specified.
4715 * Calendar.cs: Implemented most of missing 2.0 features.
4716 * TableCell.cs: Fixed attributes.
4718 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
4720 * ControlPropertyNameConverter.cs: Added file.
4722 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
4724 * Button.cs, MonthChangedEventArgs.cs, FontInfo.cs, Xml.cs, Style.cs,
4725 CookieParameter.cs, HyperLinkColumn.cs, Table.cs,
4726 RegularExpressionValidator.cs, WizardNavigationEventArgs.cs,
4727 ServerValidateEventArgs.cs, Menu.cs, DataControlField.cs,
4728 DataGridPagerStyle.cs, Label.cs, CheckBox.cs, ListItem.cs,
4729 RadioButton.cs, TableStyle.cs, ListControl.cs, Image.cs,
4730 BaseCompareValidator.cs, FontUnit.cs, DataListCommandEventArgs.cs,
4731 IButtonControl.cs, BaseDataList.cs, DataList.cs, BulletedList.cs,
4732 RangeValidator.cs, DataBoundControl.cs, ControlParameter.cs,
4733 RepeaterItemEventArgs.cs, SqlDataSource.cs, BaseValidator.cs,
4734 CustomValidator.cs, MenuItem.cs, SessionParameter.cs, TextBox.cs,
4735 QueryStringParameter.cs, Content.cs, ContentPlaceHolder.cs,
4736 CheckBoxList.cs, RepeaterCommandEventArgs.cs, RadioButtonList.cs,
4737 RequiredFieldValidator.cs, AdRotator.cs, DataListItemEventArgs.cs,
4738 DataGridSortCommandEventArgs.cs, Repeater.cs,
4739 MenuItemTemplateContainer.cs, HyperLink.cs, SqlDataSourceView.cs,
4740 XmlDataSource.cs, MultiView.cs, DataGridCommandEventArgs.cs,
4741 Panel.cs, CompositeControl.cs, DataGrid.cs, ButtonColumn.cs,
4742 CompareValidator.cs, HierarchicalDataBoundControl.cs,
4743 EditCommandColumn.cs, Calendar.cs, SiteMapDataSource.cs,
4744 ListBox.cs, TableCell.cs, ObjectDataSourceSelectingEventArgs.cs,
4745 ObjectDataSourceMethodEventArgs.cs,DataGridPageChangedEventArgs.cs,
4746 WebControl.cs, BaseDataBoundControl.cs, FormParameter.cs,
4747 ValidationSummary.cs, View.cs, ImageButton.cs, TableRow.cs,
4748 LinkButton.cs, DataGridColumn.cs, Parameter.cs, TableItemStyle.cs,
4749 AdCreatedEventArgs.cs:
4751 General 2.0 API fixes: missing attributes, incorrect inheritance,
4752 missing sealed keywords, wrong signatures, etc.
4754 2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
4756 * Table.cs: Added some 2.0 properties.
4757 * FontUnitConverter.cs, UnitConverter.cs: Implemented conversion to
4759 * BaseValidator.cs: Fix warning.
4760 * MultiView.cs, ViewCollection.cs, View.cs: Implemented.
4762 2005-01-26 Lluis Sanchez Gual <lluis@novell.com>
4764 * Menu.cs: Rendering fixes.
4766 2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
4768 * Content.cs, ContentPlaceHolder.cs, ContentControlBuilder.cs
4769 ContentPlaceHolderBuilder.cs: Implemented.
4771 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4773 * CheckBox.cs: when rendering the input tag inside a span tag, keep the
4774 attributes that are meant to be in the input tag in their place.
4776 2005-01-10 Juraj Skripsky <juraj@hotfeet.ch>
4778 * RepeatInfo.cs: fixed bug #68927 (DataList with RepeatLayout='Flow'
4779 generates invalid html).
4781 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
4783 * Menu.cs: Implemented most of missing properties. Added support for
4784 item templates. Implemented menu scrolling.
4785 * MenuItemBinding.cs: Implemented most of missing properties.
4786 * MenuItem.cs: Implemented most of missing properties.
4787 * Menu.js: Implemented scrolling and menu reposition into screen.
4788 * MenuItemTemplateContainer.cs: Implemented.
4789 * SubMenuStyle.cs: Implemented.
4791 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
4793 * Style.cs: Implemented RegisteredCssClass property. Added
4794 CopyTextStylesFrom method, which copies styles that only apply to text.
4795 * Menu.cs, Menu.js: Added hover style support. Define all menu styles
4796 in the page stylesheet. Added support for ItemSpacing property.
4797 * MenuItemStyle.cs: Implemented FillStyleAttributes method.
4799 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
4801 * Style.cs: Generate styles using a CssStyleCollection, so the code can
4802 be reused for the 2.0 FillStyleAttributes method.
4803 * Menu.cs: Implemented more properties and events. Rendering is very
4805 * MenuItem.cs: Added PopOutImageUrl property.
4806 * Menu.js: More work on submenu management.
4808 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
4810 * Menu.cs: Implemented basic rendering. Added some missing properties.
4811 * MenuItem.cs: Improved implementation of Depth.
4812 * Unit.cs: Added serializable attribute.
4813 * TreeView.cs: Moved GetScriptLiteral method to ClientScriptManager,
4814 so it can be reused.
4815 * Menu.js: New script to support he Menu control.
4817 2004-12-03 Lluis Sanchez Gual <lluis@novell.com>
4819 * MenuEventArgs.cs: Changed to sealed.
4820 * TreeView.cs: Minor fix.
4821 * Menu.cs, MenuItemBindingCollection.cs, MenuItemCollection.cs,
4822 MenuItemStyle.cs, MenuItemBinding.cs, MenuItem.cs,
4823 MenuItemStyleCollection.cs: Initial Menu code.
4825 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
4827 * TreeNodeBindingCollection.cs, TreeNodeStyleCollection.cs:
4828 Implemented SetDirtyObject.
4829 * Style.cs: Implemented SetDirty().
4830 * TreeNodeBinding.cs: Added missing attributes. Implemented SetDirty().
4831 * TreeNode.cs: Added missing attributes added support for
4832 PopulateOnDemand. Added some missing property bindings.
4833 * TreeNodeCollection.cs: Several minor fixes. SetDirty must be called
4834 to newly added elements to make sure al new data is saved.
4835 * TreeView.js: Implemented support for client population of nodes.
4836 * TreeNodeStyle.cs: Added missing attributes.
4837 * TreeView.cs: Implemented support for PopulateNodesFromClient and
4838 PopulateOnDemand. Improved rendering.
4840 2004-11-29 Sanjay Gupta <gsanjay@novell.com>
4842 * DataControlField.cs:
4843 * DataControlFieldCell.cs: Initial implementation.
4845 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
4847 * TreeNodeBindingCollection.cs: Implemented.
4848 * TreeNodeBinding.cs: Implemented.
4849 * TreeNode.cs: Added support for data binding.
4850 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif
4851 TreeView_Default_NoExpand.gif: Moved to resources directory.
4852 * ListControl.cs: Fixed api.
4853 * XmlHierarchicalEnumerable.cs: Made internal.
4854 * DataBoundControl.cs: Modified api to match latest ms.net.
4855 * TreeView.js: New javascript file to support TreeView in the client.
4856 * XmlDataSource.cs: Added missing attributes.
4857 * HierarchicalDataBoundControl.cs: Mostly implemented.
4858 * BaseDataBoundControl.cs: Mostly implemented.
4859 * XmlHierarchyData.cs: Made internal.
4860 * TreeView.cs: Mostly implemented. The major missing feature is
4861 client side tree population.
4863 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
4866 * DataBountControl.cs:
4867 * Repeater.cs: Added SelectArguments property and updated.
4868 * SiteMapDataSourceView.cs:
4869 * SqlDataSourceView.cs:
4870 * XmlDataSourceView.cs: Removed extra method, which was there to
4871 keep things compiling.
4873 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
4875 * TreeNodeBindingCollection.cs, TreeNodeBinding.cs, TreeNode.cs,
4876 TreeNodeCollection.cs, TreeNodeStyleCollection.cs, TreeNodeStyle.cs,
4877 TreeView.cs: Initial implementation.
4878 * DataBoundControl.cs: Set the correct base class.
4879 * HierarchicalDataBoundControl.cs, BaseDataBoundControl.cs: Created stub.
4880 * TreeNodeSelectAction.cs: Formatting.
4881 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif,
4882 TreeView_Default_NoExpand.gif: TreeView images.
4884 2004-11-22 Sanjay Gupta <gsanjay@novell.com>
4886 * SqlDataSourceView.cs: Updated methods and added one property.
4888 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
4890 * AccessDataSource.cs:
4891 * SqlDataSourceView.cs: Implemented CreateDataSourceView () method.
4892 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
4894 * SqlDataSource.cs: Updated call to constructor of SqlDataSourceView.cs.
4895 * SqlDataSourceView.cs: Updated constructor.
4897 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
4899 * AccessDataSourceView.cs: Added new class.
4901 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
4903 * SqlDataSourceView.cs: Corrected exception handling in
4904 ExecuteSelect method.
4906 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
4908 * SiteMapHierarchicalDataSourceView.cs, SiteMapDataSource.cs: New files.
4909 * SiteMapDataSourceView.cs: Minor fix.
4911 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
4913 * SqlDataSourceView.cs: Updated ExecuteSelect method.
4915 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
4917 * SqlDataSource.cs: Corrected Select method.
4919 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
4921 * SqlDataSource.cs: Updated Select method definition.
4922 * SqlDataSourceStatusEventArgs.cs: Updated class.
4924 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
4926 * SqlDataSourceView.cs: Removed implementation of Events (it is inherited
4927 from DataSourceView.cs).
4929 2004-11-10 Raja R Harinath <rharinath@novell.com>
4931 * SqlDataSourceView.cs (Select): Add 'override' to make it compile.
4933 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
4935 * SqlDataSource.cs: Corrected method calls.
4936 * SqlDataSourceView.cs: Partial implementation of few methods.
4938 2004-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4940 * ListItemCollection.cs: fixed bug when indexing changed elements in
4941 LoadViewState. Patch from Alois Bělaška.
4943 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
4945 * SiteMapDataSourceView.cs:
4946 * SqlDataSourceView.cs:
4947 * XmlDataSourceView.cs: Cosmetic changes because of modifications in
4948 base class, DataSourceView. Changes are to keep things compiling.
4950 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
4952 * SiteMapDataSourceView.cs: Corrected class definition and updated.
4953 * XmlHierarchicalDataSourceView.cs: Modified according to changes in
4956 2004-10-14 Sanjay Gupta <gsanjay@novell.com>
4958 * AdRotator.cs: Updated.
4960 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
4962 * AccessDataSource.cs: Updated.
4964 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
4966 * ValidatedControlConverter.cs: Updated.
4968 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
4970 * AssociatedControlConverter.cs: Implemented.
4972 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
4974 * ControlIDConverter.cs: Initial implementation.
4976 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
4978 * IButtonControl.cs: Corrected property name.
4980 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
4982 * ParameterCollection.cs: Updated.
4984 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
4986 * Parameter.cs: Updated and completed implementation.
4988 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
4990 * ParameterCollection.cs: Resolved warnings, "Unreachable code detected"
4993 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
4995 * AccessDataSource.cs: Initial implementation.
4997 2004-09-30 Sanjay Gupta <gsanjay@novell.com>
4999 * DataControlRowState.cs:
5001 * TreeNodeTypes.cs: Added attribute.
5002 * DataControlRowType.cs:
5004 * SortDirection.cs: Corrected enumeration values.
5005 * TableRowSection.cs: Added new enumeration.
5006 * ObjectDataSourceStatusEventHandler.cs: Corrected method name.
5008 2004-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5010 * TableStyle.cs: don't render empty 'rules' attribute (again).
5012 2004-09-21 Sanjay Gupta <gsanjay@novell.com>
5014 * FormViewUpdatedEventArgs.cs: Spelling mistake.
5016 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
5018 * Literal.cs: Added new method Focus().
5020 2004-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5022 * RadioButton.cs: fix GroupName when the control is inside a
5023 NamingContainer different from Page. Closes bug #65586.
5025 2004-09-07 Sanjay Gupta <gsanjay@novell.com>
5027 * Localize.cs: Added new class.
5029 2004-09-03 Gaurav Vaish <gvaish_mono AT lycos.com>
5031 * CompositeControl.cs : Completed
5032 * Login.cs : Initial implementation.
5034 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5036 * Xml.cs: fixed get_DocumentContent (it was returning "" always!) and
5037 don't call MapPathSecure on the content itself.
5039 * XmlBuilder.cs: handle XML documents written inside asp:xml. The
5040 document is checked at parse time and will be checked again at run time.
5044 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
5046 * AuthenticateEventHandler.cs:
5047 * CreateUserErrorEventArgs.cs:
5048 * CreateUserErrorEventHandler.cs:
5049 * DetailsViewCommandEventHandler.cs:
5050 * DetailsViewDeleteEventArgs.cs:
5051 * DetailsViewDeleteEventHandler.cs:
5052 * DetailsViewDeletedEventArgs.cs:
5053 * DetailsViewDeletedEventHandler.cs:
5054 * DetailsViewInsertEventArgs.cs:
5055 * DetailsViewInsertEventHandler.cs:
5056 * DetailsViewInsertedEventArgs.cs:
5057 * DetailsViewInsertedEventHandler.cs:
5058 * DetailsViewModeEventArgs.cs:
5059 * DetailsViewModeEventHandler.cs:
5060 * DetailsViewPageEventHandler.cs:
5061 * DetailsViewUpdateEventArgs.cs:
5062 * DetailsViewUpdateEventHandler.cs:
5063 * DetailsViewUpdatedEventArgs.cs:
5064 * DetailsViewUpdatedEventHandler.cs:
5065 * FormViewCommandEventHandler.cs:
5066 * FormViewDeleteEventArgs.cs:
5067 * FormViewDeleteEventHandler.cs:
5068 * FormViewDeletedEventArgs.cs:
5069 * FormViewDeletedEventHandler.cs:
5070 * FormViewInsertEventArgs.cs:
5071 * FormViewInsertEventHandler.cs:
5072 * FormViewInsertedEventArgs.cs:
5073 * FormViewInsertedEventHandler.cs:
5074 * FormViewModeEventHandler.cs:
5075 * FormViewPageEventHandler.cs:
5076 * FormViewUpdateEventArgs.cs:
5077 * FormViewUpdateEventHandler.cs:
5078 * FormViewUpdatedEventArgs.cs:
5079 * FormViewUpdatedEventHandler.cs:
5080 * GridViewCancelEditEventArgs.cs:
5081 * GridViewCancelEditEventHandler.cs:
5082 * GridViewCommandEventHandler.cs:
5083 * GridViewDeleteEventArgs.cs:
5084 * GridViewDeleteEventHandler.cs:
5085 * GridViewDeletedEventArgs.cs:
5086 * GridViewDeletedEventHandler.cs:
5087 * GridViewEditEventHandler.cs:
5088 * GridViewPageEventHandler.cs:
5089 * GridViewRowEventHandler.cs:
5090 * GridViewSelectEventHandler.cs:
5091 * GridViewSortEventArgs.cs:
5092 * GridViewSortEventHandler.cs:
5093 * GridViewUpdateEventArgs.cs:
5094 * GridViewUpdateEventHandler.cs:
5095 * GridViewUpdatedEventArgs.cs:
5096 * GridViewUpdatedEventHandler.cs:
5097 * ImageMapEventHandler.cs:
5098 * MailMessageEventHandler.cs:
5099 * MenuEventHandler.cs:
5100 * ObjectDataSourceDisposingEventHandler.cs:
5101 * ObjectDataSourceEventHandler.cs:
5102 * ObjectDataSourceMethodEventArgs.cs:
5103 * ObjectDataSourceMethodEventHandler.cs:
5104 * ObjectDataSourceSelectingEventArgs.cs:
5105 * ObjectDataSourceSelectingEventHandler.cs:
5106 * ObjectDataSourceStatusEventArgs.cs:
5107 * ObjectDataSourceStatusEventHandler.cs:
5108 * SendMailErrorEventHandler.cs:
5109 * SiteMapNodeItemEventHandler.cs:
5110 * SqlDataSourceSelectingEventArgs.cs:
5111 * SqlDataSourceSelectingEventHandler.cs:
5112 * TreeNodeEventHandler.cs:
5113 * WizardNavigationEventArgs.cs:
5114 * WizardNavigationEventHandler.cs: Minor modifications, compiler error
5115 corrections and removing "sealed" access specifier from *EventHandler.cs
5117 2004-08-18 Sanjay Gupta <gsanjay@novell.com>
5119 * Literal.cs: Added new attributes and property for .Net 2.0
5121 2004-08-13 Sanjay Gupta <gsanjay@novell.com>
5123 * GridViewDeleteEventArgs.cs: Removed extra code.
5125 2004-08-12 Sanjay Gupta <gsanjay@novell.com>
5127 * SendMailErrorEventArgs.cs:
5128 * SendMailErrorEventHandler.cs:
5129 * SiteMapNodeItemEventArgs.cs:
5130 * SiteMapNodeItemEventHandler.cs:
5131 * SqlDataSourceSelectingEventArgs.cs:
5132 * SqlDataSourceSelectingEventHandler.cs:
5133 * TreeNodeEventArgs.cs:
5134 * TreeNodeEventHandler.cs:
5135 * WizardNavigationEventArgs.cs:
5136 * WizardNavigationEventHandler.cs: Added new delegates.
5138 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
5140 * ImageMapEventArgs.cs:
5141 * ImageMapEventHandler.cs:
5142 * MailMessageEventArgs.cs:
5143 * MailMessageEventHandler.cs:
5145 * MenuEventHandler.cs:
5146 * ObjectDataSourceDisposingEventArgs.cs:
5147 * ObjectDataSourceDisposingEventHandler.cs:
5148 * ObjectDataSourceEventArgs.cs:
5149 * ObjectDataSourceEventHandler.cs:
5150 * ObjectDataSourceMethodEventArgs.cs:
5151 * ObjectDataSourceMethodEventHandler.cs:
5152 * ObjectDataSourceSelectingEventArgs.cs:
5153 * ObjectDataSourceSelectingEventHandler.cs:
5154 * ObjectDataSourceStatusEventArgs.cs:
5155 * ObjectDataSourceStatusEventHandler.cs: Added new delegates.
5157 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
5159 * DetailsViewCommandEventArgs.cs:
5160 * FormViewCommandEventArgs.cs:
5161 * GridViewCommandEventArgs.cs: Corrected constructor.
5163 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
5165 * GridViewCancelEditEventArgs.cs:
5166 * GridViewCancelEditEventHandler.cs:
5167 * GridViewCommandEventArgs.cs:
5168 * GridViewCommandEventHandler.cs:
5169 * GridViewDeletedEventArgs.cs:
5170 * GridViewDeletedEventHandler.cs:
5171 * GridViewDeleteEventArgs.cs:
5172 * GridViewDeleteEventHandler.cs:
5173 * GridViewEditEventArgs.cs:
5174 * GridViewEditEventHandler.cs:
5175 * GridViewPageEventArgs.cs:
5176 * GridViewPageEventHandler.cs:
5177 * GridViewRowEventArgs.cs:
5178 * GridViewRowEventHandler.cs:
5179 * GridViewSelectEventArgs.cs:
5180 * GridViewSelectEventHandler.cs:
5181 * GridViewSortEventArgs.cs:
5182 * GridViewSortEventHandler.cs:
5183 * GridViewUpdatedEventArgs.cs:
5184 * GridViewUpdatedEventHandler.cs:
5185 * GridViewUpdateEventArgs.cs:
5186 * GridViewUpdateEventHandler.cs: Added new delegates.
5188 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
5190 * FormViewUpdatedEventArgs.cs: Corrected constructor.
5192 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
5194 * FormViewCommandEventArgs.cs: Corrected name of class.
5196 2004-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5198 * Xml.cs: use MapPath in DocumentSource and documentContent. Fixes
5201 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
5203 * FormViewCommandEventArgs.cs:
5204 * FormViewCommandEventHandler.cs:
5205 * FormViewDeletedEventArgs.cs:
5206 * FormViewDeletedEventHandler.cs:
5207 * FormViewDeleteEventArgs.cs:
5208 * FormViewDeleteEventHandler.cs:
5209 * FormViewInsertedEventArgs.cs:
5210 * FormViewInsertedEventHandler.cs:
5211 * FormViewInsertEventArgs.cs:
5212 * FormViewInsertEventHandler.cs:
5213 * FormViewModeEventArgs.cs:
5214 * FormViewModeEventHandler.cs:
5215 * FormViewPageEventArgs.cs:
5216 * FormViewPageEventHandler.cs:
5217 * FormViewUpdatedEventArgs.cs:
5218 * FormViewUpdatedEventHandler.cs:
5219 * FormViewUpdateEventArgs.cs:
5220 * FormViewUpdateEventHandler.cs: Added new delegates.
5222 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
5224 * DetailsViewCommandEventArgs.cs:
5225 * DetailsViewCommandEventHandler.cs:
5226 * DetailsViewDeletedEventArgs.cs:
5227 * DetailsViewDeletedEventHandler.cs:
5228 * DetailsViewDeleteEventArgs.cs:
5229 * DetailsViewDeleteEventHandler.cs:
5230 * DetailsViewInsertedEventArgs.cs:
5231 * DetailsViewInsertedEventHandler.cs:
5232 * DetailsViewInsertEventArgs.cs:
5233 * DetailsViewInsertEventHandler.cs:
5234 * DetailsViewModeEventArgs.cs:
5235 * DetailsViewModeEventHandler.cs:
5236 * DetailsViewPageEventArgs.cs:
5237 * DetailsViewPageEventHandler.cs:
5238 * DetailsViewUpdatedEventArgs.cs:
5239 * DetailsViewUpdatedEventHandler.cs:
5240 * DetailsViewUpdateEventArgs.cs:
5241 * DetailsViewUpdateEventHandler.cs: Added new delegates.
5243 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
5245 * AuthenticateEventArgs.cs:
5246 * AuthenticateEventHandler.cs:
5247 * CreateUserErrorEventArgs.cs:
5248 * CreateUserErrorEventHandler.cs: Added new delegates.
5250 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
5252 * IButtonControl.cs:
5253 * ICallbackContainer.cs:
5254 * ICompositeControlDesignerAccessor.cs:
5255 * IPostBackContainer.cs: Added new interfaces.
5257 2004-08-03 Sanjay Gupta <gsanjay@novell.com>
5260 * AutoCompleteType.cs:
5261 * ContentDirection.cs:
5262 * DataControlCellType.cs:
5263 * DataControlRowState.cs:
5264 * DataControlRowType.cs:
5265 * DetailsViewMode.cs:
5266 * DynamicImageParameterMode.cs:
5269 * ImageFieldMode.cs:
5276 * SiteMapNodeItemType.cs:
5277 * SiteMapNodeType.cs:
5278 * SiteMapViewType.cs:
5280 * TableCaptionAlign.cs:
5281 * TableHeaderScope.cs:
5283 * TreeNodeSelectAction.cs:
5285 * TreeViewImageSet.cs:
5286 * WizardStepType.cs: Added enumerations
5288 2004-08-02 Duncan Mak <duncan@ximian.com>
5291 * LoginFailureAction.cs:
5292 * LoginTextLayout.cs: Added enumerations.
5294 2004-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5296 * BaseValidator.cs: in Validate(), when the control is not visible or
5297 enabled, return inmediately after setting IsValid to true. Fixes bug
5300 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5302 * DataList.cs: s/HasChildren/HasControls()/.
5304 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5306 * DataList.cs: style.
5308 2004-07-27 Alon Gazit <along@mainsoft.com>
5309 * DataList.cs: Replaced foreach statement with for statement,
5310 in order to improve performence.
5312 2004-07-27 Alon Gazit <along@mainsoft.com>
5313 * WebControl.cs: changed RenderBeginTag()to use TagKey instead of
5315 * Unit.cs : changed GetTypeFromString() and GetStringFromPixel() to use
5316 switch statements in order to improve performance.
5318 2004-06-10 Alon Gazit <along@mainsoft.com>
5319 * WebControl.cs: fixed LoadViewState().
5320 Creates new attributes state bag only when the current is null.
5322 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5324 * Calendar.cs: implemented OnPreRender and HasWeekSelectors.
5326 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5328 * Calendar.cs: set the title class attribute if we have it. Fixes bug
5331 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5333 * Style.cs: added SetBit.
5335 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5338 * CompareValidator.cs:
5341 * WebControl.cs: Added protected missing members and attributes.
5343 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5345 * TextBox.cs: don't save the Text if in ViewState if it's a password.
5346 Save it if the control is not visible or not enabled. Fixes bug #58497.
5348 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5350 * Calendar.cs: fire OnDayRender after assigning the calendar cell text.
5353 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
5355 * SqlDataSourceCommandEventArgs:
5356 * XmlDataSource.cs : removed temporary workarounds for CLS
5357 compliance as System.Data is now CLS compliant
5359 2004-05-06 Alon Gazit <along@mainsoft.com>
5360 * WebControl.cs: fixed LoadViewState() and SaveViewState().
5361 Before the change the Enabled property wasn't updated when a postback
5363 * ListControl.cs: fixed SelectedIndex property implementation.
5364 Prevents throwing ArgumentOutOfRangeException (that should not be
5365 thrown), when the list is empty.
5367 2004-04-28 Alon Gazit <along@mainsoft.com>
5368 * WebControl.cs: fixed LoadViewState().
5369 Always loading the saved attributes collection.
5371 2004-04-18 Alon Gazit <along@mainsoft.com>
5372 * Repeater.cs: fixed InstantiateItem() and DataSource property.
5373 The change in DataSource prevents throwing ArgumentException while
5374 setting property value to null.
5375 The change in InstantiateItem() prevents NullReferenceException.
5377 2004-04-07 Lluis Sanchez Gual <lluis@ximian.com>
5379 * BaseValidator.cs: Store Display property in the correct ViewState
5380 property. Don't render anything if Display is ValidatorDisplay.None.
5382 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
5384 * Xml.cs: In LoadXpathDoc(), don't use MapPathSecure with documentSource,
5385 since it is already a physical path. Fixes bug #55334.
5387 2004-02-13 Jackson Harper <jackson@ximian.com>
5389 * Calendar.cs: Match MS postback data. This allows sites that
5390 parse the postback data manually to work.
5392 2004-02-04 Alon Gazit <along@mainsoft.com>
5393 * EditCommandColumn.cs: fixed InitializeCell().
5394 The rendered LiteralControl should contain " " and not " ".
5396 2004-02-01 Alon Gazit <along@mainsoft.com>
5398 * DataGrid.cs: fixed a problem in the paging mechanism in the method
5400 the problem was when (PagerStyle.Mode == PagerMode.NumericPages),
5401 while clicking the "..." link in the second page.
5403 2004-01-28 Alon Gazit <along@mainsoft.com>
5405 * Calendar.cs: prevent NullReferenceException in RenderAllDays().
5407 2004-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5409 * Calendar.cs: when rendering days, add a LiteralControl containing the
5410 day before OnDayRender is called. Only generate the default links for
5411 days when IsSelectable is true after OnDayRender. Fixes bug #53372.
5413 2004-01-21 Martin Baulig <martin@ximian.com>
5415 * XmlHierarchyData.cs: Make this compile with csc.
5417 * BulletedList.cs (BulletedList.SelectedItem): Removed the `set'
5418 accessor since the base class doesn't have one.
5420 2004-01-18 Alon Gazit <along@mainsoft.com>
5422 * CheckBoxList.cs: fix problem with negative TabIndex (wasn't rendered).
5424 2004-01-18 Alon Gazit <along@mainsoft.com>
5426 * Style.cs: CopyFrom method shouldn't copy a value that is equal to
5427 Property default value.
5428 * FontInfo.cs : CopyFrom method shouldn't copy a value that is equal to
5429 Property default value.
5431 2004-01-15 Alon Gazit <along@mainsoft.com>
5433 * RadioButtonList.cs: RepeatLayout property should affect the rendered
5436 2004-01-15 Alon Gazit <along@mainsoft.com>
5437 * FontInfo.cs: Add validation check to Size property.
5439 2004-01-07 Alon Gazit <along@mainsoft.com>
5440 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
5441 merge the column's style to the cell's style and not to
5442 the item's(row) style.
5444 2004-01-04 Alon Gazit <along@mainsoft.com>
5445 * RangeValidator.cs: Fixed ControlPropertiesValid().
5447 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5449 * Xml.cs: mono-stylized and removed warnings.
5451 2004-1-1 Alon Gazit <along@mainsoft.com>
5452 * RadioButtonList.cs: update RenderItem() so that each RadioButton
5453 is enabled or disabled like the RadioButtonList.
5454 * CheckBoxList.cs: update RenderItem() so that each CheckBox
5455 is enabled or disabled like the CheckBoxList.
5457 2004-1-1 Alon Gazit <along@mainsoft.com>
5458 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
5459 The Header or Footer Style shouldn't merge with the cells Style.
5461 2004-1-1 Alon Gazit <along@mainsoft.com>
5462 * DataGridColumn.cs: Headers and Footers are initialized
5463 with the relevant Style object.
5465 2003-12-30 Alon Gazit <along@mainsoft.com>
5466 * RepeatInfo.cs: Fixed DoVerticalRendering () and
5467 DoHorizontalRendering().
5468 Current implementation produces few extra html tags.
5470 2003-12-29 Alon Gazit <along@mainsoft.com>
5472 * CheckBox.cs: change the implementation of LoadPostData.
5473 Currently, while the AutoPostBack property equals true ,
5474 it isn't possible to perform uncheck.
5476 2003-12-19 Jackson Harper <jackson@ximian.com>
5478 * TableCell.cs: Setting a cells text should clear its control
5479 collection as per la specification. This fixes bug #51825.
5481 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5483 * DataGridColumn.cs: stylized LoadViewState.
5484 * DataGridColumnCollection.cs: when TrackViewState is called, also
5485 call it on all the existing columns. Fixes bug #52334.
5487 2003-12-18 Alon Gazit <along@mainsoft.com>
5489 * DataGridPagerStyle.cs: merge DataGridPagerStyle properties when Style
5492 2003-12-18 Alon Gazit <along@mainsoft.com>
5494 * TableStyle.cs: merge TableStyle properties when Style is empty.
5496 2003-12-16 Alon Gazit <along@mainsoft.com>
5498 * HyperLink.cs: Change Text property implementation. in MS when the Text
5499 property is set, all the controls in the HyperLink are being deleted.
5500 This fixes bug #52239.
5502 2003-12-15 Alon Gazit <along@mainsoft.com>
5503 * RepeatInfo.cs: Fixed DoVerticalRendering () and
5504 DoHorizontalRendering().
5505 Both methods add additional empty table row in the head of each item
5506 table when the variable named isTable equals true (happenes with the
5507 default instantiation of RepeatInfo). These additional rows should be
5508 added when isTable equals false.
5509 This fixes bug #52225.
5511 2003-12-15 Alon Gazit <along@mainsoft.com>
5513 * RepeatInfo.cs: Fixed DoVerticalRendering() and
5514 DoHorizontalRendering().
5515 Both methods add to rendered Header a colspan attribute according to the
5516 rows count. after the change the colspan is added according to the
5519 2003-12-15 Alon Gazit <along@mainsoft.com>
5520 * CheckBox.cs: Disabled CheckBox does not produce same HTML as .NET.
5521 In .NET if the checkbox is disabled ,its text appears disabled too.
5522 In Mono the text appears enabled. the fix is in Render().
5523 This fixes bug #52180.
5525 2003-12-15 Alon Gazit <along@mainsoft.com>
5526 * Repeater.cs: Change the implementation of CreateControlHierarchy().
5527 The current implementation renders extra Header and footer
5528 without Repeater.DataSource assign.
5529 This fixes bug #52179.
5531 2003-12-15 Alon Gazit <along@mainsoft.com>
5532 * DataGrid.cs: Change the implementation of the property
5533 BackImageUrl. The current implementation has no influence
5534 on the rendered Html.
5536 2003-12-15 Alon Gazit <along@mainsoft.com>
5537 * WebControl.cs: Change the implementation of the property
5538 Enabled. Before the change the WebControl also looked at
5539 parent.Enabled . fixed bug #52171.
5541 2003-12-11 Jackson Harper <jackson@ximian.com>
5543 * RepeatInfo.cs: When rendering vertically figure out how many
5544 colmns are not going to be filled in in the last row, and adjust
5545 things accordingly. This fixes bug #51863.
5547 2003-12-10 Alon Gazit <along@mainsoft.com>
5548 * TableRow.cs: Change the implementation of the properties
5549 HorizontalAlign and VerticalAlign. The current implementation
5550 has no influence on the rendered Html.
5552 2003-12-10 Alon Gazit <along@mainsoft.com>
5553 * TableItemStyle.cs: Add setting of The WRAP flag in the Wrap
5554 property's set method.
5556 2003-12-09 Jackson Harper <jackson@ximian.com>
5558 * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
5559 Increment counter when moving to start. Fixes bug #51926.
5561 2003-12-08 Jackson Harper <jackson@ximian.com>
5563 * HyperLinkColumn.cs: Fix navigate url rendering. Patch by
5564 Benjamin Jemlich. Fixes bug #51823.
5566 2003-12-07 Alon Gazit <along@mainsoft.com>
5567 * Panel.cs: Panel doesn't render nowrap attribute while the Wrap
5568 property is set to false. Fixes bug #58120.
5570 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5572 * TableItemStyle.cs: merge TableItemStyle properties when Style is
5573 empty. Fixes bug #51689. Patch by Alon Gazit <along@mainsoft.com>.
5575 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5577 * RadioButtonList.cs: render tabindex attribute if needed. Fixes bug
5580 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5582 * WebControl.cs: don't create the attributes when GetAttribute is
5585 2003-12-01 Jackson Harper <jackson@ximian.com>
5587 * WebControl.cs: Only allow access keys to be null or a single
5588 char. Patch by Alon Gazit <along@mainsoft.com>.
5590 2003-11-30 Jackson Harper <jackson@ximian.com>
5592 * CheckBoxList.cs: A checkbox will have null post data if it is
5593 unselected. This fixes bug #51516.
5595 2003-11-29 Jackson Harper <jackson@ximian.com>
5597 * DataGrid.cs: Display paging controls even when there is no
5598 data. Path by Mohammad DAMT. Fixes bug #51487.
5600 2003-11-29 Jackson Harper <jackson@ximian.com>
5602 * DataGrid.cs: Call TrackViewState when loading bound columns view
5603 state. So that their state is saved. This fixes bug #51424. Also
5606 2003-11-26 Jackson Harper <jackson@ximian.com>
5608 * BaseDataList.cs: Change && to || We will call that a typo so no
5609 one gets embarrased.
5611 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5613 * BaseDataList.cs: allow setting null as Datasource.
5615 * DataGrid.cs: keep autogenerated columns in the ViewState.
5617 Patches by Alon Gazit <along@mainsoft.com>.
5619 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
5621 * SqlDataSource*: Implement almost everything. Data access is
5624 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
5626 * Calendar.cs (SaveViewState):
5627 - We were allocating a 11 item array, we only used 10 items,
5628 so only allocate 10.
5629 - We only need to save the selected dates if there are any.
5630 * DataGrid.cs (SaveViewState):
5631 * DataGridColumn.cs (SaveViewState):
5632 * DataGridColumnCollection.cs (SaveViewState):
5633 - Only return the array if there is anything in it
5634 * Style.cs (SaveViewState):
5635 - Only save the bits if there were changes.
5636 * WebControl.cs (SaveViewState), (LoadViewState):
5637 - Don't save Enabled into the viewstate here, we already
5638 do it in the property. This just caused *EVERY* control
5639 to have a non-null state, taking up lots of extra room
5641 - The style will always be created with this control's
5642 viewstate, so the style will always return null for the
5643 viewstate. As such, we do not need to store it. We can
5644 also reduce the triplet to a pair because of this.
5646 2003-11-22 Jackson Harper <jackson@ximian.com>
5648 * ValidationSummary.cs: Fix number of messages and message array computation.
5650 2003-11-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5652 * Xml.cs: Corrected attribute
5653 * XmlBuilder.cs: Added
5655 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5657 * Xml.cs: class status based fixes.
5659 2003-11-19 Jackson Harper <jackson@ximian.com>
5661 * HyperLink.cs: Use ResolveUrl instead of ResolveBaseUrl.
5663 2003-11-19 Jackson Harper <jackson@ximian.com>
5665 * HyperLink.cs: Use ResolveBaseUrl so that ~/ is interpreted as
5666 teh applications base directory. This fixes bug #51092.
5668 2003-11-18 Todd Berman <tberman@gentoo.org>
5670 * ControlParameter.cs:
5671 * CookieParameter.cs:
5673 * QueryStringParameter.cs:
5674 * SessionParameter.cs: added public .ctor ()
5675 * Parameter.cs: added public .ctor (), internal SetOwnerCollection
5676 and handling, as well as internal ParameterValue for easy access.
5677 NOTE: ParameterValue doesnt respect TreatEmptyStringAsNull yet.
5678 * ParameterCollection.cs: implementation redux.
5680 2003-11-18 Todd Berman <tberman@gentoo.org>
5682 * ParameterCollection.cs: Implemented
5683 * Parameter.cs: Added _owner, SetOwnerCollection and proper handling.
5684 ToString () now matches asp.net
5686 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
5688 * ControlParameter.cs:
5689 * CookieParameter.cs:
5692 * QueryStringParameter.cs: New v2 files. Mostly
5693 implemented, still need a few methods.
5695 2003-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5697 * ListItem.cs: prevent nullrefs ni Get/SetAttribute. Thanks to Alon
5698 Gazit <along@mainsoft.com>.
5700 2003-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5702 * RadioButton.cs: fixed RenderInputTag for negative TabIndex values.
5703 Patch by Alon Gazit <along@mainsoft.com>.
5705 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
5707 * DataBoundControl.cs: Implement
5708 * ListControl.cs: inherit from the above.
5709 * Repeater.cs, BaseDataList.cs: should reset whenever we databind.
5711 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
5716 * Repeater.cs: add v2 databinding stuff
5717 * XmlDataSource.cs: make it load the xml.
5719 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
5722 * XmlDataSourceView.cs:
5723 * XmlHierarchicalDataSourceView.cs:
5724 * XmlHierarchicalEnumerable.cs:
5725 * XmlHierarchyData.cs: Implement
5727 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
5729 * SiteMapDataSourceView.cs: Implement.
5731 2003-11-07 Jackson Harper <jackson@ximian.com>
5733 * ImageButton.cs: This is a workaround for bug #49819. It appears
5734 that the .x and .y values are not being posted, and only the x
5735 value is being posted with the ctrl's id as the key.
5737 2003-11-07 Jackson Harper <jackson@ximian.com>
5739 * DataGrid.cs (CreateControlHierarchy): Current page index is
5740 alolowed to equal page count. This prevents an exception being
5741 thrown when both are zero.
5743 2003-11-06 Jackson Harper <jackson@ximian.com>
5745 * ValidationSummary.cs: Add Render method. Patch by Yaron Shkop.
5746 * BaseValidator.cs: Disable base control so the isValid flag is
5749 2003-11-03 Jackson Harper <jackson@ximian.com>
5751 * TemplateColumn.cs: Use the same renderer for selected items as
5752 normal items. This fixes bug #49744.
5754 2003-11-03 Jackson Harper <jackson@ximian.com>
5757 * WebControl.cs: Fix argument out of range exceptions on
5758 properties. Patch by Yaron Shkop.
5760 2003-11-03 Jackson Harper <jackson@ximian.com>
5762 * TemplateColumn.cs: If the item is selected but there is no
5763 editItemTemplate use the itemTemplate. This matches MS behvoir.
5765 2003-11-03 Jackson Harper <jackson@ximian.com>
5767 * Repeater.cs: Always set alternating items to the AlternatingItem
5768 type, when instantiating alternating items use the itemTemplate if
5769 the alternatingItem template is null. This matches MS behavoir and
5772 2003-11-03 Jackson Harper <jackson@ximian.com>
5774 * DataGridPagerStyle.cs: Name of view state attribute is
5775 PagerVisible not Visible. Call owner.OnPagerChanged when the pager
5776 visibility is changed. Patch by Yaron Shkop.
5778 2003-11-03 Jackson Harper <jackson@ximian.com>
5780 * RepeatInfo.cs: When doing horizontal rendering use the repeat
5781 columns as the number of columns in a row. This fixes bug #49016.
5783 2003-11-03 Jackson Harper <jackson@ximian.com>
5785 * PagedDataSource.cs (PageCount): Return page count of 1 if there
5786 paging is disabled. Patch by Yaron Shkop.
5787 * PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
5788 * TableStyle.cs (AddAttributesToRender): Render border style
5789 collapse. Patch by Yaron Shkop.
5791 * TableItemStyle.cs:
5792 * DataGridPagerStyle.cs: Call base copy and merge even if style is of
5793 the wrong type. Patch by Yaron Shkop.
5795 2003-11-03 Jackson Harper <jackson@ximian.com>
5797 * BoundColumn.cs: Render readonly columns. Patch by Mohammad DAMT.
5799 2003-11-02 Ben Maurer <bmaurer@users.sourceforge.net>
5802 * BulletedListDisplayMode.cs:
5803 * BulletedListEventHandler.cs:
5805 * BulletedListEventArgs.cs: V2 controls (yay!)
5807 2003-10-30 Jackson Harper <jackson@ximian.com>
5809 * Repeater.cs: Throw an exception if the datasource is set to
5810 something that does not implement either IListSource or
5811 IEnumerable. This fixes bug #50155.
5813 2003-10-30 Jackson Harper <jackson@ximian.com>
5815 * DataGridPagerStyle.cs: Do not allow page button counts to be set
5816 to less then 1. Patch by Yaron Shkop. This fixes bug #50236.
5818 2003-10-29 Jackson Harper <jackson@ximian.com>
5820 * ButtonColumn.cs: Format string and text to format were
5821 inversed. This fixes bug #50171.
5823 2003-10-29 Jackson Harper <jackson@ximian.com>
5825 * DataGridColumn.cs: If an item style is set apply it to the
5826 cell. This fixes bug #50173.
5828 2003-10-29 Ben Maurer <bmaurer@users.sourceforge.net>
5830 * HyperLinkColumn.cs: Patch by Yaron Shkop. Fixes #50234. Remove
5831 old debugging value.
5833 2003-10-29 Jackson Harper <jackson@ximian.com>
5835 * PagedDataSource.cs:
5836 * DataGrid.cs: Patch by Mohammad DAMT. Do not go past the
5837 end of the last page. Fixes bug #5085.
5839 2003-10-29 Jackson Harper <jackson@ximian.com>
5841 * CheckBox.cs: Do not change the status of a checkbox when there
5842 is no post data. This fixes bug #49091.
5843 * CheckBoxList.cs: Do not change the status of the checkboxes when
5844 there is no post data. This fixes bug #49093.
5846 2003-10-26 Ben Maurer <bmaurer@users.sourceforge.net>
5848 * RadioButton.cs: Patch by Yaron Shkop. Enables disabling a
5849 RadioButton. Fixes #50132
5851 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
5853 * PagedDataSource.cs: Patch by Ivo Haamer. Typo prevented
5854 paging from working. Fixes #48814.
5856 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
5858 * DataGrid.cs: A few typos kept us from viewing datagrids
5859 that were based on customized collections.
5861 2003-10-24 Ben Maurer <bmaurer@users.sourceforge.net>
5863 * DataGridCommandEventArgs.cs: typo, cmdSrc was becoming origionalArgs.
5865 2003-10-23 Ben Maurer <bmaurer@users.sourceforge.net>
5867 * Calendar.cs: render the next month button so that aligns to the
5870 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5872 * BaseCompareValidator.cs: splitted Convert. Fixed bug #49927. The fix
5873 was just changing && by || after the first Match.
5875 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5877 * Calendar.cs: apply header style in RenderHeader. Fixes bug #49144.
5878 Patch by Yaron Shkop.
5880 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5882 * DataGrid.cs: applied patch from Yaron Shkop (yaronsh@mainsoft.com)
5883 that fixes bug #49744. Now the selection doesn't lose its data.
5885 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
5887 * EditCommandColumn.cs: Implement; fix #49736
5889 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
5891 * ButtonColumn.cs: Use the DataGridLinkButton, so that we inherit
5892 the forground color. bug #49738
5894 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5896 * Calendar.cs: fixed bug #49727.
5898 2003-10-18 Ben Maurer <bmaurer@users.sourceforge.net>
5900 * TableStyle.cs: fix #49740.
5902 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5904 * SelectedDatesCollection.cs: fix by Yaron for bug #49698.
5905 * ValidationSummary.cs: fixes bug #49669.
5907 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5909 * Calendar.cs: apply the calendar style to the new Table, not to itself.
5912 * CheckBox.cs: render the hidden fields if AutoPostBack.
5914 * Style.cs: don't render empty width/height. Small improvement in
5917 * Table.cs: fixed condition for border width.
5920 (CopyFrom): always call the base class to copy other attributes. Fixes
5921 bug #49408. Don't render empty 'rules' attribute.
5923 * WebControl.cs: track viewstate when enabled. Don't overwrite source
5924 control attributes in CopyBaseAttributes.
5926 * ChangeLog: fixed dates.
5929 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
5931 * WebControl.cs : Attributes { get; } - Is Complete.
5932 * ValidationSummary.cs : AddAttributesToRender(HtmlTextWriter)
5935 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
5937 * BaseValidator.cs : DetermineRenderUplevel() - Completed.
5938 : RegisterValidatorCommonScript()
5939 - More code, I need HELP!
5940 : RegisterValidatorDeclaration()
5941 - More code, I need HELP!
5943 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5945 * CheckBoxList.cs: don't lose state when enabling/disabling. See bug
5948 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5950 * Repeater.cs: fixed bug #48807. It needed to use a DummyDataSource and
5951 ClearViewState only called when no items.
5953 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5955 * RadioButtonList.cs: fix for bug #48874 by Yaron Shkop.
5957 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5959 * RadioButtonList.cs: fix for bug #48870 by Yaron Shkop.
5961 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5963 * DataList.cs: fixed bug #48217. Patch by yaronsh@mainsoft.com (Yaron
5966 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5968 * AdRotator.cs: fixes bug #48691. Patch by yaronsh@mainsoft.com (Yaron
5971 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5973 * CheckBox.cs: render the 'disabled' attribute in the correct tag.
5974 * WebControl.cs: fixed Enabled property and save it in ViewState.
5978 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5980 * ListControl.cs: fixed bug #48668. Thanks to Yaron Shkop.
5982 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5984 * ListBox.cs: patch by yaronsh@mainsoft.com (Yaron Shkop) that fixes
5987 2003-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5989 * FontInfo.cs: fixed Name property as suggested by Rich Alimi
5990 <rich@velvetsea.net>.
5992 2003-09-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5994 * RegularExpressionValidator.cs: fix for EvaluateIsValid by Juraj
5995 Skripsky <juraj@hotfeet.ch>
5997 2003-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5999 * BaseValidator.cs: patch by Juraj Skripsky (juraj@hotfeet.ch) that
6000 fixes rendering of the end tag.
6002 2003-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6004 * Repeater.cs: fix for Items property provided by yaronsh@mainsoft.com
6005 (Yaron Shkop). Closes bug #48060.
6007 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6009 * CheckBox.cs: in LoadPostData, only return
6010 true when the new data is different from the one we had. Fixed
6011 conditions to save Checked state. Thanks to yaronshkop@hotmail.com
6014 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6016 * Style.cs: Font.Strikeout renders as 'line-through'. Fixes bug #47871.
6018 2003-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6020 * WebControl.cs: removed dangling ^M and unneeded fields. Keep track
6021 of Enable in ViewState. Fixes bug #47865.
6023 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6025 * Style.cs: the MARKED bit is not send set in ViewState unless something
6026 is changed. Fixed TrackViewState condition.
6028 * WebControl.cs: save the base ViewState *after* ControlStyle is done,
6029 because it uses the same ViewState as the control. Fixes bug #47725.
6031 2003-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6033 * HyperLinkColumn.cs: patch from David Pickens <dsp@rci.rutgers.edu>
6034 that fixes databinding when only DataTextField or DataNavigateUrlField
6037 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6039 * ListControl.cs: patch sent by Yaacov Akiba Slama <ya@slamail.org> on
6040 behalf of Yaron Shkop <yaronsh@mainsoft.com> that fixes selection of
6041 values before assigning a data source and other issues.
6043 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6045 * CheckBox.cs: save viewstate when needed and correctly handle post
6046 data. Fixes bug #47462.
6048 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6050 * ButtonColumn.cs: Removed additional attributes
6051 * CheckBox.cs: Added attribute
6052 * DataGrid.cs: Added attributes
6053 * HyperLinkColumn.cs: Changed attributes, added lamespec
6054 * Style.cs: Removed attributes
6055 * TextBox.cs: Added/ removed attributes
6057 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6059 * AdRotator.cs: Added all attributes
6060 * BaseDataList.cs: Added all attributes, added lamespec, removed additional attributes
6061 * BaseValidator.cs: Added all attributes
6062 * BoundColumn.cs: Added all attributes
6063 * Button.cs: Added all attributes
6064 * ButtonColumn.cs: Added all attributes, added lamespec
6065 * Calendar.cs: Added all attributes, added error checks, throws more exceptions
6066 * CheckBox.cs: Added all attributes
6067 * CheckBoxList.cs: Added all attributes
6068 * CompareValidator.cs: Added all attributes
6069 * CustomValidator.cs: Added all attributes
6070 * DataGrid.cs: Added all attributes, more verbose exceptions, fixed signature, removed additional attributes
6071 * DataGridColumn.cs: Added all attributes
6072 * DataGridColumnCollection.cs: Added all attributes
6073 * DataGridPagerStyle.cs: Added all attributes
6074 * DataGridTableInternal.cs: Made DataGridTableInternal internal
6075 * DataList.cs: Added all attributes, more verbose exceptions, removed non-existing member
6076 * DropDownList.cs: Added all attributes
6077 * FontInfo.cs: Added all attributes
6078 * HyperLink.cs: Added all attributes
6079 * HyperLinkColumn.cs: Added all attributes
6080 * Image.cs: Added all attributes
6081 * ImageButton.cs: Added all attributes
6082 * Label.cs: Added all attributes
6083 * LinkButton.cs: Added all attributes
6084 * ListBox.cs: Added all attributes, added error checks, throws more exceptions
6085 * ListControl.cs: Added all attributes
6086 * ListItem.cs: Added all attributes
6087 * ListItemCollection.cs: Added attribute
6088 * Literal.cs: Added all attributes
6089 * Panel.cs: Added all attributes
6090 * RadioButton.cs: Added all attributes
6091 * RadioButtonList.cs: Added all attributes, added error checks, throws more exceptions
6092 * RangeValidator.cs: Added all attributes
6093 * RegularExpressionValidator.cs: Added all attributes
6094 * Repeater.cs: Added all attributes
6096 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6098 * RequiredFieldValidator.cs: Added all attributes
6099 * Style.cs: Added all attributes
6100 * Table.cs: Added all attributes
6101 * TableCell.cs: Added all attributes, added error checks, throws more exceptions
6102 * TableCellCollection.cs: Added attribute
6103 * TableRow.cs: Added all attributes
6104 * TableRowCollection: Added attribute
6105 * TableStyle.cs: Added all attributes, improved error messages
6106 * TemplateColumn.cs: Added all attributes
6107 * TextBox.cs: Added all attributes, added error checks, throws more exceptions
6108 * ValidationSummary.cs: Added all attributes
6109 * WebControl.cs: Added all attributes
6110 * Xml.cs: Added all attributes
6112 2003-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6114 * DataGrid.cs: fixed signature of ItemCreated and PageIndexChanged.
6115 * DataList.cs: fixed signature of ItemCreated and ItemDataBound.
6117 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6119 * CheckBoxList.cs: fixes bug reported on the list about the state of
6120 the CheckButtons not being preserved across posts.
6122 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6124 * ListControl.cs: added SelectedValue property (1.1). Closes 46412.
6126 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6128 * AdRotator.cs: fixed bug #44271 and a few others bugs. Mono-stylized.
6130 2003-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6132 * ListControl.cs: save viewstate data when any of the 3 values is not
6133 null. Fixed condition to save selection indices. Closes bug #45493.
6135 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6137 * DataGrid.cs: fixed bug #43823.
6139 2003-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6141 * DataGrid.cs: fixed delegate type for SortCommand.
6143 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6145 * DataGridColumnCollection.cs: added missing return in RemoveAt.
6147 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6149 * DataGridColumnCollection.cs: fixed LoadViewState for the columns.
6150 Don't save ViewState is the number of columns is 0.
6152 2003-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6154 * DataGrid.cs: get the right item Type for the property we're reading
6155 fromt the data source.
6157 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6160 * TextBox.cs: added control builder attribute.
6162 2003-03-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6164 * DataGrid.cs: Fixed SaveViewState and type of ItemDataBound.
6166 2003-03-17 George Kodinov <gkodinov@openlinksw.co.uk>
6168 * Unit.cs: Called the correct method to get the Numeric locale for the
6171 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6173 * ButtonColumn.cs: fixed a couple of infinite loop problems and render
6174 correctly the header of the column.
6176 * DataGridTableInternal.cs: don't assign a default ID to this control.
6178 * LinkButton.cs: raise bubble event in OnCommand.
6180 * TableCellCollection.cs: fixed the index returned by Add.
6182 * TableRowCollection.cs: ditto.
6184 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6186 * Xml.cs: don't call MapPathSecure when setting DocumentSource.
6188 2003-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6190 * RangeValidator.cs: fixed bug #37577. Thanks to Stephane Tombeur
6191 for reporting the bug and providing the fix.
6193 2003-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6195 * DataGrid.cs: AutoGenerateColumns defaults to true. Fixed
6196 CreateColumnSet. Set the owner of the column when auto generated.
6197 In PrepareControlHierarchyForItem, fixed for loop bound.
6199 * LinkButtonInternal.cs: fixed infinite recursion bug.
6203 2003-01-22 Zdravko Tashev <ztashev@openlinksw.co.uk>
6205 * Xml.cs: a few fixes.
6207 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6209 * DataList.cs: handle the exception when adding new keys to
6212 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6214 * BaseDataList.cs: what can I say for this one? I spent so many time
6215 until I finally found this that I'm gonna miss this f....g bug... ;-).
6216 Farewell. Now we can get events from image buttons inside Data*.
6218 * DataList.cs: now the value stored in ViewState for item count is
6221 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6223 * DataGrid.cs: default value for ShowHeaders is true. Fixed style for
6225 * DataGridColumn.cs: added SetOwner method.
6226 * DataGridColumnCollection.cs: set the owner of the column when added.
6228 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6230 * BoundColumn.cs: typo.
6231 * DataGrid.cs: use 'as' instead of casting. Typo.
6232 * HyperLinkColumn.cs: call OnColumnChanged when any property change.
6235 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6237 * HyperLink.cs: fixes bug #36336.
6239 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6241 * DataList.cs: fixed IRepeatInfoUser.GetItemStyle.
6243 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6245 * BaseValidator.cs: return an empty string in GetControlValidationValue
6246 when GetValue returned null.
6248 * CompareValidator.cs: fixed EvaluateIsValid.
6250 * RegularExpressionValidator.cs: fixed EvaluateIsValid.
6252 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6254 * Xml.cs: use MapPathSecure to get the path of the document.
6256 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6258 * DataList.cs: fixed header & footer.
6260 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6262 * DataList.cs: for header and footer don't use data source.
6263 Instantiate in the DataListItem, not in the DataList.
6264 databind-template.aspx works now.
6266 2002-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6269 (Render): call RenderContents (), not base.RenderContents ().
6271 * DataList.cs: style.
6273 But I still haven't found what i'm looking for....
6275 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6277 * Calendar.cs: fixed loading/saving selected dates.
6278 * SelectedDatesCollection.cs: added internal function to get the
6279 underlying ArrayList.
6281 Calendar navigation works again. Selecting dates too.
6283 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6285 * DataList.cs: added a few attributes and fixed infinite recursion.
6287 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6289 * ListItemCollection.cs: fixed LoadViewState.
6291 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6293 * TableItemStyle.cs: TypeDescriptor.GetConverter seems to fail.
6294 Commented out some code until it works.
6296 2002-10-29 Gaurav Vaish <gvaish_mono@lycos.com>
6298 * BaseCompareValidator.cs - Fixed operator bug in
6299 Compare(string, string, ...)
6300 * CompareValidator.cs - EvaluateIsValid() : Implemented.
6302 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
6304 * BoundColumn.cs - InitializeCell(TableCell, int, ListItemType)
6306 - All Properties : Now make use of ViewState.
6308 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
6310 * BaseValidator.cs - Uncomment NotImplementedException.
6312 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
6314 * BaseValidator.cs - Minor changes in TODO comments.
6316 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
6318 * BaseValidator.cs - DetermineRenderUpLevel() : Uncomment
6319 the NotImplementedException being thrown.
6320 * DataGridPagerStyle.cs - Mode { set; } : Implemented.
6321 * DataGridLinkButton.cs - Added new class (private) : Implemented.
6322 * DataGrid.cs - InitializePager(DataGridItem, int,
6323 PagedDataSource) : Implemented.
6325 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
6327 * DataList.cs - PrepareControlHierarchy() : Implemented.
6329 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
6331 * DataList.cs - RenderContents(HtmlTextWriter) : Implemented.
6332 - GetItem(ListItemType, int) : Removed TODO.
6333 - CreateControlHierarchy(bool) : Implemented.
6334 - CreateItem(int, ListItemType) : Implemented.
6335 - CreateItem(int, ListItemType,
6336 bool, object) : Implemented.
6337 - InitializeItem(DataItem) : Implemented.
6338 * DataGrid.cs - CreateControlHierarchy(bool) : Bug fix.
6339 The ViewState["_!ItemCount"],
6340 ViewState["_!DataSource_ItemCount"]
6341 are shared by DataList and DataGrid, and hence
6342 should share the same name.
6343 - ResolveDataSource(object, string)
6344 : Removed. Use System.Web.UI.Utils.DataSourceHelper
6345 ::GetResolvedDataSource(object, string).
6348 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6350 * DataGrid.cs: fixed compilation
6352 2002-09-12 Gaurav Vaish <gvaish_mono@lycos.com>
6354 * PagedDataSource.cs - FirstIndexInPage : Fixed bug.
6355 * DataGrid.cs - CreateControlHierarchy(bool)
6356 : working towards completion.
6357 - ResolveDataSource(object, string)
6358 : stubbed new method
6360 : stubbed new method
6361 Well. It's almost done.
6362 * DataGridTableInternal.cs
6363 - Added new internal class.
6365 2002-08-28 Gaurav Vaish <gvaish_mono@lycos.com>
6367 * DataSourceInternal.cs - Added new class (internal).
6369 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6372 * HorizontalAlign.cs:
6374 * VerticalAlign.cs: fixes based on class status page.
6376 * HorizontalAlignConverter.cs: implemented.
6377 * VerticalAlignConverter.cs: implemented.
6379 * FontUnitConverter.cs: implemented GetStandardValues ().
6381 * WebColorConverter.cs: implemented ConvertFrom () and ConvertTo ().
6383 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
6385 * DataGrid.cs - AutoCreateColumns: Bug fixes.
6387 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
6389 * DataGrid.cs - AutoCreateColumns: completed, hopefully!
6391 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
6393 * DataGrid.cs - Working on the undocumented protected
6394 method CreateColumnSet. AutoCreateColumns method
6395 stubbed. Left CreateControlHierarchy for the time
6396 being, looks like I'm going insane. ;-)
6398 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
6400 * Button.cs - Steffen's OnCommand bug fix.
6402 2002-08-12 Gaurav Vaish <gvaish_mono@lycos.com>
6404 * DataGrid.cs - Added protected method (skeleton)
6405 CreateColumnSet(PagedDataSource, bool)
6406 Still trying to know how will it be used
6409 2002-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6411 * PagedDataSource.cs: fixed compilation.
6413 2002-08-08 Gaurav Vaish <gvaish_mono@lycos.com>
6415 * DataGrid.cs - Added private method
6416 CreatePagedDataSource
6418 CreateControlHierarchy(bool)
6419 * PagedDataSource.cs - Bug fixed.
6420 CurrentPageIndex is writable.
6422 2002-08-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6424 * DataGrid.cs: fixed typo.
6425 * DataGridPagerStyle.cs: added IsPagerOnTop and IsPagerOnBottom.
6427 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
6429 * DataGridColumn.cs - Added internal methods to get the
6430 various styles (needed in DataGrid.cs)
6431 * DataGrid.cs - Completed the method
6432 PrepareControlHierarchy()
6434 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
6436 * DataGrid.cs - Wokring on PrepareControlHierarchy()
6437 - Added private method
6438 PrepareControlHierarchyForItem()
6440 2002-08-05 Gaurav Vaish <gvaish_mono@lycos.com>
6442 * DataGrid.cs - Completed method
6443 OnBubbleEvent(object, EventArgs)
6445 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6447 * Xml.cs: implemented document/transform load.
6449 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6451 * Calendar.cs: added myself to the list of authors.
6452 * DropDownList.cs: fixed a few properties.
6453 * ListControl.cs: fixed SelectedIndex.
6455 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6457 * Calendar.cs: lots of fixes. Render days. Still left to persist
6458 selected days when changing month.
6460 * Unit.cs: fixed Percentage and Pixel.
6462 * WebControl.cs: a few properties are now using ControlStyle instead
6463 of ViewState to persist.
6465 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6467 * BaseValidator.cs: it works now.
6468 * DataGridColumn.cs: added attribute and made it abstract.
6469 * RequiredFieldValidator.cs: fixed return value in EvaluateIsValid.
6471 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6473 * TextBox.cs: default for Wrap is true.
6474 (OnPreRender): don't save Text if there are no listeners on TextChanged.
6476 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6482 (LoadViewState): fixed.
6484 * ListItemCollection.cs:
6485 (TrackViewState): use items instead of 'this' in foreach.
6488 (LoadViewState): more checking of parameters.
6490 * WebControl.cs: implemented LoadViewState and SaveViewState.
6493 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6495 * ListItem.cs: there was no code to unset the flags!!!
6497 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6499 * FontUnit.cs: use a hashtable for mapping size name to value.
6500 * HyperLink.cs: fixed a bug and a typo.
6501 * Unit.cs: some fixes to internal constructor.
6503 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6505 * ListControl.cs: fixed a couple of range checks.
6506 * WebControl.cs: MS lies! Not all WebControls must be rendered inside
6507 an HtmlForm (p.e., Label).
6509 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6519 * HyperLinkColumn.cs:
6528 * RadioButtonList.cs:
6532 * WebControl.cs: removed attributes added by mistake (i used
6533 GetCustomAttributes (true), d'oh!).
6535 * DataListItem.cs: implemented RenderItem.
6537 * Repeater.cs: implemented CreateItem and InitializeItem.
6539 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6541 * BaseDataList.cs: a couple of fiex and added attributes.
6542 * DataGrid.cs: little fixes.
6544 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6553 * RadioButtonList.cs:
6556 * Xml.cs: forgot to add using System.ComponentModel.
6558 * BaseValidator.cs: use explicitly
6559 System.ComponentModel.AttributeCollection as there is another class
6560 with the same name under System.Web.UI.
6562 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6581 * RadioButtonList.cs:
6586 * Xml.cs: added/fixed all attributes used by xsp.
6588 * BaseValidator.cs: some fixes.
6590 2002-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6593 (AddAttributesToRender): correctly default to border=1.
6595 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6598 (LoadAdFile): make the dictionary null after every iteration.
6602 * ListItem.cs: fixed warnings.
6604 Mon Jul 1 16:23:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
6606 * Style.cs, TableRow.cs, DataListItem.cs: fix compilation.
6608 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6610 * DataGridColumn.cs:
6611 * DataGridPagerStyle.cs:
6618 * ListItemCollection.cs:
6620 * ServerValidateEventArgs.cs:
6624 * Xml.cs: more class status page based changes.
6626 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6629 (.ctor): fixed to render the correct tag.
6630 (IPostBAckEventHandler.RaisePostBackEvent): fixed.
6632 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6635 (AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
6636 WebControl derived classes should be rendered inside a HtmlForm.
6638 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6640 * Repeater.cs: implemented CreateControlHierarchy. Fixed some event
6643 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6645 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
6646 * RepeatInfo.cs: implemented DoHorizontalRendering.
6648 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6650 * System.Web.UI.WebControls/Repeater.cs:
6652 (OnDataBinding): fixed stack overflow.
6654 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6656 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
6657 * RepeatInfo.cs: implemented DoHorizontalRendering.
6659 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6662 (CopyBaseAttributes): copy Attributes and don't throw exception.
6664 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6666 * ListBox.cs: mono-stylized.
6667 (AddAttributesToRender): call parent class method.
6669 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6671 * Style.cs: fixed IsEmpty and Width.
6673 * Table.cs: mono-stylized.
6674 (TableRowControlCollection.AddAt): fixed.
6675 (AddAttributesToRender): fixed.
6677 * TableCell.cs: mono-stylized.
6678 (.ctor): use PreventAutoID.
6679 (AddAttributesToRender): fixed.
6680 (AddParsedSubObject): fixed.
6682 * TableRow.cs: mono-stylized. Added
6683 ParseChildren attribute.
6686 (get_GridLine): fixed.
6688 2002-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6690 * Panel.cs: fixed stack overflow.
6691 * Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
6692 and SingleConverter.
6694 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6696 * RadioButton.cs: mono-stylized and some little fixes.
6698 * TextBox.cs: mono-stylized.
6699 (MaxLength): fixed typo.
6701 (AddAttributesToRender): don't render the text between the tags for
6702 SingleLine, use value attribute for it. Don't render the text for
6705 (OnPreRender): don't throw exception and call base.OnPreRender.
6707 (Render): for MultiLine, render the text between the opening and
6708 closing tags encoded as HTML.
6710 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6713 (AddAttributesToRender): fixer another stack overflow.
6716 (TagName): modified to use TagKey instead of tagKey as the property
6719 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6721 * LinkButton.cs: mono-stylized.
6722 (AddParsedSubObject):
6723 (RenderControls): little fixes.
6726 (AddAttributesToRender): fixed usage of IEnumerator.
6728 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6730 * Literal.cs: beautified.
6732 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6734 * Label.cs: beautified and fixed a couple of 'classic' bugs.
6736 * WebControl.cs: use Span as default tag when no other provided in
6737 constructor. That is what MS renders.
6739 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6742 (AddAttributesToRender): fixed (classic) stack overflow.
6744 * CheckBox.cs: mono-stylized.
6745 (AutoPostBack): fixed stack overflow.
6746 (Render): fixed alignment issues. Also set the For attribute always
6749 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6751 * AdRotator.cs: GetData does not work as it should, but now it returns
6752 useful data (only the first ad in the file). Set the NavigateUrl
6753 property in the hyperlink if available.
6755 * HyperLink.cs: fixed constructor and a couple of stack overflows.
6757 * Image.cs: added an attribute and fixed stack overflow.
6760 (RenderBeginTag): fixed.
6761 (TagName): don't call Enum.IsDefined twice.
6763 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6765 * WebControl.cs: added attributes PersistChildrenAttribute and
6766 ParseChildrenAttribute.
6768 2002-05-24 Duncan Mak <duncan@ximian.com>
6770 * DataGridItem.cs (SetItemType): Changed function signature to
6773 * ListItemCollection.cs (this): Changes the visibility level of
6776 * Repeater.cs (OnItemCommand):
6778 (OnItemDataBound): Added necessary casts.
6780 2002-05-07 Duncan Mak <duncan@ximian.com>
6782 * Button.cs (AddAttributesToRender):
6783 * ImageButton.cs (AddAttributesToRender): Added a missing argument to the
6784 GetClientValidatedEvent method.
6786 2002-03-27 Gaurav Vaish <gvaish@iitk.ac.in>
6788 * Removed extra methods, corrected access modifiers to several
6791 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
6793 * <SeveralFiles>.cs - Added some attributes
6794 * FontUnitConverter.cs - Added stubs for GetStandardValues*(..)
6795 methods. Will complete them later. Right now, busy with
6796 the attributes part.
6797 * RepeaterItem.cs - Completed.
6799 Oh God! Mercy! I will die applying attributes. I look at the missing
6800 part in the class-status - daemon! Kyrie eleison!
6802 2002-03-19 Gaurav Vaish <gvaish@iitk.ac.in>
6806 * AdRotator.cs - Added definition for Font.
6807 * BaseCompareValidator.cs - Added definition for Controls.
6808 * Calendar.cs - SelectMonthText definition corrected.
6809 * DataList.cs - Added definition for SeparatorTemplate.
6810 * BorderStyle.cs - Namespace correction. It belongs not to UI,
6811 but to UI.WebControls.
6813 2002-03-17 Gaurav Vaish <gvaish@iitk.ac.in>
6815 Finally, I have made it. Today I did a second build for the
6816 System.Web assembly. It compiled 195 classes today.
6817 I am waiting eagerly for the runtime to come up so that the objects
6818 may be tested to their last levels. Several of the methods are still
6819 under the tag of "TODO" throwing NotImplementedException. Well, I
6820 hope to remove them soon, but how far is this soon - even I don't
6821 know, though I am happy to make the build a success even before
6822 the vacations to come.
6824 2002-03-07 Gaurav Vaish <gvaish@iitk.ac.in>
6826 Yesterday and today I tried to do some building of the aseembly,
6827 but was dumped with uncoutably infinite errors. ;-)
6828 I have put the copies of the recent errors on my home page, want
6829 to have a look at them? See:
6830 http://mastergaurav.virtualave.net/mono/
6831 I don't know what to do with these errors. Oh! The buggy me! How
6832 will I overcome myself. Hopefully, by when my vacations over, I
6833 should have made a repository where the build will not fail.
6835 2002-03-05 Gaurav Vaish <gvaish@iitk.ac.in>
6837 I am now going to do a build that will include the
6838 System.Web.UI.WebControls namespace. Hoping that I will make it
6839 soon. My exams are coming near and I have to pack up soon.
6842 2002-03-04 Gaurav Vaish <gvaish@iitk.ac.in>
6845 And with this, ie, today's work, all the objects mentioned in the
6846 namespace appear in the implementation. But it may not be worth
6847 trying to go for a build because of dependence of several of the
6848 internal methods that may clash with already available assembly
6851 Also, the classes lack possible attributes, like those informing
6852 about child-controls etc. But I have to first create the attribute
6853 classes before I attach the attributes to the classes.
6855 * CustomValidator.cs - Completed. In process realized that
6856 I have to complete / rejuvinate BaseValidator class.
6857 * BaseValidator.cs - Complete rejuvination. Completed 80%
6858 of the job. All that is left is Render(HtmlTextWriter),
6859 DetermineRenderUplevel(), RegisterValidatorCommonScript()
6860 RegisterValidatorDeclaration()
6861 * DataGridPagerStyle.cs - Completed. That adds one more missle
6863 * DataKeyCollection.cs - Completed. Petty small.
6864 * Repeater.cs - Work started off. This is a quite
6866 * DataGridItemEventArgs.cs,
6867 * DataGridShortCommandEventArgs.cs,
6868 * DataListItemEventArgs.cs,
6869 * MonthChangedEventArgs.cs,
6870 * RepeaterItemEventArgs.cs,
6871 * ServerValidateEventArgs.cs,
6872 * DataGridPageChangedEventArgs.cs
6873 - Damn, I marked them "*", while they
6875 * Repeater.cs - Done all except for an undocumented
6876 method CreateControlHierarchy(bool). Though the method
6877 is quite clear by its name, but it will take some time
6878 for me to come with some material to flush in.
6880 2002-03-03 Gaurav Vaish <gvaish@iitk.ac.in>
6882 * SelectedDatesCollection.cs - Completed.
6883 * PagedDataSource.cs - Completed. Pathetically nice class.
6884 * RegularExpressionValidator.cs
6885 - Completed. Ridiculously small and
6886 annoyinglyc crazy-driving class, basically the method
6888 * RangeValidator.cs - Completed.
6889 * DataGridColumn.cs - Completed.
6890 * EditCommandColumn.cs - All is complete except for the
6891 InitializeCell(TableCell, int, ListItemType) method.
6892 * DataListItem.cs - All done except for a longish method
6893 RenderItem(HtmlTextWriter, bool, bool)
6895 2002-03-02 Gaurav Vaish <gvaish@iitk.ac.in>
6897 * RepeaterItemCollection.cs - Completed.
6898 I love *Collection classes. I am planning to make a
6899 program that will generate a *Collection class. It's so
6900 simple and the same. ;-)
6901 * DataGridColumnCollection.cs - Completed.
6902 ... except probably for *ColumnCollection classes, where
6903 you have to put in some more effort. Still, these class
6904 generation can be automated.
6905 * DataListItemCollection.cs - Completed.
6906 See, how easily, in less than a quarter of a minute, I
6907 completed this class - manually. Copy-Paste/Cut-Replace.
6909 2002-02-21 Gaurav Vaish <gvaish@iitk.ac.in>
6911 * DataGrid.cs - Following methods implemented:
6912 TrackViewState(), LoadViewState(object), SaveViewState(),
6913 On* -- The event raisers.
6914 OnBubbleEvent(object, EventArgs) is still incomplete.
6915 * DataGridItem.cs - Initial Implementation
6916 * DataGridItemCollection.cs - Completed.
6918 2002-02-08 Gaurav Vaish <gvaish@iitk.ac.in>
6920 * DataGrid.cs - Initial Implementation. Worked
6921 primarily with some properties.
6923 2002-02-07 Gaurav Vaish <gvaish@iitk.ac.in>
6925 * ListBox.cs - Completed. Implemented
6926 LoadPostData(string, NameValueCollection)
6927 * RequiredFieldValidator.cs - Completed. Pretty simple class.
6929 2002-02-06 Gaurav Vaish <gvaish@iitk.ac.in>
6931 * ListBox.cs - Implemented the following:
6932 RaisePostDataChangedEvent()
6934 2002-02-02 Gaurav Vaish <gvaish@iitk.ac.in>
6936 * ListBox.cs - Supports the following properties:
6937 BorderColor, BorderStyle, BorderWidth, Rows, SelectionMode,
6940 AddAttributesToRender(HtmlTextWriter), OnPreRender(EventArgs),
6941 RenderContents(HtmlTextWriter)
6944 2002-02-01 Gaurav Vaish <gvaish@iitk.ac.in>
6946 * TargetConverter.cs - Completed
6947 * TemplateColumn.cs - Completed
6948 * DataList.cs - Corrected the get-er methods for the
6949 *Style objects. Corrected the get/set-er methods for ViewState
6951 Addded support for properties:
6952 GridLines, HeaderStyle, HeaderTemplate, ItemStyle, ItemTemplate,
6953 RepeatColumns, RepeatDirection, RepeatLayout, SelectedIndex,
6954 SelectedItem, SelectedItemStyle, SelectedItemTemplate,
6955 SeparatorStyle, SeparatorItemTemplate.
6957 CancelCommand, DeleteCommand, EditCommand, ItemCommand,
6958 ItemCreated, ItemDataBound, UpdateCommand.
6960 CreateControlStyle(), LoadViewState(object),
6961 SaveViewState(), TrackViewState
6963 OnBubbleEvent, OnCancelCommand, OnDeleteCommand,
6964 OnEditCommand, OnItemCommand, OnItemCreated,
6965 OnItemDataBound, OnUpdateCommand
6966 Added dummy methods for some undocumented methods:
6967 CreateControlHierarchy(bool), CreateItem(int, ListItemType),
6968 CreateItem(int, ListItemType, bool, object),
6969 PrepareControlHierarchy(), InitializeItem(DataListItem)
6970 * ListBox.cs - Started working.
6974 2002-01-31 Gaurav Vaish <gvaish@iitk.ac.in>
6976 * RepeaterInfo.cs - Initial Implementation. Done all
6977 except for RepeatDirection.Vertical
6978 * TableStyle.cs - Completed
6980 2002-01-30 Gaurav Vaish <gvaish@iitk.ac.in>
6982 * DropDownList.cs - Completed
6983 * ListItemCollection.cs - Added method FindByValueInternal to
6984 assist in the derived classes.
6985 Discovered bug in FindByValue. Removed
6986 * UnitConverter.cs - Completed
6987 * PlaceHolder.cs - What can be simpler than this?
6988 * PlaceHolderControlBuilder.cs
6989 - Uh! Damn cool one.
6990 * RadioButtonList.cs - Initial Implementation. All is done
6991 except for the implementation of
6992 method IRepeatInfoUser.RenderItem(...)
6993 * ValidatedControlConverter.cs
6994 ^^^^^^^^^^^^^^^^^^^^^^^^^ - Looks complete. Doubtful though !!
6995 * ValidationSummary.cs - Initial Implementation.
6996 * WebColorConverter.cs - Initial Implementation
6998 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
7000 * FontNamesConverter.cs - Completed
7001 * FontUnitConverter.cs - Partial Implementation
7002 * ListItemControlBuilder.cs - Completed
7004 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
7006 * TextBox.cs - All done except *Render* methods
7007 * TextBoxControlBuilder.cs - Completed
7008 * Xml.cs - Partial Implementation
7010 2002-01-26 Gaurav Vaish <gvaish@iitk.ac.in>
7012 * RadioButton.cs - Completed
7013 * TextBox.cs - Partial Implementation
7015 2002-01-25 Gaurav Vaish <gvaish@iitk.ac.in>
7017 * Panel.cs - Completed
7018 * TableItemStyle.cs - Completed
7020 2002-01-18 Gaurav Vaish <gvaish@iitk.ac.in>
7022 * TableCellCollection.cs - Completed
7023 * TableRowCollection.cs - Completed
7024 * TableHeaderCell.cs - Completed
7025 * TableRow.cs - Completed
7027 2002-01-09 Gaurav Vaish <gvaish@iitk.ac.in>
7029 * TableCellControlBuilder.cs - Completed
7030 * Table.cs - Completed
7031 * TableCell.cs - Completed
7033 2002-01-07 Gaurav Vaish <gvaish@iitk.ac.in>
7035 * CheckBoxList.cs - Completed
7036 * ButtonColumn.cs - Completed
7037 * Button.cs - Completed
7039 2001-12-28 Gaurav Vaish <gvaish@iitk.ac.in>
7041 * HyperLink.cs - Completed
7042 * Image.cs - Completed
7043 * ImageButton.cs - Completed
7044 * Label.cs - Completed
7045 * LabelControlBuilder.cs - Completed
7046 * LinkButton.cs - Completed
7047 * LinkButtonControlBuilder.cs - Completed
7048 * Literal.cs - Completed
7049 * LieteralControlBuilder.cs - Completed
7050 * FontUnit.cs - Completed
7053 2001-12-27 Gaurav Vaish <gvaish@iitk.ac.in>
7055 * Calendar.cs - Completed the functions of Render*,
7056 ViewStates (Track/View/Save),
7058 Left: RenderAllDays (partially)
7060 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
7062 * Calendar.cs - Added some more functions
7063 * Style.cs - Completed
7064 * ListItem.cs - Completed
7065 * ListItemCollection.cs - Completed
7067 Made the first successful build of System.Web.dll that included
7068 System.Web.UI.WebControls!
7070 2001-12-20 Gaurav Vaish <gvaish@iitk.ac.in>
7072 FontInfo.cs - Complete revamp. Completed
7074 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
7076 ListItemCollection.cs - Completed
7077 ListItem.cs - Initial Implementation
7078 Style.cs - Initial Implementation
7080 Right now I am in a total mood to do a successful build. Creating so many
7081 classes, completing classes in System.Web System.Web.UI namespaces.
7083 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
7085 TODO - Properly added
7086 CheckBox.cs - Completed
7087 BaseDataList.cs - Completed
7088 DayRenderEventArgs.cs - Completed
7089 RepeaterItem.cs - Initial implementation
7091 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
7093 BaseCompareValidator.cs - Completed
7094 AdRotator.cs - Completed
7096 2001-12-15 Gaurav Vaish <gvaish@iitk.ac.in>
7098 CommandEventArgs.cs - Completed
7099 DataGridCommandEventArgs.cs - Completed
7100 RepeaterCommandEventArgs.cs - Completed
7101 DataListCommandEventArgs.cs - Completed
7102 CompareValidator.cs - Partial Implementation
7104 2001-12-02 Gaurav Vaish <gvaish@iitk.ac.in>
7106 CheckBoxList.cs - Partial Implementation.
7109 2001-12-01 Gaurav Vaish <gvaish@iitk.ac.in>
7111 ListControl.cs - Completed
7113 2001-11-30 Gaurav Vaish <gvaish@iitk.ac.in>
7115 CheckBox.cs - Completed
7116 ListControl.cs - Initial Implementation
7117 CheckBoxList.cs - Started with it, but first needed
7118 ListControl. Left it.
7120 2001-11-29 Gaurav Vaish <gvaish@iitk.ac.in>
7122 CalendarDay.cs - Making a note that this
7123 has been implemented
7124 Calendar.cs - Making a note that have made some changes.
7125 Unimplmented functions throw
7126 NotImplementedException
7127 CheckBox.cs - Can now "Render" and "LoadPostData"
7130 2001-11-08 Gaurav Vaish <gvaish@iitk.ac.in>
7131 WebControl.cs - Total Revamp, Partial Implementation
7132 AdRotator.cs - Able to load files
7133 AdCreatedEventArgs.cs - Implemented
7135 2001-11-05 Gaurav Vaish <gvaish@iitk.ac.in>
7136 Calendar.cs - Initial Implementation
7137 ButtonColumn.cs - Initial Implementation
7138 Button.cs - Initial Implementation
7139 BoundColumn.cs - Initial Implementation
7140 BaseCompareValidator.cs - Minor Changes
7141 DataList.cs, BaseValidator.cs, BaseDataList.cs
7142 - Added more functions, other changes
7144 2001-10-28 Gaurav Vaish <gvaish@iitk.ac.in>
7145 WebControl.cs - Initial Implementation
7146 DataList.cs - Initial Implementation
7147 BaseValidator.cs - Initial Implementation
7148 BaseDataList.cs - Initial Implementation
7150 2001-10-27 Gaurav Vaish <gvaish@iitk.ac.in>
7152 AdCreatedEventArgs.cs - Initial Implementation
7153 AdCratedEventHandler.cs - Implemented
7154 AdRotator.cs - Initial Implementation
7155 BorderStyle.cs - Implemented
7156 ButtonColumnStyle.cs - Implemented
7157 CalendarSelectionMode.cs - Implemented
7158 DayNameFormat.cs - Implemented
7159 FirstDayOfWeek - Implemented
7160 FontInfo.cs - Partial Implementation
7161 FontSize.cs - Implemented
7162 GridLines.cs - Implemented
7163 HorizontalAlign.cs - Implemented
7164 HyperLink.cs - Initial Implementation
7165 ImageAlign.cs - Implemented
7166 IRepeatInfoUser.cs - Implemented
7167 ListItemType.cs - Implemented
7168 ListSelectionMode.cs - Implemented
7169 NextPrevFormat.cs - Implemented
7170 PagerMode.cs - Implemented
7171 PagerPosition.cs - Implemented
7172 RepeatDirection.cs - Implemented
7173 RepeatLayout.cs - Implemented
7174 TextAlign.cs - Implemented
7175 TextBoxMode.cs - Implemented
7176 TitleFormat.cs - Implemented
7177 UnitType.cs - Implemented
7178 ValidationCompareOperator.cs
7180 ValidationDataType.cs - Implemented
7181 ValidationSummaryDisplayMode.cs
7183 ValidatorDisplay.cs - Implemented
7184 VerticalAlign.cs - Implemented
7188 i/ File Created 2001-11-13