1 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
4 CreateDataSourceSelectArguments works according to MSDN.
5 (corresponding test does not work because bug in ObjectDataSourceView)
7 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
9 * ObjectDataSourceView.cs: fixed:
10 CanRetrieveTotalRowCount returns true if EnablePaging = false
12 2006-10-10 Igor Zelmanovich <igorz@mainsoft.com>
14 * DataBoundControl.cs: fixed: DataBind flow
15 CreateDataSourceSelectArguments() is called
16 each time as DataBind() is called
18 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
20 * BoundField.cs: implemented ValidateSupportsCallback().
22 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
24 * CommandField.cs: ValidateSupportsCallback(): exception's message.
26 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
28 * FormView.cs: fixed: CurrentMode property.
30 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
36 reverted r66222, problem solved in r66283: command buttons inherit ForeColor
38 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
40 * Image.cs: write 'alt' after 'src' so that the HyperLink test do not
43 2006-10-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
45 * HyperLink.cs: don't render the img tag 'by hand' but use an Image
46 instead, which takes care of the 0/0px case. Also set the ToolTip
47 property. Fixes bug #79585.
49 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
51 * DetailsView.cs: optimization for previous patch
53 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
55 * FormView.cs: optimization for previous patch
57 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
61 implemented PrepareControlHierarchy()
62 styles are applied correct
64 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
67 implemented PrepareControlHierarchy()
68 styles are applied correct
70 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
73 * DataControlButton.cs:
74 * DataControlField.cs:
75 implemented PrepareControlHierarchy()
76 styles are applied correct
77 command buttons inherit ForeColor
79 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
81 * WebControl.cs: fixed: CreateControlStyle()
83 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
89 corrected pager rendering: Color style applied to A tag,
90 Input type="image" used if ImageUrl is not empty.
92 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
94 * GridView.cs: corrected rendering
95 * ContainedTable.cs: added new helper class
97 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
100 in Insert mode Select not invoked from DataSource
102 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
104 * FormView.cs: fixed:
105 Pager is not shown when page count < 1
106 in Edit mode use EmptyDataTemplate if there is no DataItem
107 when page changed FormView stays in current state.
109 2006-09-28 Igor Zelmanovich <igorz@mainsoft.com>
111 * FormView.cs: fixed: OnBubbleEvent works properly
113 2006-09-25 Igor Zelmanovich <igorz@mainsoft.com>
115 * DataBoundControl.cs: fixed: DataBind flow
116 GetData return "empty" DataSourceView when no DataSource and DataSourceID
117 was assigned to cause PerformDataBinding be called.
119 2006-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
121 * DataList.cs: use ExtractTemplateRows to determine if the style is
122 applied to the Table in a template or to its rows. Fixes bug #78058.
124 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
126 * ListBox.cs: if the list is not enabled, don't require a postback.
129 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
131 * HyperLink.cs: don't output the nabvigate url if disabled.
132 * LinkButton.cs: always call base.AddAttributesToRender(). Don't output
133 the link URL if disabled.
136 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
138 * RadioButtonList.cs:
139 make it to consider CausesValidation and ValidationGroup properties
141 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
144 make it to consider CausesValidation and ValidationGroup properties
146 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
149 Page.Validate() is called when CausesValidation=true
151 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
154 make onclick attribute to consider ValidationGroup property.
156 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
159 make rendering of the href attribute to consider ValidationGroup property.
160 Page.Validate() is called when CausesValidation=true
162 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
165 make rendering of the onchange attribute to consider ValidationGroup
167 Page.Validate() is called when CausesValidation=true
169 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
172 make rendering of the onclick attribute to consider ValidationGroup property
173 Page.Validate() is called when CausesValidation=true
175 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
178 VewState saving and restoring rolled back to 1.1 implementation
179 (fixed corresponding test), corrected public interface (there are no
180 overriden methods SaveControlState, LoadControlState and OnInit),
181 implemented CausesValidation and ValidationGroup properties.
183 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
186 make rendering of the onclick attribute to consider ValidationGroup property
187 Page.Validate() is called when CausesValidation=true
189 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
192 implemented: RaisePostBackEvent,
193 refactoring: GetPostBackOptions used to build onclick client event
195 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
197 * ImageButton.cs: implemented IButtonControl.Click, RaisePostBackEvent
199 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
201 * BaseValidator.cs: implemented ValidationGroup feature on client side
202 * ValidationSummary.cs:
204 2006-09-12 Igor Zelmanovich <igorz@mainsoft.com>
206 * TreeView.cs: corrected rendering
209 2006-09-11 Konstantin Triger <kostat@mainsoft.com>
211 * Login.cs: ensure the urls are correctly resolved.
213 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
215 * TreeView.cs: corrected rendering: styles are applied correct
219 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
221 * TreeView.cs: corrected rendering: HoverNodeStyle works
225 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
227 * TreeNodeStyle.cs: fixed: ViewState restored properly
229 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
234 * DataGridPagerStyle.cs:
235 refactoring: makes Style class more flexible for inheriting and reuse
237 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
239 * TreeView.cs: fixed: for PopulateOnDemand nodes expanded and checked
240 state restored correct on PostBack.
243 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
245 * ObjectDataSourceView.cs: correctly find the type when it is not in the
246 executing assembly. Fixes bug #78321. Patch by Marek Habersack.
248 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
250 * ControlParameter.cs: fix search for controls so that they use their
251 NamingContainer, not the Page. Patch by Marek Habersack that fixes
254 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
256 * Login.cs: fix problem with the login control and master pages.
257 Patch by Marek Habersack that fixes bug #78219.
259 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
261 * TreeView.cs: fixed: populating nodes.
264 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
266 * TreeNode.cs: fixed: ToggleExpandState.
268 2006-09-07 Andrew Skiba <andrews@mainsoft.com>
270 * SqlDataSourceView.cs: return DataView from ExecuteSelect when
271 DataSourceMode is DataSet.
273 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
275 * TreeView.cs: fixed: populating nodes flow.
276 * TreeNodeCollection.cs
279 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
281 * TreeNodeCollection.cs: fixed: ViewState saved and restored correct.
283 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
285 * TreeView.cs: corrected rendering: RenderBeginTag, RenderEndTag.
287 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
289 * TreeView.cs: fixed: when specified value is not one of
290 the TreeNodeTypes values exception is threw.
292 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
294 * TreeView.cs: fixed: when specified image set is not one of
295 the TreeViewImageSet values exception is threw.
297 2006-09-05 Igor Zelmanovich <igorz@mainsoft.com>
299 * TreeNodeStyleCollection.cs: fixed: ViewState saved and restored correct.
301 2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
303 * Style.cs: implemented SetBit().
305 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
307 * CompareValidator.cs: fixed controltocompare attribute.
309 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
312 when login attempt was not successful FailureText is shown.
314 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
316 * CreateUserWizard.cs: fixed: InvalidPasswordErrorMessage
317 is formatted correct.
319 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
321 * CreateUserWizard.cs:
322 * CompleteWizardStep.cs:
323 * CreateUserWizardStep.cs:
325 fixed: ContinueButtonClick occurs when the user clicks
326 the Continue button in the final user account creation step.
327 ContinueDestinationPageUrl - redirected after clicking
328 the Continue button on the success page.
330 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
332 * Wizard.cs: refactoring: Button, ImageButton and LinkButton are used
333 insted internal DataControlButton.
335 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
337 * Button.cs: implemented GetPostBackOptions + refactoring
339 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
341 * ImageButton.cs: implemented 2.0 features
342 OnClientClick attached to onclick attribute.
343 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
344 generate onclick attribute.
346 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
348 * LinkButton.cs: typo fix
350 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
352 * Button.cs: refactoring
354 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
356 * LinkButton.cs: implemented 2.0 features
357 OnClientClick attached to onclick attribute.
358 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
361 2006-08-29 Igor Zelmanovich <igorz@mainsoft.com>
363 * Button.cs: implemented 2.0 features
365 2006-08-28 Igor Zelmanovich <igorz@mainsoft.com>
367 * Menu.cs: refactoring
370 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
372 * TreeView.cs: fixed data binding
374 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
376 * TreeNodeBinding.cs: fixed ToString method
378 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
380 * MenuItem.cs: typo fix
382 2006-08-27 Vladimir Krasnov <vladimirk@mainsoft.com>
384 * CreateUserWizardStep.cs: fixed validators message display
386 2006-08-25 Kornél Pál <kornelpal@gmail.com>
388 * FileUpload.cs: Use assembly name constants.
390 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
392 * TemplateField.cs: fixed ExtractValuesFromCell, .net aspx parser not
393 always creates ExtractTemplateValuesMethod delegate
395 2006-08-24 Igor Zelmanovich <igorz@mainsoft.com>
397 * TreeNodeBinding.cs: corrected public interface
400 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
402 * TextBox.cs: fix for bugs #76771 and #79020. A test breaks for the 2.0
403 case, but there are many others.
405 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
407 * Menu.cs: corrected rendering of static and dynamic items
410 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
414 fixed: AddAttributesToRender method calls FillStyleAttributes,
415 text styles applied correct.
417 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
420 fixed: when removed the names from the bag also removed FontStyles.Names flag from fontstyles.
421 refactoring: Name and Names properties has same source in bag.
423 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
425 * Style.cs: restored r63894: for 1.x is refactoring only
427 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
430 fixed: CopyFrom and MergeWith behave differently between 1.1 and 2.0.
431 added ClearDefaults method for 2.0.
433 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
435 * ObjectDataSourceStatusEventArgs.cs: ExceptionHandled default value
438 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
440 * SubMenuStyle.cs: fixed:
441 Unit.ToString() already include unit (e.g. "3px")
443 2006-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
446 * ChangeLog: revert r63894. It modified the 1.x profile, it wasn't
447 submitted for review and it only added tests for the 2.0 profile.
449 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
451 * FormView.cs: added explicit implementation of
452 IDataItemContainer.DataItemIndex, as documented
454 2006-08-17 Igor Zelmanovich <igorz@mainsoft.com>
457 When style is registered with StyleSheet AddAttributesToRender method
458 adds class attribute but not style to writer
460 2006-08-15 Igor Zelmanovich <igorz@mainsoft.com>
463 OnBubleEvent works properly - controls like Button, LinkButton nested into template
464 can raise MenuItemClick event,
465 ViewState of Items saved and restored properly.
467 2006-08-14 Andrew Skiba <andrews@mainsoft.com>
469 * TableStyle.cs: replace ResolveUrl with ResolveClientUrl to match
472 2006-08-14 Igor Zelmanovich <igorz@mainsoft.com>
474 * Menu.cs: fixed databinding feature:
475 ensure that items initialization occurs only once
477 2006-08-10 Igor Zelmanovich <igorz@mainsoft.com>
479 * Menu.cs, MenuItem.cs: fixed databinding feature
481 2006-08-09 Robert Jordan <robertj@gmx.net>
483 * DataControlButton.cs, Image.cs, AdRotator.cs, HyperLink.cs:
484 replace ResolveUrl with ResolveClientUrl to match MS.NET's
485 behaviour. Fixes bug #77539.
487 2006-08-09 Igor Zelmanovich <igorz@mainsoft.com>
489 * HierarchicalDataBoundControl.cs: fixed DataBind flow
491 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
497 * WebControl.cs: fixed ParseChildren attribute to be compliant
500 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
502 * MultiView.cs: fixed: EnableTheming property
504 2006-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
508 * TreeView.cs: Patch by Marek Habersack that fixes bug #78968 take 2.
510 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
512 * Style.cs: fixed restoring FontInfo from ViewState
514 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
516 * XmlDataSource.cs: implemented caching functionality
518 2006-07-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
520 * PagerSettings.cs: Fixed the pager range calculation formula. The old
521 one didn't work with more than 20 pages. Patch by Marek Habersack that
524 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
526 * FormView.cs: fixes to make Render more similar to dotnet.
528 2006-07-30 Vladimir Krasnov <vladimirk@mainsoft.com>
530 * Wizard.cs: fixed return value of OnBubbleEvent
532 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
534 * FormView.cs: init BottomPagerRow.ItemIndex with 0; gracefully
535 handle null result of GetData().
537 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
539 * FormView.cs: use TableStyle for ControlStyle.
541 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
543 * FormView.cs: save DataKeyNames and DefaultMode in ControlState.
545 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
547 * FormView.cs: init DataKeys and fix null reference.
549 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
551 * TreeView.cs: several changes to improve compatibility with MS.
552 Patch by Marek Habersack that fixes bug #77551.
554 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
556 * Style.cs: output the text-decoration value even when it is 'none'.
557 Patch by Marek Habersack that fixes bug #78968.
559 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
561 * FormView.cs: initialize PageCount with 0; fix IsBindableType to
564 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
566 * DetailsViewRowCollection.cs: returns this in SyncRoot.
568 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
570 * FormView.cs: throw ArgumentOutOfRange exception on bad CellSpacing
573 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
575 * ObjectDataSource.cs: add doc and fix usage of MergeParameterValues
577 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
579 * AutoGeneratedField.cs: fix the internal constructor according to test
580 DetailsView_CreateAutoGenerateRow.
582 2006-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
584 * XmlDataSource.cs: implemented XSLT, removed properties from
586 * XmlDataSourceView.cs: fixed default xpath
588 2006-07-26 Andrew Skiba <andrews@mainsoft.com>
590 * DetailsView.cs: fix IsBindableType in accordance with MSDN and tests.
592 2006-07-25 Vladimir Krasnov <vladimirk@mainsoft.com>
594 * Wizard.cs: fixed ActiveStep property
595 fixed templated side bar
597 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
599 * ImageField.cs: fix null reference bug.
601 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
603 * DetailsView.cs: init DataKey property with empty collection.
604 * DataKey.cs: fix unexpected exception bug.
605 * DataControlField.cs: override ToString according to MSDN.
607 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
609 * DetailsView.cs: create table style in CreateControlStyle.
611 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
613 * DetailsView.cs: don't throw the exception which .Net does not throw.
615 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
617 * DetailsView.cs: save DefaultMode and DataKeyNames in control state,
618 to match .Net; fix PageCount to match record count.
620 2006-07-24 Vladimir Krasnov <vladimirk@mainsoft.com>
622 * Menu.cs: fixed properties default values, fixed rendering
625 2006-07-23 Vladimir Krasnov <vladimirk@mainsoft.com>
627 * Wizard.cs: implemented SkipLinkText, TagKey
628 fixed rendering bugs, fixed templated button bar rendering
629 fixed side bar rendering
630 * WizardStepBase.cs: fixed Name property
632 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
634 * DetailsView.cs: fix the regressions, caused by the previous commit.
636 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
638 * DetailsView.cs: correct handling the different default values of
639 DetailsView.CellSpacing and Table.CellSpacing.
641 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
643 * DetailsView.cs: create a pager row when needed.
645 2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
649 * PagedDataSource.cs:
652 * LinkButton.cs: implement GetPostBackOptions for the 2.0 controls that
653 support it. The GridView control will no longer throw an exception when
654 rendered in the paging mode. Patch by Marek Habersack. Fixes bug #78288.
656 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
658 * DetailsView.cs: many fixes: initialize PageCount with 0; initialize
659 Rows with empty collection; call EnsureChildControls from get Row;
660 NullReference in DeleteItem; fix RenderGrid (ideas from GridView);
661 implemented IPostBackContainer.GetPostBackOptions.
663 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
665 * DetailsView.cs: create HeaderRow and FooterRow even when HeaderText
666 and FooterText are empty, to match .NET. Otherwise we have NullReference
669 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
671 * DetailsView.cs: Render fix.
673 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
675 * BoundField.cs: don't call DataBinder.GetPropertyValue with empty
678 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
680 * DetailsView.cs: NullReferenceException fix
682 2006-07-20 Vladimir Krasnov <vladimirk@mainsoft.com>
684 * PagerSettings.cs: implemented PropertyGhanged event
686 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
688 * DetailsView.cs: throw ArgumentOutOfRangeException for compatibility
689 with .Net; don't throw NotImplemented when base class implementation
692 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
694 * DetailsViewPagerRow.cs: add a stub for this class
696 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
698 * GridView: fixed DataKeyNames property, moved to ControlState
699 fixed PageCount property, initial PageCount ahould be zero
700 fixed SelectedDataKey, should throw exception if not initialized
701 fixed CreateColumns, wrong order of columns
702 fixed CreateControlStyle,
703 fixed InitializePager, no columnspan attrib on only one column
704 fixed LoadControlState, SaveControlState added DataKeyNames
705 fixed Render, RenderGrid should render within div tag
706 implemented GetPostBackOptions
707 * DataControlButton.cs: fixed Render, fixed style for img button
709 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
711 * CheckBoxField.cs: fixed InitializeDataCell, tooltip only in edit
714 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
716 * CommandField.cs: fixed ValidateSupportsCallback
718 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
720 * Image.cs: prepare to use HttpBrowserCapabilities. Does not
723 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
725 * SiteMapPath.cs: fixes for SiteMapPathTest.Render_xxx tests.
727 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
729 * WebControl.cs: fix for AddAttributesToRender - add display
730 style when appropriate
732 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
734 * CommandField.cs: fixed InitializeCell, wrong order of command
736 * ImageField.cs: image field with null src and ConvertEmptyStringToNull
737 should be rendered as label
738 * BoundField.cs: empty null value should be rendered as nbsp
739 * GridViewRowCollection.cs: fixed SyncRoot
741 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
743 * SiteMapPath.cs: create Literal instead of Label according to the
744 MSDN and test SiteMapPath_InitializeItem.
746 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
748 * Style.cs: BorderStyle should be added if BorderWidth greater than 0
749 * Image.cs: in 2.0 there is no border attribute, but border-width
752 2006-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
754 * Button.cs: always render the 'name' attribute. Fixes bug #78746.
756 2006-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
758 * DataList.cs: correctly initialize editable items when there's an
759 EditItemTemplate. Patch by Jarosław Pawlak.
761 2006-07-13 Juraj Skripsky <js@hotfeet.ch>
763 * CheckBox.cs (LoadPostData): the value of a disabled checkbox remains
766 2006-07-13 Vladimir Krasnov <vladimirk@mainsoft.com>
768 * BulletedList.cs: fixed Render, RenderBulletText, various properties
769 * ListItem.cs, ListItemCollection.cs: added Enabled property that is
772 2006-07-12 Vladimir Krasnov <vladimirk@mainsoft.com>
774 * MultiView.cs: 'initied' state variable was changed to views count in
775 the views collection.
777 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
779 * AutoGeneratedField.cs: fixed InitializeDataCell, autogenerated
780 checkbox should have tooltip
781 * HyperLinkField.cs: fixed InitializeCell, should create link control
782 only in data cell (not in header or footer), initialization of
784 * ImageField.cs: fixed InitializeDataCell, initialization of
787 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
789 * MultiView.cs: removed exception throwing from ActiveViewIndex
791 2006-07-11 Konstantin Triger <kostat@mainsoft.com>
793 * DataControlFieldCollection.cs: added OnClearComplete override;
794 refactor to eliminate null reference exception.
796 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
798 * MultiView.cs: fixed ActiveViewIndex, AddParsedSubObject
799 * View.cs: fixed Visible property
801 2006-07-09 Konstantin Triger <kostat@mainsoft.com>
803 * ImageField.cs: fixing .net compliancy.
805 2006-07-10 Andrew Skiba <andrews@mainsoft.com>
807 * SiteMapPath.cs: fix the default PathSeparator value.
809 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
811 * GridView.cs: always create Header/Fotter rows, but render only when
812 ShowHeader/Footer is true. Compute Header/Footer rows from rows
814 * CheckBoxField.cs: add override to ApplyFormatInEditMode,
815 add ToolTip and Text to the created CheckBox,
816 wrap exception thrown in OnDataBindField in httpException.
818 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
820 * DataControlField.cs,BoundField.cs: bug fixes found by BoundFieldTest.
822 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
824 * DataControlField.cs: correct handling empty header/footer text.
825 * TemplateField.cs: correct initialization according to
828 2006-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
830 * Wizard.cs: added functionality for Templated WizardStep
832 * added CompleteWizardStep.cs, CreateUserWizard.cs,
833 CreateUserWizardStep.cs, TemplatedWizardStep.cs
835 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
837 * AutoGeneratedField.cs: correcting default dataType.
839 2006-07-03 Vladimir Krasnov <vladimirk@mainsoft.com>
841 * DataControlField.cs: fixed Initialize, should always return false
843 2006-07-03 Lluis Sanchez <lluis@novell.com>
845 * BoundField.cs: Fix setter for HtmlEncode (it was setting always True).
847 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
849 * DataBoundControl.cs: implement MarkAsDataBound and consider it while
850 setting RequiresDataBinding in OnLoad event.
851 * GridView.cs: DataBind rows before other control can access the data.
852 * BoundField.cs: add unique ID to control for postback parameters.
854 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
856 * WebControl.cs: fix typo in EnableTheming.
858 2006-07-02 Konstantin Triger <kostat@mainsoft.com>
860 * MenuItemCollection.cs: save items if the collection is dirty.
861 * MenuItem.cs: During data binding: initialize Text and invoke binding recoursively.
862 Add item to collection before binding to let the state be correctly tracked.
863 * Menu.cs: Add item to collection before binding to let the state be correctly
866 2006-06-28 Juraj Skripsky <js@hotfeet.ch>
868 * RegularExpressionValidator.cs (EvaluateIsValid): wrap regex to
869 test against with "^...$" if necessary. MS.NET does this too.
871 2006-06-28 Vladimir Krasnov <vladimirk@mainsoft.com>
873 * WizardStepCollection.cs: Fixed Add methods to initialize
874 WizardStep.Wizard property
875 * Wizard.cs: Fixed ActiveStepIndex, it should be -1 if there no steps
876 Fixed GetStepType, if only one step present, it should be FinishStep
877 Fixed styles of tables for more accurate rendering, fixed Wizard
880 2006-06-28 Konstantin Triger <kostat@mainsoft.com>
882 * FormView.cs: instantiate correct template when the bounding data source is
885 2006-06-25 Konstantin Triger <kostat@mainsoft.com>
887 * FormView.cs: disabling setting out of range FormView.PageIndex.
889 2006-06-21 Andrew Skiba <andrews@mainsoft.com>
891 * FileUpload.cs: added
893 2006-06-20 Andrew Skiba <andrews@mainsoft.com>
895 * FormView.cs: handle CssClass attribute
897 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
899 * Button.cs: do something in PostBackUrl.
900 * Repeater.cs: when creating the RepeaterItemCollection, initialize
901 'items' if it hasn't been done yet. Fixes bug #78417.
903 2006-06-14 Vladimir Krasnov <vladimirk@mainsoft.com>
905 * BaseDataList.cs: added ConnectToDataSource method that called from
906 OnLoad, fixed GetData method
907 * Wizard.cs: fixed bug when called MoveTo after that control hierarchy
910 2006-06-14 Andrew Skiba <andrews@mainsoft.com>
912 * Menu.cs: add CssStyle value to the rendered class attribute
914 2006-06-13 Juraj Skripsky <js@hotfeet.ch>
916 * Calendar.cs: Make sure WebControls.Enabled is respected.
917 * SelectedDatesCollection.cs: Set time for all DateTime object passed in
918 to 12:00am as MS.NET does the same.
921 2006-06-13 Vladimir Krasnov <vladimirk@mainsoft.com>
923 * Repeater.cs: fixed ConnectToDataSource method, subscribed to
924 DataSourceViewChanged, looks for a datasource in its parent control
925 fixed GetData method, should not get data if datasource is null
927 2006-06-13 Konstantin Triger <kostat@mainsoft.com>
929 * ObjectDataSourceView.cs: raise OnDataSourceViewChanged events when data changes.
931 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
933 * GridView.cs: set the row index from GridRowView if CommandArgument does not contain this information.
935 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
937 * ObjectDataSourceViewTest.cs: return documented default for OldValuesParameterFormatString.
939 2006-05-24 Vladimir Krasnov <vladimirk@mainsoft.com>
941 * DataList.cs: Fixed LoadViewState method
943 2006-05-04 Lluis Sanchez <lluis@novell.com>
945 * BoundField.cs: Added missing throw kyword. Patch by Marek Habersack.
947 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
949 * BaseDataBoundControl.cs: ensure the control is bound if ViewState is disabled.
951 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
953 * FormView.cs: fix FormView.PageCount after data binding.
955 2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
957 * CheckBox.cs: certain attributes have to be rendered in the input tag,
958 not the <span>. Fixes bug #71251.
960 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
962 * BaseDataBoundControl.cs: RequiresDataBinding rebinds if the control prerendered.
965 ensure rebinding when FormView.PageIndex is called.
966 and bind to the correct PageIndex.
968 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
970 * MenuItem.cs: when binding to IHierarchyData, check whether
971 it implements INavigateUIData and retrieve NavigateUrl.
972 * CompositeDataBoundControl.cs: ensures data is bound before creating child controls.
974 Enable DataBinding by not throwing NotImplementedException in OnDataBound event.
975 Provide basic CreateChildControls implementation by ensuring the control is bound.
976 Ensure the child controls are created when the postback event is raised.
977 Provide default implementation for SkipLinkText to let the default functionality to work.
979 2006-04-11 Lluis Sanchez <lluis@novell.com>
981 * TreeNodeBinding.cs: Added HasPropertyValue property
982 to check if some properties have a value in the
984 * TreeNode.cs: Lazily get the dataPath. Instead of getting
985 bound properties when they are requested, get all of
986 them when the node is bound and store their values in
987 the state bag. In this way it won't be necessary to
988 query every time the datasource to get the values.
989 * XmlHierarchyData.cs: Implemented IHierarchyData.Path.
990 * TreeView.cs: Call base in OnInit(). Bind nodes after
991 adding them to the list, to properly keep track of
992 changes. Don't databind in postbacks.
994 2006-04-11 Chris Toshok <toshok@ximian.com>
996 * Login.cs (OnLoggingIn): use Events[loggingInEvent].
998 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
1000 * BaseDataList.cs: Fix searching control by DataSourceID.
1001 * DataList.cs: Enable binding using DataSourceID for NET_2_0.
1004 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
1006 * Login.cs: Added LayoutTemplate property support.
1007 * LoginView.cs: Added LoggedInTemplate, AnonymousTemplate support.
1008 DataBind: correctly bind child controls.
1009 Implemented OnViewChanged, OnViewChanging, Render, Save/LoadControlState.
1011 2006-03-29 Robert Jordan <robertj@gmx.net>
1013 * DataGrid.cs: if custom paging is enabled the persisted item count
1014 must be the count of the rendered items, otherwise paging from the
1015 last to a previous page won't work correctly. Fixes bug #77556.
1017 2006-03-29 Vladimir Krasnov <vladimirk@mainsoft.com>
1019 * RepeatInfo.cs: fixed RenderBeginTag to set enabled value of table
1020 when rendering disabled list control
1022 2006-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1024 * Panel.cs: render the image url inside 'url()'. Fixes bug #77811.
1026 2006-03-28 Alexandre Miguel Pedro Gomes <alexmipego@gmail.com>
1028 * FontInfo.cs: Implemented ShouldSerializeNames
1030 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
1032 * DataGrid.cs, DataList.cs, RepeatInfo.cs: added accessablity features
1034 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
1036 * DataGrid.cs: fixed CreateControlHierarchy, added CurrentPageIndex
1038 in PrepareControlHierarchy fixed style applying to AlternatingItem
1040 2006-03-22 Vladimir Krasnov <vladimirk@mainsoft.com>
1042 * DataList.cs: fixed RepeatColumns property, added value validation
1043 in PrepareControlHierarchy method fixed style applying for
1044 AlternatingItem, EditItem and Separator item
1045 fixed RenderContents method, if no items exist, no nned to
1046 render emty table strructure.
1048 2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1050 * CompareValidator.cs: when searching for the control to compare, use
1051 NamingContainer instead of Page. Fixes bug #77793.
1053 2006-03-15 Chris Toshok <toshok@ximian.com>
1055 * SiteMapPath.cs (InitializeItem): in the Current and Root node
1056 cases, apply the NodeTemplate if it exists and there isn't a
1057 CurrentNodeTemplate or RootNodeTemplate, respectively.
1059 2006-03-15 Chris Toshok <toshok@ximian.com>
1061 * SiteMapDataSourceView.cs (OnDataSourceViewChanged): override.
1063 * SiteMapDataSource.cs (StartingNodeOffset): new property.
1064 (GetStartNode): add code to handle StartNodeOffset < 0.
1066 * CompositeControl.cs
1067 (ICompositeControlDesignerAccessor.RecreateChildControls): just
1068 call the non-iface method.
1070 * DataBoundControl.cs (GetDataSource): this is likely wrong, but
1071 traverse up the naming container tree looking for our datasource
1072 if we're bound using a DataSourceID. This fixes things in the
1073 sitemap1 test, which uses a mixture of templates and
1074 ContentPlaceholders with the sitemapdatasource and sitemappath at
1075 different levels in the naming container tree (let along the
1078 * SiteMapPath.cs (DataBind): implement this by chaining up to
1079 base.DataBind, then by looping over our children, emitting
1080 OnItemDataBound for each SiteMapNodeItem.
1081 (AddAttributesToRender): remove.
1082 (CreateChildControls): call DataBind as the final step here.. I
1083 have, of course, no idea if this is right.
1084 (CreateControlHierarchy): don't databind our children here, as
1085 they need to be in the Controls collection before we do.
1086 (RenderContents): render our accessibility/screenreader stuff
1087 here, if SkipLinkText != "".
1089 2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
1091 * DataGridPagerStyle.cs: fixed PrevPageText property
1093 2006-03-13 Chris Toshok <toshok@ximian.com>
1095 * BaseCompareValidator.cs (Convert): make the
1096 ValidationDataType.String case a bit more compact.
1098 2006-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1101 (RenderContents): don't call base.RenderContents. Fixes bug #77740.
1102 Patch by Hubert Fongarnand.
1104 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
1106 * FontInfo.cs: fixed CopyFrom, this method should not reset the
1107 received fontinfo if it is the same instance
1108 fixed ToString, corrected output where only font size specified
1110 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
1112 * Style.cs: fixed WriteStyleAttributes to set border style to solid,
1113 if it not set but the border has width
1114 fixes in CopyFrom, MergeWith correct unit compare when it has zero
1117 2006-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
1119 * DataGrid.cs: in AddColumnsFromSource method fixed columns from
1120 properties of custom class
1121 fixed InitializeNumericPager, pager numbers should be a Label control
1122 fixed CreateControlHierarchy, corrected dataset index of items if
1125 2006-03-09 Vladimir Krasnov <vladimirk@mainsoft.com>
1127 * DataList.cs: fixed DoItemInLoop method that fixes itemIndex
1129 fixed CreateControlStyle to set correct cellspacing of table style
1130 fixed InitializeItem to correct applying template to selected and
1133 2006-03-08 Chris Toshok <toshok@ximian.com>
1135 * SiteMapNodeType.cs: nuke.
1137 * BorderStyle.cs, ButtonColumnType.cs, CalendarSelectionMode.cs,
1138 DayNameFormat.cs, ListItemType.cs, ListSelectionMode.cs,
1139 NextPrevFormat.cs, PagerMode.cs, PagerPosition.cs,
1140 RepeatDirection.cs, RepeatLayout.cs, TableRowSection.cs,
1141 TextAlign.cs, TextBoxMode.cs, TitleFormat.cs,
1142 ValidationCompareOperator.cs, ValidationDataType.cs,
1143 ValidationSummaryDisplayMode.cs, ValidatorDisplay.cs: remove
1144 [Serializable] in 2.0.
1146 * DayNameFormat.cs: add "Shortest".
1148 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
1150 * LinkButton.cs: fixed AddAttributesToRender, removed not needed
1153 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
1155 * TextBox.cs: fixed missing value validations, fixed rendering
1156 of empty value attribute
1158 2006-03-07 Chris Toshok <toshok@ximian.com>
1160 * WebControl.cs (EnableTheming): leave the MonoTODO, but implement
1161 by chaining up to base.EnableTheming.
1163 2006-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1165 * DataList.cs: fixed CreateControlHierarchy, fixes 77693
1167 2006-03-06 Vladimir Krasnov <vladimirk@mainsoft.com>
1169 * RadioButton.cs: added ValueAttribute property to store the button
1171 * RadioButtonList.cs: fixed tab index when rendering.
1173 2006-03-02 Chris Toshok <toshok@ximian.com>
1175 * WebControl.cs (SkinID): implement setter/getter, and have them
1176 just chain up to base.SkinID.
1178 2006-02-27 Chris Toshok <toshok@ximian.com>
1180 * SqlDataSource.cs: track change to DataSourceControl's protected
1183 * AccessDataSource.cs: same.
1185 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
1187 * ListControl.cs: fixed SelectedIndex property, fixed selection
1188 reset on incorrect value
1190 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
1192 * TableStyle.cs: fixed AddAttributesToRender function, style
1193 BorderCollapse:Collapse was added if table's CellSpacing is zero
1195 2006-02-23 Chris Toshok <toshok@ximian.com>
1197 * CheckBox.cs, ContentControlBuilderInternal.cs, Content.cs,
1198 ContentPlaceHolderBuilder.cs, ContentPlaceHolder.cs,
1199 DataControlFieldHeaderCell.cs, DataGridColumn.cs,
1200 HierarchicalDataBoundControl.cs, HyperLinkField.cs,
1201 ImageButton.cs, ImageField.cs, Literal.cs,
1202 ObjectDataSourceView.cs, TextBox.cs: more corcompare work.
1204 * BaseCompareValidator.cs, BaseValidator.cs, Button.cs,
1205 DataControlField.cs, DetailsView.cs, FormView.cs, GridView.cs,
1206 HotSpot.cs, LinkButton.cs, Login.cs, SiteMapDataSource.cs,
1207 SqlDataSourceCommandType.cs, TableSectionStyle.cs,
1208 TemplateField.cs, TreeNodeCollection.cs, TreeNode.cs, TreeView.cs,
1209 ValidationSummary.cs, WizardStepBase.cs: fix tons of corcompare
1210 errors. most were caused by a property/method being virtual when
1211 it shouldn't be, or vice versa.
1213 2006-02-22 Chris Toshok <toshok@ximian.com>
1215 * ObjectDataSource.cs: corcompare work.
1217 2006-02-22 Chris Toshok <toshok@ximian.com>
1219 * ParameterCollection.cs: add an EditorAttribute to the class.
1221 * Parameter.cs: cleanup, fix the Value property, and implement the
1224 * SqlDataSourceView.cs: clean things up a bit, and add handling
1227 2006-02-22 Chris Toshok <toshok@ximian.com>
1229 * SqlDataSourceFilteringEventArgs.cs: formatting.
1231 * SqlDataSourceSelectingEventArgs.cs: remove ExecutingSelectCount,
1232 both the property and ctor arg.
1234 * AccessDataSourceView.cs (ExecuteSelect): use SelectingEventArgs,
1235 not CommandEventArgs. Also, cast the return value of
1236 oleCommand.ExecuteReader.
1238 * AccessDataSource.cs (.ctor): fix the ctors and remove FIXME
1240 (GetDbProviderFactory): implement naively, and leave a MonoTODO.
1241 (GetPhysicalDataFilePath): implement, again naively. this is
1242 where the NRE is generated when we access ConnectionString in a
1244 (ConnectionString): dynamically generate this based on our
1246 (DataFile): clear the ConnectionString in the setter so we'll
1248 (ProviderName): use base.ProviderName in the getter, not
1249 this.ProviderName, so we don't recurse infinitely.
1251 * SqlDataSourceView.cs: start reworking this class.
1253 * SqlDataSource.cs (GetDbProviderFactory): implement this,
1254 following the MS docs on the matter (if ProviderName is null/"",
1255 return SqlClientFactory.Instance.)
1256 (GetDbProviderFactoryInternal): add an internal method for use by
1258 (TrackViewState): don't invoke View.TrackViewState unless we have
1260 (Selecting): change event handler type to match MS.
1261 (Filtering): add missing event.
1262 (View): call CreateDataSourceView, don't just create an
1265 2006-02-21 Chris Toshok <toshok@ximian.com>
1267 * BoundField.cs: ues the ViewState.Get* pattern with default
1268 instead of the explicit ViewState lookup + null check, and fix the
1269 scope of InitializeDataCell.
1271 * ButtonField.cs: ues the ViewState.Get* pattern with default
1272 instead of the explicit ViewState lookup + null check.
1274 * CommandField.cs: same.
1276 * CheckBox.cs: same.
1278 * AutoGeneratedFieldProperties.cs: same.
1280 * BaseDataList.cs: same.
1282 * CircleHotSpot.cs: same.
1284 * BulletedList.cs: same.
1286 * DataBoundControl.cs: same.
1288 * CookieParameter.cs: same.
1290 * ControlParameter.cs: same.
1292 * CustomValidator.cs: same.
1294 * ButtonFieldBase.cs: same.
1296 * CheckBoxField.cs: same, and fix the scope of InitializeDataCell.
1298 * AutoGeneratedField.cs: fix scope of InitializeDataCell.
1300 * BaseValidator.cs: same, and clean up the getter/setter formatting.
1302 * CompareValidator.cs: same.
1304 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
1306 * ListControl.cs: fixed DataSource property, to throw
1307 ArgumentException on incorrect value
1309 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
1311 * Image.cs: fixed missing border="0" attribute, when image has style,
1312 but border width is not specified.
1314 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
1316 * CheckBox.cs: fixed InternalAddAttributesToRender, Render to
1317 correct the "disabled" attribute in CheckBoxList
1318 * CheckBoxList.cs: fixed RenderItem, to correct the "disabled"
1319 attribute in CheckBoxList
1321 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
1323 * CheckBox.cs: fixed Render function, removed rendering of empty
1324 <span> element if ControlStyleCreated but it's empty.
1325 fixed "disabled" attribute, it should be placed into span element
1327 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
1329 * BoundColumn.cs: fixed InitializeCell function, if DataField is
1330 null or empty string, the cell should not be bound.
1332 2006-02-08 Chris Toshok <toshok@ximian.com>
1334 * ListControl.cs (OnDataBinding): in 2.0, only clear our items if
1335 AppendDataBoundItems != false. Also, split all the databinding
1336 logic out to DoDataBinding, which we call from here only if
1338 (DoDataBinding): new function. actually perform the binding.
1339 (PerformDataBinding): implement.
1340 (PerformSelect): chain up to base class.
1342 2006-02-07 Chris Toshok <toshok@ximian.com>
1344 * ContentPlaceHolder.cs: fix ToolboxDataAttribute.
1346 * Content.cs: use ContentControlBuilderInternal, and add a bunch
1347 of unused (for now) EventHandler's here.
1349 * ContentControlBuilderInternal.cs: rename ContentControlBuilder
1352 2006-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1354 * ListControl.cs: bound checking for Items when loading the control
1355 state, as the number might have been changed on the fly. Patch by
1358 2006-01-22 Chris Toshok <toshok@ximian.com>
1360 * CheckBox.cs: s/GetPostBackClientEvent/GetPostBackEventReference.
1362 * MultiView.cs (OnBubbleEvent): case the rhs to a string to get
1363 the intended comparison right and quiet mcs.
1365 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
1367 * Button.cs: Add semicolon after client script if does not exist.
1369 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
1371 * Button.cs: preserve user logic when adding client validation.
1373 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
1375 * BaseValidator.cs: fixing visibility bahavior
1377 2006-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1379 * RangeValidator.cs: allow empty data from the control. Patch from Marek
1380 Habersack that fixes bug #77239.
1382 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1384 * Calendar.cs: use the DateTimeFormatInfo from the current thread. Patch
1385 by Cyrille Colin. Closes bug #77184.
1387 2006-01-08 Konstantin Triger <kostat@mainsoft.com>
1389 * PagedDataSource.cs, DataGrid.cs: TARGET_JVM changes to let the
1390 compilation pass with csc 1.1.
1392 2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1394 * DropDownList.cs: HtmlEncode the item text. Fixes bug #76949.
1396 2005-12-07 Chris Toshok <toshok@ximian.com>
1398 * BaseValidator.cs: in the uplevel rendering case, don't render
1399 the text if the validator's Display attribute is "None". Should
1402 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1404 * RadioButton.cs: if the 'value' attribute is set explicitly (as
1405 RadioButtonList does now), use that as the 'name' attribute.
1406 * RadioButtonList.cs: set the AutoPostBack and Enabled properties of
1411 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1413 * CheckBox.cs: add possible 'internal' attributes to the input tag. Fix
1414 the 'name' attribute when not aligninng to the right.
1415 * RadioButton.cs: use NameAttribute instead of GroupName when indexing
1416 the collection. Raise the OnCheckedChanged event. Fixes bug #76710.
1418 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1420 * DataGrid.cs: clear the control collection on every call to
1421 CreateControlHierarchy. Fixes bug #76732.
1423 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1425 * ListBox.cs: Rows and SelectionMode are virtual in 1.1
1427 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1429 * CheckBox.cs: use the NameAttribute property for setting 'name'.
1430 * RadioButton.cs: get a UniqueID based identifier for 'name'.
1433 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1435 * LinkButton.cs: don't output any javascript when the linkbutton is
1436 disabled. Fixes bug #76713.
1438 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1440 * DataGrid.cs: use TableHeaderCell instead of TableCell for headers when
1441 UseAccesibleHeader property is true. Patch by Robert Jordan.
1443 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1445 * BaseValidator.cs: 'controltovalidate' must be the ClientID of the
1446 control to validate. Fixes bug #76641.
1448 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1450 * BoundColumn.cs: when the column is readonly and we're in edit mode,
1451 keep it as a TextBox. Fixes bug #76714.
1453 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1455 * ListBox.cs: render the 'onchange' attribute when AutoPostback is
1456 enabled. Fixes bug #76608.
1458 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1460 * CheckBox.cs: AddAttributesToRender was extra in 1.1, so moved all
1461 the logic to Render and make it render the ID, which fixes bug #76596.
1463 2005-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1465 * Repeater.cs: someone forgot the curly brackets. Fixes bug 76537.
1467 2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1469 * Literal.cs: allow LiteralControl as child, but instead of adding it
1470 to the control collection, it just gets the Text out of it.
1472 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1474 * PagedDataSource.cs: fix range when we're at the last page.
1475 * DataGrid.cs: only need to keep the item count in the viewstate.
1478 2005-10-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1480 * ListControl.cs: made GetSelectedIndices() internal.
1481 * ListBox.cs: html-encode the item text. Fixed single and multiple
1482 selection handling. All the tests pass now. Closes bug #76478.
1484 2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1486 * ListControl.cs: throw when the selected value is not in the
1487 items collection. Fixes bug #76415.
1489 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1491 * BaseDataList.cs: Type.GetTypeCode was fixed and now does not
1492 throw a nullref, so we have to do it by ourselves here to make
1495 * BaseValidator.cs: render the text of the error message even if
1496 we set IsValid programatically. Don't use 'valid' directly, as
1501 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1503 * CustomValidator.cs: an empty ControlToValidate is valid.
1505 2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
1507 * RequiredFieldValidator.cs: Added missing permissions.
1509 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1511 * DataList.cs: copied and adapted PrepareControlHierarchy from DataGrid.
1512 Now the items get the attributes from the styles in datalist. Add the
1513 separators after each item, not before. GetItemStyle returns the actual
1514 item style, not the styles in the datalist. Fixes bug #76384 and all
1517 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1519 * Style.cs: add a 'border-style: solid' to make IE happy. Fixes bug
1522 2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1524 * TemplateColumn.cs: SelectedItem was missing from the select (). Fixes
1527 2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
1529 * FontInfo.cs: Gendarme strikes again. Sealed class have no need for
1530 inheritance demands.
1531 * FontUnit.cs: Structs are sealed so there's no need for inheritance
1533 * Unit.cs: Structs are sealed so there's no need for inheritance
1536 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1538 * PagedDataSource.cs: fix the upper bound for collection and ilist
1541 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1543 * DataGrid.cs: change the ListItemType for the item selected, set
1544 SelectedIndex before calling OnSelectedIndexChanged and set the selected
1545 item type correctly when creating the columns. Fixes bug #76334.
1548 * EditCommandColumn.cs: use a ForeColorLinkbutton, otherwise when
1549 selecting the row, the button keep the regular link color.
1551 * DataGridColumn.cs: made the class internal.
1553 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1555 * DataGrid.cs: fix breakaga of alternating item style in one of my
1558 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1560 * Calendar.cs: remove Console.
1561 * ListBox.cs: the name is the UniqueID, not the ClientID.
1562 * WebControl.cs: Attributes is case insensitive.
1564 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1566 * ImageButton.cs: use UniqueID in LoadPostData and also try just the
1567 UniqueID without appending a ".x" or ".y". Fixes several issues in
1568 mojoPortal. Thanks to Joe Audetter for his patience.
1570 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1572 * ButtonColumn.cs: it was lacking databinding, so copied most of it
1575 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1577 * FontInfo.cs: removed useless ctor.
1578 * Style.cs: keep here some commented out debugging code.
1579 * DataGrid.cs: the Items property does not create a new arraylist if
1580 the items_list was already initialized. Add case for Separator.
1581 * DataGridColumn.cs: when sorting is enabled, the linkbutton rendered
1582 in the header columns has a special ForeColor handling.
1584 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1586 * DataGrid.cs: PageCount must persist in ViewState too and returns the
1587 number of pages in the paged data source once we set that. Fix checks
1588 for visibility of the pager: no more 2 pagers when custom paging is
1591 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1593 * ImageButton.cs: fix a bug reported on the list. We were triggering the
1594 command event on every POST. And the 'name' attribute was not being
1595 rendered, so the 'x,y' coordinates didn't have 'uniqueid.' prepended
1596 and we couldn't find the values.
1598 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1600 * DataGrid.cs: fix the links for the numeric pager.
1602 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1604 * DataGrid.cs: when paging is enable, the actual number of items is not
1605 the number of items rendered before the postback, but that number times
1606 the number of pages. Now we store the page count in the viewstate. Also,
1607 as the number might be big, don't allocate an array of objects to fake
1608 the collection for the PagedDataSource, but use the new NCollection
1609 class instead, which provides cheap (memory wise) enumerator for an
1610 arbitrary number of items. Thanks to "Adriano" for the test case.
1612 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1614 * Xml.cs: the show must go on. Removed a few NotImplemented.
1616 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1618 * Button.cs: implemented 2.0 RaisePostBackEvent in terms of the
1619 existing code in 1.1 (or viceversa). RenderContents() does nothing.
1621 * DataGrid.cs: changed autoid api.
1623 * EditCommandColumn.cs: only 'Update' causes validation.
1625 * TableCell.cs: changed autoid api. RenderContents checks the number
1626 of controls to decide what to do, not the value of Text in the
1629 * TableRow.cs: changed autoid api.
1631 * BoundColumn.cs: SelectedItem was missing when attaching a DataBind
1632 event. When we get an EditItem, we need a TextBox to be created and
1633 this one will be the one that gets the event. Changed
1634 ItemDataBinding to deal with a TextBox too.
1636 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1638 * PagedDataSource.cs: fix IsLastPage. All tests pass.
1639 * DataGrid.cs: InitializePager always add a cell and it's brand new. No
1640 need to keep the old one in a field. Now all tests pass here too.
1642 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1644 * PagedDataSource.cs: don't use the properties when they just return a
1645 field. Fixed Count when paging is enabled. In GetEnumerator, IList goes
1646 before ICollection (otherwise, an IList will always fall under the
1647 ICollection case). The enumerator for lists will be empty if 'start'
1648 is beyond the list size. All existing tests pass, but one in
1649 DataGridTest that fails because of some problem with the paging.
1651 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1653 * Style.cs: fix the 2.0 build.
1655 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1657 * Style.cs: avoid unnecesary creation of a CssStyleCollection and
1658 instead write the style attributes directly to the HtmlTextWriter.
1660 * CheckBox.cs: adapted to new API.
1662 * DataGrid.cs: handle null data sources. Fixed the contions that make
1663 the table to be added to the Controls collection.
1665 * Calendar.cs: the table needed an ID and the attributes from the
1666 parent. Also don't create the ControlStyleCollection if it has not
1667 already been created.
1669 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1671 * DataGrid.cs: handle null data sources. Fixed the contions that make
1672 the table to be added to the Controls collection.
1674 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1676 * Calendar.cs: TrackViewState should be called upon creation, not on
1677 every get_XXX call. Cleanup.
1679 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1681 * DataGrid.cs: fix another test. The ID of the table generated by the
1682 datagrid is set to the one on the datagrid if no one set the ID for the
1685 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1687 * ListControl.cs: this fixes TestValueFieldAndTextFormat from
1690 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1692 * FontUnit.cs: use a table for FontSize names, as the X{1,2}.* ones are
1693 converted to string as X{1,2}-.*. All FontUnitTests pass now.
1694 * Unit.cs: throw a format exception when there's not number or minus
1695 sign in the first non-whitespace character.
1697 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1699 * ListControl.cs: SelectedIndex/SelectedValue can be set before
1700 DataBinding () is called on the control, so we have to keep this values
1701 around and use them after the data is read. If both properties are
1702 used, they must refer to the same item.
1704 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1706 * DataList.cs: fill in the data keys from BaseDataList so that the
1707 events can see them. Only assign DataItem when using data binding and
1708 nullify it after all events are raised.
1710 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1712 * DataList.cs: OnItemCommand() is raised any time OnBubbleEvent is
1715 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
1717 * Button.cs: For 2.0 don't add the "name" attribute unless there's an
1719 * DataGrid.cs: Fix TagKey (table) for 2.0.
1720 * DataList.cs: Revert 2.0 specific stuff that was changed in RC.
1721 * DropDownList.cs: For 2.0 don't add the "name" attribute unless
1723 * ListBox.cs: For 2.0 don't add the "name" attribute unless there's an
1725 * RoleGroupCollection.cs: Fix "extra" exception in Remove method.
1726 * Style.cs: Fixed (2.0) RegisteredCssClass to returns String.Empty
1728 * TextBox.cs: For 2.0 don't add the "name" attribute unless there's an
1730 * TreeView.cs: Added declarative security (Link and Inheritance
1731 demands) for Minimal.
1732 * XmlDataSource.cs: Added declarative security (Link and Inheritance
1733 demands) for Minimal.
1735 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
1737 * FontUnit.cs: Added, but only for 1.x, declarative security (Link and
1738 Inheritance demands) for Minimal.
1739 * Label.cs: Added declarative security (Link and Inheritance demands)
1741 * ListItem.cs: Added declarative security (LinkDemands) for Minimal.
1742 * ListItemCollection.cs: Added declarative security (LinkDemands) for
1744 * MonthChangedEventArgs.cs: Added declarative security (Link and, for
1745 2.0, Inheritance demands) for Minimal.
1746 * PagedDataSource.cs: Added declarative security (LinkDemands) for
1748 * Panel.cs: Added declarative security (Link and Inheritance demands)
1750 * Repeater.cs: Added declarative security (Link and Inheritance
1751 demands) for Minimal.
1752 * RepeatInfo.cs: Added declarative security (LinkDemands) for Minimal.
1753 * SelectedDatesCollection.cs: Added declarative security (LinkDemands)
1755 * TargetConverter.cs: Added declarative security (Link and Inheritance
1756 demands) for Minimal.
1757 * Unit.cs: Added, but only for 1.x, declarative security (Link and
1758 Inheritance demands) for Minimal.
1759 * ValidatedControlConverter.cs: Added declarative security (Link and
1760 Inheritance demands) for Minimal.
1761 * WebColorConverter.cs: Added declarative security (Link and
1762 Inheritance demands) for Minimal.
1763 * Xml.cs: Added declarative security (Link and Inheritance demands)
1765 * ValidationSummary.cs: Added declarative security (Link and
1766 Inheritance demands) for Minimal.
1768 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
1770 * UnitConverter.cs: Remove conversion from Unit (see unit tests).
1772 2005-09-22 Ben Maurer <bmaurer@ximian.com>
1774 * BulletedList.cs: Remove the cacheEnabled thing. I was thinking
1775 it took O(height) time, not O(1).
1777 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
1779 * CheckBoxList.cs: Fix unit test failure (which matched bug #48802).
1781 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
1783 * AdCreatedEventArgs.cs: Added declarative security (Link and, for
1784 2.0, Inheritance demands) for Minimal.
1785 * BaseCompareValidator.cs: Added declarative security (Link and
1786 Inheritance demands) for Minimal.
1787 * BaseDataBoundControl.cs: Added declarative security (Link and
1788 Inheritance demands) for Minimal.
1789 * BaseValidator.cs: Added declarative security (Link and Inheritance
1790 demands) for Minimal.
1791 * BoundColumn.cs: Added declarative security (Link and Inheritance
1792 demands) for Minimal.
1793 * ButtonColumn.cs: Added declarative security (Link and Inheritance
1794 demands) for Minimal.
1795 * CalendarDay.cs: Added declarative security (Link and Inheritance
1796 demands) for Minimal.
1797 * CheckBoxList.cs: Added declarative security (Link and Inheritance
1798 demands) for Minimal.
1799 * CompareValidator.cs: Added declarative security (Link and
1800 Inheritance demands) for Minimal.
1801 * CustomValidator.cs: Added declarative security (Link and Inheritance
1802 demands) for Minimal.
1803 * DataBoundControl.cs: Added declarative security (Link and
1804 Inheritance demands) for Minimal.
1805 * DataGridItemCollection.cs: Added declarative security (Link and
1806 Inheritance demands) for Minimal.
1807 * DataKeyCollection.cs: Added declarative security (LinkDemands) for
1809 * DataListItemCollection.cs: Added declarative security (LinkDemands)
1811 * DataListItem.cs: Added declarative security (Link and Inheritance
1812 demands) for Minimal.
1813 * FontNamesConverter.cs: Added declarative security (Link and
1814 Inheritance demands) for Minimal.
1815 * HyperLink.cs: Added declarative security (Link and Inheritance
1816 demands) for Minimal.
1817 * HyperLinkColumn.cs: Added declarative security (Link and Inheritance
1818 demands) for Minimal.
1819 * Image.cs: Added declarative security (Link and Inheritance demands)
1822 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1824 * BaseDataList.cs: it's the DataKeysArray what is stored in "DataKeys",
1826 * DataGrid.cs: add the keys to BaseDataList.DataKeysArray. When using
1827 a data source, first try reflection, then componentmodel. If we get
1828 an enumerator, keep it around, as MS only calls GetEnumerator once.
1829 Throw an exception if no columns can be created from the given data
1830 source. Tested with DbDataRecord, DataTable, ArrayList and
1831 ICustomTypeDescriptor.
1833 2005-09-20 Sebastien Pouliot <sebastien@ximian.com>
1835 * AccessDataSource.cs: Added declarative security (Link and Inheritance
1836 demands) for Minimal. Added [ToolboxBitmap] on class.
1837 * AdRotator.cs: Added declarative security (Link and Inheritance
1838 demands) for Minimal. Removed extra Page and ViewState properties.
1839 * BulletedList.cs: Added declarative security (Link and Inheritance
1840 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1841 * Button.cs: Added declarative security (Link and Inheritance demands)
1842 for Minimal. Added [SupportsEventValidation] on class (2.0).
1843 * Calendar.cs: Added declarative security (Link and Inheritance
1844 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1845 * CheckBox.cs: Added declarative security (Link and Inheritance
1846 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1847 * CompositeControl.cs: Added declarative security (Link and Inheritance
1848 demands) for Minimal. Added new protected RecreateChildControls method.
1849 * DataControlCommands.cs: Added declarative security (LinkDemands) for
1850 Minimal. Added private ctor.
1851 * DataGrid.cs: Added declarative security (Link and Inheritance
1852 demands) for Minimal. Fixed properties for 2.0 (mostly removing
1853 [Bindable]). Added override for TagKey property.
1854 * DataGridColumn.cs: Added declarative security (Link and Inheritance
1855 demands) for Minimal. Added [UrlProperty] on HeaderImageUrl (2.0).
1856 * DataGridItem.cs: Added declarative security (Link and Inheritance
1857 demands) for Minimal. Added IDataItemContainer interface for 2.0.
1858 * DataGridPagerStyle.cs: Added declarative security (LinkDemands) for
1859 Minimal. Remove [Bindable] from 2.0 and add [Localizable].
1860 * DataList.cs: Removed [Load|Save]ControlState methods.
1861 * DropDownList.cs: Added declarative security (Link and Inheritance
1862 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1863 * EditCommandColumn.cs: Added declarative security (Link and
1864 Inheritance demands) for Minimal. Added missing attributes,
1865 [DefaultValue] and [Localize] for 2.0.
1866 * FontInfo.cs: Added declarative security (Link and Inheritance
1867 demands) for Minimal. Remove [Bindable] and added [RefreshProperties]
1869 * Login.cs: Added declarative security (Link and Inheritance demands)
1870 for Minimal. Fixed IsStyleEmpty. Removed extra [Themeable] attributes.
1871 * ImageButton.cs: Added declarative security (Link and Inheritance
1872 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1873 * LinkButton.cs: Added declarative security (Link and Inheritance
1874 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1875 * ListBox.cs: Added declarative security (Link and Inheritance demands)
1876 for Minimal. Added [SupportsEventValidation] on class (2.0).
1877 * Literal.cs: Added declarative security (Link and Inheritance demands)
1878 for Minimal. Removed [EditorBrowsable] on CreateControlCollection method.
1879 * LoginStatus.cs: Added missing [Themeable] attributes on properties.
1880 * MenuItemStyle.cs: Changed IsEmpty to public (required to compile -
1881 but will be shown as extra).
1882 * RadioButton.cs: Added declarative security (Link and Inheritance
1883 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1884 * RadioButtonList.cs: Added declarative security (Link and Inheritance
1885 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1886 * RangeValidator.cs: Added declarative security (Link and Inheritance
1887 demands) for Minimal. Added missing [Themeable] attributes.
1888 * RegularExpressionValidator.cs: Added declarative security (Link and
1889 Inheritance demands) for Minimal. Remove [Bindable] from 2.0 and add
1891 * RoleGroupCollection.cs: Added declarative security (Link and
1892 Inheritance demands) for Minimal. Fixed base class (changed in RC).
1893 Re-implemented CopyTo. Removed some methods.
1894 * Style.cs: Added declarative security (Link and Inheritance demands)
1895 for Minimal. Remove static IsStyleEmpty and ToString (from 2.0). IsEmpty
1896 is now public in 2.0.
1897 * Table.cs: Added declarative security (Link and Inheritance demands)
1898 for Minimal. Added [SupportsEventValidation] on class (2.0).
1899 * TableCell.cs: Fixed PersistenceMode for 2.0.
1900 * TextBox.cs: Added declarative security (Link and Inheritance demands)
1901 for Minimal. Added [SupportsEventValidation] on class (2.0).
1902 * TreeNodeStyle.cs: Changed IsEmpty to public (required to compile -
1903 but will be shown as extra).
1904 * WebControl.cs: Added declarative security (Link and Inheritance
1905 demands) for Minimal. Removed [EditorBrowsable] on ControlStyleCreated
1908 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1910 * TableStyle.cs: fixed typo that prevented restoring GridLines from
1913 * DataGrid.cs: the table does not get an auto ID. When restoring from
1914 viewstate, use all the saved columns, not just that data bound ones. Set
1915 the owner of the BoundColumns created. Save/restore columns.
1916 OnItemCreated happens after the item is initialized and the data item is
1917 set before the event and nullified after OnItemDataBound.
1918 Add the render_table to the Controls immediately, otherwise we might get
1919 errors from child controls such as "must be rendered inside a form".
1920 Keep the items created in the list waiting for them.
1921 The table uses the attributes from the DataGrid and ControlStyle.
1922 Raise OnItemCommand on all bubble events and don't propagate bubble
1923 event up in the hierarchy
1925 * TableCell.cs: it does not get an automatic ID.
1926 * BoundColumn.cs: FormatDataValue returns an empty string on null input
1927 (there was already a test for this).
1931 2005-09-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1933 * DataGridColumnCollection.cs: track the view state in the newly added
1936 2005-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1938 * DataGrid.cs: merge column styles too. Fixes bug #76106.
1939 * DataGridColumn.cs: new internal method to retrieve the styles without
1940 creating an instance for them.
1942 2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
1944 * DataControlField.cs, HotSpot.cs, MenuItem.cs, Parameter.cs,
1945 Style.cs, TreeNode.cs: Replace _empty_ StateBag.SetDirty () with
1946 StateBag.SetDirty (true).
1948 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
1950 * Menu.cs: Fixed parameter orders for CreateStyleRule.
1952 2005-09-13 Chris Toshok <toshok@ximian.com>
1954 * Style.cs: corcompare stuff.
1956 * RequiredFieldValidator.cs: more corcompare stuff.
1958 * CheckBoxList.cs: clean up some of the interface methods vs
1959 protected virtual 2.0 calls.
1961 * SubMenuStyle.cs: corcompare says this should implement
1962 ICustomTypeDescriptor... sooo, make it.
1964 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1966 * TableCell.cs: do the same as HyperLink and others in
1967 AddParsedSubobject so that adding a literal control does not remove the
1968 existing controls if any. Fixes bug #76078.
1970 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1972 * GridView.cs: don't duplicate class attribute. Fixes bug #75936.
1974 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1976 * ImageButton.cs: fix invalid cast exception.
1978 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1980 * ListItem.cs: throw in AddParsedSubObject if the object is not a
1982 * RadioButtonList.cs: implemented LoadPostData and
1983 RaisePostDataChangedEvent.
1985 2005-09-09 Chris Toshok <toshok@ximian.com>
1987 * CheckBox.cs, CheckBoxList.cs, DropDownList.cs, ImageButton.cs,
1988 ListBox.cs, RadioButton.cs, RadioButtonList.cs, TextBox.cs: fix up
1989 LoadPostData/RaisePostDataChangedEvent.
1991 2005-09-09 Chris Toshok <toshok@ximian.com>
1993 * FontInfo.cs (IsEmpty): new internal property, used by
1996 * Style.cs (IsEmpty): make sure the fontinfo is null or empty as
1999 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2001 * ListItemCollection.cs: remove obsoleted methods.
2002 * ListBox.cs: use IStateManager on the item collection.
2004 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
2006 * Use C# 1.0 style of delegate instantiating. Needed to compile
2007 Grasshopper (TARGET_J2EE) which uses MS C# 1.0 compiler and not msc.
2009 2005-09-07 Chris Toshok <toshok@ximian.com>
2011 * Calendar.cs (WriteDay): always add BackColor=Silver,
2012 ForeColor=White to selected day cells, before copying over the
2013 selectedDayStyle, if it exists.
2014 (WriteDays): fix nunit test - if the first day of the month falls
2015 on the first day of the week, go back one week (effectively adding
2016 a row of dates from the previous month.)
2017 (WriteTitle): don't copy the control style to the tableTitle,
2018 since it might have height specifications, which would make the
2019 title look rather off.
2021 2005-09-07 Chris Toshok <toshok@ximian.com>
2023 * ValidationSummary.cs (AddAttributesToRender): we only set
2024 display=none if there are no errors.
2026 * BaseValidator.cs (OnPreRender): fix a JS error - on submit we
2027 call ValidatorOnSubmit, not ValidatorCommonOnSubmit.
2029 2005-09-07 Chris Toshok <toshok@ximian.com>
2031 * ListControl.cs (SelectedIndex): add comment about how you'd
2032 think OnSelectedIndexChanged would be called.. and you'd be wrong.
2033 (Text): implement in terms of SelectedValue.
2034 (TagKey): do the HAVE_CONTROL_ADAPTERS two-step.
2035 (LoadControlState): implement - this is where the selected index
2036 ArrayList gets stuffed in 2.0.
2037 (OnInit): call Page.RegisterRequiresControlState.
2038 (OnTextChanged): implement.
2039 (RenderContents): for now just chain up to base.RenderContents.
2040 (SaveControlState): save our control state properly.
2041 (GetSelectedIndices): split this out from SaveViewState to it can
2042 be used by both that and SaveControlState.
2043 (SaveViewState): mangle this function so it works in both 2.0 and
2045 (LoadViewState): same.
2047 2005-09-06 Chris Toshok <toshok@ximian.com>
2049 * BaseValidator.cs (AddAttributesToRender): render our ClientID if
2050 we weren't assigned an ID.
2052 * ValidationSummary.cs (AddAttributesToRender): same.
2054 2005-09-06 Chris Toshok <toshok@ximian.com>
2056 * WebControl.cs: revert the last change.
2058 2005-09-06 Chris Toshok <toshok@ximian.com>
2060 * WebControl.cs (AddAttributesToRender): always render ClientID.
2062 * ValidationSummary.cs (Render): same.
2064 * BaseValidator.cs (RegisterValidatorDeclaration): use ClientID
2067 2005-09-06 Chris Toshok <toshok@ximian.com>
2069 * ValidationSummary.cs (Render): only do the JS stuff when the
2070 validators on the page are uplevel.
2072 * BaseValidator.cs (Render): remove unnecessary comment.
2074 2005-09-05 Chris Toshok <toshok@ximian.com>
2076 * BaseDataBoundControl.cs (DataSourceID): testing reveals this is
2077 stored in the ViewState.
2079 2005-09-02 Chris Toshok <toshok@ximian.com>
2081 * Repeater.cs (GetData): change this slightly so the Repeater
2082 doesn't keep a ref to the return value of GetData.
2084 2005-09-01 Chris Toshok <toshok@ximian.com>
2086 * ListControl.cs (AppendDataBoundItems): implement (2.0)
2089 2005-09-01 Chris Toshok <toshok@ximian.com>
2091 * System.Web.UI.WebControls/MonthChangedEventArgs.cs,
2092 System.Web.UI.WebControls/ValidatedControlConverter.cs,
2093 System.Web.UI.WebControls/Xml.cs,
2094 System.Web.UI.WebControls/RegularExpressionValidator.cs,
2095 System.Web.UI.WebControls/ServerValidateEventArgs.cs,
2096 System.Web.UI.WebControls/Menu.cs,
2097 System.Web.UI.WebControls/MailMessageEventArgs.cs,
2098 System.Web.UI.WebControls/MenuItemStyle.cs,
2099 System.Web.UI.WebControls/RangeValidator.cs,
2100 System.Web.UI.WebControls/RepeaterItemEventArgs.cs,
2101 System.Web.UI.WebControls/MenuItem.cs,
2102 System.Web.UI.WebControls/RepeaterCommandEventArgs.cs,
2103 System.Web.UI.WebControls/DataGridSortCommandEventArgs.cs,
2104 System.Web.UI.WebControls/DataGridCommandEventArgs.cs,
2105 System.Web.UI.WebControls/DataGridPageChangedEventArgs.cs,
2106 System.Web.UI.WebControls/XmlBuilder.cs,
2107 System.Web.UI.WebControls/ImageButton.cs: someone stop me. more
2110 2005-09-01 Chris Toshok <toshok@ximian.com>
2112 * System.Web.UI.WebControls/Button.cs,
2113 System.Web.UI.WebControls/ButtonField.cs,
2114 System.Web.UI.WebControls/DataControlField.cs,
2115 System.Web.UI.WebControls/BaseCompareValidator.cs,
2116 System.Web.UI.WebControls/AutoGeneratedField.cs,
2117 System.Web.UI.WebControls/CustomValidator.cs,
2118 System.Web.UI.WebControls/Content.cs,
2119 System.Web.UI.WebControls/BoundField.cs,
2120 System.Web.UI.WebControls/AdRotator.cs,
2121 System.Web.UI.WebControls/ButtonColumn.cs,
2122 System.Web.UI.WebControls/CompareValidator.cs,
2123 System.Web.UI.WebControls/AdCreatedEventArgs.cs: More corcompare
2124 work. Stub things out, and add attributes.
2126 2005-09-01 Chris Toshok <toshok@ximian.com>
2128 * Button.cs, ButtonField.cs, FontInfo.cs, Style.cs, Xml.cs,
2129 CommandField.cs, HyperLinkColumn.cs, Table.cs,
2130 RegularExpressionValidator.cs, DataGridPagerStyle.cs, Label.cs,
2131 CheckBox.cs, RadioButton.cs, TableStyle.cs, ListControl.cs,
2132 Image.cs, BaseCompareValidator.cs, BaseDataList.cs, DataList.cs,
2133 TemplateColumn.cs, RangeValidator.cs, ImageField.cs,
2134 BaseValidator.cs, CustomValidator.cs, TextBox.cs,
2135 ButtonFieldBase.cs, BoundField.cs, CheckBoxList.cs,
2136 RadioButtonList.cs, RequiredFieldValidator.cs, AdRotator.cs,
2137 Repeater.cs, DropDownList.cs, CheckBoxField.cs, HyperLink.cs,
2138 XmlDataSource.cs, Panel.cs, DataGrid.cs, ButtonColumn.cs,
2139 CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs,
2140 WebControl.cs, Literal.cs, ValidationSummary.cs, ImageButton.cs,
2141 TableRow.cs, LinkButton.cs, DataGridColumn.cs, BoundColumn.cs,
2142 TableItemStyle.cs: Add some WebCategory and WebSysDescription
2145 2005-09-01 Chris Toshok <toshok@ximian.com>
2147 * AccessDataSource.cs: corcompare work.
2149 * SqlDataSource.cs: same.
2151 2005-09-01 Miguel de Icaza <miguel@novell.com>
2153 * Various places: make sure that the DefaultValue matches the
2154 type. Thanks to Michael for pointing this out.
2156 In future audits, you might want to use the following awk command:
2158 awk '/DefaultValue/ { v=$0; looking = 1; } /public/ && looking &&
2159 !/string/ && !/ int / && !/ bool / { print FILENAME; print v;
2160 print $0; looking = 0; } /public/ && looking { looking = 0; } '
2163 The above skips bools, strings and ints as those were fine as we
2164 set them. The bug was on the other ones.
2166 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2168 * Repeater.cs: fix the build.
2170 2005-08-31 Chris Toshok <toshok@ximian.com>
2172 * Repeater.cs: lots of 2.0 work, much of it c&p'ed from
2173 {Base}DataList, and also from debug spew garnered from some
2174 Repeater subclass tests on MS.
2175 (CreateControlHierarchy): in 2.0 if IsBonudUsingDataSourceID get
2176 the IEnumerable by calling GetData().
2177 (DataBind): reset RequiresDataBinding to false (2.0).
2178 (DataMember): copy the set implementation from DataList, and add
2179 2.0 code to call OnDataPropertyChanged if we're !Initialiezd.
2180 (DataSource): more c&p.
2181 (DataSourceID); implement (2.0)
2182 (Initialized): implement (2.0)
2183 (IsBoundUsingDataSource): implement (2.0)
2184 (RequiresDataBinding): implement (2.0)
2185 (SelectArguments): implement (2.0)
2186 (CreateDataSourceSelectArguments): implement (2.0)
2187 (EnsureDataBound): implement (2.0)
2188 (GetData): implement.
2189 (OnDataPropertyChanged): remove the NIE, but leave the MonoTODO
2191 (OnDataSourceViewChanged): set RequiresDataBinding to true, but
2192 leave the MonoTODO. (2.0)
2193 (OnInit): call base.OnInit instead of throwing NIE, but leave the
2195 (OnLoad): implement.
2196 (OnPreRender): implement.
2197 (ConnectToDataSource): new method - look for the right control.
2199 2005-08-31 Chris Toshok <toshok@ximian.com>
2201 * XmlDataSourceView.cs: fix the scope of our select. Don't use
2202 call SelectNodes on the XmlDocument, not on
2203 XmlDocument.DocumentElement.
2205 2005-08-31 Chris Toshok <toshok@ximian.com>
2207 * XmlDataSourceView.cs (.ctor): remove the nodelist parameter.
2208 (DoXPathSelect): put the xpath selection stuff here.
2209 (ExecuteSelect): call DoXPathSelect if we need to (if nodes ==
2212 * XmlDataSource.cs (IDataSource.GetView): don't do the XPath
2213 select here, the view does it.
2215 2005-08-31 Jackson Harper <jackson@ximian.com>
2217 * DataList.cs: Remove some debugging code that was starting to bug
2220 2005-08-31 Chris Toshok <toshok@ximian.com>
2222 * XmlDataSourceNodeDescriptor.cs: implement IXPathNavigable, and
2223 create our Navigator by calling node.CreateNavigator().
2225 2005-08-31 Chris Toshok <toshok@ximian.com>
2227 * XmlDataSource.cs (GetXmlDataDocument): rename this to
2228 GetXmlDocument, and change the return value from XmlDataDocument
2230 (LoadXmlDataDocument): similar change.
2231 (Save): xmlDataDocument -> xmlDocument.
2232 (CanBeSaved): there's no ReadOnly attribute.
2233 (LoadViewState, SaveViewState, TrackViewState): nuke.
2234 (GetHierarchicalView): xmlDataDocument -> xmlDocument.
2235 (CacheDuration): stub out with NIE.
2236 (CacheExpirationPolocy): same.
2237 (CacheKeyDependency): same.
2238 (EnableCaching): same.
2240 (Data, DataFile): xmlDataDocument -> xmlDocument.
2241 (Schema, SchemaFile): nuke.
2242 (Transform, TransformFile): xmlDataDocument -> xmlDocument.
2244 2005-08-30 Lluis Sanchez Gual <lluis@novell.com>
2246 * SubMenuStyle.cs, MenuItemStyle.cs, TreeNodeStyle.cs:
2247 Don't use the obsolete IsSet method.
2248 * Menu.cs: Implement IPostBackEventHandler.RaisePostBackEvent.
2249 * CheckBox.cs: Implement some 2.0 methods.
2250 * GridView.cs: Removed some "throw new NotImplementedException"
2252 2005-08-29 Chris Toshok <toshok@ximian.com>
2254 * TreeView.cs: Use the StateBag accessors Ben added, and implement
2255 SkipLinkText and Visible.
2257 2005-08-29 Chris Toshok <toshok@ximian.com>
2259 * TreeView.cs: fix typo in an attribute.
2261 2005-08-29 Jackson Harper <jackson@ximian.com>
2263 * PagedDataSource.cs: If it's not a list or collection we don't
2264 use a bounded enumerator.
2266 2005-08-29 Chris Toshok <toshok@ximian.com>
2268 * LinkButton.cs: fix some 2.0 Page/ClientScript obsolete warnings.
2270 * CheckBox.cs: same.
2272 * BaseValidator.cs: same.
2274 * DropDownList.cs: same.
2276 * ValidationSummary.cs: same.
2278 2005-08-28 Chris Toshok <toshok@ximian.com>
2280 * XmlHierarchyData.cs: fix IHierarchyData.GetParent.
2282 2005-08-26 Chris Toshok <toshok@ximian.com>
2284 * TextBox.cs: implement ValidationGroup and CausesValidation
2287 2005-08-26 Lluis Sanchez Gual <lluis@novell.com>
2289 * Style.cs: Implemented FillStyleAttributes, GetStyleAttributes and
2292 2005-08-26 Chris Toshok <toshok@ximian.com>
2294 * Unit.cs: implement the 2.0 ToString(IFormatProvider) method.
2296 * FontUnit.cs: add two 2.0 ctors, and the 2.0
2297 ToString(IFormatProvider) method.
2299 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
2301 * CheckListBox.cs: Nothing is rendered (i.e. no empty table) in 2.0 if
2302 no items are present in the list.
2303 * RoleGroup.cs: Added missing attributes.
2304 * RoleGroupCollection.cs: Added missing attributes and some (yet-to-be-
2305 documented) methods.
2306 * TableStyle.cs: *for 2.0* adding a "url({0})" to background image
2307 must be done in the HtmlTextWriter (not in the TableStyle).
2309 2005-08-26 Chris Toshok <toshok@ximian.com>
2311 * Calendar.cs (UseAccessibleHeader): implement.
2312 (RaisePostBackEvent): some #ifdef ugliness to get this all working
2313 propertly between 1.x and 2.0
2314 (WriteDayHeader): if UseAccessibleHeader == true, render header
2315 cells as th's, not td's, and add abbr and scope attributes.
2317 2005-08-25 Chris Toshok <toshok@ximian.com>
2319 * Calendar.cs (Caption, CaptionAlign): implement these properties.
2320 (Render): if we have a non-empty caption, show it.
2321 (WriteCaption): new method, output the caption.
2323 2005-08-25 Chris Toshok <toshok@ximian.com>
2325 * Calendar.cs (Render): Copy the entire style from the Calendar to
2326 the Table, not just the font.
2327 (WriteDay): don't just write the link/text/etc. Create a
2328 LiteralControl as a child of the cell, before the call to
2329 OnDayRender, with its text set to the day number. After
2330 OnDayRender, set the literal's text to either the number again (if
2331 it's not selectable) or the full text of the js __doPostBack
2332 hyperlink (if it is.) Also, use cell.RenderControl here so we can
2333 render child controls with the id's listed properly (and arguably
2335 (ApplyTitleStyleCell): remove.
2336 (WriteTitle): apply the titleStyle to the enclosing table, not the
2337 table cell containing the month name. Also, copy from the
2338 Calendar's ControlStyle to populate tableTitle's style initially.
2339 We end up with more (superfluous) style attributes than MS, but
2340 it's better than having less.
2342 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
2344 * HyperLink.cs: Fixed 2.0 rendering for Alt and Border|BorderWidth when
2347 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
2349 * Style.cs: Implemented 2.0 CopyTextStylesFrom(), SetRegisteredCssClass()
2350 and RegisteredCssClass property
2352 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
2354 * LoginView.cs: Fixed attributes.
2355 * Style.cs: Change SetRegisteredCssClass to internal and not to throw
2356 an exception to allow pages to work on 2.x.
2358 2005-08-25 Chris Toshok <toshok@ximian.com>
2360 * LinkButton.cs (PostBackUrl): correct the UrlProperty attribute.
2362 * Unit.cs: add [Serializable] and the 2.0 specific ToString(), not
2365 * HiddenField.cs: stub out this class and label everything
2368 2005-08-25 Jackson Harper <jackson@ximian.com>
2370 * DataGrid.cs: Disable the pager row if there no paging enabled
2373 2005-08-25 Chris Toshok <toshok@ximian.com>
2375 * SqlDataSourceFilteringEventArgs.cs: add some usings, and fix a
2378 * SqlDataSourceSelectingEventArgs.cs: IDbCommand -> DbCommand, and
2379 add a using statement.
2381 2005-08-25 Chris Toshok <toshok@ximian.com>
2383 * SqlDataSourceFilteringEventArgs.cs: new 2.0 class, as per
2386 * SqlDataSourceFilteringEventHandler.cs: new 2.0 delegate, as per
2389 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
2391 * Login.cs: Added rendering and fixed parts of the authentication.
2392 Now using IStateManager to allow compilation in another assembly (e.g.
2393 to test the control under IIS). Needs more tests (error conditions)
2394 once we get a "real" Membership provider running.
2395 * Style.cs: Fixed IsStyleEmpty (name ;-) and when null is provided
2398 2005-08-25 Chris Toshok <toshok@ximian.com>
2400 * SqlDataSourceCommandType.cs: new 2.0 enum, as per corcompare.
2402 2005-08-25 Chris Toshok <toshok@ximian.com>
2404 * AdRotator.cs: stub out enough of the 2.0 methods/properties by
2405 calling base.Foo to get the standalone adrotator (1.0) tests to
2406 run without throwing exceptions.
2408 2005-08-25 Chris Toshok <toshok@ximian.com>
2410 * ValidationSummary.cs (ValidationGroup): implement.
2411 (Render): use Page.GetValidators in .net 2.0, so we can support
2412 ValidationGroups. Also, <br>'s get rendered as <br /> in .net
2415 2005-08-25 Chris Toshok <toshok@ximian.com>
2417 * ImageButton.cs (TagKey): disable (but flag) the "virtual new"
2418 2.0 attribute modifiers, and revert back to "override".
2420 * ListBox.cs (BorderColor): disable (but flag) the "virtual new"
2421 2.0 attribute modifiers, and revert back to "override".
2422 (BorderStyle): same.
2423 (BorderWidth): same.
2425 * TextBox.cs (SaveViewState): implement naively, calling
2427 (TagKey): disable (but flag) the "virtual new" 2.0 attribute
2428 modifiers, and revert back to "override".
2430 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
2432 * Style.cs, TableStyle.cs, TableItemStyle.cs, DataGridPagerStyle.cs:
2433 Load ViewState for derived classes; no public LoadViewState override
2434 exists in those classes
2435 * Style.cs: Added 2.0 IsStyleEmpty method
2437 2005-08-25 Jackson Harper <jackson@ximian.com>
2439 * DataGrid.cs: The number of pages set in the pager is specified
2442 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
2444 * LoginView.cs: New (2.0). Work in progress.
2446 2005-08-24 Chris Toshok <toshok@ximian.com>
2448 * Button.cs, DetailsView.cs, FontInfo.cs, Style.cs, Xml.cs,
2449 Menu.cs, ObjectDataSource.cs, CheckBox.cs, RadioButton.cs,
2450 ListControl.cs, SiteMapPath.cs, BulletedList.cs,
2451 DataBoundControl.cs, ListItemCollection.cs, GridView.cs,
2452 Wizard.cs, TextBox.cs, CheckBoxList.cs, RadioButtonList.cs,
2453 PagedDataSource.cs, FormView.cs, AdRotator.cs, Repeater.cs,
2454 DropDownList.cs, MultiView.cs, HierarchicalDataBoundControl.cs,
2455 Calendar.cs, ListBox.cs, WebControl.cs, Literal.cs,
2456 ValidationSummary.cs, ImageButton.cs, LinkButton.cs, TreeView.cs:
2457 Add MonoTODO's for all things that throw NotImplementException.
2459 2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
2461 * RoleGroup.cs: New (2.0). Complete implementation.
2462 * RoleGroupCollection.cs: New (2.0). Mostly complete implementation.
2464 2005-08-23 Chris Toshok <toshok@ximian.com>
2466 * BaseCompareValidator.cs (GetFullYear): it turns out the docs up
2467 on msdn.microsoft.com tell exactly how the .net 2.0 stuff works,
2468 even though they were written for the 1.0 stuff.
2470 2005-08-23 Chris Toshok <toshok@ximian.com>
2472 * RepeatInfo.cs: some massaging to support both the 1.x and 2.0
2473 output. Our tests now pass on both mono and ms, with both 1.x and
2476 2005-08-23 Sebastien Pouliot <sebastien@ximian.com>
2478 * Login.cs: Throw exception if the specified provider doesn't exists.
2479 * LoginStatus.cs: Complete events.
2481 2005-08-22 Jackson Harper <jackson@ximian.com>
2483 * DataGrid.cs (CreateControlHierarchy): Clear out the old pager after creating the
2485 (InitializeNumericPager): Now that the pager actually renders
2486 properly I can see that I was computing it incorrectly.
2488 2005-08-22 Jackson Harper <jackson@ximian.com>
2490 * DataGrid.cs (RenderTable): Make sure the new table gets the
2492 (CreateColumnSet): Clear the data source columnbs before adding
2493 new ones regardless of whether or not a property descriptor was
2495 (InitializePager): pager_cell needs to be a member so it isn't
2496 created more then once per a render.
2497 (InitializeNumericPager): Compute start and end more
2499 - Link commands are 1 indexed.
2500 (CreateControlHierarchy): Clear the table before we begin
2502 - Revert patch that made adding the pagers conditional. This is
2503 incorrect, the pagers are always added. Only their visibility is
2504 affected by the pager style.
2505 - Save the entire count in the viewstate, not just the rendered
2506 count. So when paging is enabled the pager's count isn't broken by
2509 2005-08-22 Chris Toshok <toshok@ximian.com>
2511 * LinkButton.cs (ValidationGroup): implement.
2512 (IPostBackEventHandler.RaisePostBackEvent): in the 2.0 profile,
2513 pass ValidationGroup to Page.Validate.
2515 2005-08-22 Chris Toshok <toshok@ximian.com>
2517 * ImageButton.cs (ValidationGroup): implement.
2518 (IPostBackEventHandler.RaisePostBackEvent): if we cause
2519 validation, call Page.Validate properly (in both profiles).
2521 2005-08-22 Chris Toshok <toshok@ximian.com>
2523 * Button.cs (IPostBackEventHandler.RaisePostBackEvent): in the 2.0
2524 case, pass ValidationGroup to Page.Validate.
2525 (ValidationGroup): implement using ViewState.
2527 2005-08-22 Chris Toshok <toshok@ximian.com>
2529 * BaseValidator.cs (Text): 2.0 only. implement naively, just
2531 (OnInit): add 2.0 support for validation groups.
2534 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
2536 * LoginName.cs: New (2.0) web control.
2537 * LoginStatus.cs: New (2.0) web control.
2539 2005-08-19 Chris Toshok <toshok@ximian.com>
2541 * LinkButton.cs (ValidationGroup): implement getter/setter.
2542 (RaisePostBackEvent): implement naively, by c&p'ing the old
2543 implementation of IPostBackEventHandler.RaisePostBackEvent, but
2544 making use of the ValidationGroup in the call to Page.Validate.
2548 * Style.cs (LoadViewState): set our style flags for all the things
2549 we have flags for. Seems like the subclass flags should be
2550 handled in overridden LoadViewState methods, but none of the Style
2551 subclasses seem to override this method.
2553 2005-08-19 Chris Toshok <toshok@ximian.com>
2555 * TableStyle.cs (Merge, MergeWith): make these look a bit more
2556 like Copy/CopyFrom, with the styles checks instead of just
2559 * TableItemStyle.cs: same, only also make Copy/CopyFrom work as in
2562 2005-08-19 Chris Toshok <toshok@ximian.com>
2564 * DataGrid.cs (InitializePager): don't unconditionally set
2565 pager_cell to the numeric pager (especially after setting it
2566 conditionally to the nextprev pager.)
2567 (InitializeNumericPager): the link buttons don't participate in
2569 (InitializeNextPrevPager): same.
2570 (CreateControlHierarchy): create the top/bottom pagers only if the
2571 PagerStyle says too.
2573 2005-08-19 Sebastien Pouliot <sebastien@ximian.com>
2575 * TableCell.cs: Added AssociatedHeaderCellID property for 2.0.
2577 2005-08-18 Chris Toshok <toshok@ximian.com>
2579 * DataList.cs (CreateControlHierarchy): Call Controls.Clear() at
2580 the start of this method so templates are created properly.
2582 2005-08-18 Dick Porter <dick@ximian.com>
2584 * Button.cs, DetailsView.cs, Xml.cs, Table.cs, Menu.cs,
2585 DataControlButton.cs, Label.cs, ObjectDataSource.cs, CheckBox.cs,
2586 RadioButton.cs, ListControl.cs, Image.cs, SiteMapPath.cs,
2587 BaseDataList.cs, DataList.cs, BulletedList.cs,
2588 DataBoundControl.cs, Login.cs, GridView.cs,
2589 CompositeDataBoundControl.cs, Wizard.cs, BaseValidator.cs,
2590 TextBox.cs, CheckBoxList.cs, RadioButtonList.cs, FormView.cs,
2591 AdRotator.cs, Repeater.cs, MenuItemTemplateContainer.cs,
2592 DropDownList.cs, HyperLink.cs, ImageMap.cs, MultiView.cs,
2593 CompositeControl.cs, HierarchicalDataBoundControl.cs, Calendar.cs,
2594 ListBox.cs, TableCell.cs, WebControl.cs, Literal.cs,
2595 BaseDataBoundControl.cs, ValidationSummary.cs, ImageButton.cs,
2596 LinkButton.cs, TreeView.cs: 2.0 API fixes and stubs, and attribute
2599 2005-08-18 Sebastien Pouliot <sebastien@ximian.com>
2601 * BaseDataList.cs: Added a TODO for DataKeyField as we're not using it
2603 * DataList.cs: Reworked CreateControlHierarchy to avoid allocating an
2604 empty array of objects just to get the number of items.
2605 * Login.cs: Implemented OnBubbleEvent and parts of the authentication
2606 but we're missing some bits from the class lib to complete all this...
2608 2005-08-17 Jackson Harper <jackson@ximian.com>
2610 * DataGrid.cs: Only create one pager and add it to both the top
2611 and bottom of the grid, this way all the id numbers stay the same
2612 and we save a bunch of cycles.
2614 2005-08-17 Jackson Harper <jackson@ximian.com>
2616 * DataGrid.cs: The top and bottom pagers are always created. Just
2617 the visibility is changed by the PagerStyle::Position.
2619 2005-08-17 Chris Toshok <toshok@ximian.com>
2621 * CompositeControl.cs (RecreateChildControls): implement naively -
2622 just call CreateChildControls. We might need to call
2623 Controls.Clear() as well, but for the time being, this is ok.
2625 2005-08-17 Sebastien Pouliot <sebastien@ximian.com>
2627 * BaseDataList.cs: Completed implementation for 2.0.
2629 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
2631 * BaseDataList.cs: Added missing properties/methods/attributes for 2.0.
2632 * DataList.cs: Added missing [Browseable] attribute on SelectedValue.
2634 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
2636 * BaseDataList.cs: Removed old internal ctor as DataList TagKey was
2638 * DataList.cs: Implemented {Load|Save}ControlState and OnInit (2.0).
2639 Adjusted size and ordering of the ViewState (new element #0 is still
2640 unknown). Properly fixed the TagKey in 2.0.
2641 * Login.cs: Implemented {Load|Save|Track}ViewState. Added checks for
2642 all properties using enums.
2643 * Panel.cs: Fixed NoWrap rendering unit test (for 2.0).
2644 * TableItemStyle.cs: Fixed attribute rendering to use style to render
2645 "nowrap" in 2.0 (it used the HTML nowrap attribute in 1.x).
2647 2005-08-15 Jackson Harper <jackson@ximian.com>
2649 * EditCommandColumn.cs: Use a normal LinkButton.
2651 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
2653 * Image.cs: Don't remove GenerateEmptyAlternateText (2.0) from the
2654 viewstate (even if assigned to the default value).
2655 * TableRow.cs: Implement TableSection property (2.0). It has no effect
2656 on the rendering of the table row.
2658 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
2660 * BaseDataList.cs: Added new [Themeable] and [Localizable] attributes
2661 and removed [Bindable] attributes for 2.0.
2662 * DataList.cs: Added new 2.0 attributes on class and removed [Bindable]
2663 attributes (for 2.0).
2664 * DataListCommandEventArgs.cs: Not sealed in 2.0.
2665 * DataListItemEventArgs.cs: Not sealed in 2.0.
2666 * Image.cs: Fixed [Designer] attribute on class and all [Editor]
2667 attributes for URLs.
2668 * Login.cs: Fixed [Designer] attribute on class and all [Editor]
2669 attributes for URLs.
2670 * Table.cs: Fixed [Editor] attribute for 2.0.
2671 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
2672 * TableCell.cs: Fixed [Designer] attribute. Fixed property name for
2673 AssociatedHeaderCellID and it's [DefaultValue] attribute.
2674 * TableHeaderCell.cs: Fix [DefaultValue] attributes for CategoryText
2675 and Scope attributes.
2676 * TableRow.cs: Fixed [Designer] attribute. Added missing [DefaultValue]
2677 on TableSection attribute.
2678 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
2680 2005-08-14 Sebastien Pouliot <sebastien@ximian.com>
2682 * Image.cs: Fixed attributes for 2.0 profile.
2683 * Login.cs: Fixed some attributes and default values.
2684 * Table.cs: Fixed attributes for 2.0 profile. Added protected method
2685 RaisePostBackEvent (TODO) in 2.0 profile.
2686 * TableCell.cs: Fix properties (Bindable, Localizable, Designer...)
2687 and added AssociateHeaderCellID property (TODO).
2688 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
2689 * TableFooterRow.cs: New (2.0). TableRow that always shows on each
2690 page (if the device requires to breaks the table into multiple pages).
2691 This seems to be a "flag" class, the real work will be in Table.
2692 * TableHeaderCell.cs: Added CategoryText and Scope properties for 2.0.
2693 * TableHeaderRow.cs: New (2.0). TableRow that always shows on each
2694 page (if the device requires to breaks the table into multiple pages).
2695 This seems to be a "flag" class, the real work will be in Table.
2696 * TableItemStyle.cs: Remove [Bindable (true)] from 2.0 profile.
2697 * TableRow.cs: Remove [Bindable (true)] from properties and add
2698 [Bindable (false)] and [Designer] on class. Added new TableSection
2700 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
2701 * TableSectionStyle.cs: New (2.0). Add Visible to Style - but it's
2702 broken (int beta2) for IsEmpty, CopyFrom, MergeWith...
2703 * TableStyle.cs: Fixed attributes for 2.0 profile. Added new
2704 FillStyleAttributes method (2.0).
2706 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
2708 * Login.cs: New (2.0). Mostly a stub with copy-n-pasted code and
2709 attributes from existing controls.
2710 * LoginCancelEventArgs.cs: New (2.0). Required to build Login.
2711 * LoginCancelEventHandler.cs: New (2.0). Required to build Login.
2713 2005-08-12 Jackson Harper <jackson@ximian.com>
2715 * TableRow.cs: No AutoID for TableRows.
2717 2005-08-12 Jackson Harper <jackson@ximian.com>
2719 * DataGrid.cs (CreateRenderColumns): If we aren't using data
2720 binding grab the rendercols from the data source columns.
2721 (LoadViewState): Restore the bound columns when reloading the
2723 (InitializeNumericPager): Create elipsised pagers.
2724 (CreateItem): Don't set the item's ID.
2725 (CreateItem): Add the control to the table before it is databound
2726 so that it's value is saved in the viewstate.
2727 (CreateControlHierarchy): Create a fake data source when not using
2728 databinding. Don't add controls to the table as they are added in
2730 (PrepareControlHierarchy): Make footers and header non visible if
2731 they aren't enabled.
2733 2005-08-12 Chris Toshok <toshok@ximian.com>
2735 * CompositeControl.cs (DataBind, Render, get_Controls): the MSDN
2736 docs says these methods/properties "ensure the child controls are
2737 created" -- so call EnsureChildControls() before invoking the base
2740 2005-08-12 Jackson Harper <jackson@ximian.com>
2742 * BoundColumn.cs: Set the controls text instead of adding a
2743 literal control. So it is saved in the controls viewstate.
2745 2005-08-11 Jackson Harper <jackson@ximian.com>
2747 * CheckBoxList.cs: Set the tabindex on the checkbox control and
2748 don't render it on the main table (Setting it to zero causes it to
2749 not be rendered). Also use the invariant culture on the id.
2751 2005-08-11 Dick Porter <dick@ximian.com>
2753 * CheckBox.cs: Let ViewState manage removals; apply styles and
2754 "style" attributes in a surrounding <span>. Fixes unit tests.
2756 2005-08-10 Chris Toshok <toshok@ximian.com>
2758 * Label.cs (LoadViewState): set the Text attribute from our
2759 ViewState (if it exists) to clear out any child controls. Fixes
2760 jsunit test label/label-child-control-postback.aspx.
2762 2005-08-10 Jackson Harper <jackson@ximian.com>
2764 * PagedDataSource.cs: Respect paging with all data source types.
2766 2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
2768 * BaseDataList.cs: Changed Controls property from "virtual new"
2769 (2.0 doc) to "override" (monop) to fix the Visible bug (see
2770 datalist-invisible.aspx). Fixed AddParsedSubObject not to accept
2771 any controls (required due to change to Controls). Implemented
2772 DataBind(bool) for 2.0.
2773 * DataListItem.cs: Fix the multiple table when extractRows is used.
2774 Removed extra span tags by rendering contents (not control). Added
2775 support for IDataItemContainer (2.0).
2777 2005-08-08 Jackson Harper <jackson@ximian.com>
2779 * DataGrid.cs: Apply the styles to each item type.
2781 2005-08-08 Jackson Harper <jackson@ximian.com>
2783 * PagedDataSource.cs: If paging is not enabled keep enumerating to
2784 the end of the list.
2786 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
2788 * BaseDataList.cs: Remove old compatibility stuff.
2789 * DataList.cs: Fix the edit|update for datalist-style-edit.aspx.
2790 * WebControl.cs: Always call CreateControlStyle to create the
2791 ControlStyle. Fix the exception for datalist-style-edit.aspx.
2793 2005-08-05 Jackson Harper <jackson@ximian.com>
2795 * DataGrid.cs: Don't make the current page index a link in the
2798 2005-08-05 Jackson Harper <jackson@ximian.com>
2800 * DataGrid.cs: Honour PagerPosition.
2802 2005-08-05 Jackson Harper <jackson@ximian.com>
2804 * PagedDataSource.cs: Round PageCount properly.
2806 2005-08-05 Dick Porter <dick@ximian.com>
2808 * CheckBox.cs: Shut corcompare up a bit more. Still need to
2809 figure out how to not use AddAttributesToRender to get it
2812 * ButtonColumn.cs: Implement Initialize() and InitializeCell()
2814 * DataGridColumn.cs: Added the duplicate viewstate manipulation
2817 2005-08-05 Chris Toshok <toshok@ximian.com>
2819 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): treat "" as
2820 null when it comes to the format string.
2821 (FormatDataTextValue): same.
2823 2005-08-04 Chris Toshok <toshok@ximian.com>
2825 * BaseValidator.cs (Validate): only test a validator if it's both
2826 enabled and visible.
2828 2005-08-04 Chris Toshok <toshok@ximian.com>
2830 * BaseValidator.cs (AddAttributesToRender): add "enabled" if
2833 2005-08-04 Jackson Harper <jackson@ximian.com>
2835 * DataGrid.cs: Add a new space control for each link. Also make
2836 the link's text 1 indexed. Don't add the space after the last
2839 2005-08-04 Ben Maurer <bmaurer@ximian.com>
2841 * LinkButton.cs: Fix up the test suite here.
2843 * Panel.cs: Fix up nowrap
2845 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
2847 * ListBox.cs: Use WriteXXXX to render HTML, this way it matches MS output
2848 * ListControl.cs: Clear item list before adding data (again)
2850 2005-08-04 Jordi Mas i Hernandez <jordi@ximian.com>
2852 * Calendar.cs: fixes issues with OnDayRender event and others
2854 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
2856 * DataGrid.cs(CreateControlHierarchy): Consider the EditItemIndex when
2858 * ListControl.cs(OnDataBinding): Only apply DataTextFormatString to text
2859 if DataTextField is bound
2860 * EditCommandColumn.cs(InitializeCell): MS inserts a between the
2861 two controls in edit mode, lets do the same
2863 2005-08-03 Jackson Harper <jackson@ximian.com>
2865 * BoundColumn.cs: Respek for the thisExpr when data binding.
2867 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
2869 * EditCommandColumn.cs: No need to offer edit when in edit mode.
2872 2005-08-04 Dick Porter <dick@ximian.com>
2874 * DataGridColumn.cs: New implementation
2877 * DataGridColumnCollection.cs: Set the DataGridColumn's owner
2879 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
2881 * WebControl.cs(CopyBaseAttributes): Use Enabled setter to also
2884 2005-08-03 Ben Maurer <bmaurer@ximian.com>
2886 * RepeatInfo.cs: Finally figured out how to use base control
2888 2005-08-03 Jackson Harper <jackson@ximian.com>
2890 * ButtonColumn.cs: Partial implementation.
2892 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
2894 * DataGridPagerStyle.cs(PageButtonCount): Throw exception on
2897 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
2899 * Calendar.cs: fixes Save/Load state
2901 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
2903 * Calendar.cs: bug fixes
2905 2005-08-03 Jackson Harper <jackson@ximian.com>
2907 * DataGrid.cs: Merge the table style with the render table. Some
2908 initial work on the numeric pager. Remove some debugging code.
2910 2005-08-03 Jackson Harper <jackson@ximian.com>
2912 * BoundColumn.cs: Implement Initialize and InitializeCell. When
2913 Data is formated it uses the DataFormatString that was set at the
2914 time Initialize was called (or null if initialize was never
2917 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
2919 * RadioButtonList.cs: bug fixes
2921 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
2923 * CheckBox.cs, RadioButton.cs: mecanism to avoid exposing
2924 AddAttributesToRender
2925 * RadioButtonList.cs: Implementation
2927 2005-08-01 Jackson Harper <jackson@ximian.com>
2929 * TableStyle.cs: Copy style bit when copying from another style.
2931 2005-08-01 Jackson Harper <jackson@ximian.com>
2933 * PagedDataSource.cs: Implement missing properties, use yield for
2934 the Enumerator methods. Only allow the enums to return one page at
2937 2005-08-01 Chris Toshok <toshok@ximian.com>
2939 * HyperLinkColumn.cs (ItemDataBinding): remove incorrect comment.
2941 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
2943 * WebControl.cs: Track enabled state across sessions
2945 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
2947 * ListControl.cs(OnDatabinding): Value is equivalent to text if
2950 2005-08-01 Jordi Mas i Hernandez <jordi@ximian.com>
2952 * ImageButton.cs: fixes, complete missing parts
2954 2005-07-31 Ben Maurer <bmaurer@ximian.com>
2956 * TextBox.cs: Html encode for multiline text boxes
2958 * HyperLink.cs: Resolve images
2960 2005-07-30 Chris Toshok <toshok@ximian.com>
2962 * BaseValidator.cs: initial version of 2.0 properties
2963 ValidationGroup and SetFocusOnError.
2965 2005-07-30 Chris Toshok <toshok@ximian.com>
2967 * HyperLinkColumn.cs (InitializeCell): clean this up.
2969 2005-07-30 Chris Toshok <toshok@ximian.com>
2971 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): just use
2972 DataBinder.FormatResult.
2973 (FormatDataTextValue): same.
2974 (Initialize): call base.Initialize.
2975 (ItemDataBinding): new function, get the text/navigateurl and set
2976 them on our HyperLink control.
2977 (InitializeCell): create a hyperlink control in the
2978 Item/EditItem/AlternatingItem case.
2980 2005-07-30 Ben Maurer <bmaurer@ximian.com>
2982 * RepeatInfo.cs: Handle 0 items situations correctly
2984 * HyperLink.cs: Resolve urls correctly
2986 * CheckBox.cs: use the correct ID for the label element.
2988 * Label.cs: Correct AddParsedSubObject impl. See FAQ
2990 2005-07-29 Chris Toshok <toshok@ximian.com>
2992 * BaseCompareValidator.cs (GetDateElementOrder): implement.
2994 2005-07-29 Chris Toshok <toshok@ximian.com>
2996 * BaseCompareValidator.cs (GetFullYear): implement two ways. The
2997 #if'ed out version follows microsoft's docs on msdn, but doesn't
2998 match ms's behavior. The other matches their behavior but not
2999 their docs. we use the latter. go figure.
3000 (get_CutoffYear): implement using
3001 CultureInfo.CurrentCulture.Calendar.TwoDigitYearMax.
3003 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
3006 - Name property now throws exception when set to null
3007 - Names now handles situation where our bit tells us we have
3008 a font, but it's not in the StateBag (null removal)
3009 * RangeValidator.cs: Removed unused vars
3011 2005-07-29 Ben Maurer <bmaurer@ximian.com>
3013 * Label.cs: ClientID should be used rather than UniqueID to get
3016 2005-07-29 Chris Toshok <toshok@ximian.com>
3018 * BaseValidator.cs (Validatate): not sure if this is entirely
3019 correct (some fairly deep testing required), but setting Enabled =
3020 false has the effect of setting IsValid = true.
3022 2005-07-29 Ben Maurer <bmaurer@ximian.com>
3024 * RadioButton.cs: The "remove from groupstate" isn't needed any
3025 more, now that statebag is correct.
3027 2005-07-29 Dick Porter <dick@ximian.com>
3029 * RadioButton.cs: Hide nonstandard API; remove GroupName from the
3030 ViewState when it is null.
3032 * CheckBox.cs: Hide nonstandard API
3034 2005-07-29 Jordi Mas i Hernandez <jordi@ximian.com>
3036 * Calendar.cs: fixes exceptions, bug fixes, new features
3037 * SelectedDatesCollection.cs: Fixes bugs discovered by the tests
3038 * CalendarDay.cs: fixes default value
3040 2005-07-28 Ben Maurer <bmaurer@ximian.com>
3042 * CompositeControl.cs: Stub
3044 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
3046 * EditCommandColumn.cs: Implemented
3048 2005-07-27 Chris Toshok <toshok@ximian.com>
3050 * RegularExpressionValidator.cs (EvaluateIsValid): "" is valid.
3052 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
3054 * CustomValidator.cs: Bug fixes (Thanks to Chris for creating the
3057 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
3059 * DataGrid.cs: DataGridPagerStyle does not need DataGrid as argument
3060 for it's constructor, so remove it
3061 * DataGridPagerStyle.cs: Removed DataGrid argument from constructor
3063 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
3065 * DataGridPagerStyle.cs: Implemented
3066 * TableItemStyle.cs (MergeWith): Now only sets style bits it owns
3067 * Style.cs: Added Styles enum values for DataGridPagerStyle
3069 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
3071 * Calendar.cs: get the styles right, honors more properties, fixes, fix
3074 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
3076 * DataGridItem.cs: Implemented
3078 2005-07-26 Chris Toshok <toshok@ximian.com>
3080 * LinkButton.cs (AddParsedSubObject): reversed the order of
3081 Controls.Add() and Text = null
3082 (set_Text): call Controls.Clear()
3083 (RenderContents): use HasControls() for the if test instead of
3086 * HyperLink.cs (AddParsedSubObject): reversed the order of
3087 Controls.Add () and Text = null;
3089 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
3091 * DataGridItemCollection.cs: Implemented
3093 2005-07-26 Chris Toshok <toshok@ximian.com>
3095 * LinkButton.cs (AddParsedSubObject): copy implementation from
3097 (RenderContents): only call writer.Write(Text) if Text != "".
3098 Otherwise default to base.RenderContents.
3100 2005-07-26 Chris Toshok <toshok@ximian.com>
3102 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
3103 ImageButton.cs, LinkButton.cs (AddAttributesToRender): add if
3104 (Page != null) around my last commit.
3106 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
3108 * FontInfo.cs, CheckBox.cs, RadioButton.cs, ListItemCollection.cs:
3109 Fixed use of literal strings, instead using Consts
3110 * Xml.cs, RegularExpressionValidator.cs, TemplateColumn.cs,
3111 TextBox.cs, RequiredFieldValidator.cs, Repeater.cs, RepeaterItem.cs,
3112 Panel.cs, Literal.cs: Added attributes
3113 * BaseValidator.cs: Added missing override
3115 2005-07-26 Chris Toshok <toshok@ximian.com>
3117 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
3118 ImageButton.cs, LinkButton.cs (AddAttributesToRender): call
3119 Page.VerifyRenderingInServerFormHere.
3121 2005-07-26 Chris Toshok <toshok@ximian.com>
3123 * BaseValidator.cs: remove some MonoTODO's about the client side
3126 2005-07-26 Jordi Mas i Hernandez <jordi@ximian.com>
3128 * Calendar.cs: selection of dates, state load, save, track, support
3129 for new properties, many fixes.
3131 2005-07-26 Miguel de Icaza <miguel@novell.com>
3133 * Style.cs: Temporary methods to help buliding .NET 2.x
3135 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
3137 * BaseValidator.cs: Added AssociateControlID (new in sp1), fixed
3139 * Xml.cs: Fixed base class, attributes
3140 * Button.cs, DataGridColumnCollection.cs, HyperLinkColumn.cs,
3141 Label.cs, ListItem.cs, ListControl.cs, CustomValidator.cs,
3142 CheckBoxList.cs, AdRotator.cs, DropDownList.cs, HyperLink.cs,
3143 DataGrid.cs, ButtonColumn.cs, CompareValidator.cs, Calendar.cs,
3144 ListBox.cs, ImageButton.cs, LinkButton.cs: Attribute fixes
3146 2005-07-25 Ben Maurer <bmaurer@ximian.com>
3148 * RepeatInfo.cs: WOOHOOO! all tests pass. Boy is this class
3151 2005-07-25 Ben Maurer <bmaurer@ximian.com>
3153 * RepeatInfo.cs: If the repeater has one column, the separators
3154 are rendered on a different line
3156 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
3158 * DataGridSortCommandEventArgs: Sealed class
3159 * ButtonColumn.cs, Calendar.cs: Added Attributes
3161 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
3163 * Button.cs, Style.cs, BaseCompareValidator.cs, RangeValidator.cs,
3164 BaseValidator.cs, AdRotator.cs, BoundColumn.cs: Added Attributes
3166 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
3168 * FontInfo.cs, Style.cs, RangeValidator.cs, ListItemCollection.cs,
3169 DropDownList.cs, WebControl.cs, ValidationSummary.cs: Added Attributes
3171 2005-07-25 Chris Toshok <toshok@ximian.com>
3173 * ValidationSummary.cs (AddAttributesToRender): add client side
3175 (OnPreRender): set the "been here" flag.
3176 (Render): add client side support.
3178 2005-07-25 Ben Maurer <bmaurer@ximian.com>
3180 * RepeatInfo.cs: Split the horiz and vertical cases, because this
3181 class has rules that are beyond strange. Continue working to make
3184 2005-07-25 Ben Maurer <bmaurer@ximian.com>
3186 * RepeatInfo.cs: Misc fixes for my test suite.
3188 2005-07-25 Jackson Harper <jackson@ximian.com>
3190 * DataGrid.cs: Set the command name and args on the link buttons.
3192 2005-07-25 Jackson Harper <jackson@ximian.com>
3194 * DataGrid.cs: Lots o implementation.
3196 2005-07-25 Jackson Harper <jackson@ximian.com>
3198 * BoundColumn.cs: Partial implementation to get the DataGrid tests
3201 2005-07-23 Jordi Mas i Hernandez <jordi@ximian.com>
3203 * Button.cs: fixes events, adds attributes
3205 2005-07-23 Chris Toshok <toshok@ximian.com>
3207 * BaseValidator.cs (GetControlValidateValue): handle ListItems as
3208 prop.GetValue results.
3209 (Render): fix the static non-uplevel case, so that we display text
3210 when there's an error.
3212 2005-07-22 Chris Toshok <toshok@ximian.com>
3214 * RegularExpressionValidator.cs (AddAttributesToRender): only
3215 output ValidationExpression if it's != null.
3217 2005-07-22 Chris Toshok <toshok@ximian.com>
3219 * BaseValidator.cs (AddAttributesToRender): fix up the Display
3220 rendering such it matches MS's output.
3221 (Render): stop using the huge complicated if's for each output
3222 stage and move to boolean flags, and fix the static-nonuplevel
3223 case, where a validator outputs as nothing but
3225 2005-07-22 Jordi Mas i Hernandez <jordi@ximian.com>
3226 * Calendar.cs: Initial implementation
3227 * CalendarSelectionMode.cs: fix enum order
3229 2005-07-22 Sebastien Pouliot <sebastien@ximian.com>
3231 * DataList.cs: Rewrote the IRepeatInfoUser.RenderItem to support all
3232 (or more?) specific cases - including correct support for separators.
3233 Added some (commented) debugging code.
3234 * HyperLink.cs: Only render href and target attributes if they're not
3235 empty. Add "border=0" when rendering <img> tag. Fix Target default
3238 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
3240 * Style.cs (CopyFrom): Reset must go, MS doesn't do it (See tests)
3242 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
3244 * Style.cs (CopyFrom): Reset our styles and don't set bits from
3245 target explicitly, properties will set them
3247 2005-07-22 Dick Porter <dick@ximian.com>
3250 * ButtonColumn.cs: Initial stubs
3252 2005-07-22 Dick Porter <dick@ximian.com>
3255 * CheckBox.cs: Add assembly attributes
3257 2005-07-22 Ben Maurer <bmaurer@ximian.com>
3259 * HyperLink.cs: Handle non-literal children.
3261 2005-07-21 Ben Maurer <bmaurer@ximian.com>
3263 * Label.cs: SP1 stuff
3265 2005-07-21 Chris Toshok <toshok@ximian.com>
3267 * BaseValidator.cs (RegisterValidatorCommonScript): remove the NS4
3268 stuff that I c&p'ed from elsewhere - NS4 doesn't support the DOM1
3269 stuff WebUIValidation.js uses, so we don't support it for uplevel
3272 2005-07-21 Chris Toshok <toshok@ximian.com>
3274 * BaseValidator.cs (DetermineRenderUplevel): include checks for
3275 the EcmaScriptVersion and W3CDomVersion.
3277 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
3279 * BaseDataList.cs: Support IEnumerable.
3280 * DataList.cs: Fix alternate items.
3281 * TableCell.cs: Fixed AddParsedSubObject to work nicely with existing
3282 controls and the Text property.
3284 2005-07-21 Ben Maurer <bmaurer@ximian.com>
3286 * TextBoxMode.cs: Wrong ordering of enum...
3288 2005-07-21 Chris Toshok <toshok@ximian.com>
3290 * BaseValidator.cs (OnPreRender): call DetermineRenderUplevel and
3293 2005-07-21 Chris Toshok <toshok@ximian.com>
3295 * BaseValidator.cs (get_PropertiesValid): use our containing
3296 NamingContainer, not ourselves, to look up controls.
3297 (CheckControlValidationProperty): same.
3298 (GetControlRenderID): same.
3299 (GetControlValidationValue): same.
3300 (AddAttributesToRender): add the display style attribute if
3301 Display != Static, and add the value of IsValid if it's false.
3302 (DetermineRenderUplevel): use a try block around (Page.Request)
3303 since that can raise an exception.
3304 (OnPreRender): set pre_render_called, so we can consult it in
3306 (Render): complicate this method more to handle more of the
3307 Display/pre_render_called permutations.
3309 2005-07-21 Peter Dennis Bartok <pbartok@novell.com>
3311 * CustomValidator.cs: Initial implementation, still work in progress
3313 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
3315 * DataList.cs: Fix rendering for special items (-1).
3317 2005-07-21 Ben Maurer <bmaurer@ximian.com>
3319 * RepeatInfo.cs: Fix most of the tests.
3321 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
3323 * Image.cs: Call ResolveUrl for ImageUrl and DescriptionUrl properties.
3324 Add a border=0 attribute if no style is defined.
3325 * TableCell.cs: Use HtmlTextWriterTag (not a string).
3326 * TableHeaderCell.cs: Use HtmlTextWriterTag (not a string).
3327 * TableRow.cs: Use HtmlTextWriterTag (not a string).
3329 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
3331 * BaseDataList.cs: Fix attributes.
3332 * HorizontalAlign.cs: Fix attributes.
3333 * Image.cs: Fix attributes and enums checks.
3334 * Table.cs: Fix attributes an enums checks.
3335 * TableCell.cs: Fix attributes.
3336 * TableCellCollection.cs: Fix attributes.
3337 * TableItemStyle.cs: Fix attributes and enums checks.
3338 * TableRowCollection.cs: Fix attributes.
3339 * TableRow.cs: Fix attributes.
3340 * TableStyle.cs: Fix attributes and enums checks.
3341 * VerticalAlign.cs: Fix attributes.
3343 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
3345 * BaseDataList.cs: Remove/#if-out useless/2.0 stuff.
3346 * DataList.cs: Added rendering support when ExtractTemplatesRows
3347 property is true (but RepeatInfo needs to be fixed to see it works).
3348 * DataListItem.cs: Added rendering support when extractRows parameter
3349 is true (but RepeatInfo still needs to be fixed ;-)
3351 2005-07-21 Duncan Mak <duncan@novell.com>
3353 * HyperLinkColumn.cs: Initial implementation.
3354 Todo: Figure out Initialize and InitializeCell.
3356 2005-07-20 Chris Toshok <toshok@ximian.com>
3358 * BaseValidator.cs: don't use Page.FindControl, use this Control's
3359 FindControl, so it'll use the same naming container.
3361 2005-07-21 Duncan Mak <duncan@novell.com>
3363 * DataGridCommandEventArgs.cs:
3364 * DataGridPageChangedEventArgs.cs:
3365 * RepeaterCommandEventArgs.cs: Fixed visibility.
3367 * DataGridPageChangedEventArgs.cs (CommandSource): Fixed typo.
3368 * DataGridSortCommandEventArgs.cs (CommandSource): Ditto..
3370 2005-07-20 Chris Toshok <toshok@ximian.com>
3372 * Button.cs: hook up the client side validation stuff.
3374 * ImageButton.cs: same.
3376 * LinkButton.cs: same, although it's a little more complicated
3379 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
3382 - Implemented RaisePostDataChangedEvent()
3383 - Spewing postback command if AutoPostBack is true
3385 2005-07-20 Chris Toshok <toshok@ximian.com>
3387 * BaseValidator.cs: another Page != null check when uplevel
3390 2005-07-20 Chris Toshok <toshok@ximian.com>
3392 * BaseValidator.cs: check Page != null when determining if we're
3393 rendering uplevel or not.
3395 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
3397 * ListItemCollection.cs: Removed obsolete method that's no longer
3400 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
3402 * DropDownList.cs: Oops. Forgot to implement LoadPostData
3403 * ListItemCollection.cs: Added convenience method to have faster
3406 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
3409 - Automatically select the first item if none are selected
3410 - Throw exception if more than one item is selected
3412 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
3414 * DataList.cs: Fix style handling for RepeatLayout.Flow (which isn't
3415 handled by RepeatInfo).
3417 2005-07-20 Jackson Harper <jackson@ximian.com>
3419 * DataGrid.cs: Store the data source created columns in a
3420 DataGridColumnCollection. This way they can be put in the
3421 view state more easily, and accessed without casting.
3423 2005-07-20 Chris Toshok <toshok@ximian.com>
3425 * BaseValidator.cs (AddAttributesToRender): render the client side
3426 attributes if we're in uplevel mode.
3427 (DetermineRenderUplevel): flesh out a bit - for now basically
3428 return true unless the control has it disabled.
3429 (OnInit): only add the validator to Page's list if there is, in
3431 (OnUnload): same for removal.
3432 (OnPreRender): hook up client scripting stuff here. Only the call
3433 to RegisterValidatorCommonScript is a for sure thing here, the
3434 registering of the submit statement and startup script should
3435 probably go elsewhere, but I don't know where.
3436 (RegisterValidatorCommonScript): register the <script
3437 src=".../WebUIValidation.js"> tag, if it's not already there.
3438 (RegisterValidatorDeclaration): add our span object to the
3439 Page_Validators JS array.
3440 (Render): always render the tags (although this is probably not
3441 right), and call RegisterValidatorDeclaration here.
3443 * BaseCompareValidator.cs (AddAttributesToRender): render the
3444 client side attributes if we're in uplevel mode.
3445 (DetermineRenderUplevel): add MonoTODO.. why override this? Just
3446 call base.DetermineRenderUplevel for now.
3448 * RegularExpressionValidator.cs (AddAttributesToRender): render
3449 the client side attributes if we're in uplevel mode.
3451 * RequiredFieldValidator.cs (AddAttributesToRender): same.
3453 * CompareValidator.cs (AddAttributesToRender): same.
3455 2005-07-20 Jackson Harper <jackson@ximian.com>
3457 * DataGrid.cs: Save the data source created column set in the
3460 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
3462 * DataList.cs: Fix events and properties exceptions. Give the right
3463 informations to RenderItem.
3465 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
3467 * ValidationSummary.cs: Implemented rendering
3469 2005-07-20 Jackson Harper <jackson@ximian.com>
3471 * DataGrid.cs: column names are cached and only regenerated if useDataSource
3472 is set to true. Otherwise they are just fetched from the last set that
3473 was generated from the source.
3475 2005-07-20 Jackson Harper <jackson@ximian.com>
3477 * DataGrid.cs: Assign some properties of newly created BoundColumns.
3479 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
3481 * DataList.cs: Fix viewstate ordering.
3483 2005-07-20 Ben Maurer <bmaurer@ximian.com>
3485 * SelectedDatesCollection.cs: Apprarently, I don't write code well
3488 * Repeater.cs: Uh, actually add stuff to the items collection
3491 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
3493 * BaseDataList.cs: EnsureChildControls on Controls property.
3494 * DataList.cs: Fix rendering and Controls/Items differences.
3495 * DataListItem.cs: Added rendering of controls.
3497 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
3499 * BaseDataList.cs: Don't call base.Render (or we'll get an extra span).
3501 2005-07-20 Jackson Harper <jackson@ximian.com>
3503 * DataGrid.cs: Add some of the collections. Implement
3506 2005-07-20 Jackson Harper <jackson@ximian.com>
3508 * PagedDataSource.cs: Implement GetItemProperties, this is
3509 needed for the datagrid.
3511 2005-07-20 Ben Maurer <bmaurer@ximian.com>
3513 * DataGridColumnCollection.cs: New impl
3515 * TemplateColumn.cs: New impl
3517 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
3519 * BaseDataList.cs: Call PrepareControlHierarchy from Render.
3520 * DataList.cs: Work in progress... Added attributes, proper
3521 IRepeatInfoUser support and cool things stolen from other classes.
3522 * DataListCommandEventArgs.cs: Class is sealed.
3523 * DataListItem.cs: RenderItem is public.
3525 2005-07-19 Jackson Harper <jackson@ximian.com>
3527 * ListControl.cs: Use Events Add/RemoveHandler. Don't create
3528 a viewstate object if all the viewstate stuff is null.
3530 2005-07-19 Jackson Harper <jackson@ximian.com>
3532 * DataGrid.cs: Implement style properties and viewstate
3533 saving/loading/tracking.
3535 2005-07-19 Chris Toshok <toshok@ximian.com>
3537 * BaseValidator.cs: more fixes from pdb.
3539 2005-07-19 Chris Toshok <toshok@ximian.com>
3541 * BaseValidator.cs: some test-driven fixes.
3543 2005-07-19 Chris Toshok <toshok@ximian.com>
3545 * BaseValidator.cs: Initial implementation.
3547 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
3549 * Repeater.cs: Fix small typo.
3551 2005-07-19 Peter Dennis Bartok <pbartok@novell.com>
3553 * ValidationSummaryTest.cs: Started implementation
3554 * RangeValidator.cs: Implemented
3555 * ValidatedControlConverter.cs: Implemented
3556 * DropDownList.cs: Implemented
3558 2005-07-19 Jackson Harper <jackson@ximian.com>
3560 * DataGrid.cs: Implement bubble event.
3562 2005-07-19 Jackson Harper <jackson@ximian.com>
3564 * DataGrid.cs: New implementation. Just properties and events for
3567 2005-07-18 Chris Toshok <toshok@ximian.com>
3569 * BaseCompareValidator.cs: Initial implementation, with some NYI.
3571 2005-07-19 Ben Maurer <bmaurer@ximian.com>
3573 * FontUnit.cs: Corcompare fixes
3575 * UnitConverter.cs: Fix api diffs
3577 2005-07-18 Ben Maurer <bmaurer@ximian.com>
3579 * ListControl.cs: Fix api differences
3581 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
3583 * Table.cs: Fix indentation for caption. Simplify check when adding
3585 * TableRow.cs: Simplify check when adding controls.
3587 2005-07-18 Chris Toshok <toshok@ximian.com>
3589 * CompareValidator.cs: wtf, just use the base class's methods.
3591 2005-07-18 Chris Toshok <toshok@ximian.com>
3593 * CompareValidator.cs: do comparisons based on
3594 BaseCompareValidator.Type.
3596 2005-07-18 Chris Toshok <toshok@ximian.com>
3598 * CompareValidator.cs: initial implementation.
3600 2005-07-18 Chris Toshok <toshok@ximian.com>
3602 * RegularExpressionValidator.cs: initial implementation.
3604 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
3606 * DataList.cs: Fixed to match 1.1 behaviour (and new unit tests).
3608 2005-07-18 Jackson Harper <jackson@ximian.com>
3610 * CheckBoxList.cs: Implement LoadPostBackData. Also register
3611 checkboxes for postback if they are checked so we can find
3612 out when they are unchecked. Copy the AutoPostBack variable
3613 to the to be rendered checkbox when rendering.
3615 2005-07-18 Ben Maurer <bmaurer@ximian.com>
3617 * TextBox.cs: Finish this up.
3619 * AdRotator.cs: Fix issues in the test suite. Minor style
3622 * Repeater.cs: Fix a bug where the datasource is null and we do
3625 * WebColorConverter.cs: Optimize by not doing a concat on a
3628 2005-07-17 Ben Maurer <bmaurer@ximian.com>
3630 * ListItemCollection.cs: Multiple uses of equals rather than
3631 string.compare as below. Remove unreachable code warning.
3633 * WebColorConverter.cs (ConvertTo): Use the == operator on string
3634 rather than an invariant non-case ignoring compare. They are
3635 exactly the same thing. Use proper coding style in this method.
3637 * WebControl.cs: Return null when saving the view state if there
3638 is no state in any of the things we save. This creates a fairly
3639 large savings, because we can avoid saving anything about many
3640 levels of deaply nested controls.
3642 2005-07-15 Jackson Harper <jackson@ximian.com>
3644 * CheckBoxList.cs: Use the index as the ID, the rest of the
3645 id is built by being in the NamingContainer.
3647 2005-07-15 Jackson Harper <jackson@ximian.com>
3649 * ListControl.cs: Use enum instead of string. Saves a lookup.
3651 2005-07-15 Jackson Harper <jackson@ximian.com>
3653 * CheckBoxList.cs: FindControl always returns 'this' according
3656 2005-07-15 Jackson Harper <jackson@ximian.com>
3658 * CheckBoxList.cs: New impl.
3660 2005-07-15 Jackson Harper <jackson@ximian.com>
3662 * WebControl.cs: Use the ClientID when rendering a controls ID
3663 attribute so that naming containers are honoured.
3665 2005-07-15 Jackson Harper <jackson@ximian.com>
3667 * ListControl.cs: use the state manager interface for tracking
3670 2005-07-15 Ben Maurer <bmaurer@ximian.com>
3672 * Repeater.cs (DoItem): Add the DataItem before we call user
3673 methods, as it seems to be there with msft.
3675 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
3677 * BaseDataList.cs: New. (mostly complete) implementation.
3678 * DataKeyCollection.cs: New. Implementation (complete).
3679 * DataList.cs: New. (mostly incomplete) implementation.
3680 * DataListItem.cs: New. (mostly complete) implementation.
3681 * DataListItemCollection.cs: New. Implementation (complete).
3683 2005-07-15 Ben Maurer <bmaurer@ximian.com>
3685 * Repeater.cs (DoItem): We need to .Add the control *before* we
3686 data bind it so that the state gets tracked correctly. Fixes the
3689 2005-07-15 Jackson Harper <jackson@ximian.com>
3691 * ListControl.cs: Simplify comparison.
3693 2005-07-15 Jackson Harper <jackson@ximian.com>
3696 * Repeater.cs: Use new utility class for resolving data sources.
3698 2005-07-15 Jackson Harper <jackson@ximian.com>
3700 * ListControl.cs: Add attributes so the sub items get parsed
3701 properly. Remove old unneeded code for resolving lists.
3703 2005-07-15 Jackson Harper <jackson@ximian.com>
3705 * ListControl.cs: Use the DataSourceHelper so DataMembers are
3708 2005-07-14 Ben Maurer <bmaurer@ximian.com>
3711 - Some optimizations
3712 * Don't use enum formatting stuff, it is 1) expensive 2) does
3713 allocations. Use a new method in HtmlControl to do the right
3715 * Don't use Enum.IsDefined but an explicit check.
3716 * (x == "" || x.Length < 2) is not needed since "".Length == 0 < 2
3717 - Use the correct coding style.
3719 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
3721 * WebColorConverter.cs:
3722 - Alpha of 255 is only set if the hex number is exactly 6 digits
3723 - Ben didn't like the catch { throw; } (even though MS documents to
3725 - Use Invariant Culture for parsing (thanks, Ben)
3727 2005-07-14 Jackson Harper <jackson@ximian.com>
3729 * ListControl.cs: Use DataBinder.Eval for data binding. This is more
3730 code-reuse-arific. Also use the IStateManager interface for loading
3731 data instead of the old internal method.
3733 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
3735 * WebColorConverter.cs: Implemented
3737 2005-07-14 Ben Maurer <bmaurer@ximian.com>
3739 * Repeater.cs: Cleanup; use the DataSourceHelper thingy.
3741 2005-07-14 Ben Maurer <bmaurer@ximian.com>
3743 * Repeater.cs: Get it working
3745 2005-07-14 Jackson Harper <jackson@ximian.com>
3747 * ListControl.cs: Initial implementation of Databinding. Make sure
3748 that the ListItemCollection is created when we load its ViewState.
3750 2005-07-14 Jackson Harper <jackson@ximian.com>
3752 * ListControl.cs: Fix typo.
3754 2005-07-14 Jackson Harper <jackson@ximian.com>
3756 * ListControl.cs: New Implementation. Lacks databinding support.
3758 2005-07-14 Ben Maurer <bmaurer@ximian.com>
3760 * Repeater.cs: The beginnings of this control
3762 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
3764 * TargetConverter.cs: Implemented
3766 2005-07-14 Duncan Mak <duncan@novell.com>
3768 * PagedDataSource.cs: Initial implementation.
3770 Methods that need to be figured out:
3771 CopyTo, GetItemProperties, PageCount, IsLastPage.
3773 To complete: CollectionEnumerator, ListEnumerator.
3775 2005-07-13 Duncan Mak <duncan@novell.com>
3777 * RepeatDirection.cs:
3779 * ValidationCompareOperator.cs:
3780 * ValidationDataType.cs:
3781 * ValidationSummaryDisplayMode.cs:
3782 * ValidatorDisplay.cs: Added remaining enumerations.
3784 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
3786 * FontNamesConverter.cs: Implemented
3788 2005-07-13 Ben Maurer <bmaurer@ximian.com>
3790 * RepeaterItem.cs: Compile fix
3792 * RepeaterItemCollection.cs: New file
3794 * RepeaterItem.cs: get OnBubbleEvent right.
3796 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
3798 * ListItemCollection.cs: Count can be derived from the array, which
3799 allows us to use a Pair instead of a Triplet and save some space
3801 2005-07-13 Ben Maurer <bmaurer@ximian.com>
3803 * RepeaterItem.cs: Stub
3805 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
3807 * ListItemCollection.cs: Implemented
3808 * WebControl.cs: Added check for enumeration validity (thanks Jackson)
3810 2005-07-13 Ben Maurer <bmaurer@ximian.com>
3812 * RepeatInfo.cs: Impl.
3814 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
3816 * FirstDayOfWeek.cs: Added
3818 2005-07-13 Jackson Harper <jackson@ximian.com>
3820 * ListBox.cs: Some parameter checking.
3822 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
3824 * Image.cs: Added support for DescriptionUrl as this property was
3825 added in Fx 1.1 SP1.
3827 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
3829 * Style.cs (AddAttributesToRender): Don't render attributes if they
3830 contain only their default value
3832 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
3834 * Table.cs: New. Initial re-implementation.
3835 * TableCell.cs: New. Initial re-implementation.
3836 * TableCellCollection.cs: New. Initial re-implementation.
3837 * TableHeaderCell.cs: New. Initial re-implementation.
3838 * TableItemStyle.cs: New. Initial re-implementation.
3839 * TableRow.cs: New. Initial re-implementation.
3840 * TableRowCollection.cs: New. Initial re-implementation.
3841 * TableStyle.cs: New. Initial re-implementation.
3843 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
3845 * Style.cs: Removed the call to Reset in CopyFrom. This fix the new
3846 unit tests (for Style) and more tests in Table* classes.
3848 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
3850 * Style.cs: TableStyle and TableItemStyle don't override IsEmpty,
3851 however IsEmpty returns false if any of their properties are set.
3852 Looks ugly but it's compatible with MS implementation (feature and
3855 2005-07-13 Dick Porter <dick@ximian.com>
3857 * CheckBox.cs: Reverted Ben's enum-to-int ViewState change, remove
3858 null Text properties from the ViewState, test for TextAlign being
3859 out of range. All to make tests pass on both mono and ms
3862 2005-07-13 Jackson Harper <jackson@ximian.com>
3864 * ListBox.cs: Use invariant culture when doing a ToString,
3865 set value to the item's value, not to its Text.
3867 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
3869 * WebControl.cs (AddAttributesToRender): Added ID to rendered
3872 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
3874 * Style.cs(MergeWith): Handle null styles
3876 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
3878 * TableCaptionAlign.cs: This enum was added in 1.1 SP1 so I removed
3879 the #if NET_2_0 on it.
3881 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
3883 * Style.cs: Only render font elements if fontinfo object exists
3885 - Implemented SaveViewState()
3886 - Added loading of Style to LoadViewState
3887 - Implemented IAttributeAccessor methods
3889 2005-07-12 Jackson Harper <jackson@ximian.com>
3891 * ListBox.cs: Even track default values in the viewstate. Call
3892 base's RenderContents.
3894 2005-07-12 Jackson Harper <jackson@ximian.com>
3896 * ListBox.cs: New impl.
3898 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
3901 - Implemented methods
3904 2005-07-12 Ben Maurer <bmaurer@ximian.com>
3906 * ListItem.cs: New impl.
3908 2005-07-12 Duncan Mak <duncan@novell.com>
3910 * DayNameFormat.cs: Added.
3912 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
3914 * WebControl.cs: Implemented properties
3916 2005-07-12 Ben Maurer <bmaurer@ximian.com>
3918 * TextBox.cs: Passwords seem 1) not to be rendered to the client
3919 if set, 2) not kept in view state (for security reasons...)
3922 * Button.cs: Page.Validate () if needed. Gets the validator tests
3925 * TextBox.cs: Properties to get the validator stuff to work.
3927 2005-07-12 Miguel de Icaza <miguel@novell.com>
3929 * Unit.cs: If the units are pixels, then truncate the value.
3931 2005-07-12 Dick Porter <dick@ximian.com>
3933 * RadioButton.cs: New implementation
3935 * CheckBox.cs: Rearrange the attributes rendering to allow
3936 RadioButton to derive from this
3938 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
3940 * TitleFormat.cs: Add attribute
3941 * TextBoxMode.cs: Add attribute
3942 * CalendarDay.cs: Initial implementation
3943 * ImageButton.cs: Initial implementation
3944 * CalendarSelectionMode.cs:Initial implementation
3946 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
3948 * TextBoxMode.cs: simple enum
3949 * TitleFormat.cs: simple enum
3951 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
3953 * FontInfo.cs: Now using BenM's fancy internal StateBag methods
3955 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
3957 * FontUnit.cs: Added TypeConverter attribute to class
3958 * FontUnitConverter.cs: Implemented
3960 2005-07-11 Ben Maurer <bmaurer@ximian.com>
3963 * Button.cs: Bubble the Command event.
3965 2005-07-11 Ben Maurer <bmaurer@ximian.com>
3968 - Clean up style (with my wonderful state bag hack!)
3969 - Fix a view state typo.
3970 - Use AddAttributesToRender
3971 - Don't add an extra <span>
3973 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
3975 * Style.cs: Handle null constructor argument for bag
3977 2005-07-11 Dick Porter <dick@ximian.com>
3979 * CheckBox.cs: New implementation
3981 * RadioButton.cs: Initial stubbed version that just compiles
3983 2005-07-10 Jordi Mas i Hernandez <jordi@ximian.com>
3985 * Button.cs: Initial Button implementation
3987 2005-07-10 Sebastien Pouliot <sebastien@ximian.com>
3989 * VerticalAlign.cs: Fixed enum name (copy/paste from HorizontalAlign).
3991 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
3993 * HorizontalAlign.cs: Typo in header.
3994 * VerticalAlign.cs: New. Required enum for TableRow control.
3996 2005-07-09 Ben Maurer <bmaurer@ximian.com>
3998 * TextBox.cs: More work on this
4000 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
4002 * GridLines.cs: New. Required enum for Table control.
4003 * HorizontalAlign.cs: New. Required enum for Table control.
4005 2005-07-09 Duncan Mak <duncan@novell.com>
4007 * CommandEventHandler.cs:
4008 * DataGridCommandEventHandler.cs:
4009 * DataGridItemEventHandler.cs:
4010 * DataGridPageChangedEventHandler.cs:
4011 * DataGridSortCommandEventHandler.cs:
4012 * DataListCommandEventHandler.cs:
4013 * DayRenderEventHandler.cs:
4014 * RepeaterCommandEventHandler.cs:
4015 * ServerValidateEventHandler.cs: Add delegates.
4018 * ListSelectionMode.cs:
4019 * NextPrevFormat.cs:
4021 * PagerPosition.cs: Add enums.
4023 2005-07-09 Ben Maurer <bmaurer@ximian.com>
4025 * TextBox.cs: Add the work I did on this today. It's not complete
4026 yet, but its a start!
4028 2005-07-09 Duncan Mak <duncan@novell.com>
4030 * CommandEventArgs.cs:
4031 * DataGridCommandEventArgs.cs:
4032 * DataGridItemEventArgs.cs:
4033 * DataGridPageChangedEventArgs.cs:
4034 * DataGridSortCommandEventArgs.cs:
4035 * DataListCommandEventArgs.cs:
4036 * DataListItemEventArgs.cs:
4037 * DayRenderEventArgs.cs:
4038 * RepeaterCommandEventArgs.cs:
4039 * RepeaterItemEventArgs.cs:
4040 * ServerValidateEventArgs.cs: Implemented.
4042 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
4044 * Image.cs: New. Image class implementation.
4045 * ImageAlign.cs: New. ImageAlign enum definitions.
4047 2005-07-08 Jackson Harper <jackson@ximian.com>
4049 * Literal.cs: New implentation.
4050 * MonthChangedEventArgs.cs: new
4051 * MonthChangedEventHandler.cs: new
4053 2005-07-08 Ben Maurer <bmaurer@ximian.com>
4055 * LinkButton.cs: Command impl
4057 2005-07-08 Ben Maurer <bmaurer@ximian.com>
4059 * LinkButton.cs: Initial impl
4061 2005-07-08 Jackson Harper <jackson@ximian.com>
4063 * AdCreatedeventArgs.cs: New implementation.
4065 2005-07-08 Dick Porter <dick@ximian.com>
4068 * BorderStyle.cs: Added
4070 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
4072 * FontInfo.cs: Fixed behaviour discrepancies showed by tests
4074 2005-07-07 Miguel de Icaza <miguel@novell.com>
4076 * Xml.cs: New implementation. R00lz.
4078 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
4080 * FontInfo.cs: Added and implemented.
4081 * Style.cs: Fixed behaviour discrepancies showed by tests
4083 2005-07-07 Ben Maurer <bmaurer@ximian.com>
4085 * PlaceHolderControlBuilder.cs: new file
4087 * LabelControlBuilder.cs: New file
4089 * HyperLink.cs: use control builder; fix parsing stuff
4091 * HyperLinkControlBuilder.cs: new file
4093 * Panel.cs: misc fixes
4095 2005-07-07 Miguel de Icaza <miguel@novell.com>
4097 * Unit.cs: Add TypeConverter, so that web_panel.aspx works again.
4099 * UnitConverter.cs: Add new file, learned from the
4100 System.Drawing.ColorConverter.
4102 2005-07-07 Ben Maurer <bmaurer@ximian.com>
4104 * PlaceHolder.cs: New file. Seems to do nothing
4106 * Label.cs: Use my new statebag trick to reduce typing
4108 * HyperLink.cs: New file
4110 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
4112 * Style.cs: Added and implemented.
4114 2005-07-06 Miguel de Icaza <miguel@novell.com>
4116 * FontUnit.cs: New file.
4118 * Unit.cs: New file.
4120 Added support for null and empty string constructors.
4122 2005-07-06 Ben Maurer <bmaurer@ximian.com>
4124 * Unit.cs: cctor not needed; static fields are 0 init'd by default
4126 * WebControl.cs: Kothari & Datye's book explains how these work.
4128 * IRepeatInfoUser.cs: Reimpl.
4130 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
4132 * WebControl.cs: Added stub
4134 2005-07-05 Miguel de Icaza <miguel@novell.com>
4136 * Label.cs: First control.
4138 2005-06-27 Lluis Sanchez Gual <lluis@novell.com>
4140 * DataControlField.cs: Ignore the ShowHeader property when
4141 building the control's content. It is the resposability of
4142 the field container to decide if the header should be shown
4145 2005-06-10 Lluis Sanchez Gual <lluis@novell.com>
4148 * ImageFieldMode.cs:
4149 * DynamicImageParameterMode.cs:
4150 * TableViewMode.cs: Removed.
4154 * TableRowSection.cs:
4155 * AutoCompleteType.cs:
4156 * DayNameFormat.cs: Track changes in 2.0 api.
4158 * StringArrayConverter.cs: This class is 2.0 only.
4160 2005-06-06 Lluis Sanchez Gual <lluis@novell.com>
4164 * DetailsView.cs: Bind the control after creating all child
4166 * DataBoundControl.cs: Call OnDataBinding and OnDataBound in
4167 the correct methods.
4168 * BaseDataBoundControl.cs: Don't call DataBind nor OnDataBound
4169 in this class. This is done in DataBoundControl. All this fixes
4172 2005-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4174 * ListItemCollection.cs: Patch from Curtis (eto@shaw.ca) that fixes
4175 FindByText. Closes bug #74205.
4177 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4179 * PagedDataSource.cs: patch by Suresh Kumar that makes PageCount return
4180 1 when there's a datasource and 0 pages. Closes bug #73864.
4182 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
4189 * MenuItemTemplateContainer.cs:
4190 * DetailsView.cs: Track changes in the IDataItemContainer interface.
4192 * CommandField.cs: Added CausesValidation property. Set that
4193 property value to all buttons of the field.
4195 * SqlDataSourceView.cs:
4196 * CollectionDataSource.cs:
4197 * XmlDataSourceView.cs: Properly initialize the base class.
4199 * SiteMapDataSource.cs:
4200 * SiteMapHierarchicalDataSourceView.cs:
4201 * SiteMapNodeItem.cs:
4202 * SiteMapDataSourceView.cs:
4203 * SiteMapPath.cs: Mostly implemented.
4205 * HierarchicalDataBoundControl.cs: Always bind the control when the
4206 page is loaded for the first time.
4208 * TreeView.cs: Properly bind the control when loaded from a callback.
4210 2005-05-21 Ben Maurer <bmaurer@ximian.com>
4212 * BaseDataList.cs: Caption is in 1.1 too, though not
4213 documented. Gonz owes me [more] ice cream. Yummmmm.
4215 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4217 * BaseDataList.cs: implemented 2.0 Caption property.
4219 2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
4221 * TreeView.cs: Always render the startup script. This fixes
4224 2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
4226 * WizardStepBase.cs:
4227 * WizardStep.cs: Added missing attributes.
4228 * Wizard.cs: Implemented missing methods and properties. It can now
4229 be considered feature complete.
4231 2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4233 * DataGrid.cs: cleanup in AutoCreateColumns. Don't throw at the end of
4234 the method if the data source was en empty IEnumerator. Fixes
4237 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
4241 * Menu.cs: Implemented some new properties from beta 2.
4243 * DataControlButton.cs: Render the ControlStyle if it
4247 * FontUnitConverter.cs: Improved the conversion to InstanceDescriptor.
4248 It will now generate an object creation, instead of a Parse call.
4250 * GridViewCommandEventArgs.cs: Added missing property.
4251 * SubMenuStyleCollection.cs: This class is not sealed.
4252 * MultiView.cs: Set Visible=false to all views that are not
4253 shown. This ensures that it's view state is saved.
4255 * BaseDataBoundControl.cs:
4256 * GridViewDeletedEventArgs.cs: Minor api fixes.
4258 * FormViewDeleteEventArgs.cs:
4259 * DetailsViewDeletedEventArgs.cs:
4260 * ListControl.cs: Fix warnings.
4264 * HotSpotCollection.cs
4267 * RectangleHotSpot.cs
4268 * WizardStepCollection.cs : Implemented.
4272 * Wizard.cs: Initial implementation.
4274 2005-05-04 Lluis Sanchez Gual <lluis@novell.com>
4276 * DataControlField.cs:
4280 * DataControlCommands.cs:
4281 * DetailsView.cs: Use constants to identify commands.
4283 * SubMenuStyle.cs: Use Unit instead of int for padding.
4284 * SubMenuStyleCollection.cs: Implemented.
4287 * Menu.cs: Added some missing methods and properties.
4290 * DataGridPagerStyle.cs: Fixed default value attributes.
4291 * ListControl.cs: Implemented IEditableTextControl interface.
4293 * MenuItemBinding.cs: Added Selectable property.
4294 * CustomValidator.cs: removed interface.
4296 * MenuItem.cs: Added support for custom binding.
4297 * DropDownList.cs: Moved text properties to base class.
4299 2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4301 * Calendar.cs: OnDayRender can toggle IsSelectable on our back.
4303 2005-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4305 * Calendar.cs: when the day is active, modify the text of the literal
4306 control that holds the number, not the text of the TableCell. Also call
4307 OnDayRender before updating that text. Fixes bug #74718.
4309 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
4311 * DataKey.cs: Added virtual TrackViewState and IsTrackingViewState
4313 * DataControlFieldHeaderCell.cs: Save Scope in view state.
4314 Added AbbreviatedText property.
4315 * AutoGeneratedField.cs: The constructor should actually be internal.
4316 * DataGridItem.cs: Added implemented interface in 2.0.
4317 * DataControlFieldCollection.cs: Implemented CloneFields and
4321 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4323 * StringArrayConverter.cs:
4324 * Calendar.cs: warnings.
4326 2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
4328 * FormViewDeleteEventArgs.cs:
4329 * FormViewInsertEventArgs.cs:
4330 * FormViewUpdateEventArgs.cs:
4331 * FormViewDeletedEventArgs.cs:
4332 * FormViewUpdatedEventArgs.cs:
4333 * FormViewInsertedEventArgs.cs: Implemented some missing properties.
4336 * IButtonControl.cs:
4337 * Button.cs: Removed SoftKey property.
4339 * CheckBox.cs: Don't try to load post back data if the control
4343 * AutoGeneratedField.cs:
4344 * DataControlField.cs:
4346 * ButtonFieldBase.cs:
4350 * ButtonField.cs: Don't bind fields in Insert state.
4351 Implemented CreateField and CopyProperties.
4354 * DetailsView.cs: Removed some unneeded interfaces. Don't
4355 generate the field rows if there are no items in the data source.
4356 Don't get the current keys until the whole control has been
4359 * DetailsViewInsertedEventArgs.cs:
4360 * DataBoundControl.cs:
4361 * ObjectDataSourceView.cs: Made some methods private.
4364 * Menu.cs: Changed some properties from int to Unit.
4366 * DataControlButton.cs: javascript prefix is needed when raising
4367 the postback event from a link.
4369 * PagedDataSource.cs: Some fixes in Count and IsLastPage properties.
4370 The result was wrong when the total data source count was 0.
4372 * FormView.cs: Implemented.
4373 * FormViewRow.cs: Implemented.
4376 * Localize.cs: Fixed base interface.
4378 * BaseDataBoundControl.cs: In DataBind() call the base class
4379 DataBind method, so the binding context is properly set.
4381 2005-04-15 Lluis Sanchez Gual <lluis@novell.com>
4383 * DetailsView.cs: Added some null checks.
4384 * TemplateField.cs: Implemented support for two-way bindings.
4386 2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
4388 * DetailsView.cs: Implemented support for Insert operation.
4389 Added header and footer templates. Added missing style
4391 * ObjectDataSourceView.cs: Use ParameterCollection.GetValues
4392 to get filter values. Other minor fixes.
4393 * CommandField.cs: Properly render the Insert and New buttons.
4394 * ObjectDataSource.cs: Update the parameter collections after
4395 the page is loaded. This will fire the ParameterChanged event
4397 * DataBoundControl.cs: The OnDataSourceViewChanged method
4398 is called when the view changes, not when the datasource
4401 * DetailsViewInsertedEventArgs.cs:
4402 * DetailsViewInsertEventArgs.cs: Implement Values property.
4405 * AutoGeneratedField.cs
4408 Take into account the Insert mode.
4410 * ParameterCollection.cs: Implemented UpdateValues and fixed
4411 GetValues (values can't be cached because can change).
4412 * Parameter.cs: Detect value changes in GetValue, and fire
4413 the change event if needed. Removed unused ParameterValue
4414 property. Other fixes.
4416 2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
4418 * DetailsView.cs: Initial implementation.
4419 * ObjectDataSourceView.cs: Notify changes in the parameters.
4420 * DetailsViewDeletedEventArgs.cs, DetailsViewUpdatedEventArgs.cs,
4421 DetailsViewDeleteEventArgs.cs, DetailsViewUpdateEventArgs.cs:
4422 Implemented some properties.
4423 * GridView.cs: Added null check in SelectedValue. Don't return null
4424 for empty DataKeyNames list.
4425 * DetailsViewRowCollection.cs: Implemented.
4426 * DetailsViewRow.cs: Implemented.
4427 * ButtonFieldBase.cs: By default button field don't have headers.
4428 * BoundField.cs: Don't bind header fields.
4430 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
4432 * ButtonField.cs: Get data item properties using TypeDescriptor.
4433 Made OnDataBindField private.
4434 * ObjectDataSourceView.cs: Implemented support for Delete and
4435 Insert operations, support for filtering and sorting,
4436 conflict detection, etc. It's now complete.
4437 * ObjectDataSource.cs: Completed most of functionality. Only
4438 caching support is missing.
4439 * ObjectDataSourceFilteringEventHandler.cs: New event handler.
4440 * TreeNode.cs: Get data item properties using TypeDescriptor.
4441 * PagerSettings.cs: Flush.
4442 * ObjectDataSourceFilteringEventArgs.cs: New event args.
4443 * GridView.cs: Get data item properties using TypeDescriptor
4444 and cache them. Properly set descending order in the sort
4445 expression. In UpdateRow, make sure we get the old values
4446 before the control is bound again.
4447 * ImageField.cs: Implemented.
4448 * AutoGeneratedField.cs: Initialize the field's sort
4449 expression in the constructor.
4450 * MenuItem.cs: Get data item properties using TypeDescriptor.
4451 * BoundField.cs: Get data item properties using TypeDescriptor.
4452 * CheckBoxField.cs: Added missing attributes.
4453 * TemplateField.cs: Implemented.
4455 2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4458 * FontUnitConverter.cs: fixed ConvertTo to work with target
4459 InstanceDescriptor and value as a string.
4461 * Unit.cs: culture might be null.
4465 2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
4467 * ButtonField.cs: Mostly implemented.
4468 * DataControlFieldHeaderCell.cs: Implemented.
4469 * ObjectDataSourceView.cs: Initial implementation.
4470 * DataControlButton.cs: Added support for real buttons.
4471 * Label.cs, DataControlField.cs: Flush.
4472 * ObjectDataSource.cs: Initial implementation.
4473 * HiddenField.cs: Added class stub.
4474 * GridView.cs: Load autogenerated field properties before
4475 creating the children, to make sure that column info is ready.
4476 * ControlParameter.cs: Implemented Evaluate method.
4477 * ImageField.cs: Added class stub.
4478 * BoundField.cs: Added HtmlEncode property.
4479 * DataControlFieldCell.cs: Moved AccessibleDataControlFieldCell
4481 * CheckBoxField.cs: Mostly implemented.
4482 * TemplateField.cs: Added class stub.
4483 * ObjectDataSourceSelectingEventArgs.cs: Added missing property.
4484 * ObjectDataSourceMethodEventArgs.cs: Fixed base class.
4485 * Parameter.cs: Added internal GetValue method (Evaluate is protected)
4487 2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
4489 * DataControlField.cs: Added missing InsertVisible property.
4490 * AutoGeneratedFieldProperties.cs: Implemented.
4491 * PagerSettings.cs: Minor fix.
4492 * GridView.cs: Implemented support for autogenerated fields, templates,
4493 accessible headers. Implemented paging using PagedDataSource.
4494 Implemented missing overridable methods.
4495 * AutoGeneratedField.cs: Initial implementation.
4496 * BoundField.cs: Added ReadOnly property.
4497 * PagedDataSource.cs: Implemented 2.0 api.
4498 * DataControlFieldCell.cs: Implemented AccessibleDataControlFieldCell
4499 cell class to be used by accessible headers.
4500 * TableCell.cs: Removed unneded constructor. If the cell is bound to
4501 a template, call the default RenderContents method.
4503 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
4505 * TreeNode.cs, TreeView.cs: Don't raise the SelectedNodeChanged
4506 event when loading the view state. Fixes #73746.
4508 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
4510 * ListControl.cs: Load selected indices in the right place. Fixes #73745.
4512 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
4514 * Button.cs, ImageButton.cs: Interpret PostBackOptions.ClientSubmit
4516 * CommandField.cs: Mostly implemented.
4517 * Menu.cs: Use callback methods moved to ClientScriptManager.
4518 * DataControlButton.cs: Internal control used to implement buttons
4519 for navigating in data bound controls.
4520 * DataControlField.cs, PagerSettings.cs: Use the new DataControlButton
4521 to render the column headers.
4522 * CheckBox.cs, RadioButton.cs, BulletedList.cs, TextBox.cs
4523 DropDownList.cs, Calendar.cs, ListBox.cs, LinkButton.cs, TreeView.cs:
4524 Don't use Page.GetPostBackClientEvent
4525 since it is deprecated in 2.0.
4526 * GridView.cs: Implemented some several interfaces.
4527 Implemented support client sorting and page navigation (using callbacks).
4528 Implemented the autogenerated command column using the new CommandField
4530 * ButtonFieldBase.cs: Implemented.
4531 * GridView.js: New helper script to support client side sorting and
4532 paging in the grid view.
4534 2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
4536 * DataKey.cs: Implemented.
4537 * XmlDataSourceView.cs: Implemented support for row pagging.
4538 * Table.cs: Fixed attribute value.
4539 * DataControlField.cs: Added support for sorting headers.
4540 * ChildTable.cs: Created.
4541 * ListControl.cs: Delay selection assignment, since control state
4542 is now loaded before view state.
4543 * GridViewDeleteEventArgs.cs, GridViewUpdateEventArgs.cs,
4544 GridViewDeletedEventArgs.cs, GridViewUpdatedEventArgs.cs: Implemented
4545 several missing properties.
4546 * PagerSettings.cs: Fully implemented.
4547 * BaseDataList.cs: Added null check.
4548 * GridView.cs: Implemented more functionality.
4549 * BoundField.cs: Added support for cell editing.
4550 * StringArrayConverter.cs: Implemented.
4551 * DataKeyArray.cs: Implemented.
4552 * BaseDataBoundControl.cs: Reset the requires binding flag before
4553 executing the query. This avoids recursive query calls.
4554 * GridViewRow.cs: Handler commands raised from row childs.
4556 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
4558 * XmlDataSourceView.cs: ExecuteSelect now returns a list of
4559 XmlDataSourceNodeDescriptor instead of a list of nodes. In this way
4560 it is possible to query for properties fore each data item.
4561 * Menu.cs, TreeView.cs: Make sure that objects are correctly created
4562 when loading its view state.
4563 * DataControlField.cs: Implement properties using a StateBag.
4564 * XmlDataSourcePropertyDescriptor.cs: Implemented.
4565 * PagerSettings.cs: Mostly implemented.
4566 * AccessDataSourceView.cs, AccessDataSource.cs: Added security attribute.
4567 * DataBoundControl.cs: Added null check.
4568 * GridView.cs: Initial implementation.
4569 * CompositeDataBoundControl.cs: Implemented.
4570 * BoundField.cs: Initial implementation.
4571 * GridViewRowCollection.cs: Initial implementation.
4572 * DataControlFieldCollection.cs: Initial implementation.
4573 * DataControlFieldCell.cs: Fixed control tag.
4574 * GridViewRow: Initial implementation.
4575 * XmlDataSourceNodeDescriptor.cs: Implemented.
4577 2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4579 * WebControl.cs: correctly use TagName in RenderBeginTag, ie, if TagKey
4580 is zero, use the TagName no matter its value. Fixes bug #72415.
4582 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
4584 * Style.cs: Method name fix.
4585 * HyperLinkColumn.cs, HyperLink.cs: Moved SoftkeyLabel to HyperLink.
4586 * BaseCompareValidator.cs: Method signature fix.
4587 * CollectionDataSource.cs: Implemented DataSource wrapper for collections.
4588 * BaseDataList.cs, Repeater.cs: Fixed data binding code.
4589 * BulletedList.cs: Added missing method.
4590 * DataBoundControl.cs, BaseDataBoundControl.cs: Made it behave like MS.NET.
4592 2005-02-16 Lluis Sanchez Gual <lluis@novell.com>
4594 * HyperLinkColumn.cs, Label.cs: Added missing 2.0 properties.
4595 * RadioButton.cs: Added missing 2.0 methods.
4596 * ListItem.cs: Added Enabled property.
4597 * MailMessageEventArgs.cs: Use the correct message class.
4598 * ListControl.cs: Implemented missing properties and support for
4599 control state. Implemented base RenderContents method.
4600 * Image.cs: Implemented DescriptionUrl and GenerateEmptyAlternateText
4602 * BaseCompareValidator.cs: Implemented methods that support conditional
4603 use of the invariant culture.
4604 * DataBoundControl.cs: Set RequiresDataBinding to true in OnLoad.
4605 * SqlDataSourceCommandEventArgs.cs, SqlDataSourceStatusEventArgs.cs:
4606 It takes a DbCommand instead of a IDbCommand.
4607 * GridViewSortEventArgs.cs: Added SortDirection property.
4608 * TextBox.cs, CheckBoxList.cs: Added protected version of
4609 IPostBackDataHandler methods.
4610 * RadioButtonList.cs: Added protected version of
4611 IPostBackDataHandler and IRepeatInfoUser methods.
4612 * Repeater.cs: Updated some method names.
4613 * DropDownList.cs: Added protected version of
4614 IPostBackDataHandler methods. Reuse RenderContents from base class.
4615 * RepeaterItem.cs, Localize.cs, Literal.cs: Fix inheritance.
4616 * GridViewUpdatedEventArgs.cs: Fix typo.
4617 * ListBox.cs: Added protected version of IPostBackDataHandler methods.
4618 Reuse RenderContents from base class.
4619 * BaseDataBoundControl.cs: Several fixes.
4620 * ImageButton.cs, LinkButton.cs: Implemented several 2.0 properties.
4622 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
4624 * CheckBoxList.cs: Fix build.
4626 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
4628 * Button.cs: Use validation group when validating page.
4629 * XmlDataSourceView.cs: Implemented ExecuteSelect.
4630 * Menu.cs: Minor fix.
4631 * CheckBox.cs: Added 2.0 properties and methods.
4632 * BaseDataList.cs: Always databind the control if view state
4634 * DataList.cs: In 2.0, use control state to save the selected index.
4635 * DetailsViewUpdatedEventArgs.cs: Fix typo.
4636 * CustomValidator.cs: Implement IStaticTextControl interface.
4637 * CheckBoxList.cs: Added missing 2.0 methods.
4638 * DropDownList.cs: Added missing 2.0 methods. Implemented ITextControl
4640 * XmlDataSource.cs: Return childs of DocumentElement, not the root
4642 * DayRenderEventArgs.cs, CompareValidator.cs, DataListItem.cs:
4643 Implemented 2.0 API.
4646 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
4648 * Button.cs: Implemented all missing 2.0 features.
4649 * Table.cs: Render the table caption, when specified.
4650 * Calendar.cs: Implemented most of missing 2.0 features.
4651 * TableCell.cs: Fixed attributes.
4653 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
4655 * ControlPropertyNameConverter.cs: Added file.
4657 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
4659 * Button.cs, MonthChangedEventArgs.cs, FontInfo.cs, Xml.cs, Style.cs,
4660 CookieParameter.cs, HyperLinkColumn.cs, Table.cs,
4661 RegularExpressionValidator.cs, WizardNavigationEventArgs.cs,
4662 ServerValidateEventArgs.cs, Menu.cs, DataControlField.cs,
4663 DataGridPagerStyle.cs, Label.cs, CheckBox.cs, ListItem.cs,
4664 RadioButton.cs, TableStyle.cs, ListControl.cs, Image.cs,
4665 BaseCompareValidator.cs, FontUnit.cs, DataListCommandEventArgs.cs,
4666 IButtonControl.cs, BaseDataList.cs, DataList.cs, BulletedList.cs,
4667 RangeValidator.cs, DataBoundControl.cs, ControlParameter.cs,
4668 RepeaterItemEventArgs.cs, SqlDataSource.cs, BaseValidator.cs,
4669 CustomValidator.cs, MenuItem.cs, SessionParameter.cs, TextBox.cs,
4670 QueryStringParameter.cs, Content.cs, ContentPlaceHolder.cs,
4671 CheckBoxList.cs, RepeaterCommandEventArgs.cs, RadioButtonList.cs,
4672 RequiredFieldValidator.cs, AdRotator.cs, DataListItemEventArgs.cs,
4673 DataGridSortCommandEventArgs.cs, Repeater.cs,
4674 MenuItemTemplateContainer.cs, HyperLink.cs, SqlDataSourceView.cs,
4675 XmlDataSource.cs, MultiView.cs, DataGridCommandEventArgs.cs,
4676 Panel.cs, CompositeControl.cs, DataGrid.cs, ButtonColumn.cs,
4677 CompareValidator.cs, HierarchicalDataBoundControl.cs,
4678 EditCommandColumn.cs, Calendar.cs, SiteMapDataSource.cs,
4679 ListBox.cs, TableCell.cs, ObjectDataSourceSelectingEventArgs.cs,
4680 ObjectDataSourceMethodEventArgs.cs,DataGridPageChangedEventArgs.cs,
4681 WebControl.cs, BaseDataBoundControl.cs, FormParameter.cs,
4682 ValidationSummary.cs, View.cs, ImageButton.cs, TableRow.cs,
4683 LinkButton.cs, DataGridColumn.cs, Parameter.cs, TableItemStyle.cs,
4684 AdCreatedEventArgs.cs:
4686 General 2.0 API fixes: missing attributes, incorrect inheritance,
4687 missing sealed keywords, wrong signatures, etc.
4689 2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
4691 * Table.cs: Added some 2.0 properties.
4692 * FontUnitConverter.cs, UnitConverter.cs: Implemented conversion to
4694 * BaseValidator.cs: Fix warning.
4695 * MultiView.cs, ViewCollection.cs, View.cs: Implemented.
4697 2005-01-26 Lluis Sanchez Gual <lluis@novell.com>
4699 * Menu.cs: Rendering fixes.
4701 2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
4703 * Content.cs, ContentPlaceHolder.cs, ContentControlBuilder.cs
4704 ContentPlaceHolderBuilder.cs: Implemented.
4706 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4708 * CheckBox.cs: when rendering the input tag inside a span tag, keep the
4709 attributes that are meant to be in the input tag in their place.
4711 2005-01-10 Juraj Skripsky <juraj@hotfeet.ch>
4713 * RepeatInfo.cs: fixed bug #68927 (DataList with RepeatLayout='Flow'
4714 generates invalid html).
4716 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
4718 * Menu.cs: Implemented most of missing properties. Added support for
4719 item templates. Implemented menu scrolling.
4720 * MenuItemBinding.cs: Implemented most of missing properties.
4721 * MenuItem.cs: Implemented most of missing properties.
4722 * Menu.js: Implemented scrolling and menu reposition into screen.
4723 * MenuItemTemplateContainer.cs: Implemented.
4724 * SubMenuStyle.cs: Implemented.
4726 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
4728 * Style.cs: Implemented RegisteredCssClass property. Added
4729 CopyTextStylesFrom method, which copies styles that only apply to text.
4730 * Menu.cs, Menu.js: Added hover style support. Define all menu styles
4731 in the page stylesheet. Added support for ItemSpacing property.
4732 * MenuItemStyle.cs: Implemented FillStyleAttributes method.
4734 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
4736 * Style.cs: Generate styles using a CssStyleCollection, so the code can
4737 be reused for the 2.0 FillStyleAttributes method.
4738 * Menu.cs: Implemented more properties and events. Rendering is very
4740 * MenuItem.cs: Added PopOutImageUrl property.
4741 * Menu.js: More work on submenu management.
4743 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
4745 * Menu.cs: Implemented basic rendering. Added some missing properties.
4746 * MenuItem.cs: Improved implementation of Depth.
4747 * Unit.cs: Added serializable attribute.
4748 * TreeView.cs: Moved GetScriptLiteral method to ClientScriptManager,
4749 so it can be reused.
4750 * Menu.js: New script to support he Menu control.
4752 2004-12-03 Lluis Sanchez Gual <lluis@novell.com>
4754 * MenuEventArgs.cs: Changed to sealed.
4755 * TreeView.cs: Minor fix.
4756 * Menu.cs, MenuItemBindingCollection.cs, MenuItemCollection.cs,
4757 MenuItemStyle.cs, MenuItemBinding.cs, MenuItem.cs,
4758 MenuItemStyleCollection.cs: Initial Menu code.
4760 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
4762 * TreeNodeBindingCollection.cs, TreeNodeStyleCollection.cs:
4763 Implemented SetDirtyObject.
4764 * Style.cs: Implemented SetDirty().
4765 * TreeNodeBinding.cs: Added missing attributes. Implemented SetDirty().
4766 * TreeNode.cs: Added missing attributes added support for
4767 PopulateOnDemand. Added some missing property bindings.
4768 * TreeNodeCollection.cs: Several minor fixes. SetDirty must be called
4769 to newly added elements to make sure al new data is saved.
4770 * TreeView.js: Implemented support for client population of nodes.
4771 * TreeNodeStyle.cs: Added missing attributes.
4772 * TreeView.cs: Implemented support for PopulateNodesFromClient and
4773 PopulateOnDemand. Improved rendering.
4775 2004-11-29 Sanjay Gupta <gsanjay@novell.com>
4777 * DataControlField.cs:
4778 * DataControlFieldCell.cs: Initial implementation.
4780 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
4782 * TreeNodeBindingCollection.cs: Implemented.
4783 * TreeNodeBinding.cs: Implemented.
4784 * TreeNode.cs: Added support for data binding.
4785 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif
4786 TreeView_Default_NoExpand.gif: Moved to resources directory.
4787 * ListControl.cs: Fixed api.
4788 * XmlHierarchicalEnumerable.cs: Made internal.
4789 * DataBoundControl.cs: Modified api to match latest ms.net.
4790 * TreeView.js: New javascript file to support TreeView in the client.
4791 * XmlDataSource.cs: Added missing attributes.
4792 * HierarchicalDataBoundControl.cs: Mostly implemented.
4793 * BaseDataBoundControl.cs: Mostly implemented.
4794 * XmlHierarchyData.cs: Made internal.
4795 * TreeView.cs: Mostly implemented. The major missing feature is
4796 client side tree population.
4798 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
4801 * DataBountControl.cs:
4802 * Repeater.cs: Added SelectArguments property and updated.
4803 * SiteMapDataSourceView.cs:
4804 * SqlDataSourceView.cs:
4805 * XmlDataSourceView.cs: Removed extra method, which was there to
4806 keep things compiling.
4808 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
4810 * TreeNodeBindingCollection.cs, TreeNodeBinding.cs, TreeNode.cs,
4811 TreeNodeCollection.cs, TreeNodeStyleCollection.cs, TreeNodeStyle.cs,
4812 TreeView.cs: Initial implementation.
4813 * DataBoundControl.cs: Set the correct base class.
4814 * HierarchicalDataBoundControl.cs, BaseDataBoundControl.cs: Created stub.
4815 * TreeNodeSelectAction.cs: Formatting.
4816 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif,
4817 TreeView_Default_NoExpand.gif: TreeView images.
4819 2004-11-22 Sanjay Gupta <gsanjay@novell.com>
4821 * SqlDataSourceView.cs: Updated methods and added one property.
4823 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
4825 * AccessDataSource.cs:
4826 * SqlDataSourceView.cs: Implemented CreateDataSourceView () method.
4827 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
4829 * SqlDataSource.cs: Updated call to constructor of SqlDataSourceView.cs.
4830 * SqlDataSourceView.cs: Updated constructor.
4832 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
4834 * AccessDataSourceView.cs: Added new class.
4836 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
4838 * SqlDataSourceView.cs: Corrected exception handling in
4839 ExecuteSelect method.
4841 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
4843 * SiteMapHierarchicalDataSourceView.cs, SiteMapDataSource.cs: New files.
4844 * SiteMapDataSourceView.cs: Minor fix.
4846 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
4848 * SqlDataSourceView.cs: Updated ExecuteSelect method.
4850 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
4852 * SqlDataSource.cs: Corrected Select method.
4854 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
4856 * SqlDataSource.cs: Updated Select method definition.
4857 * SqlDataSourceStatusEventArgs.cs: Updated class.
4859 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
4861 * SqlDataSourceView.cs: Removed implementation of Events (it is inherited
4862 from DataSourceView.cs).
4864 2004-11-10 Raja R Harinath <rharinath@novell.com>
4866 * SqlDataSourceView.cs (Select): Add 'override' to make it compile.
4868 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
4870 * SqlDataSource.cs: Corrected method calls.
4871 * SqlDataSourceView.cs: Partial implementation of few methods.
4873 2004-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4875 * ListItemCollection.cs: fixed bug when indexing changed elements in
4876 LoadViewState. Patch from Alois Bělaška.
4878 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
4880 * SiteMapDataSourceView.cs:
4881 * SqlDataSourceView.cs:
4882 * XmlDataSourceView.cs: Cosmetic changes because of modifications in
4883 base class, DataSourceView. Changes are to keep things compiling.
4885 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
4887 * SiteMapDataSourceView.cs: Corrected class definition and updated.
4888 * XmlHierarchicalDataSourceView.cs: Modified according to changes in
4891 2004-10-14 Sanjay Gupta <gsanjay@novell.com>
4893 * AdRotator.cs: Updated.
4895 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
4897 * AccessDataSource.cs: Updated.
4899 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
4901 * ValidatedControlConverter.cs: Updated.
4903 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
4905 * AssociatedControlConverter.cs: Implemented.
4907 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
4909 * ControlIDConverter.cs: Initial implementation.
4911 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
4913 * IButtonControl.cs: Corrected property name.
4915 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
4917 * ParameterCollection.cs: Updated.
4919 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
4921 * Parameter.cs: Updated and completed implementation.
4923 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
4925 * ParameterCollection.cs: Resolved warnings, "Unreachable code detected"
4928 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
4930 * AccessDataSource.cs: Initial implementation.
4932 2004-09-30 Sanjay Gupta <gsanjay@novell.com>
4934 * DataControlRowState.cs:
4936 * TreeNodeTypes.cs: Added attribute.
4937 * DataControlRowType.cs:
4939 * SortDirection.cs: Corrected enumeration values.
4940 * TableRowSection.cs: Added new enumeration.
4941 * ObjectDataSourceStatusEventHandler.cs: Corrected method name.
4943 2004-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4945 * TableStyle.cs: don't render empty 'rules' attribute (again).
4947 2004-09-21 Sanjay Gupta <gsanjay@novell.com>
4949 * FormViewUpdatedEventArgs.cs: Spelling mistake.
4951 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
4953 * Literal.cs: Added new method Focus().
4955 2004-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4957 * RadioButton.cs: fix GroupName when the control is inside a
4958 NamingContainer different from Page. Closes bug #65586.
4960 2004-09-07 Sanjay Gupta <gsanjay@novell.com>
4962 * Localize.cs: Added new class.
4964 2004-09-03 Gaurav Vaish <gvaish_mono AT lycos.com>
4966 * CompositeControl.cs : Completed
4967 * Login.cs : Initial implementation.
4969 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4971 * Xml.cs: fixed get_DocumentContent (it was returning "" always!) and
4972 don't call MapPathSecure on the content itself.
4974 * XmlBuilder.cs: handle XML documents written inside asp:xml. The
4975 document is checked at parse time and will be checked again at run time.
4979 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
4981 * AuthenticateEventHandler.cs:
4982 * CreateUserErrorEventArgs.cs:
4983 * CreateUserErrorEventHandler.cs:
4984 * DetailsViewCommandEventHandler.cs:
4985 * DetailsViewDeleteEventArgs.cs:
4986 * DetailsViewDeleteEventHandler.cs:
4987 * DetailsViewDeletedEventArgs.cs:
4988 * DetailsViewDeletedEventHandler.cs:
4989 * DetailsViewInsertEventArgs.cs:
4990 * DetailsViewInsertEventHandler.cs:
4991 * DetailsViewInsertedEventArgs.cs:
4992 * DetailsViewInsertedEventHandler.cs:
4993 * DetailsViewModeEventArgs.cs:
4994 * DetailsViewModeEventHandler.cs:
4995 * DetailsViewPageEventHandler.cs:
4996 * DetailsViewUpdateEventArgs.cs:
4997 * DetailsViewUpdateEventHandler.cs:
4998 * DetailsViewUpdatedEventArgs.cs:
4999 * DetailsViewUpdatedEventHandler.cs:
5000 * FormViewCommandEventHandler.cs:
5001 * FormViewDeleteEventArgs.cs:
5002 * FormViewDeleteEventHandler.cs:
5003 * FormViewDeletedEventArgs.cs:
5004 * FormViewDeletedEventHandler.cs:
5005 * FormViewInsertEventArgs.cs:
5006 * FormViewInsertEventHandler.cs:
5007 * FormViewInsertedEventArgs.cs:
5008 * FormViewInsertedEventHandler.cs:
5009 * FormViewModeEventHandler.cs:
5010 * FormViewPageEventHandler.cs:
5011 * FormViewUpdateEventArgs.cs:
5012 * FormViewUpdateEventHandler.cs:
5013 * FormViewUpdatedEventArgs.cs:
5014 * FormViewUpdatedEventHandler.cs:
5015 * GridViewCancelEditEventArgs.cs:
5016 * GridViewCancelEditEventHandler.cs:
5017 * GridViewCommandEventHandler.cs:
5018 * GridViewDeleteEventArgs.cs:
5019 * GridViewDeleteEventHandler.cs:
5020 * GridViewDeletedEventArgs.cs:
5021 * GridViewDeletedEventHandler.cs:
5022 * GridViewEditEventHandler.cs:
5023 * GridViewPageEventHandler.cs:
5024 * GridViewRowEventHandler.cs:
5025 * GridViewSelectEventHandler.cs:
5026 * GridViewSortEventArgs.cs:
5027 * GridViewSortEventHandler.cs:
5028 * GridViewUpdateEventArgs.cs:
5029 * GridViewUpdateEventHandler.cs:
5030 * GridViewUpdatedEventArgs.cs:
5031 * GridViewUpdatedEventHandler.cs:
5032 * ImageMapEventHandler.cs:
5033 * MailMessageEventHandler.cs:
5034 * MenuEventHandler.cs:
5035 * ObjectDataSourceDisposingEventHandler.cs:
5036 * ObjectDataSourceEventHandler.cs:
5037 * ObjectDataSourceMethodEventArgs.cs:
5038 * ObjectDataSourceMethodEventHandler.cs:
5039 * ObjectDataSourceSelectingEventArgs.cs:
5040 * ObjectDataSourceSelectingEventHandler.cs:
5041 * ObjectDataSourceStatusEventArgs.cs:
5042 * ObjectDataSourceStatusEventHandler.cs:
5043 * SendMailErrorEventHandler.cs:
5044 * SiteMapNodeItemEventHandler.cs:
5045 * SqlDataSourceSelectingEventArgs.cs:
5046 * SqlDataSourceSelectingEventHandler.cs:
5047 * TreeNodeEventHandler.cs:
5048 * WizardNavigationEventArgs.cs:
5049 * WizardNavigationEventHandler.cs: Minor modifications, compiler error
5050 corrections and removing "sealed" access specifier from *EventHandler.cs
5052 2004-08-18 Sanjay Gupta <gsanjay@novell.com>
5054 * Literal.cs: Added new attributes and property for .Net 2.0
5056 2004-08-13 Sanjay Gupta <gsanjay@novell.com>
5058 * GridViewDeleteEventArgs.cs: Removed extra code.
5060 2004-08-12 Sanjay Gupta <gsanjay@novell.com>
5062 * SendMailErrorEventArgs.cs:
5063 * SendMailErrorEventHandler.cs:
5064 * SiteMapNodeItemEventArgs.cs:
5065 * SiteMapNodeItemEventHandler.cs:
5066 * SqlDataSourceSelectingEventArgs.cs:
5067 * SqlDataSourceSelectingEventHandler.cs:
5068 * TreeNodeEventArgs.cs:
5069 * TreeNodeEventHandler.cs:
5070 * WizardNavigationEventArgs.cs:
5071 * WizardNavigationEventHandler.cs: Added new delegates.
5073 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
5075 * ImageMapEventArgs.cs:
5076 * ImageMapEventHandler.cs:
5077 * MailMessageEventArgs.cs:
5078 * MailMessageEventHandler.cs:
5080 * MenuEventHandler.cs:
5081 * ObjectDataSourceDisposingEventArgs.cs:
5082 * ObjectDataSourceDisposingEventHandler.cs:
5083 * ObjectDataSourceEventArgs.cs:
5084 * ObjectDataSourceEventHandler.cs:
5085 * ObjectDataSourceMethodEventArgs.cs:
5086 * ObjectDataSourceMethodEventHandler.cs:
5087 * ObjectDataSourceSelectingEventArgs.cs:
5088 * ObjectDataSourceSelectingEventHandler.cs:
5089 * ObjectDataSourceStatusEventArgs.cs:
5090 * ObjectDataSourceStatusEventHandler.cs: Added new delegates.
5092 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
5094 * DetailsViewCommandEventArgs.cs:
5095 * FormViewCommandEventArgs.cs:
5096 * GridViewCommandEventArgs.cs: Corrected constructor.
5098 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
5100 * GridViewCancelEditEventArgs.cs:
5101 * GridViewCancelEditEventHandler.cs:
5102 * GridViewCommandEventArgs.cs:
5103 * GridViewCommandEventHandler.cs:
5104 * GridViewDeletedEventArgs.cs:
5105 * GridViewDeletedEventHandler.cs:
5106 * GridViewDeleteEventArgs.cs:
5107 * GridViewDeleteEventHandler.cs:
5108 * GridViewEditEventArgs.cs:
5109 * GridViewEditEventHandler.cs:
5110 * GridViewPageEventArgs.cs:
5111 * GridViewPageEventHandler.cs:
5112 * GridViewRowEventArgs.cs:
5113 * GridViewRowEventHandler.cs:
5114 * GridViewSelectEventArgs.cs:
5115 * GridViewSelectEventHandler.cs:
5116 * GridViewSortEventArgs.cs:
5117 * GridViewSortEventHandler.cs:
5118 * GridViewUpdatedEventArgs.cs:
5119 * GridViewUpdatedEventHandler.cs:
5120 * GridViewUpdateEventArgs.cs:
5121 * GridViewUpdateEventHandler.cs: Added new delegates.
5123 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
5125 * FormViewUpdatedEventArgs.cs: Corrected constructor.
5127 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
5129 * FormViewCommandEventArgs.cs: Corrected name of class.
5131 2004-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5133 * Xml.cs: use MapPath in DocumentSource and documentContent. Fixes
5136 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
5138 * FormViewCommandEventArgs.cs:
5139 * FormViewCommandEventHandler.cs:
5140 * FormViewDeletedEventArgs.cs:
5141 * FormViewDeletedEventHandler.cs:
5142 * FormViewDeleteEventArgs.cs:
5143 * FormViewDeleteEventHandler.cs:
5144 * FormViewInsertedEventArgs.cs:
5145 * FormViewInsertedEventHandler.cs:
5146 * FormViewInsertEventArgs.cs:
5147 * FormViewInsertEventHandler.cs:
5148 * FormViewModeEventArgs.cs:
5149 * FormViewModeEventHandler.cs:
5150 * FormViewPageEventArgs.cs:
5151 * FormViewPageEventHandler.cs:
5152 * FormViewUpdatedEventArgs.cs:
5153 * FormViewUpdatedEventHandler.cs:
5154 * FormViewUpdateEventArgs.cs:
5155 * FormViewUpdateEventHandler.cs: Added new delegates.
5157 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
5159 * DetailsViewCommandEventArgs.cs:
5160 * DetailsViewCommandEventHandler.cs:
5161 * DetailsViewDeletedEventArgs.cs:
5162 * DetailsViewDeletedEventHandler.cs:
5163 * DetailsViewDeleteEventArgs.cs:
5164 * DetailsViewDeleteEventHandler.cs:
5165 * DetailsViewInsertedEventArgs.cs:
5166 * DetailsViewInsertedEventHandler.cs:
5167 * DetailsViewInsertEventArgs.cs:
5168 * DetailsViewInsertEventHandler.cs:
5169 * DetailsViewModeEventArgs.cs:
5170 * DetailsViewModeEventHandler.cs:
5171 * DetailsViewPageEventArgs.cs:
5172 * DetailsViewPageEventHandler.cs:
5173 * DetailsViewUpdatedEventArgs.cs:
5174 * DetailsViewUpdatedEventHandler.cs:
5175 * DetailsViewUpdateEventArgs.cs:
5176 * DetailsViewUpdateEventHandler.cs: Added new delegates.
5178 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
5180 * AuthenticateEventArgs.cs:
5181 * AuthenticateEventHandler.cs:
5182 * CreateUserErrorEventArgs.cs:
5183 * CreateUserErrorEventHandler.cs: Added new delegates.
5185 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
5187 * IButtonControl.cs:
5188 * ICallbackContainer.cs:
5189 * ICompositeControlDesignerAccessor.cs:
5190 * IPostBackContainer.cs: Added new interfaces.
5192 2004-08-03 Sanjay Gupta <gsanjay@novell.com>
5195 * AutoCompleteType.cs:
5196 * ContentDirection.cs:
5197 * DataControlCellType.cs:
5198 * DataControlRowState.cs:
5199 * DataControlRowType.cs:
5200 * DetailsViewMode.cs:
5201 * DynamicImageParameterMode.cs:
5204 * ImageFieldMode.cs:
5211 * SiteMapNodeItemType.cs:
5212 * SiteMapNodeType.cs:
5213 * SiteMapViewType.cs:
5215 * TableCaptionAlign.cs:
5216 * TableHeaderScope.cs:
5218 * TreeNodeSelectAction.cs:
5220 * TreeViewImageSet.cs:
5221 * WizardStepType.cs: Added enumerations
5223 2004-08-02 Duncan Mak <duncan@ximian.com>
5226 * LoginFailureAction.cs:
5227 * LoginTextLayout.cs: Added enumerations.
5229 2004-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5231 * BaseValidator.cs: in Validate(), when the control is not visible or
5232 enabled, return inmediately after setting IsValid to true. Fixes bug
5235 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5237 * DataList.cs: s/HasChildren/HasControls()/.
5239 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5241 * DataList.cs: style.
5243 2004-07-27 Alon Gazit <along@mainsoft.com>
5244 * DataList.cs: Replaced foreach statement with for statement,
5245 in order to improve performence.
5247 2004-07-27 Alon Gazit <along@mainsoft.com>
5248 * WebControl.cs: changed RenderBeginTag()to use TagKey instead of
5250 * Unit.cs : changed GetTypeFromString() and GetStringFromPixel() to use
5251 switch statements in order to improve performance.
5253 2004-06-10 Alon Gazit <along@mainsoft.com>
5254 * WebControl.cs: fixed LoadViewState().
5255 Creates new attributes state bag only when the current is null.
5257 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5259 * Calendar.cs: implemented OnPreRender and HasWeekSelectors.
5261 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5263 * Calendar.cs: set the title class attribute if we have it. Fixes bug
5266 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5268 * Style.cs: added SetBit.
5270 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5273 * CompareValidator.cs:
5276 * WebControl.cs: Added protected missing members and attributes.
5278 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5280 * TextBox.cs: don't save the Text if in ViewState if it's a password.
5281 Save it if the control is not visible or not enabled. Fixes bug #58497.
5283 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5285 * Calendar.cs: fire OnDayRender after assigning the calendar cell text.
5288 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
5290 * SqlDataSourceCommandEventArgs:
5291 * XmlDataSource.cs : removed temporary workarounds for CLS
5292 compliance as System.Data is now CLS compliant
5294 2004-05-06 Alon Gazit <along@mainsoft.com>
5295 * WebControl.cs: fixed LoadViewState() and SaveViewState().
5296 Before the change the Enabled property wasn't updated when a postback
5298 * ListControl.cs: fixed SelectedIndex property implementation.
5299 Prevents throwing ArgumentOutOfRangeException (that should not be
5300 thrown), when the list is empty.
5302 2004-04-28 Alon Gazit <along@mainsoft.com>
5303 * WebControl.cs: fixed LoadViewState().
5304 Always loading the saved attributes collection.
5306 2004-04-18 Alon Gazit <along@mainsoft.com>
5307 * Repeater.cs: fixed InstantiateItem() and DataSource property.
5308 The change in DataSource prevents throwing ArgumentException while
5309 setting property value to null.
5310 The change in InstantiateItem() prevents NullReferenceException.
5312 2004-04-07 Lluis Sanchez Gual <lluis@ximian.com>
5314 * BaseValidator.cs: Store Display property in the correct ViewState
5315 property. Don't render anything if Display is ValidatorDisplay.None.
5317 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
5319 * Xml.cs: In LoadXpathDoc(), don't use MapPathSecure with documentSource,
5320 since it is already a physical path. Fixes bug #55334.
5322 2004-02-13 Jackson Harper <jackson@ximian.com>
5324 * Calendar.cs: Match MS postback data. This allows sites that
5325 parse the postback data manually to work.
5327 2004-02-04 Alon Gazit <along@mainsoft.com>
5328 * EditCommandColumn.cs: fixed InitializeCell().
5329 The rendered LiteralControl should contain " " and not " ".
5331 2004-02-01 Alon Gazit <along@mainsoft.com>
5333 * DataGrid.cs: fixed a problem in the paging mechanism in the method
5335 the problem was when (PagerStyle.Mode == PagerMode.NumericPages),
5336 while clicking the "..." link in the second page.
5338 2004-01-28 Alon Gazit <along@mainsoft.com>
5340 * Calendar.cs: prevent NullReferenceException in RenderAllDays().
5342 2004-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5344 * Calendar.cs: when rendering days, add a LiteralControl containing the
5345 day before OnDayRender is called. Only generate the default links for
5346 days when IsSelectable is true after OnDayRender. Fixes bug #53372.
5348 2004-01-21 Martin Baulig <martin@ximian.com>
5350 * XmlHierarchyData.cs: Make this compile with csc.
5352 * BulletedList.cs (BulletedList.SelectedItem): Removed the `set'
5353 accessor since the base class doesn't have one.
5355 2004-01-18 Alon Gazit <along@mainsoft.com>
5357 * CheckBoxList.cs: fix problem with negative TabIndex (wasn't rendered).
5359 2004-01-18 Alon Gazit <along@mainsoft.com>
5361 * Style.cs: CopyFrom method shouldn't copy a value that is equal to
5362 Property default value.
5363 * FontInfo.cs : CopyFrom method shouldn't copy a value that is equal to
5364 Property default value.
5366 2004-01-15 Alon Gazit <along@mainsoft.com>
5368 * RadioButtonList.cs: RepeatLayout property should affect the rendered
5371 2004-01-15 Alon Gazit <along@mainsoft.com>
5372 * FontInfo.cs: Add validation check to Size property.
5374 2004-01-07 Alon Gazit <along@mainsoft.com>
5375 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
5376 merge the column's style to the cell's style and not to
5377 the item's(row) style.
5379 2004-01-04 Alon Gazit <along@mainsoft.com>
5380 * RangeValidator.cs: Fixed ControlPropertiesValid().
5382 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5384 * Xml.cs: mono-stylized and removed warnings.
5386 2004-1-1 Alon Gazit <along@mainsoft.com>
5387 * RadioButtonList.cs: update RenderItem() so that each RadioButton
5388 is enabled or disabled like the RadioButtonList.
5389 * CheckBoxList.cs: update RenderItem() so that each CheckBox
5390 is enabled or disabled like the CheckBoxList.
5392 2004-1-1 Alon Gazit <along@mainsoft.com>
5393 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
5394 The Header or Footer Style shouldn't merge with the cells Style.
5396 2004-1-1 Alon Gazit <along@mainsoft.com>
5397 * DataGridColumn.cs: Headers and Footers are initialized
5398 with the relevant Style object.
5400 2003-12-30 Alon Gazit <along@mainsoft.com>
5401 * RepeatInfo.cs: Fixed DoVerticalRendering () and
5402 DoHorizontalRendering().
5403 Current implementation produces few extra html tags.
5405 2003-12-29 Alon Gazit <along@mainsoft.com>
5407 * CheckBox.cs: change the implementation of LoadPostData.
5408 Currently, while the AutoPostBack property equals true ,
5409 it isn't possible to perform uncheck.
5411 2003-12-19 Jackson Harper <jackson@ximian.com>
5413 * TableCell.cs: Setting a cells text should clear its control
5414 collection as per la specification. This fixes bug #51825.
5416 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5418 * DataGridColumn.cs: stylized LoadViewState.
5419 * DataGridColumnCollection.cs: when TrackViewState is called, also
5420 call it on all the existing columns. Fixes bug #52334.
5422 2003-12-18 Alon Gazit <along@mainsoft.com>
5424 * DataGridPagerStyle.cs: merge DataGridPagerStyle properties when Style
5427 2003-12-18 Alon Gazit <along@mainsoft.com>
5429 * TableStyle.cs: merge TableStyle properties when Style is empty.
5431 2003-12-16 Alon Gazit <along@mainsoft.com>
5433 * HyperLink.cs: Change Text property implementation. in MS when the Text
5434 property is set, all the controls in the HyperLink are being deleted.
5435 This fixes bug #52239.
5437 2003-12-15 Alon Gazit <along@mainsoft.com>
5438 * RepeatInfo.cs: Fixed DoVerticalRendering () and
5439 DoHorizontalRendering().
5440 Both methods add additional empty table row in the head of each item
5441 table when the variable named isTable equals true (happenes with the
5442 default instantiation of RepeatInfo). These additional rows should be
5443 added when isTable equals false.
5444 This fixes bug #52225.
5446 2003-12-15 Alon Gazit <along@mainsoft.com>
5448 * RepeatInfo.cs: Fixed DoVerticalRendering() and
5449 DoHorizontalRendering().
5450 Both methods add to rendered Header a colspan attribute according to the
5451 rows count. after the change the colspan is added according to the
5454 2003-12-15 Alon Gazit <along@mainsoft.com>
5455 * CheckBox.cs: Disabled CheckBox does not produce same HTML as .NET.
5456 In .NET if the checkbox is disabled ,its text appears disabled too.
5457 In Mono the text appears enabled. the fix is in Render().
5458 This fixes bug #52180.
5460 2003-12-15 Alon Gazit <along@mainsoft.com>
5461 * Repeater.cs: Change the implementation of CreateControlHierarchy().
5462 The current implementation renders extra Header and footer
5463 without Repeater.DataSource assign.
5464 This fixes bug #52179.
5466 2003-12-15 Alon Gazit <along@mainsoft.com>
5467 * DataGrid.cs: Change the implementation of the property
5468 BackImageUrl. The current implementation has no influence
5469 on the rendered Html.
5471 2003-12-15 Alon Gazit <along@mainsoft.com>
5472 * WebControl.cs: Change the implementation of the property
5473 Enabled. Before the change the WebControl also looked at
5474 parent.Enabled . fixed bug #52171.
5476 2003-12-11 Jackson Harper <jackson@ximian.com>
5478 * RepeatInfo.cs: When rendering vertically figure out how many
5479 colmns are not going to be filled in in the last row, and adjust
5480 things accordingly. This fixes bug #51863.
5482 2003-12-10 Alon Gazit <along@mainsoft.com>
5483 * TableRow.cs: Change the implementation of the properties
5484 HorizontalAlign and VerticalAlign. The current implementation
5485 has no influence on the rendered Html.
5487 2003-12-10 Alon Gazit <along@mainsoft.com>
5488 * TableItemStyle.cs: Add setting of The WRAP flag in the Wrap
5489 property's set method.
5491 2003-12-09 Jackson Harper <jackson@ximian.com>
5493 * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
5494 Increment counter when moving to start. Fixes bug #51926.
5496 2003-12-08 Jackson Harper <jackson@ximian.com>
5498 * HyperLinkColumn.cs: Fix navigate url rendering. Patch by
5499 Benjamin Jemlich. Fixes bug #51823.
5501 2003-12-07 Alon Gazit <along@mainsoft.com>
5502 * Panel.cs: Panel doesn't render nowrap attribute while the Wrap
5503 property is set to false. Fixes bug #58120.
5505 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5507 * TableItemStyle.cs: merge TableItemStyle properties when Style is
5508 empty. Fixes bug #51689. Patch by Alon Gazit <along@mainsoft.com>.
5510 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5512 * RadioButtonList.cs: render tabindex attribute if needed. Fixes bug
5515 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5517 * WebControl.cs: don't create the attributes when GetAttribute is
5520 2003-12-01 Jackson Harper <jackson@ximian.com>
5522 * WebControl.cs: Only allow access keys to be null or a single
5523 char. Patch by Alon Gazit <along@mainsoft.com>.
5525 2003-11-30 Jackson Harper <jackson@ximian.com>
5527 * CheckBoxList.cs: A checkbox will have null post data if it is
5528 unselected. This fixes bug #51516.
5530 2003-11-29 Jackson Harper <jackson@ximian.com>
5532 * DataGrid.cs: Display paging controls even when there is no
5533 data. Path by Mohammad DAMT. Fixes bug #51487.
5535 2003-11-29 Jackson Harper <jackson@ximian.com>
5537 * DataGrid.cs: Call TrackViewState when loading bound columns view
5538 state. So that their state is saved. This fixes bug #51424. Also
5541 2003-11-26 Jackson Harper <jackson@ximian.com>
5543 * BaseDataList.cs: Change && to || We will call that a typo so no
5544 one gets embarrased.
5546 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5548 * BaseDataList.cs: allow setting null as Datasource.
5550 * DataGrid.cs: keep autogenerated columns in the ViewState.
5552 Patches by Alon Gazit <along@mainsoft.com>.
5554 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
5556 * SqlDataSource*: Implement almost everything. Data access is
5559 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
5561 * Calendar.cs (SaveViewState):
5562 - We were allocating a 11 item array, we only used 10 items,
5563 so only allocate 10.
5564 - We only need to save the selected dates if there are any.
5565 * DataGrid.cs (SaveViewState):
5566 * DataGridColumn.cs (SaveViewState):
5567 * DataGridColumnCollection.cs (SaveViewState):
5568 - Only return the array if there is anything in it
5569 * Style.cs (SaveViewState):
5570 - Only save the bits if there were changes.
5571 * WebControl.cs (SaveViewState), (LoadViewState):
5572 - Don't save Enabled into the viewstate here, we already
5573 do it in the property. This just caused *EVERY* control
5574 to have a non-null state, taking up lots of extra room
5576 - The style will always be created with this control's
5577 viewstate, so the style will always return null for the
5578 viewstate. As such, we do not need to store it. We can
5579 also reduce the triplet to a pair because of this.
5581 2003-11-22 Jackson Harper <jackson@ximian.com>
5583 * ValidationSummary.cs: Fix number of messages and message array computation.
5585 2003-11-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5587 * Xml.cs: Corrected attribute
5588 * XmlBuilder.cs: Added
5590 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5592 * Xml.cs: class status based fixes.
5594 2003-11-19 Jackson Harper <jackson@ximian.com>
5596 * HyperLink.cs: Use ResolveUrl instead of ResolveBaseUrl.
5598 2003-11-19 Jackson Harper <jackson@ximian.com>
5600 * HyperLink.cs: Use ResolveBaseUrl so that ~/ is interpreted as
5601 teh applications base directory. This fixes bug #51092.
5603 2003-11-18 Todd Berman <tberman@gentoo.org>
5605 * ControlParameter.cs:
5606 * CookieParameter.cs:
5608 * QueryStringParameter.cs:
5609 * SessionParameter.cs: added public .ctor ()
5610 * Parameter.cs: added public .ctor (), internal SetOwnerCollection
5611 and handling, as well as internal ParameterValue for easy access.
5612 NOTE: ParameterValue doesnt respect TreatEmptyStringAsNull yet.
5613 * ParameterCollection.cs: implementation redux.
5615 2003-11-18 Todd Berman <tberman@gentoo.org>
5617 * ParameterCollection.cs: Implemented
5618 * Parameter.cs: Added _owner, SetOwnerCollection and proper handling.
5619 ToString () now matches asp.net
5621 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
5623 * ControlParameter.cs:
5624 * CookieParameter.cs:
5627 * QueryStringParameter.cs: New v2 files. Mostly
5628 implemented, still need a few methods.
5630 2003-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5632 * ListItem.cs: prevent nullrefs ni Get/SetAttribute. Thanks to Alon
5633 Gazit <along@mainsoft.com>.
5635 2003-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5637 * RadioButton.cs: fixed RenderInputTag for negative TabIndex values.
5638 Patch by Alon Gazit <along@mainsoft.com>.
5640 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
5642 * DataBoundControl.cs: Implement
5643 * ListControl.cs: inherit from the above.
5644 * Repeater.cs, BaseDataList.cs: should reset whenever we databind.
5646 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
5651 * Repeater.cs: add v2 databinding stuff
5652 * XmlDataSource.cs: make it load the xml.
5654 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
5657 * XmlDataSourceView.cs:
5658 * XmlHierarchicalDataSourceView.cs:
5659 * XmlHierarchicalEnumerable.cs:
5660 * XmlHierarchyData.cs: Implement
5662 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
5664 * SiteMapDataSourceView.cs: Implement.
5666 2003-11-07 Jackson Harper <jackson@ximian.com>
5668 * ImageButton.cs: This is a workaround for bug #49819. It appears
5669 that the .x and .y values are not being posted, and only the x
5670 value is being posted with the ctrl's id as the key.
5672 2003-11-07 Jackson Harper <jackson@ximian.com>
5674 * DataGrid.cs (CreateControlHierarchy): Current page index is
5675 alolowed to equal page count. This prevents an exception being
5676 thrown when both are zero.
5678 2003-11-06 Jackson Harper <jackson@ximian.com>
5680 * ValidationSummary.cs: Add Render method. Patch by Yaron Shkop.
5681 * BaseValidator.cs: Disable base control so the isValid flag is
5684 2003-11-03 Jackson Harper <jackson@ximian.com>
5686 * TemplateColumn.cs: Use the same renderer for selected items as
5687 normal items. This fixes bug #49744.
5689 2003-11-03 Jackson Harper <jackson@ximian.com>
5692 * WebControl.cs: Fix argument out of range exceptions on
5693 properties. Patch by Yaron Shkop.
5695 2003-11-03 Jackson Harper <jackson@ximian.com>
5697 * TemplateColumn.cs: If the item is selected but there is no
5698 editItemTemplate use the itemTemplate. This matches MS behvoir.
5700 2003-11-03 Jackson Harper <jackson@ximian.com>
5702 * Repeater.cs: Always set alternating items to the AlternatingItem
5703 type, when instantiating alternating items use the itemTemplate if
5704 the alternatingItem template is null. This matches MS behavoir and
5707 2003-11-03 Jackson Harper <jackson@ximian.com>
5709 * DataGridPagerStyle.cs: Name of view state attribute is
5710 PagerVisible not Visible. Call owner.OnPagerChanged when the pager
5711 visibility is changed. Patch by Yaron Shkop.
5713 2003-11-03 Jackson Harper <jackson@ximian.com>
5715 * RepeatInfo.cs: When doing horizontal rendering use the repeat
5716 columns as the number of columns in a row. This fixes bug #49016.
5718 2003-11-03 Jackson Harper <jackson@ximian.com>
5720 * PagedDataSource.cs (PageCount): Return page count of 1 if there
5721 paging is disabled. Patch by Yaron Shkop.
5722 * PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
5723 * TableStyle.cs (AddAttributesToRender): Render border style
5724 collapse. Patch by Yaron Shkop.
5726 * TableItemStyle.cs:
5727 * DataGridPagerStyle.cs: Call base copy and merge even if style is of
5728 the wrong type. Patch by Yaron Shkop.
5730 2003-11-03 Jackson Harper <jackson@ximian.com>
5732 * BoundColumn.cs: Render readonly columns. Patch by Mohammad DAMT.
5734 2003-11-02 Ben Maurer <bmaurer@users.sourceforge.net>
5737 * BulletedListDisplayMode.cs:
5738 * BulletedListEventHandler.cs:
5740 * BulletedListEventArgs.cs: V2 controls (yay!)
5742 2003-10-30 Jackson Harper <jackson@ximian.com>
5744 * Repeater.cs: Throw an exception if the datasource is set to
5745 something that does not implement either IListSource or
5746 IEnumerable. This fixes bug #50155.
5748 2003-10-30 Jackson Harper <jackson@ximian.com>
5750 * DataGridPagerStyle.cs: Do not allow page button counts to be set
5751 to less then 1. Patch by Yaron Shkop. This fixes bug #50236.
5753 2003-10-29 Jackson Harper <jackson@ximian.com>
5755 * ButtonColumn.cs: Format string and text to format were
5756 inversed. This fixes bug #50171.
5758 2003-10-29 Jackson Harper <jackson@ximian.com>
5760 * DataGridColumn.cs: If an item style is set apply it to the
5761 cell. This fixes bug #50173.
5763 2003-10-29 Ben Maurer <bmaurer@users.sourceforge.net>
5765 * HyperLinkColumn.cs: Patch by Yaron Shkop. Fixes #50234. Remove
5766 old debugging value.
5768 2003-10-29 Jackson Harper <jackson@ximian.com>
5770 * PagedDataSource.cs:
5771 * DataGrid.cs: Patch by Mohammad DAMT. Do not go past the
5772 end of the last page. Fixes bug #5085.
5774 2003-10-29 Jackson Harper <jackson@ximian.com>
5776 * CheckBox.cs: Do not change the status of a checkbox when there
5777 is no post data. This fixes bug #49091.
5778 * CheckBoxList.cs: Do not change the status of the checkboxes when
5779 there is no post data. This fixes bug #49093.
5781 2003-10-26 Ben Maurer <bmaurer@users.sourceforge.net>
5783 * RadioButton.cs: Patch by Yaron Shkop. Enables disabling a
5784 RadioButton. Fixes #50132
5786 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
5788 * PagedDataSource.cs: Patch by Ivo Haamer. Typo prevented
5789 paging from working. Fixes #48814.
5791 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
5793 * DataGrid.cs: A few typos kept us from viewing datagrids
5794 that were based on customized collections.
5796 2003-10-24 Ben Maurer <bmaurer@users.sourceforge.net>
5798 * DataGridCommandEventArgs.cs: typo, cmdSrc was becoming origionalArgs.
5800 2003-10-23 Ben Maurer <bmaurer@users.sourceforge.net>
5802 * Calendar.cs: render the next month button so that aligns to the
5805 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5807 * BaseCompareValidator.cs: splitted Convert. Fixed bug #49927. The fix
5808 was just changing && by || after the first Match.
5810 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5812 * Calendar.cs: apply header style in RenderHeader. Fixes bug #49144.
5813 Patch by Yaron Shkop.
5815 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5817 * DataGrid.cs: applied patch from Yaron Shkop (yaronsh@mainsoft.com)
5818 that fixes bug #49744. Now the selection doesn't lose its data.
5820 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
5822 * EditCommandColumn.cs: Implement; fix #49736
5824 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
5826 * ButtonColumn.cs: Use the DataGridLinkButton, so that we inherit
5827 the forground color. bug #49738
5829 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5831 * Calendar.cs: fixed bug #49727.
5833 2003-10-18 Ben Maurer <bmaurer@users.sourceforge.net>
5835 * TableStyle.cs: fix #49740.
5837 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5839 * SelectedDatesCollection.cs: fix by Yaron for bug #49698.
5840 * ValidationSummary.cs: fixes bug #49669.
5842 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5844 * Calendar.cs: apply the calendar style to the new Table, not to itself.
5847 * CheckBox.cs: render the hidden fields if AutoPostBack.
5849 * Style.cs: don't render empty width/height. Small improvement in
5852 * Table.cs: fixed condition for border width.
5855 (CopyFrom): always call the base class to copy other attributes. Fixes
5856 bug #49408. Don't render empty 'rules' attribute.
5858 * WebControl.cs: track viewstate when enabled. Don't overwrite source
5859 control attributes in CopyBaseAttributes.
5861 * ChangeLog: fixed dates.
5864 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
5866 * WebControl.cs : Attributes { get; } - Is Complete.
5867 * ValidationSummary.cs : AddAttributesToRender(HtmlTextWriter)
5870 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
5872 * BaseValidator.cs : DetermineRenderUplevel() - Completed.
5873 : RegisterValidatorCommonScript()
5874 - More code, I need HELP!
5875 : RegisterValidatorDeclaration()
5876 - More code, I need HELP!
5878 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5880 * CheckBoxList.cs: don't lose state when enabling/disabling. See bug
5883 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5885 * Repeater.cs: fixed bug #48807. It needed to use a DummyDataSource and
5886 ClearViewState only called when no items.
5888 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5890 * RadioButtonList.cs: fix for bug #48874 by Yaron Shkop.
5892 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5894 * RadioButtonList.cs: fix for bug #48870 by Yaron Shkop.
5896 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5898 * DataList.cs: fixed bug #48217. Patch by yaronsh@mainsoft.com (Yaron
5901 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5903 * AdRotator.cs: fixes bug #48691. Patch by yaronsh@mainsoft.com (Yaron
5906 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5908 * CheckBox.cs: render the 'disabled' attribute in the correct tag.
5909 * WebControl.cs: fixed Enabled property and save it in ViewState.
5913 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5915 * ListControl.cs: fixed bug #48668. Thanks to Yaron Shkop.
5917 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5919 * ListBox.cs: patch by yaronsh@mainsoft.com (Yaron Shkop) that fixes
5922 2003-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5924 * FontInfo.cs: fixed Name property as suggested by Rich Alimi
5925 <rich@velvetsea.net>.
5927 2003-09-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5929 * RegularExpressionValidator.cs: fix for EvaluateIsValid by Juraj
5930 Skripsky <juraj@hotfeet.ch>
5932 2003-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5934 * BaseValidator.cs: patch by Juraj Skripsky (juraj@hotfeet.ch) that
5935 fixes rendering of the end tag.
5937 2003-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5939 * Repeater.cs: fix for Items property provided by yaronsh@mainsoft.com
5940 (Yaron Shkop). Closes bug #48060.
5942 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5944 * CheckBox.cs: in LoadPostData, only return
5945 true when the new data is different from the one we had. Fixed
5946 conditions to save Checked state. Thanks to yaronshkop@hotmail.com
5949 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5951 * Style.cs: Font.Strikeout renders as 'line-through'. Fixes bug #47871.
5953 2003-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5955 * WebControl.cs: removed dangling ^M and unneeded fields. Keep track
5956 of Enable in ViewState. Fixes bug #47865.
5958 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5960 * Style.cs: the MARKED bit is not send set in ViewState unless something
5961 is changed. Fixed TrackViewState condition.
5963 * WebControl.cs: save the base ViewState *after* ControlStyle is done,
5964 because it uses the same ViewState as the control. Fixes bug #47725.
5966 2003-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5968 * HyperLinkColumn.cs: patch from David Pickens <dsp@rci.rutgers.edu>
5969 that fixes databinding when only DataTextField or DataNavigateUrlField
5972 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5974 * ListControl.cs: patch sent by Yaacov Akiba Slama <ya@slamail.org> on
5975 behalf of Yaron Shkop <yaronsh@mainsoft.com> that fixes selection of
5976 values before assigning a data source and other issues.
5978 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5980 * CheckBox.cs: save viewstate when needed and correctly handle post
5981 data. Fixes bug #47462.
5983 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5985 * ButtonColumn.cs: Removed additional attributes
5986 * CheckBox.cs: Added attribute
5987 * DataGrid.cs: Added attributes
5988 * HyperLinkColumn.cs: Changed attributes, added lamespec
5989 * Style.cs: Removed attributes
5990 * TextBox.cs: Added/ removed attributes
5992 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5994 * AdRotator.cs: Added all attributes
5995 * BaseDataList.cs: Added all attributes, added lamespec, removed additional attributes
5996 * BaseValidator.cs: Added all attributes
5997 * BoundColumn.cs: Added all attributes
5998 * Button.cs: Added all attributes
5999 * ButtonColumn.cs: Added all attributes, added lamespec
6000 * Calendar.cs: Added all attributes, added error checks, throws more exceptions
6001 * CheckBox.cs: Added all attributes
6002 * CheckBoxList.cs: Added all attributes
6003 * CompareValidator.cs: Added all attributes
6004 * CustomValidator.cs: Added all attributes
6005 * DataGrid.cs: Added all attributes, more verbose exceptions, fixed signature, removed additional attributes
6006 * DataGridColumn.cs: Added all attributes
6007 * DataGridColumnCollection.cs: Added all attributes
6008 * DataGridPagerStyle.cs: Added all attributes
6009 * DataGridTableInternal.cs: Made DataGridTableInternal internal
6010 * DataList.cs: Added all attributes, more verbose exceptions, removed non-existing member
6011 * DropDownList.cs: Added all attributes
6012 * FontInfo.cs: Added all attributes
6013 * HyperLink.cs: Added all attributes
6014 * HyperLinkColumn.cs: Added all attributes
6015 * Image.cs: Added all attributes
6016 * ImageButton.cs: Added all attributes
6017 * Label.cs: Added all attributes
6018 * LinkButton.cs: Added all attributes
6019 * ListBox.cs: Added all attributes, added error checks, throws more exceptions
6020 * ListControl.cs: Added all attributes
6021 * ListItem.cs: Added all attributes
6022 * ListItemCollection.cs: Added attribute
6023 * Literal.cs: Added all attributes
6024 * Panel.cs: Added all attributes
6025 * RadioButton.cs: Added all attributes
6026 * RadioButtonList.cs: Added all attributes, added error checks, throws more exceptions
6027 * RangeValidator.cs: Added all attributes
6028 * RegularExpressionValidator.cs: Added all attributes
6029 * Repeater.cs: Added all attributes
6031 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6033 * RequiredFieldValidator.cs: Added all attributes
6034 * Style.cs: Added all attributes
6035 * Table.cs: Added all attributes
6036 * TableCell.cs: Added all attributes, added error checks, throws more exceptions
6037 * TableCellCollection.cs: Added attribute
6038 * TableRow.cs: Added all attributes
6039 * TableRowCollection: Added attribute
6040 * TableStyle.cs: Added all attributes, improved error messages
6041 * TemplateColumn.cs: Added all attributes
6042 * TextBox.cs: Added all attributes, added error checks, throws more exceptions
6043 * ValidationSummary.cs: Added all attributes
6044 * WebControl.cs: Added all attributes
6045 * Xml.cs: Added all attributes
6047 2003-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6049 * DataGrid.cs: fixed signature of ItemCreated and PageIndexChanged.
6050 * DataList.cs: fixed signature of ItemCreated and ItemDataBound.
6052 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6054 * CheckBoxList.cs: fixes bug reported on the list about the state of
6055 the CheckButtons not being preserved across posts.
6057 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6059 * ListControl.cs: added SelectedValue property (1.1). Closes 46412.
6061 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6063 * AdRotator.cs: fixed bug #44271 and a few others bugs. Mono-stylized.
6065 2003-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6067 * ListControl.cs: save viewstate data when any of the 3 values is not
6068 null. Fixed condition to save selection indices. Closes bug #45493.
6070 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6072 * DataGrid.cs: fixed bug #43823.
6074 2003-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6076 * DataGrid.cs: fixed delegate type for SortCommand.
6078 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6080 * DataGridColumnCollection.cs: added missing return in RemoveAt.
6082 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6084 * DataGridColumnCollection.cs: fixed LoadViewState for the columns.
6085 Don't save ViewState is the number of columns is 0.
6087 2003-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6089 * DataGrid.cs: get the right item Type for the property we're reading
6090 fromt the data source.
6092 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6095 * TextBox.cs: added control builder attribute.
6097 2003-03-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6099 * DataGrid.cs: Fixed SaveViewState and type of ItemDataBound.
6101 2003-03-17 George Kodinov <gkodinov@openlinksw.co.uk>
6103 * Unit.cs: Called the correct method to get the Numeric locale for the
6106 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6108 * ButtonColumn.cs: fixed a couple of infinite loop problems and render
6109 correctly the header of the column.
6111 * DataGridTableInternal.cs: don't assign a default ID to this control.
6113 * LinkButton.cs: raise bubble event in OnCommand.
6115 * TableCellCollection.cs: fixed the index returned by Add.
6117 * TableRowCollection.cs: ditto.
6119 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6121 * Xml.cs: don't call MapPathSecure when setting DocumentSource.
6123 2003-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6125 * RangeValidator.cs: fixed bug #37577. Thanks to Stephane Tombeur
6126 for reporting the bug and providing the fix.
6128 2003-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6130 * DataGrid.cs: AutoGenerateColumns defaults to true. Fixed
6131 CreateColumnSet. Set the owner of the column when auto generated.
6132 In PrepareControlHierarchyForItem, fixed for loop bound.
6134 * LinkButtonInternal.cs: fixed infinite recursion bug.
6138 2003-01-22 Zdravko Tashev <ztashev@openlinksw.co.uk>
6140 * Xml.cs: a few fixes.
6142 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6144 * DataList.cs: handle the exception when adding new keys to
6147 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6149 * BaseDataList.cs: what can I say for this one? I spent so many time
6150 until I finally found this that I'm gonna miss this f....g bug... ;-).
6151 Farewell. Now we can get events from image buttons inside Data*.
6153 * DataList.cs: now the value stored in ViewState for item count is
6156 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6158 * DataGrid.cs: default value for ShowHeaders is true. Fixed style for
6160 * DataGridColumn.cs: added SetOwner method.
6161 * DataGridColumnCollection.cs: set the owner of the column when added.
6163 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6165 * BoundColumn.cs: typo.
6166 * DataGrid.cs: use 'as' instead of casting. Typo.
6167 * HyperLinkColumn.cs: call OnColumnChanged when any property change.
6170 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6172 * HyperLink.cs: fixes bug #36336.
6174 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6176 * DataList.cs: fixed IRepeatInfoUser.GetItemStyle.
6178 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6180 * BaseValidator.cs: return an empty string in GetControlValidationValue
6181 when GetValue returned null.
6183 * CompareValidator.cs: fixed EvaluateIsValid.
6185 * RegularExpressionValidator.cs: fixed EvaluateIsValid.
6187 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6189 * Xml.cs: use MapPathSecure to get the path of the document.
6191 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6193 * DataList.cs: fixed header & footer.
6195 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6197 * DataList.cs: for header and footer don't use data source.
6198 Instantiate in the DataListItem, not in the DataList.
6199 databind-template.aspx works now.
6201 2002-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6204 (Render): call RenderContents (), not base.RenderContents ().
6206 * DataList.cs: style.
6208 But I still haven't found what i'm looking for....
6210 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6212 * Calendar.cs: fixed loading/saving selected dates.
6213 * SelectedDatesCollection.cs: added internal function to get the
6214 underlying ArrayList.
6216 Calendar navigation works again. Selecting dates too.
6218 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6220 * DataList.cs: added a few attributes and fixed infinite recursion.
6222 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6224 * ListItemCollection.cs: fixed LoadViewState.
6226 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6228 * TableItemStyle.cs: TypeDescriptor.GetConverter seems to fail.
6229 Commented out some code until it works.
6231 2002-10-29 Gaurav Vaish <gvaish_mono@lycos.com>
6233 * BaseCompareValidator.cs - Fixed operator bug in
6234 Compare(string, string, ...)
6235 * CompareValidator.cs - EvaluateIsValid() : Implemented.
6237 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
6239 * BoundColumn.cs - InitializeCell(TableCell, int, ListItemType)
6241 - All Properties : Now make use of ViewState.
6243 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
6245 * BaseValidator.cs - Uncomment NotImplementedException.
6247 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
6249 * BaseValidator.cs - Minor changes in TODO comments.
6251 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
6253 * BaseValidator.cs - DetermineRenderUpLevel() : Uncomment
6254 the NotImplementedException being thrown.
6255 * DataGridPagerStyle.cs - Mode { set; } : Implemented.
6256 * DataGridLinkButton.cs - Added new class (private) : Implemented.
6257 * DataGrid.cs - InitializePager(DataGridItem, int,
6258 PagedDataSource) : Implemented.
6260 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
6262 * DataList.cs - PrepareControlHierarchy() : Implemented.
6264 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
6266 * DataList.cs - RenderContents(HtmlTextWriter) : Implemented.
6267 - GetItem(ListItemType, int) : Removed TODO.
6268 - CreateControlHierarchy(bool) : Implemented.
6269 - CreateItem(int, ListItemType) : Implemented.
6270 - CreateItem(int, ListItemType,
6271 bool, object) : Implemented.
6272 - InitializeItem(DataItem) : Implemented.
6273 * DataGrid.cs - CreateControlHierarchy(bool) : Bug fix.
6274 The ViewState["_!ItemCount"],
6275 ViewState["_!DataSource_ItemCount"]
6276 are shared by DataList and DataGrid, and hence
6277 should share the same name.
6278 - ResolveDataSource(object, string)
6279 : Removed. Use System.Web.UI.Utils.DataSourceHelper
6280 ::GetResolvedDataSource(object, string).
6283 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6285 * DataGrid.cs: fixed compilation
6287 2002-09-12 Gaurav Vaish <gvaish_mono@lycos.com>
6289 * PagedDataSource.cs - FirstIndexInPage : Fixed bug.
6290 * DataGrid.cs - CreateControlHierarchy(bool)
6291 : working towards completion.
6292 - ResolveDataSource(object, string)
6293 : stubbed new method
6295 : stubbed new method
6296 Well. It's almost done.
6297 * DataGridTableInternal.cs
6298 - Added new internal class.
6300 2002-08-28 Gaurav Vaish <gvaish_mono@lycos.com>
6302 * DataSourceInternal.cs - Added new class (internal).
6304 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6307 * HorizontalAlign.cs:
6309 * VerticalAlign.cs: fixes based on class status page.
6311 * HorizontalAlignConverter.cs: implemented.
6312 * VerticalAlignConverter.cs: implemented.
6314 * FontUnitConverter.cs: implemented GetStandardValues ().
6316 * WebColorConverter.cs: implemented ConvertFrom () and ConvertTo ().
6318 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
6320 * DataGrid.cs - AutoCreateColumns: Bug fixes.
6322 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
6324 * DataGrid.cs - AutoCreateColumns: completed, hopefully!
6326 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
6328 * DataGrid.cs - Working on the undocumented protected
6329 method CreateColumnSet. AutoCreateColumns method
6330 stubbed. Left CreateControlHierarchy for the time
6331 being, looks like I'm going insane. ;-)
6333 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
6335 * Button.cs - Steffen's OnCommand bug fix.
6337 2002-08-12 Gaurav Vaish <gvaish_mono@lycos.com>
6339 * DataGrid.cs - Added protected method (skeleton)
6340 CreateColumnSet(PagedDataSource, bool)
6341 Still trying to know how will it be used
6344 2002-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6346 * PagedDataSource.cs: fixed compilation.
6348 2002-08-08 Gaurav Vaish <gvaish_mono@lycos.com>
6350 * DataGrid.cs - Added private method
6351 CreatePagedDataSource
6353 CreateControlHierarchy(bool)
6354 * PagedDataSource.cs - Bug fixed.
6355 CurrentPageIndex is writable.
6357 2002-08-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6359 * DataGrid.cs: fixed typo.
6360 * DataGridPagerStyle.cs: added IsPagerOnTop and IsPagerOnBottom.
6362 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
6364 * DataGridColumn.cs - Added internal methods to get the
6365 various styles (needed in DataGrid.cs)
6366 * DataGrid.cs - Completed the method
6367 PrepareControlHierarchy()
6369 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
6371 * DataGrid.cs - Wokring on PrepareControlHierarchy()
6372 - Added private method
6373 PrepareControlHierarchyForItem()
6375 2002-08-05 Gaurav Vaish <gvaish_mono@lycos.com>
6377 * DataGrid.cs - Completed method
6378 OnBubbleEvent(object, EventArgs)
6380 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6382 * Xml.cs: implemented document/transform load.
6384 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6386 * Calendar.cs: added myself to the list of authors.
6387 * DropDownList.cs: fixed a few properties.
6388 * ListControl.cs: fixed SelectedIndex.
6390 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6392 * Calendar.cs: lots of fixes. Render days. Still left to persist
6393 selected days when changing month.
6395 * Unit.cs: fixed Percentage and Pixel.
6397 * WebControl.cs: a few properties are now using ControlStyle instead
6398 of ViewState to persist.
6400 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6402 * BaseValidator.cs: it works now.
6403 * DataGridColumn.cs: added attribute and made it abstract.
6404 * RequiredFieldValidator.cs: fixed return value in EvaluateIsValid.
6406 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6408 * TextBox.cs: default for Wrap is true.
6409 (OnPreRender): don't save Text if there are no listeners on TextChanged.
6411 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6417 (LoadViewState): fixed.
6419 * ListItemCollection.cs:
6420 (TrackViewState): use items instead of 'this' in foreach.
6423 (LoadViewState): more checking of parameters.
6425 * WebControl.cs: implemented LoadViewState and SaveViewState.
6428 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6430 * ListItem.cs: there was no code to unset the flags!!!
6432 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6434 * FontUnit.cs: use a hashtable for mapping size name to value.
6435 * HyperLink.cs: fixed a bug and a typo.
6436 * Unit.cs: some fixes to internal constructor.
6438 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6440 * ListControl.cs: fixed a couple of range checks.
6441 * WebControl.cs: MS lies! Not all WebControls must be rendered inside
6442 an HtmlForm (p.e., Label).
6444 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6454 * HyperLinkColumn.cs:
6463 * RadioButtonList.cs:
6467 * WebControl.cs: removed attributes added by mistake (i used
6468 GetCustomAttributes (true), d'oh!).
6470 * DataListItem.cs: implemented RenderItem.
6472 * Repeater.cs: implemented CreateItem and InitializeItem.
6474 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6476 * BaseDataList.cs: a couple of fiex and added attributes.
6477 * DataGrid.cs: little fixes.
6479 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6488 * RadioButtonList.cs:
6491 * Xml.cs: forgot to add using System.ComponentModel.
6493 * BaseValidator.cs: use explicitly
6494 System.ComponentModel.AttributeCollection as there is another class
6495 with the same name under System.Web.UI.
6497 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6516 * RadioButtonList.cs:
6521 * Xml.cs: added/fixed all attributes used by xsp.
6523 * BaseValidator.cs: some fixes.
6525 2002-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6528 (AddAttributesToRender): correctly default to border=1.
6530 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6533 (LoadAdFile): make the dictionary null after every iteration.
6537 * ListItem.cs: fixed warnings.
6539 Mon Jul 1 16:23:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
6541 * Style.cs, TableRow.cs, DataListItem.cs: fix compilation.
6543 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6545 * DataGridColumn.cs:
6546 * DataGridPagerStyle.cs:
6553 * ListItemCollection.cs:
6555 * ServerValidateEventArgs.cs:
6559 * Xml.cs: more class status page based changes.
6561 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6564 (.ctor): fixed to render the correct tag.
6565 (IPostBAckEventHandler.RaisePostBackEvent): fixed.
6567 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6570 (AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
6571 WebControl derived classes should be rendered inside a HtmlForm.
6573 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6575 * Repeater.cs: implemented CreateControlHierarchy. Fixed some event
6578 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6580 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
6581 * RepeatInfo.cs: implemented DoHorizontalRendering.
6583 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6585 * System.Web.UI.WebControls/Repeater.cs:
6587 (OnDataBinding): fixed stack overflow.
6589 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6591 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
6592 * RepeatInfo.cs: implemented DoHorizontalRendering.
6594 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6597 (CopyBaseAttributes): copy Attributes and don't throw exception.
6599 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6601 * ListBox.cs: mono-stylized.
6602 (AddAttributesToRender): call parent class method.
6604 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6606 * Style.cs: fixed IsEmpty and Width.
6608 * Table.cs: mono-stylized.
6609 (TableRowControlCollection.AddAt): fixed.
6610 (AddAttributesToRender): fixed.
6612 * TableCell.cs: mono-stylized.
6613 (.ctor): use PreventAutoID.
6614 (AddAttributesToRender): fixed.
6615 (AddParsedSubObject): fixed.
6617 * TableRow.cs: mono-stylized. Added
6618 ParseChildren attribute.
6621 (get_GridLine): fixed.
6623 2002-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6625 * Panel.cs: fixed stack overflow.
6626 * Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
6627 and SingleConverter.
6629 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6631 * RadioButton.cs: mono-stylized and some little fixes.
6633 * TextBox.cs: mono-stylized.
6634 (MaxLength): fixed typo.
6636 (AddAttributesToRender): don't render the text between the tags for
6637 SingleLine, use value attribute for it. Don't render the text for
6640 (OnPreRender): don't throw exception and call base.OnPreRender.
6642 (Render): for MultiLine, render the text between the opening and
6643 closing tags encoded as HTML.
6645 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6648 (AddAttributesToRender): fixer another stack overflow.
6651 (TagName): modified to use TagKey instead of tagKey as the property
6654 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6656 * LinkButton.cs: mono-stylized.
6657 (AddParsedSubObject):
6658 (RenderControls): little fixes.
6661 (AddAttributesToRender): fixed usage of IEnumerator.
6663 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6665 * Literal.cs: beautified.
6667 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6669 * Label.cs: beautified and fixed a couple of 'classic' bugs.
6671 * WebControl.cs: use Span as default tag when no other provided in
6672 constructor. That is what MS renders.
6674 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6677 (AddAttributesToRender): fixed (classic) stack overflow.
6679 * CheckBox.cs: mono-stylized.
6680 (AutoPostBack): fixed stack overflow.
6681 (Render): fixed alignment issues. Also set the For attribute always
6684 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6686 * AdRotator.cs: GetData does not work as it should, but now it returns
6687 useful data (only the first ad in the file). Set the NavigateUrl
6688 property in the hyperlink if available.
6690 * HyperLink.cs: fixed constructor and a couple of stack overflows.
6692 * Image.cs: added an attribute and fixed stack overflow.
6695 (RenderBeginTag): fixed.
6696 (TagName): don't call Enum.IsDefined twice.
6698 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6700 * WebControl.cs: added attributes PersistChildrenAttribute and
6701 ParseChildrenAttribute.
6703 2002-05-24 Duncan Mak <duncan@ximian.com>
6705 * DataGridItem.cs (SetItemType): Changed function signature to
6708 * ListItemCollection.cs (this): Changes the visibility level of
6711 * Repeater.cs (OnItemCommand):
6713 (OnItemDataBound): Added necessary casts.
6715 2002-05-07 Duncan Mak <duncan@ximian.com>
6717 * Button.cs (AddAttributesToRender):
6718 * ImageButton.cs (AddAttributesToRender): Added a missing argument to the
6719 GetClientValidatedEvent method.
6721 2002-03-27 Gaurav Vaish <gvaish@iitk.ac.in>
6723 * Removed extra methods, corrected access modifiers to several
6726 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
6728 * <SeveralFiles>.cs - Added some attributes
6729 * FontUnitConverter.cs - Added stubs for GetStandardValues*(..)
6730 methods. Will complete them later. Right now, busy with
6731 the attributes part.
6732 * RepeaterItem.cs - Completed.
6734 Oh God! Mercy! I will die applying attributes. I look at the missing
6735 part in the class-status - daemon! Kyrie eleison!
6737 2002-03-19 Gaurav Vaish <gvaish@iitk.ac.in>
6741 * AdRotator.cs - Added definition for Font.
6742 * BaseCompareValidator.cs - Added definition for Controls.
6743 * Calendar.cs - SelectMonthText definition corrected.
6744 * DataList.cs - Added definition for SeparatorTemplate.
6745 * BorderStyle.cs - Namespace correction. It belongs not to UI,
6746 but to UI.WebControls.
6748 2002-03-17 Gaurav Vaish <gvaish@iitk.ac.in>
6750 Finally, I have made it. Today I did a second build for the
6751 System.Web assembly. It compiled 195 classes today.
6752 I am waiting eagerly for the runtime to come up so that the objects
6753 may be tested to their last levels. Several of the methods are still
6754 under the tag of "TODO" throwing NotImplementedException. Well, I
6755 hope to remove them soon, but how far is this soon - even I don't
6756 know, though I am happy to make the build a success even before
6757 the vacations to come.
6759 2002-03-07 Gaurav Vaish <gvaish@iitk.ac.in>
6761 Yesterday and today I tried to do some building of the aseembly,
6762 but was dumped with uncoutably infinite errors. ;-)
6763 I have put the copies of the recent errors on my home page, want
6764 to have a look at them? See:
6765 http://mastergaurav.virtualave.net/mono/
6766 I don't know what to do with these errors. Oh! The buggy me! How
6767 will I overcome myself. Hopefully, by when my vacations over, I
6768 should have made a repository where the build will not fail.
6770 2002-03-05 Gaurav Vaish <gvaish@iitk.ac.in>
6772 I am now going to do a build that will include the
6773 System.Web.UI.WebControls namespace. Hoping that I will make it
6774 soon. My exams are coming near and I have to pack up soon.
6777 2002-03-04 Gaurav Vaish <gvaish@iitk.ac.in>
6780 And with this, ie, today's work, all the objects mentioned in the
6781 namespace appear in the implementation. But it may not be worth
6782 trying to go for a build because of dependence of several of the
6783 internal methods that may clash with already available assembly
6786 Also, the classes lack possible attributes, like those informing
6787 about child-controls etc. But I have to first create the attribute
6788 classes before I attach the attributes to the classes.
6790 * CustomValidator.cs - Completed. In process realized that
6791 I have to complete / rejuvinate BaseValidator class.
6792 * BaseValidator.cs - Complete rejuvination. Completed 80%
6793 of the job. All that is left is Render(HtmlTextWriter),
6794 DetermineRenderUplevel(), RegisterValidatorCommonScript()
6795 RegisterValidatorDeclaration()
6796 * DataGridPagerStyle.cs - Completed. That adds one more missle
6798 * DataKeyCollection.cs - Completed. Petty small.
6799 * Repeater.cs - Work started off. This is a quite
6801 * DataGridItemEventArgs.cs,
6802 * DataGridShortCommandEventArgs.cs,
6803 * DataListItemEventArgs.cs,
6804 * MonthChangedEventArgs.cs,
6805 * RepeaterItemEventArgs.cs,
6806 * ServerValidateEventArgs.cs,
6807 * DataGridPageChangedEventArgs.cs
6808 - Damn, I marked them "*", while they
6810 * Repeater.cs - Done all except for an undocumented
6811 method CreateControlHierarchy(bool). Though the method
6812 is quite clear by its name, but it will take some time
6813 for me to come with some material to flush in.
6815 2002-03-03 Gaurav Vaish <gvaish@iitk.ac.in>
6817 * SelectedDatesCollection.cs - Completed.
6818 * PagedDataSource.cs - Completed. Pathetically nice class.
6819 * RegularExpressionValidator.cs
6820 - Completed. Ridiculously small and
6821 annoyinglyc crazy-driving class, basically the method
6823 * RangeValidator.cs - Completed.
6824 * DataGridColumn.cs - Completed.
6825 * EditCommandColumn.cs - All is complete except for the
6826 InitializeCell(TableCell, int, ListItemType) method.
6827 * DataListItem.cs - All done except for a longish method
6828 RenderItem(HtmlTextWriter, bool, bool)
6830 2002-03-02 Gaurav Vaish <gvaish@iitk.ac.in>
6832 * RepeaterItemCollection.cs - Completed.
6833 I love *Collection classes. I am planning to make a
6834 program that will generate a *Collection class. It's so
6835 simple and the same. ;-)
6836 * DataGridColumnCollection.cs - Completed.
6837 ... except probably for *ColumnCollection classes, where
6838 you have to put in some more effort. Still, these class
6839 generation can be automated.
6840 * DataListItemCollection.cs - Completed.
6841 See, how easily, in less than a quarter of a minute, I
6842 completed this class - manually. Copy-Paste/Cut-Replace.
6844 2002-02-21 Gaurav Vaish <gvaish@iitk.ac.in>
6846 * DataGrid.cs - Following methods implemented:
6847 TrackViewState(), LoadViewState(object), SaveViewState(),
6848 On* -- The event raisers.
6849 OnBubbleEvent(object, EventArgs) is still incomplete.
6850 * DataGridItem.cs - Initial Implementation
6851 * DataGridItemCollection.cs - Completed.
6853 2002-02-08 Gaurav Vaish <gvaish@iitk.ac.in>
6855 * DataGrid.cs - Initial Implementation. Worked
6856 primarily with some properties.
6858 2002-02-07 Gaurav Vaish <gvaish@iitk.ac.in>
6860 * ListBox.cs - Completed. Implemented
6861 LoadPostData(string, NameValueCollection)
6862 * RequiredFieldValidator.cs - Completed. Pretty simple class.
6864 2002-02-06 Gaurav Vaish <gvaish@iitk.ac.in>
6866 * ListBox.cs - Implemented the following:
6867 RaisePostDataChangedEvent()
6869 2002-02-02 Gaurav Vaish <gvaish@iitk.ac.in>
6871 * ListBox.cs - Supports the following properties:
6872 BorderColor, BorderStyle, BorderWidth, Rows, SelectionMode,
6875 AddAttributesToRender(HtmlTextWriter), OnPreRender(EventArgs),
6876 RenderContents(HtmlTextWriter)
6879 2002-02-01 Gaurav Vaish <gvaish@iitk.ac.in>
6881 * TargetConverter.cs - Completed
6882 * TemplateColumn.cs - Completed
6883 * DataList.cs - Corrected the get-er methods for the
6884 *Style objects. Corrected the get/set-er methods for ViewState
6886 Addded support for properties:
6887 GridLines, HeaderStyle, HeaderTemplate, ItemStyle, ItemTemplate,
6888 RepeatColumns, RepeatDirection, RepeatLayout, SelectedIndex,
6889 SelectedItem, SelectedItemStyle, SelectedItemTemplate,
6890 SeparatorStyle, SeparatorItemTemplate.
6892 CancelCommand, DeleteCommand, EditCommand, ItemCommand,
6893 ItemCreated, ItemDataBound, UpdateCommand.
6895 CreateControlStyle(), LoadViewState(object),
6896 SaveViewState(), TrackViewState
6898 OnBubbleEvent, OnCancelCommand, OnDeleteCommand,
6899 OnEditCommand, OnItemCommand, OnItemCreated,
6900 OnItemDataBound, OnUpdateCommand
6901 Added dummy methods for some undocumented methods:
6902 CreateControlHierarchy(bool), CreateItem(int, ListItemType),
6903 CreateItem(int, ListItemType, bool, object),
6904 PrepareControlHierarchy(), InitializeItem(DataListItem)
6905 * ListBox.cs - Started working.
6909 2002-01-31 Gaurav Vaish <gvaish@iitk.ac.in>
6911 * RepeaterInfo.cs - Initial Implementation. Done all
6912 except for RepeatDirection.Vertical
6913 * TableStyle.cs - Completed
6915 2002-01-30 Gaurav Vaish <gvaish@iitk.ac.in>
6917 * DropDownList.cs - Completed
6918 * ListItemCollection.cs - Added method FindByValueInternal to
6919 assist in the derived classes.
6920 Discovered bug in FindByValue. Removed
6921 * UnitConverter.cs - Completed
6922 * PlaceHolder.cs - What can be simpler than this?
6923 * PlaceHolderControlBuilder.cs
6924 - Uh! Damn cool one.
6925 * RadioButtonList.cs - Initial Implementation. All is done
6926 except for the implementation of
6927 method IRepeatInfoUser.RenderItem(...)
6928 * ValidatedControlConverter.cs
6929 ^^^^^^^^^^^^^^^^^^^^^^^^^ - Looks complete. Doubtful though !!
6930 * ValidationSummary.cs - Initial Implementation.
6931 * WebColorConverter.cs - Initial Implementation
6933 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
6935 * FontNamesConverter.cs - Completed
6936 * FontUnitConverter.cs - Partial Implementation
6937 * ListItemControlBuilder.cs - Completed
6939 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
6941 * TextBox.cs - All done except *Render* methods
6942 * TextBoxControlBuilder.cs - Completed
6943 * Xml.cs - Partial Implementation
6945 2002-01-26 Gaurav Vaish <gvaish@iitk.ac.in>
6947 * RadioButton.cs - Completed
6948 * TextBox.cs - Partial Implementation
6950 2002-01-25 Gaurav Vaish <gvaish@iitk.ac.in>
6952 * Panel.cs - Completed
6953 * TableItemStyle.cs - Completed
6955 2002-01-18 Gaurav Vaish <gvaish@iitk.ac.in>
6957 * TableCellCollection.cs - Completed
6958 * TableRowCollection.cs - Completed
6959 * TableHeaderCell.cs - Completed
6960 * TableRow.cs - Completed
6962 2002-01-09 Gaurav Vaish <gvaish@iitk.ac.in>
6964 * TableCellControlBuilder.cs - Completed
6965 * Table.cs - Completed
6966 * TableCell.cs - Completed
6968 2002-01-07 Gaurav Vaish <gvaish@iitk.ac.in>
6970 * CheckBoxList.cs - Completed
6971 * ButtonColumn.cs - Completed
6972 * Button.cs - Completed
6974 2001-12-28 Gaurav Vaish <gvaish@iitk.ac.in>
6976 * HyperLink.cs - Completed
6977 * Image.cs - Completed
6978 * ImageButton.cs - Completed
6979 * Label.cs - Completed
6980 * LabelControlBuilder.cs - Completed
6981 * LinkButton.cs - Completed
6982 * LinkButtonControlBuilder.cs - Completed
6983 * Literal.cs - Completed
6984 * LieteralControlBuilder.cs - Completed
6985 * FontUnit.cs - Completed
6988 2001-12-27 Gaurav Vaish <gvaish@iitk.ac.in>
6990 * Calendar.cs - Completed the functions of Render*,
6991 ViewStates (Track/View/Save),
6993 Left: RenderAllDays (partially)
6995 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
6997 * Calendar.cs - Added some more functions
6998 * Style.cs - Completed
6999 * ListItem.cs - Completed
7000 * ListItemCollection.cs - Completed
7002 Made the first successful build of System.Web.dll that included
7003 System.Web.UI.WebControls!
7005 2001-12-20 Gaurav Vaish <gvaish@iitk.ac.in>
7007 FontInfo.cs - Complete revamp. Completed
7009 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
7011 ListItemCollection.cs - Completed
7012 ListItem.cs - Initial Implementation
7013 Style.cs - Initial Implementation
7015 Right now I am in a total mood to do a successful build. Creating so many
7016 classes, completing classes in System.Web System.Web.UI namespaces.
7018 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
7020 TODO - Properly added
7021 CheckBox.cs - Completed
7022 BaseDataList.cs - Completed
7023 DayRenderEventArgs.cs - Completed
7024 RepeaterItem.cs - Initial implementation
7026 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
7028 BaseCompareValidator.cs - Completed
7029 AdRotator.cs - Completed
7031 2001-12-15 Gaurav Vaish <gvaish@iitk.ac.in>
7033 CommandEventArgs.cs - Completed
7034 DataGridCommandEventArgs.cs - Completed
7035 RepeaterCommandEventArgs.cs - Completed
7036 DataListCommandEventArgs.cs - Completed
7037 CompareValidator.cs - Partial Implementation
7039 2001-12-02 Gaurav Vaish <gvaish@iitk.ac.in>
7041 CheckBoxList.cs - Partial Implementation.
7044 2001-12-01 Gaurav Vaish <gvaish@iitk.ac.in>
7046 ListControl.cs - Completed
7048 2001-11-30 Gaurav Vaish <gvaish@iitk.ac.in>
7050 CheckBox.cs - Completed
7051 ListControl.cs - Initial Implementation
7052 CheckBoxList.cs - Started with it, but first needed
7053 ListControl. Left it.
7055 2001-11-29 Gaurav Vaish <gvaish@iitk.ac.in>
7057 CalendarDay.cs - Making a note that this
7058 has been implemented
7059 Calendar.cs - Making a note that have made some changes.
7060 Unimplmented functions throw
7061 NotImplementedException
7062 CheckBox.cs - Can now "Render" and "LoadPostData"
7065 2001-11-08 Gaurav Vaish <gvaish@iitk.ac.in>
7066 WebControl.cs - Total Revamp, Partial Implementation
7067 AdRotator.cs - Able to load files
7068 AdCreatedEventArgs.cs - Implemented
7070 2001-11-05 Gaurav Vaish <gvaish@iitk.ac.in>
7071 Calendar.cs - Initial Implementation
7072 ButtonColumn.cs - Initial Implementation
7073 Button.cs - Initial Implementation
7074 BoundColumn.cs - Initial Implementation
7075 BaseCompareValidator.cs - Minor Changes
7076 DataList.cs, BaseValidator.cs, BaseDataList.cs
7077 - Added more functions, other changes
7079 2001-10-28 Gaurav Vaish <gvaish@iitk.ac.in>
7080 WebControl.cs - Initial Implementation
7081 DataList.cs - Initial Implementation
7082 BaseValidator.cs - Initial Implementation
7083 BaseDataList.cs - Initial Implementation
7085 2001-10-27 Gaurav Vaish <gvaish@iitk.ac.in>
7087 AdCreatedEventArgs.cs - Initial Implementation
7088 AdCratedEventHandler.cs - Implemented
7089 AdRotator.cs - Initial Implementation
7090 BorderStyle.cs - Implemented
7091 ButtonColumnStyle.cs - Implemented
7092 CalendarSelectionMode.cs - Implemented
7093 DayNameFormat.cs - Implemented
7094 FirstDayOfWeek - Implemented
7095 FontInfo.cs - Partial Implementation
7096 FontSize.cs - Implemented
7097 GridLines.cs - Implemented
7098 HorizontalAlign.cs - Implemented
7099 HyperLink.cs - Initial Implementation
7100 ImageAlign.cs - Implemented
7101 IRepeatInfoUser.cs - Implemented
7102 ListItemType.cs - Implemented
7103 ListSelectionMode.cs - Implemented
7104 NextPrevFormat.cs - Implemented
7105 PagerMode.cs - Implemented
7106 PagerPosition.cs - Implemented
7107 RepeatDirection.cs - Implemented
7108 RepeatLayout.cs - Implemented
7109 TextAlign.cs - Implemented
7110 TextBoxMode.cs - Implemented
7111 TitleFormat.cs - Implemented
7112 UnitType.cs - Implemented
7113 ValidationCompareOperator.cs
7115 ValidationDataType.cs - Implemented
7116 ValidationSummaryDisplayMode.cs
7118 ValidatorDisplay.cs - Implemented
7119 VerticalAlign.cs - Implemented
7123 i/ File Created 2001-11-13