1 2006-11-13 Igor Zelmanovich <igorz@mainsoft.com>
3 * CompositeDataBoundControl.cs: fixed:
4 DataBind sets ChildControlsCreated=true.
6 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
8 * Login.cs: fixed CreateChildControls, throws exception if needed
10 * LoginView.cs: fixed CreateChildControls, check templates for null
12 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
14 * Wizard.cs: fixed ActiveStepIndex property, fixed SideBar button
15 rendering, fixed history updating
16 * WizardStepCollection.cs: fixed implemented interfaces
18 2006-11-13 Vladimir Krasnov <vladimirk@mainsoft.com>
20 * XmlDataSource.cs: CacheKeyDependency fixed
22 2006-11-12 Igor Zelmanovich <igorz@mainsoft.com>
24 * DetailsView.cs: fixed: DataKeys, PageCount, DataBinding flow.
26 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
28 * DetailsViewPagerRow.cs: fixed: must be not resolved as BindingContainer.
30 2006-11-09 Vladimir Krasnov <vladimirk@mainsoft.com>
32 * ParameterCollection.cs: fixed SetDirtyObject method
33 * ObjectDataSource.cs, ObjectDataSourceView.cs: removed VievState
34 utilization for control's properties, implemented caching
35 * SqlDataSource.cs, SqlDataSourceView.cs: implemented caching
37 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
39 * GridView.cs: fixed: DataKeys, PageCount, DataBinding flow.
41 2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
43 * DataBoundControl.cs: fixed:
44 ConfirmInitState method s called by
45 the DataBoundControl class in its OnLoad method.
47 2006-11-06 Igor Zelmanovich <igorz@mainsoft.com>
49 * FormView.cs: fixed: DataBinding flow.
51 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
53 * CustomValidator.cs: implemented ValidateEmptyText fixture.
55 2006-11-02 Igor Zelmanovich <igorz@mainsoft.com>
57 * BaseCompareValidator.cs: fixed: CultureInvariantValues, Type properties.
59 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
61 * Menu.cs: fixed: RenderEndTag.
62 Dynamic menu is rendered when StaticDisplayLevels=1
64 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
66 * GridView.cs: fixed: UpdateRow, DeleteRow, RowCreated.
68 2006-11-01 Igor Zelmanovich <igorz@mainsoft.com>
70 * FormView.cs: fixed: UpdateItem, DeleteItem.
72 2006-10-31 Igor Zelmanovich <igorz@mainsoft.com>
74 * DetailsView.cs: fixed: PageIndex, UpdateItem, InsertItem.
76 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
78 * RadioButtonList.cs: fixed: has no html output when Items.Count=0.
80 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
82 * ListControl.cs: fixed: setting SelectedVolue for 2.0.
84 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
86 * DataBoundControl: fixed: ValidateDataSource allows null as dataSource.
88 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
90 * ListControl.cs: fixed: assigning SelectedIndex with too hight value.
92 2006-10-29 Igor Zelmanovich <igorz@mainsoft.com>
94 * ListControl.cs: fixed: DataBinding for 2.0.
95 for 1.x refactoring only.
97 2006-10-25 Igor Zelmanovich <igorz@mainsoft.com>
99 * ChangePassword.cs: new class was implemented.
101 2006-10-25 Igor Zelmanovich <igorz@mainsoft.com>
103 * EmbeddedMailObject.cs: new class was implemented.
104 * EmbeddedMailObjectsCollection.cs: new class was implemented.
105 * MailDefinition.cs: new class was implemented.
107 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
109 * PagerSettings.cs: fixed: CreatePagerControl.
111 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
113 * CommandField.cs: fixed:
114 considers CaseValidation, ValidationGroup, ButtonType.
115 * DataControlButton.cs: refactoring:
117 2006-10-24 Igor Zelmanovich <igorz@mainsoft.com>
119 * DetailsView.cs: implemented: GetCallbackScript method.
121 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
123 * FormView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
125 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
127 * FormFiew.cs: fixed: UpdateItem, InsertItem.
129 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
131 * FormFiew.cs: fixed: PageIndex, rendering.
133 2006-10-30 Igor Zelmanovich <igorz@mainsoft.com>
135 * DropDownList.cs: fixed: rendering "name" attribute".
137 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
139 * GridView.cs: fixed: IPostBackContainer.GetPostBackOptions method.
140 * DataControlButton.cs:
141 * CommandField.cs: CausesValidation feature must be implemented other way
143 2006-10-23 Igor Zelmanovich <igorz@mainsoft.com>
145 * CompositeDataBoundControl.cs: fixed: CreateChildControls flow.
147 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
149 * FormView.cs: fixed: OnBubbleEvent returns true when event is handled.
151 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
153 * DetailsView.cs: fixed: OnBubbleEvent works properly.
155 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
157 * DetailsView.cs: fixed: considers DataControlField.InsertVisible.
159 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
161 * DetailsView.cs: fixed: CurrentMode property.
163 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
165 * DetailsView.cs: fixed: current state are not changed during paging.
167 2006-10-18 Igor Zelmanovich <igorz@mainsoft.com>
169 * DetailsView.cs: fixed:
170 in Insert mode Select not invoked from DataSource
172 2006-10-18 Konstantin Triger <kostat@mainsoft.com>
174 * ObjectDataSourceView.cs: use Type.GetType for loading full qualified types.
176 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
178 * FormView.cs: fixed: CreateDataSourceSelectArguments method.
179 (corresponding test does not work because bug in ObjectDataSourceView)
181 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
183 * DataBoundControl.cs: fixed: DataBind calls
184 CreateDataSourceSelectArguments() and stores result in SelectArguments
186 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
190 fixed: EnablePagingCallbacks feature.
191 when postback is invoked after callback control state is restored
194 2006-10-17 Vladimir Krasnov <vladimirk@mainsoft.com>
196 * SqlDataSource.cs, SqlDataSourceView.cs: redesign and bug fixes
198 2006-10-17 Igor Zelmanovich <igorz@mainsoft.com>
200 * DetailsView.cs: fixed: CreateDataSourceSelectArguments method.
201 (corresponding test does not work because bug in ObjectDataSourceView)
203 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
205 * GridView.cs: fixed: EnableSortingAndPagingCallbacks feature.
206 when postback is invoked after callback control state is restored
209 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
211 * GridView.cs: fixed: Sorting feature.
212 When sorting EditIndex and PageIndex are reseted
214 2006-10-12 Igor Zelmanovich <igorz@mainsoft.com>
216 * GridView.cs: fixed: Sorting feature.
217 CreateDataSourceSelectArguments considers SortExpression and SortDirection.
218 (corresponding test does not work because bug in ObjectDataSourceView)
220 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
222 * GridView.cs: fixed:
223 CreateDataSourceSelectArguments works according to MSDN.
224 (corresponding test does not work because bug in ObjectDataSourceView)
226 2006-10-11 Igor Zelmanovich <igorz@mainsoft.com>
228 * ObjectDataSourceView.cs: fixed:
229 CanRetrieveTotalRowCount returns true if EnablePaging = false
231 2006-10-10 Igor Zelmanovich <igorz@mainsoft.com>
233 * DataBoundControl.cs: fixed: DataBind flow
234 CreateDataSourceSelectArguments() is called
235 each time as DataBind() is called
237 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
239 * BoundField.cs: implemented ValidateSupportsCallback().
241 2006-10-09 Igor Zelmanovich <igorz@mainsoft.com>
243 * CommandField.cs: ValidateSupportsCallback(): exception's message.
245 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
247 * FormView.cs: fixed: CurrentMode property.
249 2006-10-08 Igor Zelmanovich <igorz@mainsoft.com>
255 reverted r66222, problem solved in r66283: command buttons inherit ForeColor
257 2006-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
259 * Image.cs: write 'alt' after 'src' so that the HyperLink test do not
262 2006-10-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
264 * HyperLink.cs: don't render the img tag 'by hand' but use an Image
265 instead, which takes care of the 0/0px case. Also set the ToolTip
266 property. Fixes bug #79585.
268 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
270 * DetailsView.cs: optimization for previous patch
272 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
274 * FormView.cs: optimization for previous patch
276 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
280 implemented PrepareControlHierarchy()
281 styles are applied correct
283 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
286 implemented PrepareControlHierarchy()
287 styles are applied correct
289 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
292 * DataControlButton.cs:
293 * DataControlField.cs:
294 implemented PrepareControlHierarchy()
295 styles are applied correct
296 command buttons inherit ForeColor
298 2006-10-05 Igor Zelmanovich <igorz@mainsoft.com>
300 * WebControl.cs: fixed: CreateControlStyle()
302 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
308 corrected pager rendering: Color style applied to A tag,
309 Input type="image" used if ImageUrl is not empty.
311 2006-10-04 Igor Zelmanovich <igorz@mainsoft.com>
313 * GridView.cs: corrected rendering
314 * ContainedTable.cs: added new helper class
316 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
318 * FormView.cs: fixed:
319 in Insert mode Select not invoked from DataSource
321 2006-10-03 Igor Zelmanovich <igorz@mainsoft.com>
323 * FormView.cs: fixed:
324 Pager is not shown when page count < 1
325 in Edit mode use EmptyDataTemplate if there is no DataItem
326 when page changed FormView stays in current state.
328 2006-09-28 Igor Zelmanovich <igorz@mainsoft.com>
330 * FormView.cs: fixed: OnBubbleEvent works properly
332 2006-09-25 Igor Zelmanovich <igorz@mainsoft.com>
334 * DataBoundControl.cs: fixed: DataBind flow
335 GetData return "empty" DataSourceView when no DataSource and DataSourceID
336 was assigned to cause PerformDataBinding be called.
338 2006-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
340 * DataList.cs: use ExtractTemplateRows to determine if the style is
341 applied to the Table in a template or to its rows. Fixes bug #78058.
343 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
345 * ListBox.cs: if the list is not enabled, don't require a postback.
348 2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
350 * HyperLink.cs: don't output the nabvigate url if disabled.
351 * LinkButton.cs: always call base.AddAttributesToRender(). Don't output
352 the link URL if disabled.
355 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
357 * RadioButtonList.cs:
358 make it to consider CausesValidation and ValidationGroup properties
360 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
363 make it to consider CausesValidation and ValidationGroup properties
365 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
368 Page.Validate() is called when CausesValidation=true
370 2006-09-19 Igor Zelmanovich <igorz@mainsoft.com>
373 make onclick attribute to consider ValidationGroup property.
375 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
378 make rendering of the href attribute to consider ValidationGroup property.
379 Page.Validate() is called when CausesValidation=true
381 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
384 make rendering of the onchange attribute to consider ValidationGroup
386 Page.Validate() is called when CausesValidation=true
388 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
391 make rendering of the onclick attribute to consider ValidationGroup property
392 Page.Validate() is called when CausesValidation=true
394 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
397 VewState saving and restoring rolled back to 1.1 implementation
398 (fixed corresponding test), corrected public interface (there are no
399 overriden methods SaveControlState, LoadControlState and OnInit),
400 implemented CausesValidation and ValidationGroup properties.
402 2006-09-18 Igor Zelmanovich <igorz@mainsoft.com>
405 make rendering of the onclick attribute to consider ValidationGroup property
406 Page.Validate() is called when CausesValidation=true
408 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
411 implemented: RaisePostBackEvent,
412 refactoring: GetPostBackOptions used to build onclick client event
414 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
416 * ImageButton.cs: implemented IButtonControl.Click, RaisePostBackEvent
418 2006-09-14 Igor Zelmanovich <igorz@mainsoft.com>
420 * BaseValidator.cs: implemented ValidationGroup feature on client side
421 * ValidationSummary.cs:
423 2006-09-12 Igor Zelmanovich <igorz@mainsoft.com>
425 * TreeView.cs: corrected rendering
428 2006-09-11 Konstantin Triger <kostat@mainsoft.com>
430 * Login.cs: ensure the urls are correctly resolved.
432 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
434 * TreeView.cs: corrected rendering: styles are applied correct
438 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
440 * TreeView.cs: corrected rendering: HoverNodeStyle works
444 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
446 * TreeNodeStyle.cs: fixed: ViewState restored properly
448 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
453 * DataGridPagerStyle.cs:
454 refactoring: makes Style class more flexible for inheriting and reuse
456 2006-09-10 Igor Zelmanovich <igorz@mainsoft.com>
458 * TreeView.cs: fixed: for PopulateOnDemand nodes expanded and checked
459 state restored correct on PostBack.
462 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
464 * ObjectDataSourceView.cs: correctly find the type when it is not in the
465 executing assembly. Fixes bug #78321. Patch by Marek Habersack.
467 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
469 * ControlParameter.cs: fix search for controls so that they use their
470 NamingContainer, not the Page. Patch by Marek Habersack that fixes
473 2006-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
475 * Login.cs: fix problem with the login control and master pages.
476 Patch by Marek Habersack that fixes bug #78219.
478 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
480 * TreeView.cs: fixed: populating nodes.
483 2006-09-07 Igor Zelmanovich <igorz@mainsoft.com>
485 * TreeNode.cs: fixed: ToggleExpandState.
487 2006-09-07 Andrew Skiba <andrews@mainsoft.com>
489 * SqlDataSourceView.cs: return DataView from ExecuteSelect when
490 DataSourceMode is DataSet.
492 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
494 * TreeView.cs: fixed: populating nodes flow.
495 * TreeNodeCollection.cs
498 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
500 * TreeNodeCollection.cs: fixed: ViewState saved and restored correct.
502 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
504 * TreeView.cs: corrected rendering: RenderBeginTag, RenderEndTag.
506 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
508 * TreeView.cs: fixed: when specified value is not one of
509 the TreeNodeTypes values exception is threw.
511 2006-09-06 Igor Zelmanovich <igorz@mainsoft.com>
513 * TreeView.cs: fixed: when specified image set is not one of
514 the TreeViewImageSet values exception is threw.
516 2006-09-05 Igor Zelmanovich <igorz@mainsoft.com>
518 * TreeNodeStyleCollection.cs: fixed: ViewState saved and restored correct.
520 2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
522 * Style.cs: implemented SetBit().
524 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
526 * CompareValidator.cs: fixed controltocompare attribute.
528 2006-09-03 Igor Zelmanovich <igorz@mainsoft.com>
531 when login attempt was not successful FailureText is shown.
533 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
535 * CreateUserWizard.cs: fixed: InvalidPasswordErrorMessage
536 is formatted correct.
538 2006-08-31 Igor Zelmanovich <igorz@mainsoft.com>
540 * CreateUserWizard.cs:
541 * CompleteWizardStep.cs:
542 * CreateUserWizardStep.cs:
544 fixed: ContinueButtonClick occurs when the user clicks
545 the Continue button in the final user account creation step.
546 ContinueDestinationPageUrl - redirected after clicking
547 the Continue button on the success page.
549 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
551 * Wizard.cs: refactoring: Button, ImageButton and LinkButton are used
552 insted internal DataControlButton.
554 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
556 * Button.cs: implemented GetPostBackOptions + refactoring
558 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
560 * ImageButton.cs: implemented 2.0 features
561 OnClientClick attached to onclick attribute.
562 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
563 generate onclick attribute.
565 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
567 * LinkButton.cs: typo fix
569 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
571 * Button.cs: refactoring
573 2006-08-30 Igor Zelmanovich <igorz@mainsoft.com>
575 * LinkButton.cs: implemented 2.0 features
576 OnClientClick attached to onclick attribute.
577 PostBackUrl, CausesValidation, ValidationGroup - used PostBackOptions
580 2006-08-29 Igor Zelmanovich <igorz@mainsoft.com>
582 * Button.cs: implemented 2.0 features
584 2006-08-28 Igor Zelmanovich <igorz@mainsoft.com>
586 * Menu.cs: refactoring
589 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
591 * TreeView.cs: fixed data binding
593 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
595 * TreeNodeBinding.cs: fixed ToString method
597 2006-08-27 Igor Zelmanovich <igorz@mainsoft.com>
599 * MenuItem.cs: typo fix
601 2006-08-27 Vladimir Krasnov <vladimirk@mainsoft.com>
603 * CreateUserWizardStep.cs: fixed validators message display
605 2006-08-25 Kornél Pál <kornelpal@gmail.com>
607 * FileUpload.cs: Use assembly name constants.
609 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
611 * TemplateField.cs: fixed ExtractValuesFromCell, .net aspx parser not
612 always creates ExtractTemplateValuesMethod delegate
614 2006-08-24 Igor Zelmanovich <igorz@mainsoft.com>
616 * TreeNodeBinding.cs: corrected public interface
619 2006-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
621 * TextBox.cs: fix for bugs #76771 and #79020. A test breaks for the 2.0
622 case, but there are many others.
624 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
626 * Menu.cs: corrected rendering of static and dynamic items
629 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
633 fixed: AddAttributesToRender method calls FillStyleAttributes,
634 text styles applied correct.
636 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
639 fixed: when removed the names from the bag also removed FontStyles.Names flag from fontstyles.
640 refactoring: Name and Names properties has same source in bag.
642 2006-08-23 Igor Zelmanovich <igorz@mainsoft.com>
644 * Style.cs: restored r63894: for 1.x is refactoring only
646 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
649 fixed: CopyFrom and MergeWith behave differently between 1.1 and 2.0.
650 added ClearDefaults method for 2.0.
652 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
654 * ObjectDataSourceStatusEventArgs.cs: ExceptionHandled default value
657 2006-08-22 Igor Zelmanovich <igorz@mainsoft.com>
659 * SubMenuStyle.cs: fixed:
660 Unit.ToString() already include unit (e.g. "3px")
662 2006-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
665 * ChangeLog: revert r63894. It modified the 1.x profile, it wasn't
666 submitted for review and it only added tests for the 2.0 profile.
668 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
670 * FormView.cs: added explicit implementation of
671 IDataItemContainer.DataItemIndex, as documented
673 2006-08-17 Igor Zelmanovich <igorz@mainsoft.com>
676 When style is registered with StyleSheet AddAttributesToRender method
677 adds class attribute but not style to writer
679 2006-08-15 Igor Zelmanovich <igorz@mainsoft.com>
682 OnBubleEvent works properly - controls like Button, LinkButton nested into template
683 can raise MenuItemClick event,
684 ViewState of Items saved and restored properly.
686 2006-08-14 Andrew Skiba <andrews@mainsoft.com>
688 * TableStyle.cs: replace ResolveUrl with ResolveClientUrl to match
691 2006-08-14 Igor Zelmanovich <igorz@mainsoft.com>
693 * Menu.cs: fixed databinding feature:
694 ensure that items initialization occurs only once
696 2006-08-10 Igor Zelmanovich <igorz@mainsoft.com>
698 * Menu.cs, MenuItem.cs: fixed databinding feature
700 2006-08-09 Robert Jordan <robertj@gmx.net>
702 * DataControlButton.cs, Image.cs, AdRotator.cs, HyperLink.cs:
703 replace ResolveUrl with ResolveClientUrl to match MS.NET's
704 behaviour. Fixes bug #77539.
706 2006-08-09 Igor Zelmanovich <igorz@mainsoft.com>
708 * HierarchicalDataBoundControl.cs: fixed DataBind flow
710 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
716 * WebControl.cs: fixed ParseChildren attribute to be compliant
719 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
721 * MultiView.cs: fixed: EnableTheming property
723 2006-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
727 * TreeView.cs: Patch by Marek Habersack that fixes bug #78968 take 2.
729 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
731 * Style.cs: fixed restoring FontInfo from ViewState
733 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
735 * XmlDataSource.cs: implemented caching functionality
737 2006-07-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
739 * PagerSettings.cs: Fixed the pager range calculation formula. The old
740 one didn't work with more than 20 pages. Patch by Marek Habersack that
743 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
745 * FormView.cs: fixes to make Render more similar to dotnet.
747 2006-07-30 Vladimir Krasnov <vladimirk@mainsoft.com>
749 * Wizard.cs: fixed return value of OnBubbleEvent
751 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
753 * FormView.cs: init BottomPagerRow.ItemIndex with 0; gracefully
754 handle null result of GetData().
756 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
758 * FormView.cs: use TableStyle for ControlStyle.
760 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
762 * FormView.cs: save DataKeyNames and DefaultMode in ControlState.
764 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
766 * FormView.cs: init DataKeys and fix null reference.
768 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
770 * TreeView.cs: several changes to improve compatibility with MS.
771 Patch by Marek Habersack that fixes bug #77551.
773 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
775 * Style.cs: output the text-decoration value even when it is 'none'.
776 Patch by Marek Habersack that fixes bug #78968.
778 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
780 * FormView.cs: initialize PageCount with 0; fix IsBindableType to
783 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
785 * DetailsViewRowCollection.cs: returns this in SyncRoot.
787 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
789 * FormView.cs: throw ArgumentOutOfRange exception on bad CellSpacing
792 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
794 * ObjectDataSource.cs: add doc and fix usage of MergeParameterValues
796 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
798 * AutoGeneratedField.cs: fix the internal constructor according to test
799 DetailsView_CreateAutoGenerateRow.
801 2006-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
803 * XmlDataSource.cs: implemented XSLT, removed properties from
805 * XmlDataSourceView.cs: fixed default xpath
807 2006-07-26 Andrew Skiba <andrews@mainsoft.com>
809 * DetailsView.cs: fix IsBindableType in accordance with MSDN and tests.
811 2006-07-25 Vladimir Krasnov <vladimirk@mainsoft.com>
813 * Wizard.cs: fixed ActiveStep property
814 fixed templated side bar
816 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
818 * ImageField.cs: fix null reference bug.
820 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
822 * DetailsView.cs: init DataKey property with empty collection.
823 * DataKey.cs: fix unexpected exception bug.
824 * DataControlField.cs: override ToString according to MSDN.
826 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
828 * DetailsView.cs: create table style in CreateControlStyle.
830 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
832 * DetailsView.cs: don't throw the exception which .Net does not throw.
834 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
836 * DetailsView.cs: save DefaultMode and DataKeyNames in control state,
837 to match .Net; fix PageCount to match record count.
839 2006-07-24 Vladimir Krasnov <vladimirk@mainsoft.com>
841 * Menu.cs: fixed properties default values, fixed rendering
844 2006-07-23 Vladimir Krasnov <vladimirk@mainsoft.com>
846 * Wizard.cs: implemented SkipLinkText, TagKey
847 fixed rendering bugs, fixed templated button bar rendering
848 fixed side bar rendering
849 * WizardStepBase.cs: fixed Name property
851 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
853 * DetailsView.cs: fix the regressions, caused by the previous commit.
855 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
857 * DetailsView.cs: correct handling the different default values of
858 DetailsView.CellSpacing and Table.CellSpacing.
860 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
862 * DetailsView.cs: create a pager row when needed.
864 2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
868 * PagedDataSource.cs:
871 * LinkButton.cs: implement GetPostBackOptions for the 2.0 controls that
872 support it. The GridView control will no longer throw an exception when
873 rendered in the paging mode. Patch by Marek Habersack. Fixes bug #78288.
875 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
877 * DetailsView.cs: many fixes: initialize PageCount with 0; initialize
878 Rows with empty collection; call EnsureChildControls from get Row;
879 NullReference in DeleteItem; fix RenderGrid (ideas from GridView);
880 implemented IPostBackContainer.GetPostBackOptions.
882 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
884 * DetailsView.cs: create HeaderRow and FooterRow even when HeaderText
885 and FooterText are empty, to match .NET. Otherwise we have NullReference
888 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
890 * DetailsView.cs: Render fix.
892 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
894 * BoundField.cs: don't call DataBinder.GetPropertyValue with empty
897 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
899 * DetailsView.cs: NullReferenceException fix
901 2006-07-20 Vladimir Krasnov <vladimirk@mainsoft.com>
903 * PagerSettings.cs: implemented PropertyGhanged event
905 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
907 * DetailsView.cs: throw ArgumentOutOfRangeException for compatibility
908 with .Net; don't throw NotImplemented when base class implementation
911 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
913 * DetailsViewPagerRow.cs: add a stub for this class
915 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
917 * GridView: fixed DataKeyNames property, moved to ControlState
918 fixed PageCount property, initial PageCount ahould be zero
919 fixed SelectedDataKey, should throw exception if not initialized
920 fixed CreateColumns, wrong order of columns
921 fixed CreateControlStyle,
922 fixed InitializePager, no columnspan attrib on only one column
923 fixed LoadControlState, SaveControlState added DataKeyNames
924 fixed Render, RenderGrid should render within div tag
925 implemented GetPostBackOptions
926 * DataControlButton.cs: fixed Render, fixed style for img button
928 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
930 * CheckBoxField.cs: fixed InitializeDataCell, tooltip only in edit
933 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
935 * CommandField.cs: fixed ValidateSupportsCallback
937 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
939 * Image.cs: prepare to use HttpBrowserCapabilities. Does not
942 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
944 * SiteMapPath.cs: fixes for SiteMapPathTest.Render_xxx tests.
946 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
948 * WebControl.cs: fix for AddAttributesToRender - add display
949 style when appropriate
951 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
953 * CommandField.cs: fixed InitializeCell, wrong order of command
955 * ImageField.cs: image field with null src and ConvertEmptyStringToNull
956 should be rendered as label
957 * BoundField.cs: empty null value should be rendered as nbsp
958 * GridViewRowCollection.cs: fixed SyncRoot
960 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
962 * SiteMapPath.cs: create Literal instead of Label according to the
963 MSDN and test SiteMapPath_InitializeItem.
965 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
967 * Style.cs: BorderStyle should be added if BorderWidth greater than 0
968 * Image.cs: in 2.0 there is no border attribute, but border-width
971 2006-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
973 * Button.cs: always render the 'name' attribute. Fixes bug #78746.
975 2006-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
977 * DataList.cs: correctly initialize editable items when there's an
978 EditItemTemplate. Patch by Jarosław Pawlak.
980 2006-07-13 Juraj Skripsky <js@hotfeet.ch>
982 * CheckBox.cs (LoadPostData): the value of a disabled checkbox remains
985 2006-07-13 Vladimir Krasnov <vladimirk@mainsoft.com>
987 * BulletedList.cs: fixed Render, RenderBulletText, various properties
988 * ListItem.cs, ListItemCollection.cs: added Enabled property that is
991 2006-07-12 Vladimir Krasnov <vladimirk@mainsoft.com>
993 * MultiView.cs: 'initied' state variable was changed to views count in
994 the views collection.
996 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
998 * AutoGeneratedField.cs: fixed InitializeDataCell, autogenerated
999 checkbox should have tooltip
1000 * HyperLinkField.cs: fixed InitializeCell, should create link control
1001 only in data cell (not in header or footer), initialization of
1003 * ImageField.cs: fixed InitializeDataCell, initialization of
1006 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
1008 * MultiView.cs: removed exception throwing from ActiveViewIndex
1010 2006-07-11 Konstantin Triger <kostat@mainsoft.com>
1012 * DataControlFieldCollection.cs: added OnClearComplete override;
1013 refactor to eliminate null reference exception.
1015 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
1017 * MultiView.cs: fixed ActiveViewIndex, AddParsedSubObject
1018 * View.cs: fixed Visible property
1020 2006-07-09 Konstantin Triger <kostat@mainsoft.com>
1022 * ImageField.cs: fixing .net compliancy.
1024 2006-07-10 Andrew Skiba <andrews@mainsoft.com>
1026 * SiteMapPath.cs: fix the default PathSeparator value.
1028 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
1030 * GridView.cs: always create Header/Fotter rows, but render only when
1031 ShowHeader/Footer is true. Compute Header/Footer rows from rows
1033 * CheckBoxField.cs: add override to ApplyFormatInEditMode,
1034 add ToolTip and Text to the created CheckBox,
1035 wrap exception thrown in OnDataBindField in httpException.
1037 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
1039 * DataControlField.cs,BoundField.cs: bug fixes found by BoundFieldTest.
1041 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
1043 * DataControlField.cs: correct handling empty header/footer text.
1044 * TemplateField.cs: correct initialization according to
1045 DataControlRowState.
1047 2006-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
1049 * Wizard.cs: added functionality for Templated WizardStep
1050 and CreateUserWizard
1051 * added CompleteWizardStep.cs, CreateUserWizard.cs,
1052 CreateUserWizardStep.cs, TemplatedWizardStep.cs
1054 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
1056 * AutoGeneratedField.cs: correcting default dataType.
1058 2006-07-03 Vladimir Krasnov <vladimirk@mainsoft.com>
1060 * DataControlField.cs: fixed Initialize, should always return false
1062 2006-07-03 Lluis Sanchez <lluis@novell.com>
1064 * BoundField.cs: Fix setter for HtmlEncode (it was setting always True).
1066 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
1068 * DataBoundControl.cs: implement MarkAsDataBound and consider it while
1069 setting RequiresDataBinding in OnLoad event.
1070 * GridView.cs: DataBind rows before other control can access the data.
1071 * BoundField.cs: add unique ID to control for postback parameters.
1073 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
1075 * WebControl.cs: fix typo in EnableTheming.
1077 2006-07-02 Konstantin Triger <kostat@mainsoft.com>
1079 * MenuItemCollection.cs: save items if the collection is dirty.
1080 * MenuItem.cs: During data binding: initialize Text and invoke binding recoursively.
1081 Add item to collection before binding to let the state be correctly tracked.
1082 * Menu.cs: Add item to collection before binding to let the state be correctly
1085 2006-06-28 Juraj Skripsky <js@hotfeet.ch>
1087 * RegularExpressionValidator.cs (EvaluateIsValid): wrap regex to
1088 test against with "^...$" if necessary. MS.NET does this too.
1090 2006-06-28 Vladimir Krasnov <vladimirk@mainsoft.com>
1092 * WizardStepCollection.cs: Fixed Add methods to initialize
1093 WizardStep.Wizard property
1094 * Wizard.cs: Fixed ActiveStepIndex, it should be -1 if there no steps
1095 Fixed GetStepType, if only one step present, it should be FinishStep
1096 Fixed styles of tables for more accurate rendering, fixed Wizard
1099 2006-06-28 Konstantin Triger <kostat@mainsoft.com>
1101 * FormView.cs: instantiate correct template when the bounding data source is
1104 2006-06-25 Konstantin Triger <kostat@mainsoft.com>
1106 * FormView.cs: disabling setting out of range FormView.PageIndex.
1108 2006-06-21 Andrew Skiba <andrews@mainsoft.com>
1110 * FileUpload.cs: added
1112 2006-06-20 Andrew Skiba <andrews@mainsoft.com>
1114 * FormView.cs: handle CssClass attribute
1116 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1118 * Button.cs: do something in PostBackUrl.
1119 * Repeater.cs: when creating the RepeaterItemCollection, initialize
1120 'items' if it hasn't been done yet. Fixes bug #78417.
1122 2006-06-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1124 * BaseDataList.cs: added ConnectToDataSource method that called from
1125 OnLoad, fixed GetData method
1126 * Wizard.cs: fixed bug when called MoveTo after that control hierarchy
1129 2006-06-14 Andrew Skiba <andrews@mainsoft.com>
1131 * Menu.cs: add CssStyle value to the rendered class attribute
1133 2006-06-13 Juraj Skripsky <js@hotfeet.ch>
1135 * Calendar.cs: Make sure WebControls.Enabled is respected.
1136 * SelectedDatesCollection.cs: Set time for all DateTime object passed in
1137 to 12:00am as MS.NET does the same.
1140 2006-06-13 Vladimir Krasnov <vladimirk@mainsoft.com>
1142 * Repeater.cs: fixed ConnectToDataSource method, subscribed to
1143 DataSourceViewChanged, looks for a datasource in its parent control
1144 fixed GetData method, should not get data if datasource is null
1146 2006-06-13 Konstantin Triger <kostat@mainsoft.com>
1148 * ObjectDataSourceView.cs: raise OnDataSourceViewChanged events when data changes.
1150 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
1152 * GridView.cs: set the row index from GridRowView if CommandArgument does not contain this information.
1154 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
1156 * ObjectDataSourceViewTest.cs: return documented default for OldValuesParameterFormatString.
1158 2006-05-24 Vladimir Krasnov <vladimirk@mainsoft.com>
1160 * DataList.cs: Fixed LoadViewState method
1162 2006-05-04 Lluis Sanchez <lluis@novell.com>
1164 * BoundField.cs: Added missing throw kyword. Patch by Marek Habersack.
1166 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
1168 * BaseDataBoundControl.cs: ensure the control is bound if ViewState is disabled.
1170 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
1172 * FormView.cs: fix FormView.PageCount after data binding.
1174 2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1176 * CheckBox.cs: certain attributes have to be rendered in the input tag,
1177 not the <span>. Fixes bug #71251.
1179 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
1181 * BaseDataBoundControl.cs: RequiresDataBinding rebinds if the control prerendered.
1184 ensure rebinding when FormView.PageIndex is called.
1185 and bind to the correct PageIndex.
1187 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
1189 * MenuItem.cs: when binding to IHierarchyData, check whether
1190 it implements INavigateUIData and retrieve NavigateUrl.
1191 * CompositeDataBoundControl.cs: ensures data is bound before creating child controls.
1193 Enable DataBinding by not throwing NotImplementedException in OnDataBound event.
1194 Provide basic CreateChildControls implementation by ensuring the control is bound.
1195 Ensure the child controls are created when the postback event is raised.
1196 Provide default implementation for SkipLinkText to let the default functionality to work.
1198 2006-04-11 Lluis Sanchez <lluis@novell.com>
1200 * TreeNodeBinding.cs: Added HasPropertyValue property
1201 to check if some properties have a value in the
1203 * TreeNode.cs: Lazily get the dataPath. Instead of getting
1204 bound properties when they are requested, get all of
1205 them when the node is bound and store their values in
1206 the state bag. In this way it won't be necessary to
1207 query every time the datasource to get the values.
1208 * XmlHierarchyData.cs: Implemented IHierarchyData.Path.
1209 * TreeView.cs: Call base in OnInit(). Bind nodes after
1210 adding them to the list, to properly keep track of
1211 changes. Don't databind in postbacks.
1213 2006-04-11 Chris Toshok <toshok@ximian.com>
1215 * Login.cs (OnLoggingIn): use Events[loggingInEvent].
1217 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
1219 * BaseDataList.cs: Fix searching control by DataSourceID.
1220 * DataList.cs: Enable binding using DataSourceID for NET_2_0.
1223 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
1225 * Login.cs: Added LayoutTemplate property support.
1226 * LoginView.cs: Added LoggedInTemplate, AnonymousTemplate support.
1227 DataBind: correctly bind child controls.
1228 Implemented OnViewChanged, OnViewChanging, Render, Save/LoadControlState.
1230 2006-03-29 Robert Jordan <robertj@gmx.net>
1232 * DataGrid.cs: if custom paging is enabled the persisted item count
1233 must be the count of the rendered items, otherwise paging from the
1234 last to a previous page won't work correctly. Fixes bug #77556.
1236 2006-03-29 Vladimir Krasnov <vladimirk@mainsoft.com>
1238 * RepeatInfo.cs: fixed RenderBeginTag to set enabled value of table
1239 when rendering disabled list control
1241 2006-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1243 * Panel.cs: render the image url inside 'url()'. Fixes bug #77811.
1245 2006-03-28 Alexandre Miguel Pedro Gomes <alexmipego@gmail.com>
1247 * FontInfo.cs: Implemented ShouldSerializeNames
1249 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
1251 * DataGrid.cs, DataList.cs, RepeatInfo.cs: added accessablity features
1253 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
1255 * DataGrid.cs: fixed CreateControlHierarchy, added CurrentPageIndex
1257 in PrepareControlHierarchy fixed style applying to AlternatingItem
1259 2006-03-22 Vladimir Krasnov <vladimirk@mainsoft.com>
1261 * DataList.cs: fixed RepeatColumns property, added value validation
1262 in PrepareControlHierarchy method fixed style applying for
1263 AlternatingItem, EditItem and Separator item
1264 fixed RenderContents method, if no items exist, no nned to
1265 render emty table strructure.
1267 2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1269 * CompareValidator.cs: when searching for the control to compare, use
1270 NamingContainer instead of Page. Fixes bug #77793.
1272 2006-03-15 Chris Toshok <toshok@ximian.com>
1274 * SiteMapPath.cs (InitializeItem): in the Current and Root node
1275 cases, apply the NodeTemplate if it exists and there isn't a
1276 CurrentNodeTemplate or RootNodeTemplate, respectively.
1278 2006-03-15 Chris Toshok <toshok@ximian.com>
1280 * SiteMapDataSourceView.cs (OnDataSourceViewChanged): override.
1282 * SiteMapDataSource.cs (StartingNodeOffset): new property.
1283 (GetStartNode): add code to handle StartNodeOffset < 0.
1285 * CompositeControl.cs
1286 (ICompositeControlDesignerAccessor.RecreateChildControls): just
1287 call the non-iface method.
1289 * DataBoundControl.cs (GetDataSource): this is likely wrong, but
1290 traverse up the naming container tree looking for our datasource
1291 if we're bound using a DataSourceID. This fixes things in the
1292 sitemap1 test, which uses a mixture of templates and
1293 ContentPlaceholders with the sitemapdatasource and sitemappath at
1294 different levels in the naming container tree (let along the
1297 * SiteMapPath.cs (DataBind): implement this by chaining up to
1298 base.DataBind, then by looping over our children, emitting
1299 OnItemDataBound for each SiteMapNodeItem.
1300 (AddAttributesToRender): remove.
1301 (CreateChildControls): call DataBind as the final step here.. I
1302 have, of course, no idea if this is right.
1303 (CreateControlHierarchy): don't databind our children here, as
1304 they need to be in the Controls collection before we do.
1305 (RenderContents): render our accessibility/screenreader stuff
1306 here, if SkipLinkText != "".
1308 2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
1310 * DataGridPagerStyle.cs: fixed PrevPageText property
1312 2006-03-13 Chris Toshok <toshok@ximian.com>
1314 * BaseCompareValidator.cs (Convert): make the
1315 ValidationDataType.String case a bit more compact.
1317 2006-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1320 (RenderContents): don't call base.RenderContents. Fixes bug #77740.
1321 Patch by Hubert Fongarnand.
1323 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
1325 * FontInfo.cs: fixed CopyFrom, this method should not reset the
1326 received fontinfo if it is the same instance
1327 fixed ToString, corrected output where only font size specified
1329 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
1331 * Style.cs: fixed WriteStyleAttributes to set border style to solid,
1332 if it not set but the border has width
1333 fixes in CopyFrom, MergeWith correct unit compare when it has zero
1336 2006-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
1338 * DataGrid.cs: in AddColumnsFromSource method fixed columns from
1339 properties of custom class
1340 fixed InitializeNumericPager, pager numbers should be a Label control
1341 fixed CreateControlHierarchy, corrected dataset index of items if
1344 2006-03-09 Vladimir Krasnov <vladimirk@mainsoft.com>
1346 * DataList.cs: fixed DoItemInLoop method that fixes itemIndex
1348 fixed CreateControlStyle to set correct cellspacing of table style
1349 fixed InitializeItem to correct applying template to selected and
1352 2006-03-08 Chris Toshok <toshok@ximian.com>
1354 * SiteMapNodeType.cs: nuke.
1356 * BorderStyle.cs, ButtonColumnType.cs, CalendarSelectionMode.cs,
1357 DayNameFormat.cs, ListItemType.cs, ListSelectionMode.cs,
1358 NextPrevFormat.cs, PagerMode.cs, PagerPosition.cs,
1359 RepeatDirection.cs, RepeatLayout.cs, TableRowSection.cs,
1360 TextAlign.cs, TextBoxMode.cs, TitleFormat.cs,
1361 ValidationCompareOperator.cs, ValidationDataType.cs,
1362 ValidationSummaryDisplayMode.cs, ValidatorDisplay.cs: remove
1363 [Serializable] in 2.0.
1365 * DayNameFormat.cs: add "Shortest".
1367 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
1369 * LinkButton.cs: fixed AddAttributesToRender, removed not needed
1372 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
1374 * TextBox.cs: fixed missing value validations, fixed rendering
1375 of empty value attribute
1377 2006-03-07 Chris Toshok <toshok@ximian.com>
1379 * WebControl.cs (EnableTheming): leave the MonoTODO, but implement
1380 by chaining up to base.EnableTheming.
1382 2006-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1384 * DataList.cs: fixed CreateControlHierarchy, fixes 77693
1386 2006-03-06 Vladimir Krasnov <vladimirk@mainsoft.com>
1388 * RadioButton.cs: added ValueAttribute property to store the button
1390 * RadioButtonList.cs: fixed tab index when rendering.
1392 2006-03-02 Chris Toshok <toshok@ximian.com>
1394 * WebControl.cs (SkinID): implement setter/getter, and have them
1395 just chain up to base.SkinID.
1397 2006-02-27 Chris Toshok <toshok@ximian.com>
1399 * SqlDataSource.cs: track change to DataSourceControl's protected
1402 * AccessDataSource.cs: same.
1404 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
1406 * ListControl.cs: fixed SelectedIndex property, fixed selection
1407 reset on incorrect value
1409 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
1411 * TableStyle.cs: fixed AddAttributesToRender function, style
1412 BorderCollapse:Collapse was added if table's CellSpacing is zero
1414 2006-02-23 Chris Toshok <toshok@ximian.com>
1416 * CheckBox.cs, ContentControlBuilderInternal.cs, Content.cs,
1417 ContentPlaceHolderBuilder.cs, ContentPlaceHolder.cs,
1418 DataControlFieldHeaderCell.cs, DataGridColumn.cs,
1419 HierarchicalDataBoundControl.cs, HyperLinkField.cs,
1420 ImageButton.cs, ImageField.cs, Literal.cs,
1421 ObjectDataSourceView.cs, TextBox.cs: more corcompare work.
1423 * BaseCompareValidator.cs, BaseValidator.cs, Button.cs,
1424 DataControlField.cs, DetailsView.cs, FormView.cs, GridView.cs,
1425 HotSpot.cs, LinkButton.cs, Login.cs, SiteMapDataSource.cs,
1426 SqlDataSourceCommandType.cs, TableSectionStyle.cs,
1427 TemplateField.cs, TreeNodeCollection.cs, TreeNode.cs, TreeView.cs,
1428 ValidationSummary.cs, WizardStepBase.cs: fix tons of corcompare
1429 errors. most were caused by a property/method being virtual when
1430 it shouldn't be, or vice versa.
1432 2006-02-22 Chris Toshok <toshok@ximian.com>
1434 * ObjectDataSource.cs: corcompare work.
1436 2006-02-22 Chris Toshok <toshok@ximian.com>
1438 * ParameterCollection.cs: add an EditorAttribute to the class.
1440 * Parameter.cs: cleanup, fix the Value property, and implement the
1443 * SqlDataSourceView.cs: clean things up a bit, and add handling
1446 2006-02-22 Chris Toshok <toshok@ximian.com>
1448 * SqlDataSourceFilteringEventArgs.cs: formatting.
1450 * SqlDataSourceSelectingEventArgs.cs: remove ExecutingSelectCount,
1451 both the property and ctor arg.
1453 * AccessDataSourceView.cs (ExecuteSelect): use SelectingEventArgs,
1454 not CommandEventArgs. Also, cast the return value of
1455 oleCommand.ExecuteReader.
1457 * AccessDataSource.cs (.ctor): fix the ctors and remove FIXME
1459 (GetDbProviderFactory): implement naively, and leave a MonoTODO.
1460 (GetPhysicalDataFilePath): implement, again naively. this is
1461 where the NRE is generated when we access ConnectionString in a
1463 (ConnectionString): dynamically generate this based on our
1465 (DataFile): clear the ConnectionString in the setter so we'll
1467 (ProviderName): use base.ProviderName in the getter, not
1468 this.ProviderName, so we don't recurse infinitely.
1470 * SqlDataSourceView.cs: start reworking this class.
1472 * SqlDataSource.cs (GetDbProviderFactory): implement this,
1473 following the MS docs on the matter (if ProviderName is null/"",
1474 return SqlClientFactory.Instance.)
1475 (GetDbProviderFactoryInternal): add an internal method for use by
1477 (TrackViewState): don't invoke View.TrackViewState unless we have
1479 (Selecting): change event handler type to match MS.
1480 (Filtering): add missing event.
1481 (View): call CreateDataSourceView, don't just create an
1484 2006-02-21 Chris Toshok <toshok@ximian.com>
1486 * BoundField.cs: ues the ViewState.Get* pattern with default
1487 instead of the explicit ViewState lookup + null check, and fix the
1488 scope of InitializeDataCell.
1490 * ButtonField.cs: ues the ViewState.Get* pattern with default
1491 instead of the explicit ViewState lookup + null check.
1493 * CommandField.cs: same.
1495 * CheckBox.cs: same.
1497 * AutoGeneratedFieldProperties.cs: same.
1499 * BaseDataList.cs: same.
1501 * CircleHotSpot.cs: same.
1503 * BulletedList.cs: same.
1505 * DataBoundControl.cs: same.
1507 * CookieParameter.cs: same.
1509 * ControlParameter.cs: same.
1511 * CustomValidator.cs: same.
1513 * ButtonFieldBase.cs: same.
1515 * CheckBoxField.cs: same, and fix the scope of InitializeDataCell.
1517 * AutoGeneratedField.cs: fix scope of InitializeDataCell.
1519 * BaseValidator.cs: same, and clean up the getter/setter formatting.
1521 * CompareValidator.cs: same.
1523 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
1525 * ListControl.cs: fixed DataSource property, to throw
1526 ArgumentException on incorrect value
1528 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
1530 * Image.cs: fixed missing border="0" attribute, when image has style,
1531 but border width is not specified.
1533 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
1535 * CheckBox.cs: fixed InternalAddAttributesToRender, Render to
1536 correct the "disabled" attribute in CheckBoxList
1537 * CheckBoxList.cs: fixed RenderItem, to correct the "disabled"
1538 attribute in CheckBoxList
1540 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
1542 * CheckBox.cs: fixed Render function, removed rendering of empty
1543 <span> element if ControlStyleCreated but it's empty.
1544 fixed "disabled" attribute, it should be placed into span element
1546 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
1548 * BoundColumn.cs: fixed InitializeCell function, if DataField is
1549 null or empty string, the cell should not be bound.
1551 2006-02-08 Chris Toshok <toshok@ximian.com>
1553 * ListControl.cs (OnDataBinding): in 2.0, only clear our items if
1554 AppendDataBoundItems != false. Also, split all the databinding
1555 logic out to DoDataBinding, which we call from here only if
1557 (DoDataBinding): new function. actually perform the binding.
1558 (PerformDataBinding): implement.
1559 (PerformSelect): chain up to base class.
1561 2006-02-07 Chris Toshok <toshok@ximian.com>
1563 * ContentPlaceHolder.cs: fix ToolboxDataAttribute.
1565 * Content.cs: use ContentControlBuilderInternal, and add a bunch
1566 of unused (for now) EventHandler's here.
1568 * ContentControlBuilderInternal.cs: rename ContentControlBuilder
1571 2006-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1573 * ListControl.cs: bound checking for Items when loading the control
1574 state, as the number might have been changed on the fly. Patch by
1577 2006-01-22 Chris Toshok <toshok@ximian.com>
1579 * CheckBox.cs: s/GetPostBackClientEvent/GetPostBackEventReference.
1581 * MultiView.cs (OnBubbleEvent): case the rhs to a string to get
1582 the intended comparison right and quiet mcs.
1584 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
1586 * Button.cs: Add semicolon after client script if does not exist.
1588 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
1590 * Button.cs: preserve user logic when adding client validation.
1592 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
1594 * BaseValidator.cs: fixing visibility bahavior
1596 2006-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1598 * RangeValidator.cs: allow empty data from the control. Patch from Marek
1599 Habersack that fixes bug #77239.
1601 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1603 * Calendar.cs: use the DateTimeFormatInfo from the current thread. Patch
1604 by Cyrille Colin. Closes bug #77184.
1606 2006-01-08 Konstantin Triger <kostat@mainsoft.com>
1608 * PagedDataSource.cs, DataGrid.cs: TARGET_JVM changes to let the
1609 compilation pass with csc 1.1.
1611 2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1613 * DropDownList.cs: HtmlEncode the item text. Fixes bug #76949.
1615 2005-12-07 Chris Toshok <toshok@ximian.com>
1617 * BaseValidator.cs: in the uplevel rendering case, don't render
1618 the text if the validator's Display attribute is "None". Should
1621 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1623 * RadioButton.cs: if the 'value' attribute is set explicitly (as
1624 RadioButtonList does now), use that as the 'name' attribute.
1625 * RadioButtonList.cs: set the AutoPostBack and Enabled properties of
1630 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1632 * CheckBox.cs: add possible 'internal' attributes to the input tag. Fix
1633 the 'name' attribute when not aligninng to the right.
1634 * RadioButton.cs: use NameAttribute instead of GroupName when indexing
1635 the collection. Raise the OnCheckedChanged event. Fixes bug #76710.
1637 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1639 * DataGrid.cs: clear the control collection on every call to
1640 CreateControlHierarchy. Fixes bug #76732.
1642 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1644 * ListBox.cs: Rows and SelectionMode are virtual in 1.1
1646 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1648 * CheckBox.cs: use the NameAttribute property for setting 'name'.
1649 * RadioButton.cs: get a UniqueID based identifier for 'name'.
1652 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1654 * LinkButton.cs: don't output any javascript when the linkbutton is
1655 disabled. Fixes bug #76713.
1657 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1659 * DataGrid.cs: use TableHeaderCell instead of TableCell for headers when
1660 UseAccesibleHeader property is true. Patch by Robert Jordan.
1662 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1664 * BaseValidator.cs: 'controltovalidate' must be the ClientID of the
1665 control to validate. Fixes bug #76641.
1667 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1669 * BoundColumn.cs: when the column is readonly and we're in edit mode,
1670 keep it as a TextBox. Fixes bug #76714.
1672 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1674 * ListBox.cs: render the 'onchange' attribute when AutoPostback is
1675 enabled. Fixes bug #76608.
1677 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1679 * CheckBox.cs: AddAttributesToRender was extra in 1.1, so moved all
1680 the logic to Render and make it render the ID, which fixes bug #76596.
1682 2005-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1684 * Repeater.cs: someone forgot the curly brackets. Fixes bug 76537.
1686 2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1688 * Literal.cs: allow LiteralControl as child, but instead of adding it
1689 to the control collection, it just gets the Text out of it.
1691 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1693 * PagedDataSource.cs: fix range when we're at the last page.
1694 * DataGrid.cs: only need to keep the item count in the viewstate.
1697 2005-10-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1699 * ListControl.cs: made GetSelectedIndices() internal.
1700 * ListBox.cs: html-encode the item text. Fixed single and multiple
1701 selection handling. All the tests pass now. Closes bug #76478.
1703 2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1705 * ListControl.cs: throw when the selected value is not in the
1706 items collection. Fixes bug #76415.
1708 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1710 * BaseDataList.cs: Type.GetTypeCode was fixed and now does not
1711 throw a nullref, so we have to do it by ourselves here to make
1714 * BaseValidator.cs: render the text of the error message even if
1715 we set IsValid programatically. Don't use 'valid' directly, as
1720 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1722 * CustomValidator.cs: an empty ControlToValidate is valid.
1724 2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
1726 * RequiredFieldValidator.cs: Added missing permissions.
1728 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1730 * DataList.cs: copied and adapted PrepareControlHierarchy from DataGrid.
1731 Now the items get the attributes from the styles in datalist. Add the
1732 separators after each item, not before. GetItemStyle returns the actual
1733 item style, not the styles in the datalist. Fixes bug #76384 and all
1736 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1738 * Style.cs: add a 'border-style: solid' to make IE happy. Fixes bug
1741 2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1743 * TemplateColumn.cs: SelectedItem was missing from the select (). Fixes
1746 2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
1748 * FontInfo.cs: Gendarme strikes again. Sealed class have no need for
1749 inheritance demands.
1750 * FontUnit.cs: Structs are sealed so there's no need for inheritance
1752 * Unit.cs: Structs are sealed so there's no need for inheritance
1755 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1757 * PagedDataSource.cs: fix the upper bound for collection and ilist
1760 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1762 * DataGrid.cs: change the ListItemType for the item selected, set
1763 SelectedIndex before calling OnSelectedIndexChanged and set the selected
1764 item type correctly when creating the columns. Fixes bug #76334.
1767 * EditCommandColumn.cs: use a ForeColorLinkbutton, otherwise when
1768 selecting the row, the button keep the regular link color.
1770 * DataGridColumn.cs: made the class internal.
1772 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1774 * DataGrid.cs: fix breakaga of alternating item style in one of my
1777 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1779 * Calendar.cs: remove Console.
1780 * ListBox.cs: the name is the UniqueID, not the ClientID.
1781 * WebControl.cs: Attributes is case insensitive.
1783 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1785 * ImageButton.cs: use UniqueID in LoadPostData and also try just the
1786 UniqueID without appending a ".x" or ".y". Fixes several issues in
1787 mojoPortal. Thanks to Joe Audetter for his patience.
1789 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1791 * ButtonColumn.cs: it was lacking databinding, so copied most of it
1794 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1796 * FontInfo.cs: removed useless ctor.
1797 * Style.cs: keep here some commented out debugging code.
1798 * DataGrid.cs: the Items property does not create a new arraylist if
1799 the items_list was already initialized. Add case for Separator.
1800 * DataGridColumn.cs: when sorting is enabled, the linkbutton rendered
1801 in the header columns has a special ForeColor handling.
1803 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1805 * DataGrid.cs: PageCount must persist in ViewState too and returns the
1806 number of pages in the paged data source once we set that. Fix checks
1807 for visibility of the pager: no more 2 pagers when custom paging is
1810 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1812 * ImageButton.cs: fix a bug reported on the list. We were triggering the
1813 command event on every POST. And the 'name' attribute was not being
1814 rendered, so the 'x,y' coordinates didn't have 'uniqueid.' prepended
1815 and we couldn't find the values.
1817 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1819 * DataGrid.cs: fix the links for the numeric pager.
1821 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1823 * DataGrid.cs: when paging is enable, the actual number of items is not
1824 the number of items rendered before the postback, but that number times
1825 the number of pages. Now we store the page count in the viewstate. Also,
1826 as the number might be big, don't allocate an array of objects to fake
1827 the collection for the PagedDataSource, but use the new NCollection
1828 class instead, which provides cheap (memory wise) enumerator for an
1829 arbitrary number of items. Thanks to "Adriano" for the test case.
1831 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1833 * Xml.cs: the show must go on. Removed a few NotImplemented.
1835 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1837 * Button.cs: implemented 2.0 RaisePostBackEvent in terms of the
1838 existing code in 1.1 (or viceversa). RenderContents() does nothing.
1840 * DataGrid.cs: changed autoid api.
1842 * EditCommandColumn.cs: only 'Update' causes validation.
1844 * TableCell.cs: changed autoid api. RenderContents checks the number
1845 of controls to decide what to do, not the value of Text in the
1848 * TableRow.cs: changed autoid api.
1850 * BoundColumn.cs: SelectedItem was missing when attaching a DataBind
1851 event. When we get an EditItem, we need a TextBox to be created and
1852 this one will be the one that gets the event. Changed
1853 ItemDataBinding to deal with a TextBox too.
1855 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1857 * PagedDataSource.cs: fix IsLastPage. All tests pass.
1858 * DataGrid.cs: InitializePager always add a cell and it's brand new. No
1859 need to keep the old one in a field. Now all tests pass here too.
1861 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1863 * PagedDataSource.cs: don't use the properties when they just return a
1864 field. Fixed Count when paging is enabled. In GetEnumerator, IList goes
1865 before ICollection (otherwise, an IList will always fall under the
1866 ICollection case). The enumerator for lists will be empty if 'start'
1867 is beyond the list size. All existing tests pass, but one in
1868 DataGridTest that fails because of some problem with the paging.
1870 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1872 * Style.cs: fix the 2.0 build.
1874 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1876 * Style.cs: avoid unnecesary creation of a CssStyleCollection and
1877 instead write the style attributes directly to the HtmlTextWriter.
1879 * CheckBox.cs: adapted to new API.
1881 * DataGrid.cs: handle null data sources. Fixed the contions that make
1882 the table to be added to the Controls collection.
1884 * Calendar.cs: the table needed an ID and the attributes from the
1885 parent. Also don't create the ControlStyleCollection if it has not
1886 already been created.
1888 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1890 * DataGrid.cs: handle null data sources. Fixed the contions that make
1891 the table to be added to the Controls collection.
1893 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1895 * Calendar.cs: TrackViewState should be called upon creation, not on
1896 every get_XXX call. Cleanup.
1898 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1900 * DataGrid.cs: fix another test. The ID of the table generated by the
1901 datagrid is set to the one on the datagrid if no one set the ID for the
1904 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1906 * ListControl.cs: this fixes TestValueFieldAndTextFormat from
1909 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1911 * FontUnit.cs: use a table for FontSize names, as the X{1,2}.* ones are
1912 converted to string as X{1,2}-.*. All FontUnitTests pass now.
1913 * Unit.cs: throw a format exception when there's not number or minus
1914 sign in the first non-whitespace character.
1916 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1918 * ListControl.cs: SelectedIndex/SelectedValue can be set before
1919 DataBinding () is called on the control, so we have to keep this values
1920 around and use them after the data is read. If both properties are
1921 used, they must refer to the same item.
1923 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1925 * DataList.cs: fill in the data keys from BaseDataList so that the
1926 events can see them. Only assign DataItem when using data binding and
1927 nullify it after all events are raised.
1929 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1931 * DataList.cs: OnItemCommand() is raised any time OnBubbleEvent is
1934 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
1936 * Button.cs: For 2.0 don't add the "name" attribute unless there's an
1938 * DataGrid.cs: Fix TagKey (table) for 2.0.
1939 * DataList.cs: Revert 2.0 specific stuff that was changed in RC.
1940 * DropDownList.cs: For 2.0 don't add the "name" attribute unless
1942 * ListBox.cs: For 2.0 don't add the "name" attribute unless there's an
1944 * RoleGroupCollection.cs: Fix "extra" exception in Remove method.
1945 * Style.cs: Fixed (2.0) RegisteredCssClass to returns String.Empty
1947 * TextBox.cs: For 2.0 don't add the "name" attribute unless there's an
1949 * TreeView.cs: Added declarative security (Link and Inheritance
1950 demands) for Minimal.
1951 * XmlDataSource.cs: Added declarative security (Link and Inheritance
1952 demands) for Minimal.
1954 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
1956 * FontUnit.cs: Added, but only for 1.x, declarative security (Link and
1957 Inheritance demands) for Minimal.
1958 * Label.cs: Added declarative security (Link and Inheritance demands)
1960 * ListItem.cs: Added declarative security (LinkDemands) for Minimal.
1961 * ListItemCollection.cs: Added declarative security (LinkDemands) for
1963 * MonthChangedEventArgs.cs: Added declarative security (Link and, for
1964 2.0, Inheritance demands) for Minimal.
1965 * PagedDataSource.cs: Added declarative security (LinkDemands) for
1967 * Panel.cs: Added declarative security (Link and Inheritance demands)
1969 * Repeater.cs: Added declarative security (Link and Inheritance
1970 demands) for Minimal.
1971 * RepeatInfo.cs: Added declarative security (LinkDemands) for Minimal.
1972 * SelectedDatesCollection.cs: Added declarative security (LinkDemands)
1974 * TargetConverter.cs: Added declarative security (Link and Inheritance
1975 demands) for Minimal.
1976 * Unit.cs: Added, but only for 1.x, declarative security (Link and
1977 Inheritance demands) for Minimal.
1978 * ValidatedControlConverter.cs: Added declarative security (Link and
1979 Inheritance demands) for Minimal.
1980 * WebColorConverter.cs: Added declarative security (Link and
1981 Inheritance demands) for Minimal.
1982 * Xml.cs: Added declarative security (Link and Inheritance demands)
1984 * ValidationSummary.cs: Added declarative security (Link and
1985 Inheritance demands) for Minimal.
1987 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
1989 * UnitConverter.cs: Remove conversion from Unit (see unit tests).
1991 2005-09-22 Ben Maurer <bmaurer@ximian.com>
1993 * BulletedList.cs: Remove the cacheEnabled thing. I was thinking
1994 it took O(height) time, not O(1).
1996 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
1998 * CheckBoxList.cs: Fix unit test failure (which matched bug #48802).
2000 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
2002 * AdCreatedEventArgs.cs: Added declarative security (Link and, for
2003 2.0, Inheritance demands) for Minimal.
2004 * BaseCompareValidator.cs: Added declarative security (Link and
2005 Inheritance demands) for Minimal.
2006 * BaseDataBoundControl.cs: Added declarative security (Link and
2007 Inheritance demands) for Minimal.
2008 * BaseValidator.cs: Added declarative security (Link and Inheritance
2009 demands) for Minimal.
2010 * BoundColumn.cs: Added declarative security (Link and Inheritance
2011 demands) for Minimal.
2012 * ButtonColumn.cs: Added declarative security (Link and Inheritance
2013 demands) for Minimal.
2014 * CalendarDay.cs: Added declarative security (Link and Inheritance
2015 demands) for Minimal.
2016 * CheckBoxList.cs: Added declarative security (Link and Inheritance
2017 demands) for Minimal.
2018 * CompareValidator.cs: Added declarative security (Link and
2019 Inheritance demands) for Minimal.
2020 * CustomValidator.cs: Added declarative security (Link and Inheritance
2021 demands) for Minimal.
2022 * DataBoundControl.cs: Added declarative security (Link and
2023 Inheritance demands) for Minimal.
2024 * DataGridItemCollection.cs: Added declarative security (Link and
2025 Inheritance demands) for Minimal.
2026 * DataKeyCollection.cs: Added declarative security (LinkDemands) for
2028 * DataListItemCollection.cs: Added declarative security (LinkDemands)
2030 * DataListItem.cs: Added declarative security (Link and Inheritance
2031 demands) for Minimal.
2032 * FontNamesConverter.cs: Added declarative security (Link and
2033 Inheritance demands) for Minimal.
2034 * HyperLink.cs: Added declarative security (Link and Inheritance
2035 demands) for Minimal.
2036 * HyperLinkColumn.cs: Added declarative security (Link and Inheritance
2037 demands) for Minimal.
2038 * Image.cs: Added declarative security (Link and Inheritance demands)
2041 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2043 * BaseDataList.cs: it's the DataKeysArray what is stored in "DataKeys",
2045 * DataGrid.cs: add the keys to BaseDataList.DataKeysArray. When using
2046 a data source, first try reflection, then componentmodel. If we get
2047 an enumerator, keep it around, as MS only calls GetEnumerator once.
2048 Throw an exception if no columns can be created from the given data
2049 source. Tested with DbDataRecord, DataTable, ArrayList and
2050 ICustomTypeDescriptor.
2052 2005-09-20 Sebastien Pouliot <sebastien@ximian.com>
2054 * AccessDataSource.cs: Added declarative security (Link and Inheritance
2055 demands) for Minimal. Added [ToolboxBitmap] on class.
2056 * AdRotator.cs: Added declarative security (Link and Inheritance
2057 demands) for Minimal. Removed extra Page and ViewState properties.
2058 * BulletedList.cs: Added declarative security (Link and Inheritance
2059 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
2060 * Button.cs: Added declarative security (Link and Inheritance demands)
2061 for Minimal. Added [SupportsEventValidation] on class (2.0).
2062 * Calendar.cs: Added declarative security (Link and Inheritance
2063 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
2064 * CheckBox.cs: Added declarative security (Link and Inheritance
2065 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
2066 * CompositeControl.cs: Added declarative security (Link and Inheritance
2067 demands) for Minimal. Added new protected RecreateChildControls method.
2068 * DataControlCommands.cs: Added declarative security (LinkDemands) for
2069 Minimal. Added private ctor.
2070 * DataGrid.cs: Added declarative security (Link and Inheritance
2071 demands) for Minimal. Fixed properties for 2.0 (mostly removing
2072 [Bindable]). Added override for TagKey property.
2073 * DataGridColumn.cs: Added declarative security (Link and Inheritance
2074 demands) for Minimal. Added [UrlProperty] on HeaderImageUrl (2.0).
2075 * DataGridItem.cs: Added declarative security (Link and Inheritance
2076 demands) for Minimal. Added IDataItemContainer interface for 2.0.
2077 * DataGridPagerStyle.cs: Added declarative security (LinkDemands) for
2078 Minimal. Remove [Bindable] from 2.0 and add [Localizable].
2079 * DataList.cs: Removed [Load|Save]ControlState methods.
2080 * DropDownList.cs: Added declarative security (Link and Inheritance
2081 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
2082 * EditCommandColumn.cs: Added declarative security (Link and
2083 Inheritance demands) for Minimal. Added missing attributes,
2084 [DefaultValue] and [Localize] for 2.0.
2085 * FontInfo.cs: Added declarative security (Link and Inheritance
2086 demands) for Minimal. Remove [Bindable] and added [RefreshProperties]
2088 * Login.cs: Added declarative security (Link and Inheritance demands)
2089 for Minimal. Fixed IsStyleEmpty. Removed extra [Themeable] attributes.
2090 * ImageButton.cs: Added declarative security (Link and Inheritance
2091 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
2092 * LinkButton.cs: Added declarative security (Link and Inheritance
2093 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
2094 * ListBox.cs: Added declarative security (Link and Inheritance demands)
2095 for Minimal. Added [SupportsEventValidation] on class (2.0).
2096 * Literal.cs: Added declarative security (Link and Inheritance demands)
2097 for Minimal. Removed [EditorBrowsable] on CreateControlCollection method.
2098 * LoginStatus.cs: Added missing [Themeable] attributes on properties.
2099 * MenuItemStyle.cs: Changed IsEmpty to public (required to compile -
2100 but will be shown as extra).
2101 * RadioButton.cs: Added declarative security (Link and Inheritance
2102 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
2103 * RadioButtonList.cs: Added declarative security (Link and Inheritance
2104 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
2105 * RangeValidator.cs: Added declarative security (Link and Inheritance
2106 demands) for Minimal. Added missing [Themeable] attributes.
2107 * RegularExpressionValidator.cs: Added declarative security (Link and
2108 Inheritance demands) for Minimal. Remove [Bindable] from 2.0 and add
2110 * RoleGroupCollection.cs: Added declarative security (Link and
2111 Inheritance demands) for Minimal. Fixed base class (changed in RC).
2112 Re-implemented CopyTo. Removed some methods.
2113 * Style.cs: Added declarative security (Link and Inheritance demands)
2114 for Minimal. Remove static IsStyleEmpty and ToString (from 2.0). IsEmpty
2115 is now public in 2.0.
2116 * Table.cs: Added declarative security (Link and Inheritance demands)
2117 for Minimal. Added [SupportsEventValidation] on class (2.0).
2118 * TableCell.cs: Fixed PersistenceMode for 2.0.
2119 * TextBox.cs: Added declarative security (Link and Inheritance demands)
2120 for Minimal. Added [SupportsEventValidation] on class (2.0).
2121 * TreeNodeStyle.cs: Changed IsEmpty to public (required to compile -
2122 but will be shown as extra).
2123 * WebControl.cs: Added declarative security (Link and Inheritance
2124 demands) for Minimal. Removed [EditorBrowsable] on ControlStyleCreated
2127 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2129 * TableStyle.cs: fixed typo that prevented restoring GridLines from
2132 * DataGrid.cs: the table does not get an auto ID. When restoring from
2133 viewstate, use all the saved columns, not just that data bound ones. Set
2134 the owner of the BoundColumns created. Save/restore columns.
2135 OnItemCreated happens after the item is initialized and the data item is
2136 set before the event and nullified after OnItemDataBound.
2137 Add the render_table to the Controls immediately, otherwise we might get
2138 errors from child controls such as "must be rendered inside a form".
2139 Keep the items created in the list waiting for them.
2140 The table uses the attributes from the DataGrid and ControlStyle.
2141 Raise OnItemCommand on all bubble events and don't propagate bubble
2142 event up in the hierarchy
2144 * TableCell.cs: it does not get an automatic ID.
2145 * BoundColumn.cs: FormatDataValue returns an empty string on null input
2146 (there was already a test for this).
2150 2005-09-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2152 * DataGridColumnCollection.cs: track the view state in the newly added
2155 2005-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2157 * DataGrid.cs: merge column styles too. Fixes bug #76106.
2158 * DataGridColumn.cs: new internal method to retrieve the styles without
2159 creating an instance for them.
2161 2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
2163 * DataControlField.cs, HotSpot.cs, MenuItem.cs, Parameter.cs,
2164 Style.cs, TreeNode.cs: Replace _empty_ StateBag.SetDirty () with
2165 StateBag.SetDirty (true).
2167 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
2169 * Menu.cs: Fixed parameter orders for CreateStyleRule.
2171 2005-09-13 Chris Toshok <toshok@ximian.com>
2173 * Style.cs: corcompare stuff.
2175 * RequiredFieldValidator.cs: more corcompare stuff.
2177 * CheckBoxList.cs: clean up some of the interface methods vs
2178 protected virtual 2.0 calls.
2180 * SubMenuStyle.cs: corcompare says this should implement
2181 ICustomTypeDescriptor... sooo, make it.
2183 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2185 * TableCell.cs: do the same as HyperLink and others in
2186 AddParsedSubobject so that adding a literal control does not remove the
2187 existing controls if any. Fixes bug #76078.
2189 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2191 * GridView.cs: don't duplicate class attribute. Fixes bug #75936.
2193 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2195 * ImageButton.cs: fix invalid cast exception.
2197 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2199 * ListItem.cs: throw in AddParsedSubObject if the object is not a
2201 * RadioButtonList.cs: implemented LoadPostData and
2202 RaisePostDataChangedEvent.
2204 2005-09-09 Chris Toshok <toshok@ximian.com>
2206 * CheckBox.cs, CheckBoxList.cs, DropDownList.cs, ImageButton.cs,
2207 ListBox.cs, RadioButton.cs, RadioButtonList.cs, TextBox.cs: fix up
2208 LoadPostData/RaisePostDataChangedEvent.
2210 2005-09-09 Chris Toshok <toshok@ximian.com>
2212 * FontInfo.cs (IsEmpty): new internal property, used by
2215 * Style.cs (IsEmpty): make sure the fontinfo is null or empty as
2218 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2220 * ListItemCollection.cs: remove obsoleted methods.
2221 * ListBox.cs: use IStateManager on the item collection.
2223 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
2225 * Use C# 1.0 style of delegate instantiating. Needed to compile
2226 Grasshopper (TARGET_J2EE) which uses MS C# 1.0 compiler and not msc.
2228 2005-09-07 Chris Toshok <toshok@ximian.com>
2230 * Calendar.cs (WriteDay): always add BackColor=Silver,
2231 ForeColor=White to selected day cells, before copying over the
2232 selectedDayStyle, if it exists.
2233 (WriteDays): fix nunit test - if the first day of the month falls
2234 on the first day of the week, go back one week (effectively adding
2235 a row of dates from the previous month.)
2236 (WriteTitle): don't copy the control style to the tableTitle,
2237 since it might have height specifications, which would make the
2238 title look rather off.
2240 2005-09-07 Chris Toshok <toshok@ximian.com>
2242 * ValidationSummary.cs (AddAttributesToRender): we only set
2243 display=none if there are no errors.
2245 * BaseValidator.cs (OnPreRender): fix a JS error - on submit we
2246 call ValidatorOnSubmit, not ValidatorCommonOnSubmit.
2248 2005-09-07 Chris Toshok <toshok@ximian.com>
2250 * ListControl.cs (SelectedIndex): add comment about how you'd
2251 think OnSelectedIndexChanged would be called.. and you'd be wrong.
2252 (Text): implement in terms of SelectedValue.
2253 (TagKey): do the HAVE_CONTROL_ADAPTERS two-step.
2254 (LoadControlState): implement - this is where the selected index
2255 ArrayList gets stuffed in 2.0.
2256 (OnInit): call Page.RegisterRequiresControlState.
2257 (OnTextChanged): implement.
2258 (RenderContents): for now just chain up to base.RenderContents.
2259 (SaveControlState): save our control state properly.
2260 (GetSelectedIndices): split this out from SaveViewState to it can
2261 be used by both that and SaveControlState.
2262 (SaveViewState): mangle this function so it works in both 2.0 and
2264 (LoadViewState): same.
2266 2005-09-06 Chris Toshok <toshok@ximian.com>
2268 * BaseValidator.cs (AddAttributesToRender): render our ClientID if
2269 we weren't assigned an ID.
2271 * ValidationSummary.cs (AddAttributesToRender): same.
2273 2005-09-06 Chris Toshok <toshok@ximian.com>
2275 * WebControl.cs: revert the last change.
2277 2005-09-06 Chris Toshok <toshok@ximian.com>
2279 * WebControl.cs (AddAttributesToRender): always render ClientID.
2281 * ValidationSummary.cs (Render): same.
2283 * BaseValidator.cs (RegisterValidatorDeclaration): use ClientID
2286 2005-09-06 Chris Toshok <toshok@ximian.com>
2288 * ValidationSummary.cs (Render): only do the JS stuff when the
2289 validators on the page are uplevel.
2291 * BaseValidator.cs (Render): remove unnecessary comment.
2293 2005-09-05 Chris Toshok <toshok@ximian.com>
2295 * BaseDataBoundControl.cs (DataSourceID): testing reveals this is
2296 stored in the ViewState.
2298 2005-09-02 Chris Toshok <toshok@ximian.com>
2300 * Repeater.cs (GetData): change this slightly so the Repeater
2301 doesn't keep a ref to the return value of GetData.
2303 2005-09-01 Chris Toshok <toshok@ximian.com>
2305 * ListControl.cs (AppendDataBoundItems): implement (2.0)
2308 2005-09-01 Chris Toshok <toshok@ximian.com>
2310 * System.Web.UI.WebControls/MonthChangedEventArgs.cs,
2311 System.Web.UI.WebControls/ValidatedControlConverter.cs,
2312 System.Web.UI.WebControls/Xml.cs,
2313 System.Web.UI.WebControls/RegularExpressionValidator.cs,
2314 System.Web.UI.WebControls/ServerValidateEventArgs.cs,
2315 System.Web.UI.WebControls/Menu.cs,
2316 System.Web.UI.WebControls/MailMessageEventArgs.cs,
2317 System.Web.UI.WebControls/MenuItemStyle.cs,
2318 System.Web.UI.WebControls/RangeValidator.cs,
2319 System.Web.UI.WebControls/RepeaterItemEventArgs.cs,
2320 System.Web.UI.WebControls/MenuItem.cs,
2321 System.Web.UI.WebControls/RepeaterCommandEventArgs.cs,
2322 System.Web.UI.WebControls/DataGridSortCommandEventArgs.cs,
2323 System.Web.UI.WebControls/DataGridCommandEventArgs.cs,
2324 System.Web.UI.WebControls/DataGridPageChangedEventArgs.cs,
2325 System.Web.UI.WebControls/XmlBuilder.cs,
2326 System.Web.UI.WebControls/ImageButton.cs: someone stop me. more
2329 2005-09-01 Chris Toshok <toshok@ximian.com>
2331 * System.Web.UI.WebControls/Button.cs,
2332 System.Web.UI.WebControls/ButtonField.cs,
2333 System.Web.UI.WebControls/DataControlField.cs,
2334 System.Web.UI.WebControls/BaseCompareValidator.cs,
2335 System.Web.UI.WebControls/AutoGeneratedField.cs,
2336 System.Web.UI.WebControls/CustomValidator.cs,
2337 System.Web.UI.WebControls/Content.cs,
2338 System.Web.UI.WebControls/BoundField.cs,
2339 System.Web.UI.WebControls/AdRotator.cs,
2340 System.Web.UI.WebControls/ButtonColumn.cs,
2341 System.Web.UI.WebControls/CompareValidator.cs,
2342 System.Web.UI.WebControls/AdCreatedEventArgs.cs: More corcompare
2343 work. Stub things out, and add attributes.
2345 2005-09-01 Chris Toshok <toshok@ximian.com>
2347 * Button.cs, ButtonField.cs, FontInfo.cs, Style.cs, Xml.cs,
2348 CommandField.cs, HyperLinkColumn.cs, Table.cs,
2349 RegularExpressionValidator.cs, DataGridPagerStyle.cs, Label.cs,
2350 CheckBox.cs, RadioButton.cs, TableStyle.cs, ListControl.cs,
2351 Image.cs, BaseCompareValidator.cs, BaseDataList.cs, DataList.cs,
2352 TemplateColumn.cs, RangeValidator.cs, ImageField.cs,
2353 BaseValidator.cs, CustomValidator.cs, TextBox.cs,
2354 ButtonFieldBase.cs, BoundField.cs, CheckBoxList.cs,
2355 RadioButtonList.cs, RequiredFieldValidator.cs, AdRotator.cs,
2356 Repeater.cs, DropDownList.cs, CheckBoxField.cs, HyperLink.cs,
2357 XmlDataSource.cs, Panel.cs, DataGrid.cs, ButtonColumn.cs,
2358 CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs,
2359 WebControl.cs, Literal.cs, ValidationSummary.cs, ImageButton.cs,
2360 TableRow.cs, LinkButton.cs, DataGridColumn.cs, BoundColumn.cs,
2361 TableItemStyle.cs: Add some WebCategory and WebSysDescription
2364 2005-09-01 Chris Toshok <toshok@ximian.com>
2366 * AccessDataSource.cs: corcompare work.
2368 * SqlDataSource.cs: same.
2370 2005-09-01 Miguel de Icaza <miguel@novell.com>
2372 * Various places: make sure that the DefaultValue matches the
2373 type. Thanks to Michael for pointing this out.
2375 In future audits, you might want to use the following awk command:
2377 awk '/DefaultValue/ { v=$0; looking = 1; } /public/ && looking &&
2378 !/string/ && !/ int / && !/ bool / { print FILENAME; print v;
2379 print $0; looking = 0; } /public/ && looking { looking = 0; } '
2382 The above skips bools, strings and ints as those were fine as we
2383 set them. The bug was on the other ones.
2385 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2387 * Repeater.cs: fix the build.
2389 2005-08-31 Chris Toshok <toshok@ximian.com>
2391 * Repeater.cs: lots of 2.0 work, much of it c&p'ed from
2392 {Base}DataList, and also from debug spew garnered from some
2393 Repeater subclass tests on MS.
2394 (CreateControlHierarchy): in 2.0 if IsBonudUsingDataSourceID get
2395 the IEnumerable by calling GetData().
2396 (DataBind): reset RequiresDataBinding to false (2.0).
2397 (DataMember): copy the set implementation from DataList, and add
2398 2.0 code to call OnDataPropertyChanged if we're !Initialiezd.
2399 (DataSource): more c&p.
2400 (DataSourceID); implement (2.0)
2401 (Initialized): implement (2.0)
2402 (IsBoundUsingDataSource): implement (2.0)
2403 (RequiresDataBinding): implement (2.0)
2404 (SelectArguments): implement (2.0)
2405 (CreateDataSourceSelectArguments): implement (2.0)
2406 (EnsureDataBound): implement (2.0)
2407 (GetData): implement.
2408 (OnDataPropertyChanged): remove the NIE, but leave the MonoTODO
2410 (OnDataSourceViewChanged): set RequiresDataBinding to true, but
2411 leave the MonoTODO. (2.0)
2412 (OnInit): call base.OnInit instead of throwing NIE, but leave the
2414 (OnLoad): implement.
2415 (OnPreRender): implement.
2416 (ConnectToDataSource): new method - look for the right control.
2418 2005-08-31 Chris Toshok <toshok@ximian.com>
2420 * XmlDataSourceView.cs: fix the scope of our select. Don't use
2421 call SelectNodes on the XmlDocument, not on
2422 XmlDocument.DocumentElement.
2424 2005-08-31 Chris Toshok <toshok@ximian.com>
2426 * XmlDataSourceView.cs (.ctor): remove the nodelist parameter.
2427 (DoXPathSelect): put the xpath selection stuff here.
2428 (ExecuteSelect): call DoXPathSelect if we need to (if nodes ==
2431 * XmlDataSource.cs (IDataSource.GetView): don't do the XPath
2432 select here, the view does it.
2434 2005-08-31 Jackson Harper <jackson@ximian.com>
2436 * DataList.cs: Remove some debugging code that was starting to bug
2439 2005-08-31 Chris Toshok <toshok@ximian.com>
2441 * XmlDataSourceNodeDescriptor.cs: implement IXPathNavigable, and
2442 create our Navigator by calling node.CreateNavigator().
2444 2005-08-31 Chris Toshok <toshok@ximian.com>
2446 * XmlDataSource.cs (GetXmlDataDocument): rename this to
2447 GetXmlDocument, and change the return value from XmlDataDocument
2449 (LoadXmlDataDocument): similar change.
2450 (Save): xmlDataDocument -> xmlDocument.
2451 (CanBeSaved): there's no ReadOnly attribute.
2452 (LoadViewState, SaveViewState, TrackViewState): nuke.
2453 (GetHierarchicalView): xmlDataDocument -> xmlDocument.
2454 (CacheDuration): stub out with NIE.
2455 (CacheExpirationPolocy): same.
2456 (CacheKeyDependency): same.
2457 (EnableCaching): same.
2459 (Data, DataFile): xmlDataDocument -> xmlDocument.
2460 (Schema, SchemaFile): nuke.
2461 (Transform, TransformFile): xmlDataDocument -> xmlDocument.
2463 2005-08-30 Lluis Sanchez Gual <lluis@novell.com>
2465 * SubMenuStyle.cs, MenuItemStyle.cs, TreeNodeStyle.cs:
2466 Don't use the obsolete IsSet method.
2467 * Menu.cs: Implement IPostBackEventHandler.RaisePostBackEvent.
2468 * CheckBox.cs: Implement some 2.0 methods.
2469 * GridView.cs: Removed some "throw new NotImplementedException"
2471 2005-08-29 Chris Toshok <toshok@ximian.com>
2473 * TreeView.cs: Use the StateBag accessors Ben added, and implement
2474 SkipLinkText and Visible.
2476 2005-08-29 Chris Toshok <toshok@ximian.com>
2478 * TreeView.cs: fix typo in an attribute.
2480 2005-08-29 Jackson Harper <jackson@ximian.com>
2482 * PagedDataSource.cs: If it's not a list or collection we don't
2483 use a bounded enumerator.
2485 2005-08-29 Chris Toshok <toshok@ximian.com>
2487 * LinkButton.cs: fix some 2.0 Page/ClientScript obsolete warnings.
2489 * CheckBox.cs: same.
2491 * BaseValidator.cs: same.
2493 * DropDownList.cs: same.
2495 * ValidationSummary.cs: same.
2497 2005-08-28 Chris Toshok <toshok@ximian.com>
2499 * XmlHierarchyData.cs: fix IHierarchyData.GetParent.
2501 2005-08-26 Chris Toshok <toshok@ximian.com>
2503 * TextBox.cs: implement ValidationGroup and CausesValidation
2506 2005-08-26 Lluis Sanchez Gual <lluis@novell.com>
2508 * Style.cs: Implemented FillStyleAttributes, GetStyleAttributes and
2511 2005-08-26 Chris Toshok <toshok@ximian.com>
2513 * Unit.cs: implement the 2.0 ToString(IFormatProvider) method.
2515 * FontUnit.cs: add two 2.0 ctors, and the 2.0
2516 ToString(IFormatProvider) method.
2518 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
2520 * CheckListBox.cs: Nothing is rendered (i.e. no empty table) in 2.0 if
2521 no items are present in the list.
2522 * RoleGroup.cs: Added missing attributes.
2523 * RoleGroupCollection.cs: Added missing attributes and some (yet-to-be-
2524 documented) methods.
2525 * TableStyle.cs: *for 2.0* adding a "url({0})" to background image
2526 must be done in the HtmlTextWriter (not in the TableStyle).
2528 2005-08-26 Chris Toshok <toshok@ximian.com>
2530 * Calendar.cs (UseAccessibleHeader): implement.
2531 (RaisePostBackEvent): some #ifdef ugliness to get this all working
2532 propertly between 1.x and 2.0
2533 (WriteDayHeader): if UseAccessibleHeader == true, render header
2534 cells as th's, not td's, and add abbr and scope attributes.
2536 2005-08-25 Chris Toshok <toshok@ximian.com>
2538 * Calendar.cs (Caption, CaptionAlign): implement these properties.
2539 (Render): if we have a non-empty caption, show it.
2540 (WriteCaption): new method, output the caption.
2542 2005-08-25 Chris Toshok <toshok@ximian.com>
2544 * Calendar.cs (Render): Copy the entire style from the Calendar to
2545 the Table, not just the font.
2546 (WriteDay): don't just write the link/text/etc. Create a
2547 LiteralControl as a child of the cell, before the call to
2548 OnDayRender, with its text set to the day number. After
2549 OnDayRender, set the literal's text to either the number again (if
2550 it's not selectable) or the full text of the js __doPostBack
2551 hyperlink (if it is.) Also, use cell.RenderControl here so we can
2552 render child controls with the id's listed properly (and arguably
2554 (ApplyTitleStyleCell): remove.
2555 (WriteTitle): apply the titleStyle to the enclosing table, not the
2556 table cell containing the month name. Also, copy from the
2557 Calendar's ControlStyle to populate tableTitle's style initially.
2558 We end up with more (superfluous) style attributes than MS, but
2559 it's better than having less.
2561 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
2563 * HyperLink.cs: Fixed 2.0 rendering for Alt and Border|BorderWidth when
2566 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
2568 * Style.cs: Implemented 2.0 CopyTextStylesFrom(), SetRegisteredCssClass()
2569 and RegisteredCssClass property
2571 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
2573 * LoginView.cs: Fixed attributes.
2574 * Style.cs: Change SetRegisteredCssClass to internal and not to throw
2575 an exception to allow pages to work on 2.x.
2577 2005-08-25 Chris Toshok <toshok@ximian.com>
2579 * LinkButton.cs (PostBackUrl): correct the UrlProperty attribute.
2581 * Unit.cs: add [Serializable] and the 2.0 specific ToString(), not
2584 * HiddenField.cs: stub out this class and label everything
2587 2005-08-25 Jackson Harper <jackson@ximian.com>
2589 * DataGrid.cs: Disable the pager row if there no paging enabled
2592 2005-08-25 Chris Toshok <toshok@ximian.com>
2594 * SqlDataSourceFilteringEventArgs.cs: add some usings, and fix a
2597 * SqlDataSourceSelectingEventArgs.cs: IDbCommand -> DbCommand, and
2598 add a using statement.
2600 2005-08-25 Chris Toshok <toshok@ximian.com>
2602 * SqlDataSourceFilteringEventArgs.cs: new 2.0 class, as per
2605 * SqlDataSourceFilteringEventHandler.cs: new 2.0 delegate, as per
2608 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
2610 * Login.cs: Added rendering and fixed parts of the authentication.
2611 Now using IStateManager to allow compilation in another assembly (e.g.
2612 to test the control under IIS). Needs more tests (error conditions)
2613 once we get a "real" Membership provider running.
2614 * Style.cs: Fixed IsStyleEmpty (name ;-) and when null is provided
2617 2005-08-25 Chris Toshok <toshok@ximian.com>
2619 * SqlDataSourceCommandType.cs: new 2.0 enum, as per corcompare.
2621 2005-08-25 Chris Toshok <toshok@ximian.com>
2623 * AdRotator.cs: stub out enough of the 2.0 methods/properties by
2624 calling base.Foo to get the standalone adrotator (1.0) tests to
2625 run without throwing exceptions.
2627 2005-08-25 Chris Toshok <toshok@ximian.com>
2629 * ValidationSummary.cs (ValidationGroup): implement.
2630 (Render): use Page.GetValidators in .net 2.0, so we can support
2631 ValidationGroups. Also, <br>'s get rendered as <br /> in .net
2634 2005-08-25 Chris Toshok <toshok@ximian.com>
2636 * ImageButton.cs (TagKey): disable (but flag) the "virtual new"
2637 2.0 attribute modifiers, and revert back to "override".
2639 * ListBox.cs (BorderColor): disable (but flag) the "virtual new"
2640 2.0 attribute modifiers, and revert back to "override".
2641 (BorderStyle): same.
2642 (BorderWidth): same.
2644 * TextBox.cs (SaveViewState): implement naively, calling
2646 (TagKey): disable (but flag) the "virtual new" 2.0 attribute
2647 modifiers, and revert back to "override".
2649 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
2651 * Style.cs, TableStyle.cs, TableItemStyle.cs, DataGridPagerStyle.cs:
2652 Load ViewState for derived classes; no public LoadViewState override
2653 exists in those classes
2654 * Style.cs: Added 2.0 IsStyleEmpty method
2656 2005-08-25 Jackson Harper <jackson@ximian.com>
2658 * DataGrid.cs: The number of pages set in the pager is specified
2661 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
2663 * LoginView.cs: New (2.0). Work in progress.
2665 2005-08-24 Chris Toshok <toshok@ximian.com>
2667 * Button.cs, DetailsView.cs, FontInfo.cs, Style.cs, Xml.cs,
2668 Menu.cs, ObjectDataSource.cs, CheckBox.cs, RadioButton.cs,
2669 ListControl.cs, SiteMapPath.cs, BulletedList.cs,
2670 DataBoundControl.cs, ListItemCollection.cs, GridView.cs,
2671 Wizard.cs, TextBox.cs, CheckBoxList.cs, RadioButtonList.cs,
2672 PagedDataSource.cs, FormView.cs, AdRotator.cs, Repeater.cs,
2673 DropDownList.cs, MultiView.cs, HierarchicalDataBoundControl.cs,
2674 Calendar.cs, ListBox.cs, WebControl.cs, Literal.cs,
2675 ValidationSummary.cs, ImageButton.cs, LinkButton.cs, TreeView.cs:
2676 Add MonoTODO's for all things that throw NotImplementException.
2678 2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
2680 * RoleGroup.cs: New (2.0). Complete implementation.
2681 * RoleGroupCollection.cs: New (2.0). Mostly complete implementation.
2683 2005-08-23 Chris Toshok <toshok@ximian.com>
2685 * BaseCompareValidator.cs (GetFullYear): it turns out the docs up
2686 on msdn.microsoft.com tell exactly how the .net 2.0 stuff works,
2687 even though they were written for the 1.0 stuff.
2689 2005-08-23 Chris Toshok <toshok@ximian.com>
2691 * RepeatInfo.cs: some massaging to support both the 1.x and 2.0
2692 output. Our tests now pass on both mono and ms, with both 1.x and
2695 2005-08-23 Sebastien Pouliot <sebastien@ximian.com>
2697 * Login.cs: Throw exception if the specified provider doesn't exists.
2698 * LoginStatus.cs: Complete events.
2700 2005-08-22 Jackson Harper <jackson@ximian.com>
2702 * DataGrid.cs (CreateControlHierarchy): Clear out the old pager after creating the
2704 (InitializeNumericPager): Now that the pager actually renders
2705 properly I can see that I was computing it incorrectly.
2707 2005-08-22 Jackson Harper <jackson@ximian.com>
2709 * DataGrid.cs (RenderTable): Make sure the new table gets the
2711 (CreateColumnSet): Clear the data source columnbs before adding
2712 new ones regardless of whether or not a property descriptor was
2714 (InitializePager): pager_cell needs to be a member so it isn't
2715 created more then once per a render.
2716 (InitializeNumericPager): Compute start and end more
2718 - Link commands are 1 indexed.
2719 (CreateControlHierarchy): Clear the table before we begin
2721 - Revert patch that made adding the pagers conditional. This is
2722 incorrect, the pagers are always added. Only their visibility is
2723 affected by the pager style.
2724 - Save the entire count in the viewstate, not just the rendered
2725 count. So when paging is enabled the pager's count isn't broken by
2728 2005-08-22 Chris Toshok <toshok@ximian.com>
2730 * LinkButton.cs (ValidationGroup): implement.
2731 (IPostBackEventHandler.RaisePostBackEvent): in the 2.0 profile,
2732 pass ValidationGroup to Page.Validate.
2734 2005-08-22 Chris Toshok <toshok@ximian.com>
2736 * ImageButton.cs (ValidationGroup): implement.
2737 (IPostBackEventHandler.RaisePostBackEvent): if we cause
2738 validation, call Page.Validate properly (in both profiles).
2740 2005-08-22 Chris Toshok <toshok@ximian.com>
2742 * Button.cs (IPostBackEventHandler.RaisePostBackEvent): in the 2.0
2743 case, pass ValidationGroup to Page.Validate.
2744 (ValidationGroup): implement using ViewState.
2746 2005-08-22 Chris Toshok <toshok@ximian.com>
2748 * BaseValidator.cs (Text): 2.0 only. implement naively, just
2750 (OnInit): add 2.0 support for validation groups.
2753 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
2755 * LoginName.cs: New (2.0) web control.
2756 * LoginStatus.cs: New (2.0) web control.
2758 2005-08-19 Chris Toshok <toshok@ximian.com>
2760 * LinkButton.cs (ValidationGroup): implement getter/setter.
2761 (RaisePostBackEvent): implement naively, by c&p'ing the old
2762 implementation of IPostBackEventHandler.RaisePostBackEvent, but
2763 making use of the ValidationGroup in the call to Page.Validate.
2767 * Style.cs (LoadViewState): set our style flags for all the things
2768 we have flags for. Seems like the subclass flags should be
2769 handled in overridden LoadViewState methods, but none of the Style
2770 subclasses seem to override this method.
2772 2005-08-19 Chris Toshok <toshok@ximian.com>
2774 * TableStyle.cs (Merge, MergeWith): make these look a bit more
2775 like Copy/CopyFrom, with the styles checks instead of just
2778 * TableItemStyle.cs: same, only also make Copy/CopyFrom work as in
2781 2005-08-19 Chris Toshok <toshok@ximian.com>
2783 * DataGrid.cs (InitializePager): don't unconditionally set
2784 pager_cell to the numeric pager (especially after setting it
2785 conditionally to the nextprev pager.)
2786 (InitializeNumericPager): the link buttons don't participate in
2788 (InitializeNextPrevPager): same.
2789 (CreateControlHierarchy): create the top/bottom pagers only if the
2790 PagerStyle says too.
2792 2005-08-19 Sebastien Pouliot <sebastien@ximian.com>
2794 * TableCell.cs: Added AssociatedHeaderCellID property for 2.0.
2796 2005-08-18 Chris Toshok <toshok@ximian.com>
2798 * DataList.cs (CreateControlHierarchy): Call Controls.Clear() at
2799 the start of this method so templates are created properly.
2801 2005-08-18 Dick Porter <dick@ximian.com>
2803 * Button.cs, DetailsView.cs, Xml.cs, Table.cs, Menu.cs,
2804 DataControlButton.cs, Label.cs, ObjectDataSource.cs, CheckBox.cs,
2805 RadioButton.cs, ListControl.cs, Image.cs, SiteMapPath.cs,
2806 BaseDataList.cs, DataList.cs, BulletedList.cs,
2807 DataBoundControl.cs, Login.cs, GridView.cs,
2808 CompositeDataBoundControl.cs, Wizard.cs, BaseValidator.cs,
2809 TextBox.cs, CheckBoxList.cs, RadioButtonList.cs, FormView.cs,
2810 AdRotator.cs, Repeater.cs, MenuItemTemplateContainer.cs,
2811 DropDownList.cs, HyperLink.cs, ImageMap.cs, MultiView.cs,
2812 CompositeControl.cs, HierarchicalDataBoundControl.cs, Calendar.cs,
2813 ListBox.cs, TableCell.cs, WebControl.cs, Literal.cs,
2814 BaseDataBoundControl.cs, ValidationSummary.cs, ImageButton.cs,
2815 LinkButton.cs, TreeView.cs: 2.0 API fixes and stubs, and attribute
2818 2005-08-18 Sebastien Pouliot <sebastien@ximian.com>
2820 * BaseDataList.cs: Added a TODO for DataKeyField as we're not using it
2822 * DataList.cs: Reworked CreateControlHierarchy to avoid allocating an
2823 empty array of objects just to get the number of items.
2824 * Login.cs: Implemented OnBubbleEvent and parts of the authentication
2825 but we're missing some bits from the class lib to complete all this...
2827 2005-08-17 Jackson Harper <jackson@ximian.com>
2829 * DataGrid.cs: Only create one pager and add it to both the top
2830 and bottom of the grid, this way all the id numbers stay the same
2831 and we save a bunch of cycles.
2833 2005-08-17 Jackson Harper <jackson@ximian.com>
2835 * DataGrid.cs: The top and bottom pagers are always created. Just
2836 the visibility is changed by the PagerStyle::Position.
2838 2005-08-17 Chris Toshok <toshok@ximian.com>
2840 * CompositeControl.cs (RecreateChildControls): implement naively -
2841 just call CreateChildControls. We might need to call
2842 Controls.Clear() as well, but for the time being, this is ok.
2844 2005-08-17 Sebastien Pouliot <sebastien@ximian.com>
2846 * BaseDataList.cs: Completed implementation for 2.0.
2848 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
2850 * BaseDataList.cs: Added missing properties/methods/attributes for 2.0.
2851 * DataList.cs: Added missing [Browseable] attribute on SelectedValue.
2853 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
2855 * BaseDataList.cs: Removed old internal ctor as DataList TagKey was
2857 * DataList.cs: Implemented {Load|Save}ControlState and OnInit (2.0).
2858 Adjusted size and ordering of the ViewState (new element #0 is still
2859 unknown). Properly fixed the TagKey in 2.0.
2860 * Login.cs: Implemented {Load|Save|Track}ViewState. Added checks for
2861 all properties using enums.
2862 * Panel.cs: Fixed NoWrap rendering unit test (for 2.0).
2863 * TableItemStyle.cs: Fixed attribute rendering to use style to render
2864 "nowrap" in 2.0 (it used the HTML nowrap attribute in 1.x).
2866 2005-08-15 Jackson Harper <jackson@ximian.com>
2868 * EditCommandColumn.cs: Use a normal LinkButton.
2870 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
2872 * Image.cs: Don't remove GenerateEmptyAlternateText (2.0) from the
2873 viewstate (even if assigned to the default value).
2874 * TableRow.cs: Implement TableSection property (2.0). It has no effect
2875 on the rendering of the table row.
2877 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
2879 * BaseDataList.cs: Added new [Themeable] and [Localizable] attributes
2880 and removed [Bindable] attributes for 2.0.
2881 * DataList.cs: Added new 2.0 attributes on class and removed [Bindable]
2882 attributes (for 2.0).
2883 * DataListCommandEventArgs.cs: Not sealed in 2.0.
2884 * DataListItemEventArgs.cs: Not sealed in 2.0.
2885 * Image.cs: Fixed [Designer] attribute on class and all [Editor]
2886 attributes for URLs.
2887 * Login.cs: Fixed [Designer] attribute on class and all [Editor]
2888 attributes for URLs.
2889 * Table.cs: Fixed [Editor] attribute for 2.0.
2890 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
2891 * TableCell.cs: Fixed [Designer] attribute. Fixed property name for
2892 AssociatedHeaderCellID and it's [DefaultValue] attribute.
2893 * TableHeaderCell.cs: Fix [DefaultValue] attributes for CategoryText
2894 and Scope attributes.
2895 * TableRow.cs: Fixed [Designer] attribute. Added missing [DefaultValue]
2896 on TableSection attribute.
2897 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
2899 2005-08-14 Sebastien Pouliot <sebastien@ximian.com>
2901 * Image.cs: Fixed attributes for 2.0 profile.
2902 * Login.cs: Fixed some attributes and default values.
2903 * Table.cs: Fixed attributes for 2.0 profile. Added protected method
2904 RaisePostBackEvent (TODO) in 2.0 profile.
2905 * TableCell.cs: Fix properties (Bindable, Localizable, Designer...)
2906 and added AssociateHeaderCellID property (TODO).
2907 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
2908 * TableFooterRow.cs: New (2.0). TableRow that always shows on each
2909 page (if the device requires to breaks the table into multiple pages).
2910 This seems to be a "flag" class, the real work will be in Table.
2911 * TableHeaderCell.cs: Added CategoryText and Scope properties for 2.0.
2912 * TableHeaderRow.cs: New (2.0). TableRow that always shows on each
2913 page (if the device requires to breaks the table into multiple pages).
2914 This seems to be a "flag" class, the real work will be in Table.
2915 * TableItemStyle.cs: Remove [Bindable (true)] from 2.0 profile.
2916 * TableRow.cs: Remove [Bindable (true)] from properties and add
2917 [Bindable (false)] and [Designer] on class. Added new TableSection
2919 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
2920 * TableSectionStyle.cs: New (2.0). Add Visible to Style - but it's
2921 broken (int beta2) for IsEmpty, CopyFrom, MergeWith...
2922 * TableStyle.cs: Fixed attributes for 2.0 profile. Added new
2923 FillStyleAttributes method (2.0).
2925 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
2927 * Login.cs: New (2.0). Mostly a stub with copy-n-pasted code and
2928 attributes from existing controls.
2929 * LoginCancelEventArgs.cs: New (2.0). Required to build Login.
2930 * LoginCancelEventHandler.cs: New (2.0). Required to build Login.
2932 2005-08-12 Jackson Harper <jackson@ximian.com>
2934 * TableRow.cs: No AutoID for TableRows.
2936 2005-08-12 Jackson Harper <jackson@ximian.com>
2938 * DataGrid.cs (CreateRenderColumns): If we aren't using data
2939 binding grab the rendercols from the data source columns.
2940 (LoadViewState): Restore the bound columns when reloading the
2942 (InitializeNumericPager): Create elipsised pagers.
2943 (CreateItem): Don't set the item's ID.
2944 (CreateItem): Add the control to the table before it is databound
2945 so that it's value is saved in the viewstate.
2946 (CreateControlHierarchy): Create a fake data source when not using
2947 databinding. Don't add controls to the table as they are added in
2949 (PrepareControlHierarchy): Make footers and header non visible if
2950 they aren't enabled.
2952 2005-08-12 Chris Toshok <toshok@ximian.com>
2954 * CompositeControl.cs (DataBind, Render, get_Controls): the MSDN
2955 docs says these methods/properties "ensure the child controls are
2956 created" -- so call EnsureChildControls() before invoking the base
2959 2005-08-12 Jackson Harper <jackson@ximian.com>
2961 * BoundColumn.cs: Set the controls text instead of adding a
2962 literal control. So it is saved in the controls viewstate.
2964 2005-08-11 Jackson Harper <jackson@ximian.com>
2966 * CheckBoxList.cs: Set the tabindex on the checkbox control and
2967 don't render it on the main table (Setting it to zero causes it to
2968 not be rendered). Also use the invariant culture on the id.
2970 2005-08-11 Dick Porter <dick@ximian.com>
2972 * CheckBox.cs: Let ViewState manage removals; apply styles and
2973 "style" attributes in a surrounding <span>. Fixes unit tests.
2975 2005-08-10 Chris Toshok <toshok@ximian.com>
2977 * Label.cs (LoadViewState): set the Text attribute from our
2978 ViewState (if it exists) to clear out any child controls. Fixes
2979 jsunit test label/label-child-control-postback.aspx.
2981 2005-08-10 Jackson Harper <jackson@ximian.com>
2983 * PagedDataSource.cs: Respect paging with all data source types.
2985 2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
2987 * BaseDataList.cs: Changed Controls property from "virtual new"
2988 (2.0 doc) to "override" (monop) to fix the Visible bug (see
2989 datalist-invisible.aspx). Fixed AddParsedSubObject not to accept
2990 any controls (required due to change to Controls). Implemented
2991 DataBind(bool) for 2.0.
2992 * DataListItem.cs: Fix the multiple table when extractRows is used.
2993 Removed extra span tags by rendering contents (not control). Added
2994 support for IDataItemContainer (2.0).
2996 2005-08-08 Jackson Harper <jackson@ximian.com>
2998 * DataGrid.cs: Apply the styles to each item type.
3000 2005-08-08 Jackson Harper <jackson@ximian.com>
3002 * PagedDataSource.cs: If paging is not enabled keep enumerating to
3003 the end of the list.
3005 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
3007 * BaseDataList.cs: Remove old compatibility stuff.
3008 * DataList.cs: Fix the edit|update for datalist-style-edit.aspx.
3009 * WebControl.cs: Always call CreateControlStyle to create the
3010 ControlStyle. Fix the exception for datalist-style-edit.aspx.
3012 2005-08-05 Jackson Harper <jackson@ximian.com>
3014 * DataGrid.cs: Don't make the current page index a link in the
3017 2005-08-05 Jackson Harper <jackson@ximian.com>
3019 * DataGrid.cs: Honour PagerPosition.
3021 2005-08-05 Jackson Harper <jackson@ximian.com>
3023 * PagedDataSource.cs: Round PageCount properly.
3025 2005-08-05 Dick Porter <dick@ximian.com>
3027 * CheckBox.cs: Shut corcompare up a bit more. Still need to
3028 figure out how to not use AddAttributesToRender to get it
3031 * ButtonColumn.cs: Implement Initialize() and InitializeCell()
3033 * DataGridColumn.cs: Added the duplicate viewstate manipulation
3036 2005-08-05 Chris Toshok <toshok@ximian.com>
3038 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): treat "" as
3039 null when it comes to the format string.
3040 (FormatDataTextValue): same.
3042 2005-08-04 Chris Toshok <toshok@ximian.com>
3044 * BaseValidator.cs (Validate): only test a validator if it's both
3045 enabled and visible.
3047 2005-08-04 Chris Toshok <toshok@ximian.com>
3049 * BaseValidator.cs (AddAttributesToRender): add "enabled" if
3052 2005-08-04 Jackson Harper <jackson@ximian.com>
3054 * DataGrid.cs: Add a new space control for each link. Also make
3055 the link's text 1 indexed. Don't add the space after the last
3058 2005-08-04 Ben Maurer <bmaurer@ximian.com>
3060 * LinkButton.cs: Fix up the test suite here.
3062 * Panel.cs: Fix up nowrap
3064 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
3066 * ListBox.cs: Use WriteXXXX to render HTML, this way it matches MS output
3067 * ListControl.cs: Clear item list before adding data (again)
3069 2005-08-04 Jordi Mas i Hernandez <jordi@ximian.com>
3071 * Calendar.cs: fixes issues with OnDayRender event and others
3073 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
3075 * DataGrid.cs(CreateControlHierarchy): Consider the EditItemIndex when
3077 * ListControl.cs(OnDataBinding): Only apply DataTextFormatString to text
3078 if DataTextField is bound
3079 * EditCommandColumn.cs(InitializeCell): MS inserts a between the
3080 two controls in edit mode, lets do the same
3082 2005-08-03 Jackson Harper <jackson@ximian.com>
3084 * BoundColumn.cs: Respek for the thisExpr when data binding.
3086 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
3088 * EditCommandColumn.cs: No need to offer edit when in edit mode.
3091 2005-08-04 Dick Porter <dick@ximian.com>
3093 * DataGridColumn.cs: New implementation
3096 * DataGridColumnCollection.cs: Set the DataGridColumn's owner
3098 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
3100 * WebControl.cs(CopyBaseAttributes): Use Enabled setter to also
3103 2005-08-03 Ben Maurer <bmaurer@ximian.com>
3105 * RepeatInfo.cs: Finally figured out how to use base control
3107 2005-08-03 Jackson Harper <jackson@ximian.com>
3109 * ButtonColumn.cs: Partial implementation.
3111 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
3113 * DataGridPagerStyle.cs(PageButtonCount): Throw exception on
3116 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
3118 * Calendar.cs: fixes Save/Load state
3120 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
3122 * Calendar.cs: bug fixes
3124 2005-08-03 Jackson Harper <jackson@ximian.com>
3126 * DataGrid.cs: Merge the table style with the render table. Some
3127 initial work on the numeric pager. Remove some debugging code.
3129 2005-08-03 Jackson Harper <jackson@ximian.com>
3131 * BoundColumn.cs: Implement Initialize and InitializeCell. When
3132 Data is formated it uses the DataFormatString that was set at the
3133 time Initialize was called (or null if initialize was never
3136 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
3138 * RadioButtonList.cs: bug fixes
3140 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
3142 * CheckBox.cs, RadioButton.cs: mecanism to avoid exposing
3143 AddAttributesToRender
3144 * RadioButtonList.cs: Implementation
3146 2005-08-01 Jackson Harper <jackson@ximian.com>
3148 * TableStyle.cs: Copy style bit when copying from another style.
3150 2005-08-01 Jackson Harper <jackson@ximian.com>
3152 * PagedDataSource.cs: Implement missing properties, use yield for
3153 the Enumerator methods. Only allow the enums to return one page at
3156 2005-08-01 Chris Toshok <toshok@ximian.com>
3158 * HyperLinkColumn.cs (ItemDataBinding): remove incorrect comment.
3160 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
3162 * WebControl.cs: Track enabled state across sessions
3164 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
3166 * ListControl.cs(OnDatabinding): Value is equivalent to text if
3169 2005-08-01 Jordi Mas i Hernandez <jordi@ximian.com>
3171 * ImageButton.cs: fixes, complete missing parts
3173 2005-07-31 Ben Maurer <bmaurer@ximian.com>
3175 * TextBox.cs: Html encode for multiline text boxes
3177 * HyperLink.cs: Resolve images
3179 2005-07-30 Chris Toshok <toshok@ximian.com>
3181 * BaseValidator.cs: initial version of 2.0 properties
3182 ValidationGroup and SetFocusOnError.
3184 2005-07-30 Chris Toshok <toshok@ximian.com>
3186 * HyperLinkColumn.cs (InitializeCell): clean this up.
3188 2005-07-30 Chris Toshok <toshok@ximian.com>
3190 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): just use
3191 DataBinder.FormatResult.
3192 (FormatDataTextValue): same.
3193 (Initialize): call base.Initialize.
3194 (ItemDataBinding): new function, get the text/navigateurl and set
3195 them on our HyperLink control.
3196 (InitializeCell): create a hyperlink control in the
3197 Item/EditItem/AlternatingItem case.
3199 2005-07-30 Ben Maurer <bmaurer@ximian.com>
3201 * RepeatInfo.cs: Handle 0 items situations correctly
3203 * HyperLink.cs: Resolve urls correctly
3205 * CheckBox.cs: use the correct ID for the label element.
3207 * Label.cs: Correct AddParsedSubObject impl. See FAQ
3209 2005-07-29 Chris Toshok <toshok@ximian.com>
3211 * BaseCompareValidator.cs (GetDateElementOrder): implement.
3213 2005-07-29 Chris Toshok <toshok@ximian.com>
3215 * BaseCompareValidator.cs (GetFullYear): implement two ways. The
3216 #if'ed out version follows microsoft's docs on msdn, but doesn't
3217 match ms's behavior. The other matches their behavior but not
3218 their docs. we use the latter. go figure.
3219 (get_CutoffYear): implement using
3220 CultureInfo.CurrentCulture.Calendar.TwoDigitYearMax.
3222 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
3225 - Name property now throws exception when set to null
3226 - Names now handles situation where our bit tells us we have
3227 a font, but it's not in the StateBag (null removal)
3228 * RangeValidator.cs: Removed unused vars
3230 2005-07-29 Ben Maurer <bmaurer@ximian.com>
3232 * Label.cs: ClientID should be used rather than UniqueID to get
3235 2005-07-29 Chris Toshok <toshok@ximian.com>
3237 * BaseValidator.cs (Validatate): not sure if this is entirely
3238 correct (some fairly deep testing required), but setting Enabled =
3239 false has the effect of setting IsValid = true.
3241 2005-07-29 Ben Maurer <bmaurer@ximian.com>
3243 * RadioButton.cs: The "remove from groupstate" isn't needed any
3244 more, now that statebag is correct.
3246 2005-07-29 Dick Porter <dick@ximian.com>
3248 * RadioButton.cs: Hide nonstandard API; remove GroupName from the
3249 ViewState when it is null.
3251 * CheckBox.cs: Hide nonstandard API
3253 2005-07-29 Jordi Mas i Hernandez <jordi@ximian.com>
3255 * Calendar.cs: fixes exceptions, bug fixes, new features
3256 * SelectedDatesCollection.cs: Fixes bugs discovered by the tests
3257 * CalendarDay.cs: fixes default value
3259 2005-07-28 Ben Maurer <bmaurer@ximian.com>
3261 * CompositeControl.cs: Stub
3263 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
3265 * EditCommandColumn.cs: Implemented
3267 2005-07-27 Chris Toshok <toshok@ximian.com>
3269 * RegularExpressionValidator.cs (EvaluateIsValid): "" is valid.
3271 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
3273 * CustomValidator.cs: Bug fixes (Thanks to Chris for creating the
3276 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
3278 * DataGrid.cs: DataGridPagerStyle does not need DataGrid as argument
3279 for it's constructor, so remove it
3280 * DataGridPagerStyle.cs: Removed DataGrid argument from constructor
3282 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
3284 * DataGridPagerStyle.cs: Implemented
3285 * TableItemStyle.cs (MergeWith): Now only sets style bits it owns
3286 * Style.cs: Added Styles enum values for DataGridPagerStyle
3288 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
3290 * Calendar.cs: get the styles right, honors more properties, fixes, fix
3293 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
3295 * DataGridItem.cs: Implemented
3297 2005-07-26 Chris Toshok <toshok@ximian.com>
3299 * LinkButton.cs (AddParsedSubObject): reversed the order of
3300 Controls.Add() and Text = null
3301 (set_Text): call Controls.Clear()
3302 (RenderContents): use HasControls() for the if test instead of
3305 * HyperLink.cs (AddParsedSubObject): reversed the order of
3306 Controls.Add () and Text = null;
3308 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
3310 * DataGridItemCollection.cs: Implemented
3312 2005-07-26 Chris Toshok <toshok@ximian.com>
3314 * LinkButton.cs (AddParsedSubObject): copy implementation from
3316 (RenderContents): only call writer.Write(Text) if Text != "".
3317 Otherwise default to base.RenderContents.
3319 2005-07-26 Chris Toshok <toshok@ximian.com>
3321 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
3322 ImageButton.cs, LinkButton.cs (AddAttributesToRender): add if
3323 (Page != null) around my last commit.
3325 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
3327 * FontInfo.cs, CheckBox.cs, RadioButton.cs, ListItemCollection.cs:
3328 Fixed use of literal strings, instead using Consts
3329 * Xml.cs, RegularExpressionValidator.cs, TemplateColumn.cs,
3330 TextBox.cs, RequiredFieldValidator.cs, Repeater.cs, RepeaterItem.cs,
3331 Panel.cs, Literal.cs: Added attributes
3332 * BaseValidator.cs: Added missing override
3334 2005-07-26 Chris Toshok <toshok@ximian.com>
3336 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
3337 ImageButton.cs, LinkButton.cs (AddAttributesToRender): call
3338 Page.VerifyRenderingInServerFormHere.
3340 2005-07-26 Chris Toshok <toshok@ximian.com>
3342 * BaseValidator.cs: remove some MonoTODO's about the client side
3345 2005-07-26 Jordi Mas i Hernandez <jordi@ximian.com>
3347 * Calendar.cs: selection of dates, state load, save, track, support
3348 for new properties, many fixes.
3350 2005-07-26 Miguel de Icaza <miguel@novell.com>
3352 * Style.cs: Temporary methods to help buliding .NET 2.x
3354 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
3356 * BaseValidator.cs: Added AssociateControlID (new in sp1), fixed
3358 * Xml.cs: Fixed base class, attributes
3359 * Button.cs, DataGridColumnCollection.cs, HyperLinkColumn.cs,
3360 Label.cs, ListItem.cs, ListControl.cs, CustomValidator.cs,
3361 CheckBoxList.cs, AdRotator.cs, DropDownList.cs, HyperLink.cs,
3362 DataGrid.cs, ButtonColumn.cs, CompareValidator.cs, Calendar.cs,
3363 ListBox.cs, ImageButton.cs, LinkButton.cs: Attribute fixes
3365 2005-07-25 Ben Maurer <bmaurer@ximian.com>
3367 * RepeatInfo.cs: WOOHOOO! all tests pass. Boy is this class
3370 2005-07-25 Ben Maurer <bmaurer@ximian.com>
3372 * RepeatInfo.cs: If the repeater has one column, the separators
3373 are rendered on a different line
3375 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
3377 * DataGridSortCommandEventArgs: Sealed class
3378 * ButtonColumn.cs, Calendar.cs: Added Attributes
3380 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
3382 * Button.cs, Style.cs, BaseCompareValidator.cs, RangeValidator.cs,
3383 BaseValidator.cs, AdRotator.cs, BoundColumn.cs: Added Attributes
3385 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
3387 * FontInfo.cs, Style.cs, RangeValidator.cs, ListItemCollection.cs,
3388 DropDownList.cs, WebControl.cs, ValidationSummary.cs: Added Attributes
3390 2005-07-25 Chris Toshok <toshok@ximian.com>
3392 * ValidationSummary.cs (AddAttributesToRender): add client side
3394 (OnPreRender): set the "been here" flag.
3395 (Render): add client side support.
3397 2005-07-25 Ben Maurer <bmaurer@ximian.com>
3399 * RepeatInfo.cs: Split the horiz and vertical cases, because this
3400 class has rules that are beyond strange. Continue working to make
3403 2005-07-25 Ben Maurer <bmaurer@ximian.com>
3405 * RepeatInfo.cs: Misc fixes for my test suite.
3407 2005-07-25 Jackson Harper <jackson@ximian.com>
3409 * DataGrid.cs: Set the command name and args on the link buttons.
3411 2005-07-25 Jackson Harper <jackson@ximian.com>
3413 * DataGrid.cs: Lots o implementation.
3415 2005-07-25 Jackson Harper <jackson@ximian.com>
3417 * BoundColumn.cs: Partial implementation to get the DataGrid tests
3420 2005-07-23 Jordi Mas i Hernandez <jordi@ximian.com>
3422 * Button.cs: fixes events, adds attributes
3424 2005-07-23 Chris Toshok <toshok@ximian.com>
3426 * BaseValidator.cs (GetControlValidateValue): handle ListItems as
3427 prop.GetValue results.
3428 (Render): fix the static non-uplevel case, so that we display text
3429 when there's an error.
3431 2005-07-22 Chris Toshok <toshok@ximian.com>
3433 * RegularExpressionValidator.cs (AddAttributesToRender): only
3434 output ValidationExpression if it's != null.
3436 2005-07-22 Chris Toshok <toshok@ximian.com>
3438 * BaseValidator.cs (AddAttributesToRender): fix up the Display
3439 rendering such it matches MS's output.
3440 (Render): stop using the huge complicated if's for each output
3441 stage and move to boolean flags, and fix the static-nonuplevel
3442 case, where a validator outputs as nothing but
3444 2005-07-22 Jordi Mas i Hernandez <jordi@ximian.com>
3445 * Calendar.cs: Initial implementation
3446 * CalendarSelectionMode.cs: fix enum order
3448 2005-07-22 Sebastien Pouliot <sebastien@ximian.com>
3450 * DataList.cs: Rewrote the IRepeatInfoUser.RenderItem to support all
3451 (or more?) specific cases - including correct support for separators.
3452 Added some (commented) debugging code.
3453 * HyperLink.cs: Only render href and target attributes if they're not
3454 empty. Add "border=0" when rendering <img> tag. Fix Target default
3457 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
3459 * Style.cs (CopyFrom): Reset must go, MS doesn't do it (See tests)
3461 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
3463 * Style.cs (CopyFrom): Reset our styles and don't set bits from
3464 target explicitly, properties will set them
3466 2005-07-22 Dick Porter <dick@ximian.com>
3469 * ButtonColumn.cs: Initial stubs
3471 2005-07-22 Dick Porter <dick@ximian.com>
3474 * CheckBox.cs: Add assembly attributes
3476 2005-07-22 Ben Maurer <bmaurer@ximian.com>
3478 * HyperLink.cs: Handle non-literal children.
3480 2005-07-21 Ben Maurer <bmaurer@ximian.com>
3482 * Label.cs: SP1 stuff
3484 2005-07-21 Chris Toshok <toshok@ximian.com>
3486 * BaseValidator.cs (RegisterValidatorCommonScript): remove the NS4
3487 stuff that I c&p'ed from elsewhere - NS4 doesn't support the DOM1
3488 stuff WebUIValidation.js uses, so we don't support it for uplevel
3491 2005-07-21 Chris Toshok <toshok@ximian.com>
3493 * BaseValidator.cs (DetermineRenderUplevel): include checks for
3494 the EcmaScriptVersion and W3CDomVersion.
3496 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
3498 * BaseDataList.cs: Support IEnumerable.
3499 * DataList.cs: Fix alternate items.
3500 * TableCell.cs: Fixed AddParsedSubObject to work nicely with existing
3501 controls and the Text property.
3503 2005-07-21 Ben Maurer <bmaurer@ximian.com>
3505 * TextBoxMode.cs: Wrong ordering of enum...
3507 2005-07-21 Chris Toshok <toshok@ximian.com>
3509 * BaseValidator.cs (OnPreRender): call DetermineRenderUplevel and
3512 2005-07-21 Chris Toshok <toshok@ximian.com>
3514 * BaseValidator.cs (get_PropertiesValid): use our containing
3515 NamingContainer, not ourselves, to look up controls.
3516 (CheckControlValidationProperty): same.
3517 (GetControlRenderID): same.
3518 (GetControlValidationValue): same.
3519 (AddAttributesToRender): add the display style attribute if
3520 Display != Static, and add the value of IsValid if it's false.
3521 (DetermineRenderUplevel): use a try block around (Page.Request)
3522 since that can raise an exception.
3523 (OnPreRender): set pre_render_called, so we can consult it in
3525 (Render): complicate this method more to handle more of the
3526 Display/pre_render_called permutations.
3528 2005-07-21 Peter Dennis Bartok <pbartok@novell.com>
3530 * CustomValidator.cs: Initial implementation, still work in progress
3532 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
3534 * DataList.cs: Fix rendering for special items (-1).
3536 2005-07-21 Ben Maurer <bmaurer@ximian.com>
3538 * RepeatInfo.cs: Fix most of the tests.
3540 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
3542 * Image.cs: Call ResolveUrl for ImageUrl and DescriptionUrl properties.
3543 Add a border=0 attribute if no style is defined.
3544 * TableCell.cs: Use HtmlTextWriterTag (not a string).
3545 * TableHeaderCell.cs: Use HtmlTextWriterTag (not a string).
3546 * TableRow.cs: Use HtmlTextWriterTag (not a string).
3548 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
3550 * BaseDataList.cs: Fix attributes.
3551 * HorizontalAlign.cs: Fix attributes.
3552 * Image.cs: Fix attributes and enums checks.
3553 * Table.cs: Fix attributes an enums checks.
3554 * TableCell.cs: Fix attributes.
3555 * TableCellCollection.cs: Fix attributes.
3556 * TableItemStyle.cs: Fix attributes and enums checks.
3557 * TableRowCollection.cs: Fix attributes.
3558 * TableRow.cs: Fix attributes.
3559 * TableStyle.cs: Fix attributes and enums checks.
3560 * VerticalAlign.cs: Fix attributes.
3562 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
3564 * BaseDataList.cs: Remove/#if-out useless/2.0 stuff.
3565 * DataList.cs: Added rendering support when ExtractTemplatesRows
3566 property is true (but RepeatInfo needs to be fixed to see it works).
3567 * DataListItem.cs: Added rendering support when extractRows parameter
3568 is true (but RepeatInfo still needs to be fixed ;-)
3570 2005-07-21 Duncan Mak <duncan@novell.com>
3572 * HyperLinkColumn.cs: Initial implementation.
3573 Todo: Figure out Initialize and InitializeCell.
3575 2005-07-20 Chris Toshok <toshok@ximian.com>
3577 * BaseValidator.cs: don't use Page.FindControl, use this Control's
3578 FindControl, so it'll use the same naming container.
3580 2005-07-21 Duncan Mak <duncan@novell.com>
3582 * DataGridCommandEventArgs.cs:
3583 * DataGridPageChangedEventArgs.cs:
3584 * RepeaterCommandEventArgs.cs: Fixed visibility.
3586 * DataGridPageChangedEventArgs.cs (CommandSource): Fixed typo.
3587 * DataGridSortCommandEventArgs.cs (CommandSource): Ditto..
3589 2005-07-20 Chris Toshok <toshok@ximian.com>
3591 * Button.cs: hook up the client side validation stuff.
3593 * ImageButton.cs: same.
3595 * LinkButton.cs: same, although it's a little more complicated
3598 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
3601 - Implemented RaisePostDataChangedEvent()
3602 - Spewing postback command if AutoPostBack is true
3604 2005-07-20 Chris Toshok <toshok@ximian.com>
3606 * BaseValidator.cs: another Page != null check when uplevel
3609 2005-07-20 Chris Toshok <toshok@ximian.com>
3611 * BaseValidator.cs: check Page != null when determining if we're
3612 rendering uplevel or not.
3614 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
3616 * ListItemCollection.cs: Removed obsolete method that's no longer
3619 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
3621 * DropDownList.cs: Oops. Forgot to implement LoadPostData
3622 * ListItemCollection.cs: Added convenience method to have faster
3625 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
3628 - Automatically select the first item if none are selected
3629 - Throw exception if more than one item is selected
3631 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
3633 * DataList.cs: Fix style handling for RepeatLayout.Flow (which isn't
3634 handled by RepeatInfo).
3636 2005-07-20 Jackson Harper <jackson@ximian.com>
3638 * DataGrid.cs: Store the data source created columns in a
3639 DataGridColumnCollection. This way they can be put in the
3640 view state more easily, and accessed without casting.
3642 2005-07-20 Chris Toshok <toshok@ximian.com>
3644 * BaseValidator.cs (AddAttributesToRender): render the client side
3645 attributes if we're in uplevel mode.
3646 (DetermineRenderUplevel): flesh out a bit - for now basically
3647 return true unless the control has it disabled.
3648 (OnInit): only add the validator to Page's list if there is, in
3650 (OnUnload): same for removal.
3651 (OnPreRender): hook up client scripting stuff here. Only the call
3652 to RegisterValidatorCommonScript is a for sure thing here, the
3653 registering of the submit statement and startup script should
3654 probably go elsewhere, but I don't know where.
3655 (RegisterValidatorCommonScript): register the <script
3656 src=".../WebUIValidation.js"> tag, if it's not already there.
3657 (RegisterValidatorDeclaration): add our span object to the
3658 Page_Validators JS array.
3659 (Render): always render the tags (although this is probably not
3660 right), and call RegisterValidatorDeclaration here.
3662 * BaseCompareValidator.cs (AddAttributesToRender): render the
3663 client side attributes if we're in uplevel mode.
3664 (DetermineRenderUplevel): add MonoTODO.. why override this? Just
3665 call base.DetermineRenderUplevel for now.
3667 * RegularExpressionValidator.cs (AddAttributesToRender): render
3668 the client side attributes if we're in uplevel mode.
3670 * RequiredFieldValidator.cs (AddAttributesToRender): same.
3672 * CompareValidator.cs (AddAttributesToRender): same.
3674 2005-07-20 Jackson Harper <jackson@ximian.com>
3676 * DataGrid.cs: Save the data source created column set in the
3679 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
3681 * DataList.cs: Fix events and properties exceptions. Give the right
3682 informations to RenderItem.
3684 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
3686 * ValidationSummary.cs: Implemented rendering
3688 2005-07-20 Jackson Harper <jackson@ximian.com>
3690 * DataGrid.cs: column names are cached and only regenerated if useDataSource
3691 is set to true. Otherwise they are just fetched from the last set that
3692 was generated from the source.
3694 2005-07-20 Jackson Harper <jackson@ximian.com>
3696 * DataGrid.cs: Assign some properties of newly created BoundColumns.
3698 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
3700 * DataList.cs: Fix viewstate ordering.
3702 2005-07-20 Ben Maurer <bmaurer@ximian.com>
3704 * SelectedDatesCollection.cs: Apprarently, I don't write code well
3707 * Repeater.cs: Uh, actually add stuff to the items collection
3710 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
3712 * BaseDataList.cs: EnsureChildControls on Controls property.
3713 * DataList.cs: Fix rendering and Controls/Items differences.
3714 * DataListItem.cs: Added rendering of controls.
3716 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
3718 * BaseDataList.cs: Don't call base.Render (or we'll get an extra span).
3720 2005-07-20 Jackson Harper <jackson@ximian.com>
3722 * DataGrid.cs: Add some of the collections. Implement
3725 2005-07-20 Jackson Harper <jackson@ximian.com>
3727 * PagedDataSource.cs: Implement GetItemProperties, this is
3728 needed for the datagrid.
3730 2005-07-20 Ben Maurer <bmaurer@ximian.com>
3732 * DataGridColumnCollection.cs: New impl
3734 * TemplateColumn.cs: New impl
3736 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
3738 * BaseDataList.cs: Call PrepareControlHierarchy from Render.
3739 * DataList.cs: Work in progress... Added attributes, proper
3740 IRepeatInfoUser support and cool things stolen from other classes.
3741 * DataListCommandEventArgs.cs: Class is sealed.
3742 * DataListItem.cs: RenderItem is public.
3744 2005-07-19 Jackson Harper <jackson@ximian.com>
3746 * ListControl.cs: Use Events Add/RemoveHandler. Don't create
3747 a viewstate object if all the viewstate stuff is null.
3749 2005-07-19 Jackson Harper <jackson@ximian.com>
3751 * DataGrid.cs: Implement style properties and viewstate
3752 saving/loading/tracking.
3754 2005-07-19 Chris Toshok <toshok@ximian.com>
3756 * BaseValidator.cs: more fixes from pdb.
3758 2005-07-19 Chris Toshok <toshok@ximian.com>
3760 * BaseValidator.cs: some test-driven fixes.
3762 2005-07-19 Chris Toshok <toshok@ximian.com>
3764 * BaseValidator.cs: Initial implementation.
3766 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
3768 * Repeater.cs: Fix small typo.
3770 2005-07-19 Peter Dennis Bartok <pbartok@novell.com>
3772 * ValidationSummaryTest.cs: Started implementation
3773 * RangeValidator.cs: Implemented
3774 * ValidatedControlConverter.cs: Implemented
3775 * DropDownList.cs: Implemented
3777 2005-07-19 Jackson Harper <jackson@ximian.com>
3779 * DataGrid.cs: Implement bubble event.
3781 2005-07-19 Jackson Harper <jackson@ximian.com>
3783 * DataGrid.cs: New implementation. Just properties and events for
3786 2005-07-18 Chris Toshok <toshok@ximian.com>
3788 * BaseCompareValidator.cs: Initial implementation, with some NYI.
3790 2005-07-19 Ben Maurer <bmaurer@ximian.com>
3792 * FontUnit.cs: Corcompare fixes
3794 * UnitConverter.cs: Fix api diffs
3796 2005-07-18 Ben Maurer <bmaurer@ximian.com>
3798 * ListControl.cs: Fix api differences
3800 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
3802 * Table.cs: Fix indentation for caption. Simplify check when adding
3804 * TableRow.cs: Simplify check when adding controls.
3806 2005-07-18 Chris Toshok <toshok@ximian.com>
3808 * CompareValidator.cs: wtf, just use the base class's methods.
3810 2005-07-18 Chris Toshok <toshok@ximian.com>
3812 * CompareValidator.cs: do comparisons based on
3813 BaseCompareValidator.Type.
3815 2005-07-18 Chris Toshok <toshok@ximian.com>
3817 * CompareValidator.cs: initial implementation.
3819 2005-07-18 Chris Toshok <toshok@ximian.com>
3821 * RegularExpressionValidator.cs: initial implementation.
3823 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
3825 * DataList.cs: Fixed to match 1.1 behaviour (and new unit tests).
3827 2005-07-18 Jackson Harper <jackson@ximian.com>
3829 * CheckBoxList.cs: Implement LoadPostBackData. Also register
3830 checkboxes for postback if they are checked so we can find
3831 out when they are unchecked. Copy the AutoPostBack variable
3832 to the to be rendered checkbox when rendering.
3834 2005-07-18 Ben Maurer <bmaurer@ximian.com>
3836 * TextBox.cs: Finish this up.
3838 * AdRotator.cs: Fix issues in the test suite. Minor style
3841 * Repeater.cs: Fix a bug where the datasource is null and we do
3844 * WebColorConverter.cs: Optimize by not doing a concat on a
3847 2005-07-17 Ben Maurer <bmaurer@ximian.com>
3849 * ListItemCollection.cs: Multiple uses of equals rather than
3850 string.compare as below. Remove unreachable code warning.
3852 * WebColorConverter.cs (ConvertTo): Use the == operator on string
3853 rather than an invariant non-case ignoring compare. They are
3854 exactly the same thing. Use proper coding style in this method.
3856 * WebControl.cs: Return null when saving the view state if there
3857 is no state in any of the things we save. This creates a fairly
3858 large savings, because we can avoid saving anything about many
3859 levels of deaply nested controls.
3861 2005-07-15 Jackson Harper <jackson@ximian.com>
3863 * CheckBoxList.cs: Use the index as the ID, the rest of the
3864 id is built by being in the NamingContainer.
3866 2005-07-15 Jackson Harper <jackson@ximian.com>
3868 * ListControl.cs: Use enum instead of string. Saves a lookup.
3870 2005-07-15 Jackson Harper <jackson@ximian.com>
3872 * CheckBoxList.cs: FindControl always returns 'this' according
3875 2005-07-15 Jackson Harper <jackson@ximian.com>
3877 * CheckBoxList.cs: New impl.
3879 2005-07-15 Jackson Harper <jackson@ximian.com>
3881 * WebControl.cs: Use the ClientID when rendering a controls ID
3882 attribute so that naming containers are honoured.
3884 2005-07-15 Jackson Harper <jackson@ximian.com>
3886 * ListControl.cs: use the state manager interface for tracking
3889 2005-07-15 Ben Maurer <bmaurer@ximian.com>
3891 * Repeater.cs (DoItem): Add the DataItem before we call user
3892 methods, as it seems to be there with msft.
3894 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
3896 * BaseDataList.cs: New. (mostly complete) implementation.
3897 * DataKeyCollection.cs: New. Implementation (complete).
3898 * DataList.cs: New. (mostly incomplete) implementation.
3899 * DataListItem.cs: New. (mostly complete) implementation.
3900 * DataListItemCollection.cs: New. Implementation (complete).
3902 2005-07-15 Ben Maurer <bmaurer@ximian.com>
3904 * Repeater.cs (DoItem): We need to .Add the control *before* we
3905 data bind it so that the state gets tracked correctly. Fixes the
3908 2005-07-15 Jackson Harper <jackson@ximian.com>
3910 * ListControl.cs: Simplify comparison.
3912 2005-07-15 Jackson Harper <jackson@ximian.com>
3915 * Repeater.cs: Use new utility class for resolving data sources.
3917 2005-07-15 Jackson Harper <jackson@ximian.com>
3919 * ListControl.cs: Add attributes so the sub items get parsed
3920 properly. Remove old unneeded code for resolving lists.
3922 2005-07-15 Jackson Harper <jackson@ximian.com>
3924 * ListControl.cs: Use the DataSourceHelper so DataMembers are
3927 2005-07-14 Ben Maurer <bmaurer@ximian.com>
3930 - Some optimizations
3931 * Don't use enum formatting stuff, it is 1) expensive 2) does
3932 allocations. Use a new method in HtmlControl to do the right
3934 * Don't use Enum.IsDefined but an explicit check.
3935 * (x == "" || x.Length < 2) is not needed since "".Length == 0 < 2
3936 - Use the correct coding style.
3938 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
3940 * WebColorConverter.cs:
3941 - Alpha of 255 is only set if the hex number is exactly 6 digits
3942 - Ben didn't like the catch { throw; } (even though MS documents to
3944 - Use Invariant Culture for parsing (thanks, Ben)
3946 2005-07-14 Jackson Harper <jackson@ximian.com>
3948 * ListControl.cs: Use DataBinder.Eval for data binding. This is more
3949 code-reuse-arific. Also use the IStateManager interface for loading
3950 data instead of the old internal method.
3952 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
3954 * WebColorConverter.cs: Implemented
3956 2005-07-14 Ben Maurer <bmaurer@ximian.com>
3958 * Repeater.cs: Cleanup; use the DataSourceHelper thingy.
3960 2005-07-14 Ben Maurer <bmaurer@ximian.com>
3962 * Repeater.cs: Get it working
3964 2005-07-14 Jackson Harper <jackson@ximian.com>
3966 * ListControl.cs: Initial implementation of Databinding. Make sure
3967 that the ListItemCollection is created when we load its ViewState.
3969 2005-07-14 Jackson Harper <jackson@ximian.com>
3971 * ListControl.cs: Fix typo.
3973 2005-07-14 Jackson Harper <jackson@ximian.com>
3975 * ListControl.cs: New Implementation. Lacks databinding support.
3977 2005-07-14 Ben Maurer <bmaurer@ximian.com>
3979 * Repeater.cs: The beginnings of this control
3981 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
3983 * TargetConverter.cs: Implemented
3985 2005-07-14 Duncan Mak <duncan@novell.com>
3987 * PagedDataSource.cs: Initial implementation.
3989 Methods that need to be figured out:
3990 CopyTo, GetItemProperties, PageCount, IsLastPage.
3992 To complete: CollectionEnumerator, ListEnumerator.
3994 2005-07-13 Duncan Mak <duncan@novell.com>
3996 * RepeatDirection.cs:
3998 * ValidationCompareOperator.cs:
3999 * ValidationDataType.cs:
4000 * ValidationSummaryDisplayMode.cs:
4001 * ValidatorDisplay.cs: Added remaining enumerations.
4003 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
4005 * FontNamesConverter.cs: Implemented
4007 2005-07-13 Ben Maurer <bmaurer@ximian.com>
4009 * RepeaterItem.cs: Compile fix
4011 * RepeaterItemCollection.cs: New file
4013 * RepeaterItem.cs: get OnBubbleEvent right.
4015 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
4017 * ListItemCollection.cs: Count can be derived from the array, which
4018 allows us to use a Pair instead of a Triplet and save some space
4020 2005-07-13 Ben Maurer <bmaurer@ximian.com>
4022 * RepeaterItem.cs: Stub
4024 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
4026 * ListItemCollection.cs: Implemented
4027 * WebControl.cs: Added check for enumeration validity (thanks Jackson)
4029 2005-07-13 Ben Maurer <bmaurer@ximian.com>
4031 * RepeatInfo.cs: Impl.
4033 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
4035 * FirstDayOfWeek.cs: Added
4037 2005-07-13 Jackson Harper <jackson@ximian.com>
4039 * ListBox.cs: Some parameter checking.
4041 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
4043 * Image.cs: Added support for DescriptionUrl as this property was
4044 added in Fx 1.1 SP1.
4046 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
4048 * Style.cs (AddAttributesToRender): Don't render attributes if they
4049 contain only their default value
4051 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
4053 * Table.cs: New. Initial re-implementation.
4054 * TableCell.cs: New. Initial re-implementation.
4055 * TableCellCollection.cs: New. Initial re-implementation.
4056 * TableHeaderCell.cs: New. Initial re-implementation.
4057 * TableItemStyle.cs: New. Initial re-implementation.
4058 * TableRow.cs: New. Initial re-implementation.
4059 * TableRowCollection.cs: New. Initial re-implementation.
4060 * TableStyle.cs: New. Initial re-implementation.
4062 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
4064 * Style.cs: Removed the call to Reset in CopyFrom. This fix the new
4065 unit tests (for Style) and more tests in Table* classes.
4067 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
4069 * Style.cs: TableStyle and TableItemStyle don't override IsEmpty,
4070 however IsEmpty returns false if any of their properties are set.
4071 Looks ugly but it's compatible with MS implementation (feature and
4074 2005-07-13 Dick Porter <dick@ximian.com>
4076 * CheckBox.cs: Reverted Ben's enum-to-int ViewState change, remove
4077 null Text properties from the ViewState, test for TextAlign being
4078 out of range. All to make tests pass on both mono and ms
4081 2005-07-13 Jackson Harper <jackson@ximian.com>
4083 * ListBox.cs: Use invariant culture when doing a ToString,
4084 set value to the item's value, not to its Text.
4086 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
4088 * WebControl.cs (AddAttributesToRender): Added ID to rendered
4091 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
4093 * Style.cs(MergeWith): Handle null styles
4095 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
4097 * TableCaptionAlign.cs: This enum was added in 1.1 SP1 so I removed
4098 the #if NET_2_0 on it.
4100 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
4102 * Style.cs: Only render font elements if fontinfo object exists
4104 - Implemented SaveViewState()
4105 - Added loading of Style to LoadViewState
4106 - Implemented IAttributeAccessor methods
4108 2005-07-12 Jackson Harper <jackson@ximian.com>
4110 * ListBox.cs: Even track default values in the viewstate. Call
4111 base's RenderContents.
4113 2005-07-12 Jackson Harper <jackson@ximian.com>
4115 * ListBox.cs: New impl.
4117 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
4120 - Implemented methods
4123 2005-07-12 Ben Maurer <bmaurer@ximian.com>
4125 * ListItem.cs: New impl.
4127 2005-07-12 Duncan Mak <duncan@novell.com>
4129 * DayNameFormat.cs: Added.
4131 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
4133 * WebControl.cs: Implemented properties
4135 2005-07-12 Ben Maurer <bmaurer@ximian.com>
4137 * TextBox.cs: Passwords seem 1) not to be rendered to the client
4138 if set, 2) not kept in view state (for security reasons...)
4141 * Button.cs: Page.Validate () if needed. Gets the validator tests
4144 * TextBox.cs: Properties to get the validator stuff to work.
4146 2005-07-12 Miguel de Icaza <miguel@novell.com>
4148 * Unit.cs: If the units are pixels, then truncate the value.
4150 2005-07-12 Dick Porter <dick@ximian.com>
4152 * RadioButton.cs: New implementation
4154 * CheckBox.cs: Rearrange the attributes rendering to allow
4155 RadioButton to derive from this
4157 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
4159 * TitleFormat.cs: Add attribute
4160 * TextBoxMode.cs: Add attribute
4161 * CalendarDay.cs: Initial implementation
4162 * ImageButton.cs: Initial implementation
4163 * CalendarSelectionMode.cs:Initial implementation
4165 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
4167 * TextBoxMode.cs: simple enum
4168 * TitleFormat.cs: simple enum
4170 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
4172 * FontInfo.cs: Now using BenM's fancy internal StateBag methods
4174 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
4176 * FontUnit.cs: Added TypeConverter attribute to class
4177 * FontUnitConverter.cs: Implemented
4179 2005-07-11 Ben Maurer <bmaurer@ximian.com>
4182 * Button.cs: Bubble the Command event.
4184 2005-07-11 Ben Maurer <bmaurer@ximian.com>
4187 - Clean up style (with my wonderful state bag hack!)
4188 - Fix a view state typo.
4189 - Use AddAttributesToRender
4190 - Don't add an extra <span>
4192 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
4194 * Style.cs: Handle null constructor argument for bag
4196 2005-07-11 Dick Porter <dick@ximian.com>
4198 * CheckBox.cs: New implementation
4200 * RadioButton.cs: Initial stubbed version that just compiles
4202 2005-07-10 Jordi Mas i Hernandez <jordi@ximian.com>
4204 * Button.cs: Initial Button implementation
4206 2005-07-10 Sebastien Pouliot <sebastien@ximian.com>
4208 * VerticalAlign.cs: Fixed enum name (copy/paste from HorizontalAlign).
4210 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
4212 * HorizontalAlign.cs: Typo in header.
4213 * VerticalAlign.cs: New. Required enum for TableRow control.
4215 2005-07-09 Ben Maurer <bmaurer@ximian.com>
4217 * TextBox.cs: More work on this
4219 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
4221 * GridLines.cs: New. Required enum for Table control.
4222 * HorizontalAlign.cs: New. Required enum for Table control.
4224 2005-07-09 Duncan Mak <duncan@novell.com>
4226 * CommandEventHandler.cs:
4227 * DataGridCommandEventHandler.cs:
4228 * DataGridItemEventHandler.cs:
4229 * DataGridPageChangedEventHandler.cs:
4230 * DataGridSortCommandEventHandler.cs:
4231 * DataListCommandEventHandler.cs:
4232 * DayRenderEventHandler.cs:
4233 * RepeaterCommandEventHandler.cs:
4234 * ServerValidateEventHandler.cs: Add delegates.
4237 * ListSelectionMode.cs:
4238 * NextPrevFormat.cs:
4240 * PagerPosition.cs: Add enums.
4242 2005-07-09 Ben Maurer <bmaurer@ximian.com>
4244 * TextBox.cs: Add the work I did on this today. It's not complete
4245 yet, but its a start!
4247 2005-07-09 Duncan Mak <duncan@novell.com>
4249 * CommandEventArgs.cs:
4250 * DataGridCommandEventArgs.cs:
4251 * DataGridItemEventArgs.cs:
4252 * DataGridPageChangedEventArgs.cs:
4253 * DataGridSortCommandEventArgs.cs:
4254 * DataListCommandEventArgs.cs:
4255 * DataListItemEventArgs.cs:
4256 * DayRenderEventArgs.cs:
4257 * RepeaterCommandEventArgs.cs:
4258 * RepeaterItemEventArgs.cs:
4259 * ServerValidateEventArgs.cs: Implemented.
4261 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
4263 * Image.cs: New. Image class implementation.
4264 * ImageAlign.cs: New. ImageAlign enum definitions.
4266 2005-07-08 Jackson Harper <jackson@ximian.com>
4268 * Literal.cs: New implentation.
4269 * MonthChangedEventArgs.cs: new
4270 * MonthChangedEventHandler.cs: new
4272 2005-07-08 Ben Maurer <bmaurer@ximian.com>
4274 * LinkButton.cs: Command impl
4276 2005-07-08 Ben Maurer <bmaurer@ximian.com>
4278 * LinkButton.cs: Initial impl
4280 2005-07-08 Jackson Harper <jackson@ximian.com>
4282 * AdCreatedeventArgs.cs: New implementation.
4284 2005-07-08 Dick Porter <dick@ximian.com>
4287 * BorderStyle.cs: Added
4289 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
4291 * FontInfo.cs: Fixed behaviour discrepancies showed by tests
4293 2005-07-07 Miguel de Icaza <miguel@novell.com>
4295 * Xml.cs: New implementation. R00lz.
4297 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
4299 * FontInfo.cs: Added and implemented.
4300 * Style.cs: Fixed behaviour discrepancies showed by tests
4302 2005-07-07 Ben Maurer <bmaurer@ximian.com>
4304 * PlaceHolderControlBuilder.cs: new file
4306 * LabelControlBuilder.cs: New file
4308 * HyperLink.cs: use control builder; fix parsing stuff
4310 * HyperLinkControlBuilder.cs: new file
4312 * Panel.cs: misc fixes
4314 2005-07-07 Miguel de Icaza <miguel@novell.com>
4316 * Unit.cs: Add TypeConverter, so that web_panel.aspx works again.
4318 * UnitConverter.cs: Add new file, learned from the
4319 System.Drawing.ColorConverter.
4321 2005-07-07 Ben Maurer <bmaurer@ximian.com>
4323 * PlaceHolder.cs: New file. Seems to do nothing
4325 * Label.cs: Use my new statebag trick to reduce typing
4327 * HyperLink.cs: New file
4329 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
4331 * Style.cs: Added and implemented.
4333 2005-07-06 Miguel de Icaza <miguel@novell.com>
4335 * FontUnit.cs: New file.
4337 * Unit.cs: New file.
4339 Added support for null and empty string constructors.
4341 2005-07-06 Ben Maurer <bmaurer@ximian.com>
4343 * Unit.cs: cctor not needed; static fields are 0 init'd by default
4345 * WebControl.cs: Kothari & Datye's book explains how these work.
4347 * IRepeatInfoUser.cs: Reimpl.
4349 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
4351 * WebControl.cs: Added stub
4353 2005-07-05 Miguel de Icaza <miguel@novell.com>
4355 * Label.cs: First control.
4357 2005-06-27 Lluis Sanchez Gual <lluis@novell.com>
4359 * DataControlField.cs: Ignore the ShowHeader property when
4360 building the control's content. It is the resposability of
4361 the field container to decide if the header should be shown
4364 2005-06-10 Lluis Sanchez Gual <lluis@novell.com>
4367 * ImageFieldMode.cs:
4368 * DynamicImageParameterMode.cs:
4369 * TableViewMode.cs: Removed.
4373 * TableRowSection.cs:
4374 * AutoCompleteType.cs:
4375 * DayNameFormat.cs: Track changes in 2.0 api.
4377 * StringArrayConverter.cs: This class is 2.0 only.
4379 2005-06-06 Lluis Sanchez Gual <lluis@novell.com>
4383 * DetailsView.cs: Bind the control after creating all child
4385 * DataBoundControl.cs: Call OnDataBinding and OnDataBound in
4386 the correct methods.
4387 * BaseDataBoundControl.cs: Don't call DataBind nor OnDataBound
4388 in this class. This is done in DataBoundControl. All this fixes
4391 2005-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4393 * ListItemCollection.cs: Patch from Curtis (eto@shaw.ca) that fixes
4394 FindByText. Closes bug #74205.
4396 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4398 * PagedDataSource.cs: patch by Suresh Kumar that makes PageCount return
4399 1 when there's a datasource and 0 pages. Closes bug #73864.
4401 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
4408 * MenuItemTemplateContainer.cs:
4409 * DetailsView.cs: Track changes in the IDataItemContainer interface.
4411 * CommandField.cs: Added CausesValidation property. Set that
4412 property value to all buttons of the field.
4414 * SqlDataSourceView.cs:
4415 * CollectionDataSource.cs:
4416 * XmlDataSourceView.cs: Properly initialize the base class.
4418 * SiteMapDataSource.cs:
4419 * SiteMapHierarchicalDataSourceView.cs:
4420 * SiteMapNodeItem.cs:
4421 * SiteMapDataSourceView.cs:
4422 * SiteMapPath.cs: Mostly implemented.
4424 * HierarchicalDataBoundControl.cs: Always bind the control when the
4425 page is loaded for the first time.
4427 * TreeView.cs: Properly bind the control when loaded from a callback.
4429 2005-05-21 Ben Maurer <bmaurer@ximian.com>
4431 * BaseDataList.cs: Caption is in 1.1 too, though not
4432 documented. Gonz owes me [more] ice cream. Yummmmm.
4434 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4436 * BaseDataList.cs: implemented 2.0 Caption property.
4438 2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
4440 * TreeView.cs: Always render the startup script. This fixes
4443 2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
4445 * WizardStepBase.cs:
4446 * WizardStep.cs: Added missing attributes.
4447 * Wizard.cs: Implemented missing methods and properties. It can now
4448 be considered feature complete.
4450 2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4452 * DataGrid.cs: cleanup in AutoCreateColumns. Don't throw at the end of
4453 the method if the data source was en empty IEnumerator. Fixes
4456 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
4460 * Menu.cs: Implemented some new properties from beta 2.
4462 * DataControlButton.cs: Render the ControlStyle if it
4466 * FontUnitConverter.cs: Improved the conversion to InstanceDescriptor.
4467 It will now generate an object creation, instead of a Parse call.
4469 * GridViewCommandEventArgs.cs: Added missing property.
4470 * SubMenuStyleCollection.cs: This class is not sealed.
4471 * MultiView.cs: Set Visible=false to all views that are not
4472 shown. This ensures that it's view state is saved.
4474 * BaseDataBoundControl.cs:
4475 * GridViewDeletedEventArgs.cs: Minor api fixes.
4477 * FormViewDeleteEventArgs.cs:
4478 * DetailsViewDeletedEventArgs.cs:
4479 * ListControl.cs: Fix warnings.
4483 * HotSpotCollection.cs
4486 * RectangleHotSpot.cs
4487 * WizardStepCollection.cs : Implemented.
4491 * Wizard.cs: Initial implementation.
4493 2005-05-04 Lluis Sanchez Gual <lluis@novell.com>
4495 * DataControlField.cs:
4499 * DataControlCommands.cs:
4500 * DetailsView.cs: Use constants to identify commands.
4502 * SubMenuStyle.cs: Use Unit instead of int for padding.
4503 * SubMenuStyleCollection.cs: Implemented.
4506 * Menu.cs: Added some missing methods and properties.
4509 * DataGridPagerStyle.cs: Fixed default value attributes.
4510 * ListControl.cs: Implemented IEditableTextControl interface.
4512 * MenuItemBinding.cs: Added Selectable property.
4513 * CustomValidator.cs: removed interface.
4515 * MenuItem.cs: Added support for custom binding.
4516 * DropDownList.cs: Moved text properties to base class.
4518 2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4520 * Calendar.cs: OnDayRender can toggle IsSelectable on our back.
4522 2005-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4524 * Calendar.cs: when the day is active, modify the text of the literal
4525 control that holds the number, not the text of the TableCell. Also call
4526 OnDayRender before updating that text. Fixes bug #74718.
4528 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
4530 * DataKey.cs: Added virtual TrackViewState and IsTrackingViewState
4532 * DataControlFieldHeaderCell.cs: Save Scope in view state.
4533 Added AbbreviatedText property.
4534 * AutoGeneratedField.cs: The constructor should actually be internal.
4535 * DataGridItem.cs: Added implemented interface in 2.0.
4536 * DataControlFieldCollection.cs: Implemented CloneFields and
4540 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4542 * StringArrayConverter.cs:
4543 * Calendar.cs: warnings.
4545 2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
4547 * FormViewDeleteEventArgs.cs:
4548 * FormViewInsertEventArgs.cs:
4549 * FormViewUpdateEventArgs.cs:
4550 * FormViewDeletedEventArgs.cs:
4551 * FormViewUpdatedEventArgs.cs:
4552 * FormViewInsertedEventArgs.cs: Implemented some missing properties.
4555 * IButtonControl.cs:
4556 * Button.cs: Removed SoftKey property.
4558 * CheckBox.cs: Don't try to load post back data if the control
4562 * AutoGeneratedField.cs:
4563 * DataControlField.cs:
4565 * ButtonFieldBase.cs:
4569 * ButtonField.cs: Don't bind fields in Insert state.
4570 Implemented CreateField and CopyProperties.
4573 * DetailsView.cs: Removed some unneeded interfaces. Don't
4574 generate the field rows if there are no items in the data source.
4575 Don't get the current keys until the whole control has been
4578 * DetailsViewInsertedEventArgs.cs:
4579 * DataBoundControl.cs:
4580 * ObjectDataSourceView.cs: Made some methods private.
4583 * Menu.cs: Changed some properties from int to Unit.
4585 * DataControlButton.cs: javascript prefix is needed when raising
4586 the postback event from a link.
4588 * PagedDataSource.cs: Some fixes in Count and IsLastPage properties.
4589 The result was wrong when the total data source count was 0.
4591 * FormView.cs: Implemented.
4592 * FormViewRow.cs: Implemented.
4595 * Localize.cs: Fixed base interface.
4597 * BaseDataBoundControl.cs: In DataBind() call the base class
4598 DataBind method, so the binding context is properly set.
4600 2005-04-15 Lluis Sanchez Gual <lluis@novell.com>
4602 * DetailsView.cs: Added some null checks.
4603 * TemplateField.cs: Implemented support for two-way bindings.
4605 2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
4607 * DetailsView.cs: Implemented support for Insert operation.
4608 Added header and footer templates. Added missing style
4610 * ObjectDataSourceView.cs: Use ParameterCollection.GetValues
4611 to get filter values. Other minor fixes.
4612 * CommandField.cs: Properly render the Insert and New buttons.
4613 * ObjectDataSource.cs: Update the parameter collections after
4614 the page is loaded. This will fire the ParameterChanged event
4616 * DataBoundControl.cs: The OnDataSourceViewChanged method
4617 is called when the view changes, not when the datasource
4620 * DetailsViewInsertedEventArgs.cs:
4621 * DetailsViewInsertEventArgs.cs: Implement Values property.
4624 * AutoGeneratedField.cs
4627 Take into account the Insert mode.
4629 * ParameterCollection.cs: Implemented UpdateValues and fixed
4630 GetValues (values can't be cached because can change).
4631 * Parameter.cs: Detect value changes in GetValue, and fire
4632 the change event if needed. Removed unused ParameterValue
4633 property. Other fixes.
4635 2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
4637 * DetailsView.cs: Initial implementation.
4638 * ObjectDataSourceView.cs: Notify changes in the parameters.
4639 * DetailsViewDeletedEventArgs.cs, DetailsViewUpdatedEventArgs.cs,
4640 DetailsViewDeleteEventArgs.cs, DetailsViewUpdateEventArgs.cs:
4641 Implemented some properties.
4642 * GridView.cs: Added null check in SelectedValue. Don't return null
4643 for empty DataKeyNames list.
4644 * DetailsViewRowCollection.cs: Implemented.
4645 * DetailsViewRow.cs: Implemented.
4646 * ButtonFieldBase.cs: By default button field don't have headers.
4647 * BoundField.cs: Don't bind header fields.
4649 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
4651 * ButtonField.cs: Get data item properties using TypeDescriptor.
4652 Made OnDataBindField private.
4653 * ObjectDataSourceView.cs: Implemented support for Delete and
4654 Insert operations, support for filtering and sorting,
4655 conflict detection, etc. It's now complete.
4656 * ObjectDataSource.cs: Completed most of functionality. Only
4657 caching support is missing.
4658 * ObjectDataSourceFilteringEventHandler.cs: New event handler.
4659 * TreeNode.cs: Get data item properties using TypeDescriptor.
4660 * PagerSettings.cs: Flush.
4661 * ObjectDataSourceFilteringEventArgs.cs: New event args.
4662 * GridView.cs: Get data item properties using TypeDescriptor
4663 and cache them. Properly set descending order in the sort
4664 expression. In UpdateRow, make sure we get the old values
4665 before the control is bound again.
4666 * ImageField.cs: Implemented.
4667 * AutoGeneratedField.cs: Initialize the field's sort
4668 expression in the constructor.
4669 * MenuItem.cs: Get data item properties using TypeDescriptor.
4670 * BoundField.cs: Get data item properties using TypeDescriptor.
4671 * CheckBoxField.cs: Added missing attributes.
4672 * TemplateField.cs: Implemented.
4674 2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4677 * FontUnitConverter.cs: fixed ConvertTo to work with target
4678 InstanceDescriptor and value as a string.
4680 * Unit.cs: culture might be null.
4684 2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
4686 * ButtonField.cs: Mostly implemented.
4687 * DataControlFieldHeaderCell.cs: Implemented.
4688 * ObjectDataSourceView.cs: Initial implementation.
4689 * DataControlButton.cs: Added support for real buttons.
4690 * Label.cs, DataControlField.cs: Flush.
4691 * ObjectDataSource.cs: Initial implementation.
4692 * HiddenField.cs: Added class stub.
4693 * GridView.cs: Load autogenerated field properties before
4694 creating the children, to make sure that column info is ready.
4695 * ControlParameter.cs: Implemented Evaluate method.
4696 * ImageField.cs: Added class stub.
4697 * BoundField.cs: Added HtmlEncode property.
4698 * DataControlFieldCell.cs: Moved AccessibleDataControlFieldCell
4700 * CheckBoxField.cs: Mostly implemented.
4701 * TemplateField.cs: Added class stub.
4702 * ObjectDataSourceSelectingEventArgs.cs: Added missing property.
4703 * ObjectDataSourceMethodEventArgs.cs: Fixed base class.
4704 * Parameter.cs: Added internal GetValue method (Evaluate is protected)
4706 2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
4708 * DataControlField.cs: Added missing InsertVisible property.
4709 * AutoGeneratedFieldProperties.cs: Implemented.
4710 * PagerSettings.cs: Minor fix.
4711 * GridView.cs: Implemented support for autogenerated fields, templates,
4712 accessible headers. Implemented paging using PagedDataSource.
4713 Implemented missing overridable methods.
4714 * AutoGeneratedField.cs: Initial implementation.
4715 * BoundField.cs: Added ReadOnly property.
4716 * PagedDataSource.cs: Implemented 2.0 api.
4717 * DataControlFieldCell.cs: Implemented AccessibleDataControlFieldCell
4718 cell class to be used by accessible headers.
4719 * TableCell.cs: Removed unneded constructor. If the cell is bound to
4720 a template, call the default RenderContents method.
4722 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
4724 * TreeNode.cs, TreeView.cs: Don't raise the SelectedNodeChanged
4725 event when loading the view state. Fixes #73746.
4727 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
4729 * ListControl.cs: Load selected indices in the right place. Fixes #73745.
4731 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
4733 * Button.cs, ImageButton.cs: Interpret PostBackOptions.ClientSubmit
4735 * CommandField.cs: Mostly implemented.
4736 * Menu.cs: Use callback methods moved to ClientScriptManager.
4737 * DataControlButton.cs: Internal control used to implement buttons
4738 for navigating in data bound controls.
4739 * DataControlField.cs, PagerSettings.cs: Use the new DataControlButton
4740 to render the column headers.
4741 * CheckBox.cs, RadioButton.cs, BulletedList.cs, TextBox.cs
4742 DropDownList.cs, Calendar.cs, ListBox.cs, LinkButton.cs, TreeView.cs:
4743 Don't use Page.GetPostBackClientEvent
4744 since it is deprecated in 2.0.
4745 * GridView.cs: Implemented some several interfaces.
4746 Implemented support client sorting and page navigation (using callbacks).
4747 Implemented the autogenerated command column using the new CommandField
4749 * ButtonFieldBase.cs: Implemented.
4750 * GridView.js: New helper script to support client side sorting and
4751 paging in the grid view.
4753 2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
4755 * DataKey.cs: Implemented.
4756 * XmlDataSourceView.cs: Implemented support for row pagging.
4757 * Table.cs: Fixed attribute value.
4758 * DataControlField.cs: Added support for sorting headers.
4759 * ChildTable.cs: Created.
4760 * ListControl.cs: Delay selection assignment, since control state
4761 is now loaded before view state.
4762 * GridViewDeleteEventArgs.cs, GridViewUpdateEventArgs.cs,
4763 GridViewDeletedEventArgs.cs, GridViewUpdatedEventArgs.cs: Implemented
4764 several missing properties.
4765 * PagerSettings.cs: Fully implemented.
4766 * BaseDataList.cs: Added null check.
4767 * GridView.cs: Implemented more functionality.
4768 * BoundField.cs: Added support for cell editing.
4769 * StringArrayConverter.cs: Implemented.
4770 * DataKeyArray.cs: Implemented.
4771 * BaseDataBoundControl.cs: Reset the requires binding flag before
4772 executing the query. This avoids recursive query calls.
4773 * GridViewRow.cs: Handler commands raised from row childs.
4775 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
4777 * XmlDataSourceView.cs: ExecuteSelect now returns a list of
4778 XmlDataSourceNodeDescriptor instead of a list of nodes. In this way
4779 it is possible to query for properties fore each data item.
4780 * Menu.cs, TreeView.cs: Make sure that objects are correctly created
4781 when loading its view state.
4782 * DataControlField.cs: Implement properties using a StateBag.
4783 * XmlDataSourcePropertyDescriptor.cs: Implemented.
4784 * PagerSettings.cs: Mostly implemented.
4785 * AccessDataSourceView.cs, AccessDataSource.cs: Added security attribute.
4786 * DataBoundControl.cs: Added null check.
4787 * GridView.cs: Initial implementation.
4788 * CompositeDataBoundControl.cs: Implemented.
4789 * BoundField.cs: Initial implementation.
4790 * GridViewRowCollection.cs: Initial implementation.
4791 * DataControlFieldCollection.cs: Initial implementation.
4792 * DataControlFieldCell.cs: Fixed control tag.
4793 * GridViewRow: Initial implementation.
4794 * XmlDataSourceNodeDescriptor.cs: Implemented.
4796 2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4798 * WebControl.cs: correctly use TagName in RenderBeginTag, ie, if TagKey
4799 is zero, use the TagName no matter its value. Fixes bug #72415.
4801 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
4803 * Style.cs: Method name fix.
4804 * HyperLinkColumn.cs, HyperLink.cs: Moved SoftkeyLabel to HyperLink.
4805 * BaseCompareValidator.cs: Method signature fix.
4806 * CollectionDataSource.cs: Implemented DataSource wrapper for collections.
4807 * BaseDataList.cs, Repeater.cs: Fixed data binding code.
4808 * BulletedList.cs: Added missing method.
4809 * DataBoundControl.cs, BaseDataBoundControl.cs: Made it behave like MS.NET.
4811 2005-02-16 Lluis Sanchez Gual <lluis@novell.com>
4813 * HyperLinkColumn.cs, Label.cs: Added missing 2.0 properties.
4814 * RadioButton.cs: Added missing 2.0 methods.
4815 * ListItem.cs: Added Enabled property.
4816 * MailMessageEventArgs.cs: Use the correct message class.
4817 * ListControl.cs: Implemented missing properties and support for
4818 control state. Implemented base RenderContents method.
4819 * Image.cs: Implemented DescriptionUrl and GenerateEmptyAlternateText
4821 * BaseCompareValidator.cs: Implemented methods that support conditional
4822 use of the invariant culture.
4823 * DataBoundControl.cs: Set RequiresDataBinding to true in OnLoad.
4824 * SqlDataSourceCommandEventArgs.cs, SqlDataSourceStatusEventArgs.cs:
4825 It takes a DbCommand instead of a IDbCommand.
4826 * GridViewSortEventArgs.cs: Added SortDirection property.
4827 * TextBox.cs, CheckBoxList.cs: Added protected version of
4828 IPostBackDataHandler methods.
4829 * RadioButtonList.cs: Added protected version of
4830 IPostBackDataHandler and IRepeatInfoUser methods.
4831 * Repeater.cs: Updated some method names.
4832 * DropDownList.cs: Added protected version of
4833 IPostBackDataHandler methods. Reuse RenderContents from base class.
4834 * RepeaterItem.cs, Localize.cs, Literal.cs: Fix inheritance.
4835 * GridViewUpdatedEventArgs.cs: Fix typo.
4836 * ListBox.cs: Added protected version of IPostBackDataHandler methods.
4837 Reuse RenderContents from base class.
4838 * BaseDataBoundControl.cs: Several fixes.
4839 * ImageButton.cs, LinkButton.cs: Implemented several 2.0 properties.
4841 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
4843 * CheckBoxList.cs: Fix build.
4845 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
4847 * Button.cs: Use validation group when validating page.
4848 * XmlDataSourceView.cs: Implemented ExecuteSelect.
4849 * Menu.cs: Minor fix.
4850 * CheckBox.cs: Added 2.0 properties and methods.
4851 * BaseDataList.cs: Always databind the control if view state
4853 * DataList.cs: In 2.0, use control state to save the selected index.
4854 * DetailsViewUpdatedEventArgs.cs: Fix typo.
4855 * CustomValidator.cs: Implement IStaticTextControl interface.
4856 * CheckBoxList.cs: Added missing 2.0 methods.
4857 * DropDownList.cs: Added missing 2.0 methods. Implemented ITextControl
4859 * XmlDataSource.cs: Return childs of DocumentElement, not the root
4861 * DayRenderEventArgs.cs, CompareValidator.cs, DataListItem.cs:
4862 Implemented 2.0 API.
4865 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
4867 * Button.cs: Implemented all missing 2.0 features.
4868 * Table.cs: Render the table caption, when specified.
4869 * Calendar.cs: Implemented most of missing 2.0 features.
4870 * TableCell.cs: Fixed attributes.
4872 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
4874 * ControlPropertyNameConverter.cs: Added file.
4876 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
4878 * Button.cs, MonthChangedEventArgs.cs, FontInfo.cs, Xml.cs, Style.cs,
4879 CookieParameter.cs, HyperLinkColumn.cs, Table.cs,
4880 RegularExpressionValidator.cs, WizardNavigationEventArgs.cs,
4881 ServerValidateEventArgs.cs, Menu.cs, DataControlField.cs,
4882 DataGridPagerStyle.cs, Label.cs, CheckBox.cs, ListItem.cs,
4883 RadioButton.cs, TableStyle.cs, ListControl.cs, Image.cs,
4884 BaseCompareValidator.cs, FontUnit.cs, DataListCommandEventArgs.cs,
4885 IButtonControl.cs, BaseDataList.cs, DataList.cs, BulletedList.cs,
4886 RangeValidator.cs, DataBoundControl.cs, ControlParameter.cs,
4887 RepeaterItemEventArgs.cs, SqlDataSource.cs, BaseValidator.cs,
4888 CustomValidator.cs, MenuItem.cs, SessionParameter.cs, TextBox.cs,
4889 QueryStringParameter.cs, Content.cs, ContentPlaceHolder.cs,
4890 CheckBoxList.cs, RepeaterCommandEventArgs.cs, RadioButtonList.cs,
4891 RequiredFieldValidator.cs, AdRotator.cs, DataListItemEventArgs.cs,
4892 DataGridSortCommandEventArgs.cs, Repeater.cs,
4893 MenuItemTemplateContainer.cs, HyperLink.cs, SqlDataSourceView.cs,
4894 XmlDataSource.cs, MultiView.cs, DataGridCommandEventArgs.cs,
4895 Panel.cs, CompositeControl.cs, DataGrid.cs, ButtonColumn.cs,
4896 CompareValidator.cs, HierarchicalDataBoundControl.cs,
4897 EditCommandColumn.cs, Calendar.cs, SiteMapDataSource.cs,
4898 ListBox.cs, TableCell.cs, ObjectDataSourceSelectingEventArgs.cs,
4899 ObjectDataSourceMethodEventArgs.cs,DataGridPageChangedEventArgs.cs,
4900 WebControl.cs, BaseDataBoundControl.cs, FormParameter.cs,
4901 ValidationSummary.cs, View.cs, ImageButton.cs, TableRow.cs,
4902 LinkButton.cs, DataGridColumn.cs, Parameter.cs, TableItemStyle.cs,
4903 AdCreatedEventArgs.cs:
4905 General 2.0 API fixes: missing attributes, incorrect inheritance,
4906 missing sealed keywords, wrong signatures, etc.
4908 2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
4910 * Table.cs: Added some 2.0 properties.
4911 * FontUnitConverter.cs, UnitConverter.cs: Implemented conversion to
4913 * BaseValidator.cs: Fix warning.
4914 * MultiView.cs, ViewCollection.cs, View.cs: Implemented.
4916 2005-01-26 Lluis Sanchez Gual <lluis@novell.com>
4918 * Menu.cs: Rendering fixes.
4920 2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
4922 * Content.cs, ContentPlaceHolder.cs, ContentControlBuilder.cs
4923 ContentPlaceHolderBuilder.cs: Implemented.
4925 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4927 * CheckBox.cs: when rendering the input tag inside a span tag, keep the
4928 attributes that are meant to be in the input tag in their place.
4930 2005-01-10 Juraj Skripsky <juraj@hotfeet.ch>
4932 * RepeatInfo.cs: fixed bug #68927 (DataList with RepeatLayout='Flow'
4933 generates invalid html).
4935 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
4937 * Menu.cs: Implemented most of missing properties. Added support for
4938 item templates. Implemented menu scrolling.
4939 * MenuItemBinding.cs: Implemented most of missing properties.
4940 * MenuItem.cs: Implemented most of missing properties.
4941 * Menu.js: Implemented scrolling and menu reposition into screen.
4942 * MenuItemTemplateContainer.cs: Implemented.
4943 * SubMenuStyle.cs: Implemented.
4945 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
4947 * Style.cs: Implemented RegisteredCssClass property. Added
4948 CopyTextStylesFrom method, which copies styles that only apply to text.
4949 * Menu.cs, Menu.js: Added hover style support. Define all menu styles
4950 in the page stylesheet. Added support for ItemSpacing property.
4951 * MenuItemStyle.cs: Implemented FillStyleAttributes method.
4953 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
4955 * Style.cs: Generate styles using a CssStyleCollection, so the code can
4956 be reused for the 2.0 FillStyleAttributes method.
4957 * Menu.cs: Implemented more properties and events. Rendering is very
4959 * MenuItem.cs: Added PopOutImageUrl property.
4960 * Menu.js: More work on submenu management.
4962 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
4964 * Menu.cs: Implemented basic rendering. Added some missing properties.
4965 * MenuItem.cs: Improved implementation of Depth.
4966 * Unit.cs: Added serializable attribute.
4967 * TreeView.cs: Moved GetScriptLiteral method to ClientScriptManager,
4968 so it can be reused.
4969 * Menu.js: New script to support he Menu control.
4971 2004-12-03 Lluis Sanchez Gual <lluis@novell.com>
4973 * MenuEventArgs.cs: Changed to sealed.
4974 * TreeView.cs: Minor fix.
4975 * Menu.cs, MenuItemBindingCollection.cs, MenuItemCollection.cs,
4976 MenuItemStyle.cs, MenuItemBinding.cs, MenuItem.cs,
4977 MenuItemStyleCollection.cs: Initial Menu code.
4979 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
4981 * TreeNodeBindingCollection.cs, TreeNodeStyleCollection.cs:
4982 Implemented SetDirtyObject.
4983 * Style.cs: Implemented SetDirty().
4984 * TreeNodeBinding.cs: Added missing attributes. Implemented SetDirty().
4985 * TreeNode.cs: Added missing attributes added support for
4986 PopulateOnDemand. Added some missing property bindings.
4987 * TreeNodeCollection.cs: Several minor fixes. SetDirty must be called
4988 to newly added elements to make sure al new data is saved.
4989 * TreeView.js: Implemented support for client population of nodes.
4990 * TreeNodeStyle.cs: Added missing attributes.
4991 * TreeView.cs: Implemented support for PopulateNodesFromClient and
4992 PopulateOnDemand. Improved rendering.
4994 2004-11-29 Sanjay Gupta <gsanjay@novell.com>
4996 * DataControlField.cs:
4997 * DataControlFieldCell.cs: Initial implementation.
4999 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
5001 * TreeNodeBindingCollection.cs: Implemented.
5002 * TreeNodeBinding.cs: Implemented.
5003 * TreeNode.cs: Added support for data binding.
5004 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif
5005 TreeView_Default_NoExpand.gif: Moved to resources directory.
5006 * ListControl.cs: Fixed api.
5007 * XmlHierarchicalEnumerable.cs: Made internal.
5008 * DataBoundControl.cs: Modified api to match latest ms.net.
5009 * TreeView.js: New javascript file to support TreeView in the client.
5010 * XmlDataSource.cs: Added missing attributes.
5011 * HierarchicalDataBoundControl.cs: Mostly implemented.
5012 * BaseDataBoundControl.cs: Mostly implemented.
5013 * XmlHierarchyData.cs: Made internal.
5014 * TreeView.cs: Mostly implemented. The major missing feature is
5015 client side tree population.
5017 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
5020 * DataBountControl.cs:
5021 * Repeater.cs: Added SelectArguments property and updated.
5022 * SiteMapDataSourceView.cs:
5023 * SqlDataSourceView.cs:
5024 * XmlDataSourceView.cs: Removed extra method, which was there to
5025 keep things compiling.
5027 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
5029 * TreeNodeBindingCollection.cs, TreeNodeBinding.cs, TreeNode.cs,
5030 TreeNodeCollection.cs, TreeNodeStyleCollection.cs, TreeNodeStyle.cs,
5031 TreeView.cs: Initial implementation.
5032 * DataBoundControl.cs: Set the correct base class.
5033 * HierarchicalDataBoundControl.cs, BaseDataBoundControl.cs: Created stub.
5034 * TreeNodeSelectAction.cs: Formatting.
5035 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif,
5036 TreeView_Default_NoExpand.gif: TreeView images.
5038 2004-11-22 Sanjay Gupta <gsanjay@novell.com>
5040 * SqlDataSourceView.cs: Updated methods and added one property.
5042 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
5044 * AccessDataSource.cs:
5045 * SqlDataSourceView.cs: Implemented CreateDataSourceView () method.
5046 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
5048 * SqlDataSource.cs: Updated call to constructor of SqlDataSourceView.cs.
5049 * SqlDataSourceView.cs: Updated constructor.
5051 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
5053 * AccessDataSourceView.cs: Added new class.
5055 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
5057 * SqlDataSourceView.cs: Corrected exception handling in
5058 ExecuteSelect method.
5060 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
5062 * SiteMapHierarchicalDataSourceView.cs, SiteMapDataSource.cs: New files.
5063 * SiteMapDataSourceView.cs: Minor fix.
5065 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
5067 * SqlDataSourceView.cs: Updated ExecuteSelect method.
5069 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
5071 * SqlDataSource.cs: Corrected Select method.
5073 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
5075 * SqlDataSource.cs: Updated Select method definition.
5076 * SqlDataSourceStatusEventArgs.cs: Updated class.
5078 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
5080 * SqlDataSourceView.cs: Removed implementation of Events (it is inherited
5081 from DataSourceView.cs).
5083 2004-11-10 Raja R Harinath <rharinath@novell.com>
5085 * SqlDataSourceView.cs (Select): Add 'override' to make it compile.
5087 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
5089 * SqlDataSource.cs: Corrected method calls.
5090 * SqlDataSourceView.cs: Partial implementation of few methods.
5092 2004-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5094 * ListItemCollection.cs: fixed bug when indexing changed elements in
5095 LoadViewState. Patch from Alois Bělaška.
5097 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
5099 * SiteMapDataSourceView.cs:
5100 * SqlDataSourceView.cs:
5101 * XmlDataSourceView.cs: Cosmetic changes because of modifications in
5102 base class, DataSourceView. Changes are to keep things compiling.
5104 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
5106 * SiteMapDataSourceView.cs: Corrected class definition and updated.
5107 * XmlHierarchicalDataSourceView.cs: Modified according to changes in
5110 2004-10-14 Sanjay Gupta <gsanjay@novell.com>
5112 * AdRotator.cs: Updated.
5114 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
5116 * AccessDataSource.cs: Updated.
5118 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
5120 * ValidatedControlConverter.cs: Updated.
5122 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
5124 * AssociatedControlConverter.cs: Implemented.
5126 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
5128 * ControlIDConverter.cs: Initial implementation.
5130 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
5132 * IButtonControl.cs: Corrected property name.
5134 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
5136 * ParameterCollection.cs: Updated.
5138 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
5140 * Parameter.cs: Updated and completed implementation.
5142 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
5144 * ParameterCollection.cs: Resolved warnings, "Unreachable code detected"
5147 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
5149 * AccessDataSource.cs: Initial implementation.
5151 2004-09-30 Sanjay Gupta <gsanjay@novell.com>
5153 * DataControlRowState.cs:
5155 * TreeNodeTypes.cs: Added attribute.
5156 * DataControlRowType.cs:
5158 * SortDirection.cs: Corrected enumeration values.
5159 * TableRowSection.cs: Added new enumeration.
5160 * ObjectDataSourceStatusEventHandler.cs: Corrected method name.
5162 2004-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5164 * TableStyle.cs: don't render empty 'rules' attribute (again).
5166 2004-09-21 Sanjay Gupta <gsanjay@novell.com>
5168 * FormViewUpdatedEventArgs.cs: Spelling mistake.
5170 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
5172 * Literal.cs: Added new method Focus().
5174 2004-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5176 * RadioButton.cs: fix GroupName when the control is inside a
5177 NamingContainer different from Page. Closes bug #65586.
5179 2004-09-07 Sanjay Gupta <gsanjay@novell.com>
5181 * Localize.cs: Added new class.
5183 2004-09-03 Gaurav Vaish <gvaish_mono AT lycos.com>
5185 * CompositeControl.cs : Completed
5186 * Login.cs : Initial implementation.
5188 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5190 * Xml.cs: fixed get_DocumentContent (it was returning "" always!) and
5191 don't call MapPathSecure on the content itself.
5193 * XmlBuilder.cs: handle XML documents written inside asp:xml. The
5194 document is checked at parse time and will be checked again at run time.
5198 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
5200 * AuthenticateEventHandler.cs:
5201 * CreateUserErrorEventArgs.cs:
5202 * CreateUserErrorEventHandler.cs:
5203 * DetailsViewCommandEventHandler.cs:
5204 * DetailsViewDeleteEventArgs.cs:
5205 * DetailsViewDeleteEventHandler.cs:
5206 * DetailsViewDeletedEventArgs.cs:
5207 * DetailsViewDeletedEventHandler.cs:
5208 * DetailsViewInsertEventArgs.cs:
5209 * DetailsViewInsertEventHandler.cs:
5210 * DetailsViewInsertedEventArgs.cs:
5211 * DetailsViewInsertedEventHandler.cs:
5212 * DetailsViewModeEventArgs.cs:
5213 * DetailsViewModeEventHandler.cs:
5214 * DetailsViewPageEventHandler.cs:
5215 * DetailsViewUpdateEventArgs.cs:
5216 * DetailsViewUpdateEventHandler.cs:
5217 * DetailsViewUpdatedEventArgs.cs:
5218 * DetailsViewUpdatedEventHandler.cs:
5219 * FormViewCommandEventHandler.cs:
5220 * FormViewDeleteEventArgs.cs:
5221 * FormViewDeleteEventHandler.cs:
5222 * FormViewDeletedEventArgs.cs:
5223 * FormViewDeletedEventHandler.cs:
5224 * FormViewInsertEventArgs.cs:
5225 * FormViewInsertEventHandler.cs:
5226 * FormViewInsertedEventArgs.cs:
5227 * FormViewInsertedEventHandler.cs:
5228 * FormViewModeEventHandler.cs:
5229 * FormViewPageEventHandler.cs:
5230 * FormViewUpdateEventArgs.cs:
5231 * FormViewUpdateEventHandler.cs:
5232 * FormViewUpdatedEventArgs.cs:
5233 * FormViewUpdatedEventHandler.cs:
5234 * GridViewCancelEditEventArgs.cs:
5235 * GridViewCancelEditEventHandler.cs:
5236 * GridViewCommandEventHandler.cs:
5237 * GridViewDeleteEventArgs.cs:
5238 * GridViewDeleteEventHandler.cs:
5239 * GridViewDeletedEventArgs.cs:
5240 * GridViewDeletedEventHandler.cs:
5241 * GridViewEditEventHandler.cs:
5242 * GridViewPageEventHandler.cs:
5243 * GridViewRowEventHandler.cs:
5244 * GridViewSelectEventHandler.cs:
5245 * GridViewSortEventArgs.cs:
5246 * GridViewSortEventHandler.cs:
5247 * GridViewUpdateEventArgs.cs:
5248 * GridViewUpdateEventHandler.cs:
5249 * GridViewUpdatedEventArgs.cs:
5250 * GridViewUpdatedEventHandler.cs:
5251 * ImageMapEventHandler.cs:
5252 * MailMessageEventHandler.cs:
5253 * MenuEventHandler.cs:
5254 * ObjectDataSourceDisposingEventHandler.cs:
5255 * ObjectDataSourceEventHandler.cs:
5256 * ObjectDataSourceMethodEventArgs.cs:
5257 * ObjectDataSourceMethodEventHandler.cs:
5258 * ObjectDataSourceSelectingEventArgs.cs:
5259 * ObjectDataSourceSelectingEventHandler.cs:
5260 * ObjectDataSourceStatusEventArgs.cs:
5261 * ObjectDataSourceStatusEventHandler.cs:
5262 * SendMailErrorEventHandler.cs:
5263 * SiteMapNodeItemEventHandler.cs:
5264 * SqlDataSourceSelectingEventArgs.cs:
5265 * SqlDataSourceSelectingEventHandler.cs:
5266 * TreeNodeEventHandler.cs:
5267 * WizardNavigationEventArgs.cs:
5268 * WizardNavigationEventHandler.cs: Minor modifications, compiler error
5269 corrections and removing "sealed" access specifier from *EventHandler.cs
5271 2004-08-18 Sanjay Gupta <gsanjay@novell.com>
5273 * Literal.cs: Added new attributes and property for .Net 2.0
5275 2004-08-13 Sanjay Gupta <gsanjay@novell.com>
5277 * GridViewDeleteEventArgs.cs: Removed extra code.
5279 2004-08-12 Sanjay Gupta <gsanjay@novell.com>
5281 * SendMailErrorEventArgs.cs:
5282 * SendMailErrorEventHandler.cs:
5283 * SiteMapNodeItemEventArgs.cs:
5284 * SiteMapNodeItemEventHandler.cs:
5285 * SqlDataSourceSelectingEventArgs.cs:
5286 * SqlDataSourceSelectingEventHandler.cs:
5287 * TreeNodeEventArgs.cs:
5288 * TreeNodeEventHandler.cs:
5289 * WizardNavigationEventArgs.cs:
5290 * WizardNavigationEventHandler.cs: Added new delegates.
5292 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
5294 * ImageMapEventArgs.cs:
5295 * ImageMapEventHandler.cs:
5296 * MailMessageEventArgs.cs:
5297 * MailMessageEventHandler.cs:
5299 * MenuEventHandler.cs:
5300 * ObjectDataSourceDisposingEventArgs.cs:
5301 * ObjectDataSourceDisposingEventHandler.cs:
5302 * ObjectDataSourceEventArgs.cs:
5303 * ObjectDataSourceEventHandler.cs:
5304 * ObjectDataSourceMethodEventArgs.cs:
5305 * ObjectDataSourceMethodEventHandler.cs:
5306 * ObjectDataSourceSelectingEventArgs.cs:
5307 * ObjectDataSourceSelectingEventHandler.cs:
5308 * ObjectDataSourceStatusEventArgs.cs:
5309 * ObjectDataSourceStatusEventHandler.cs: Added new delegates.
5311 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
5313 * DetailsViewCommandEventArgs.cs:
5314 * FormViewCommandEventArgs.cs:
5315 * GridViewCommandEventArgs.cs: Corrected constructor.
5317 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
5319 * GridViewCancelEditEventArgs.cs:
5320 * GridViewCancelEditEventHandler.cs:
5321 * GridViewCommandEventArgs.cs:
5322 * GridViewCommandEventHandler.cs:
5323 * GridViewDeletedEventArgs.cs:
5324 * GridViewDeletedEventHandler.cs:
5325 * GridViewDeleteEventArgs.cs:
5326 * GridViewDeleteEventHandler.cs:
5327 * GridViewEditEventArgs.cs:
5328 * GridViewEditEventHandler.cs:
5329 * GridViewPageEventArgs.cs:
5330 * GridViewPageEventHandler.cs:
5331 * GridViewRowEventArgs.cs:
5332 * GridViewRowEventHandler.cs:
5333 * GridViewSelectEventArgs.cs:
5334 * GridViewSelectEventHandler.cs:
5335 * GridViewSortEventArgs.cs:
5336 * GridViewSortEventHandler.cs:
5337 * GridViewUpdatedEventArgs.cs:
5338 * GridViewUpdatedEventHandler.cs:
5339 * GridViewUpdateEventArgs.cs:
5340 * GridViewUpdateEventHandler.cs: Added new delegates.
5342 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
5344 * FormViewUpdatedEventArgs.cs: Corrected constructor.
5346 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
5348 * FormViewCommandEventArgs.cs: Corrected name of class.
5350 2004-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5352 * Xml.cs: use MapPath in DocumentSource and documentContent. Fixes
5355 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
5357 * FormViewCommandEventArgs.cs:
5358 * FormViewCommandEventHandler.cs:
5359 * FormViewDeletedEventArgs.cs:
5360 * FormViewDeletedEventHandler.cs:
5361 * FormViewDeleteEventArgs.cs:
5362 * FormViewDeleteEventHandler.cs:
5363 * FormViewInsertedEventArgs.cs:
5364 * FormViewInsertedEventHandler.cs:
5365 * FormViewInsertEventArgs.cs:
5366 * FormViewInsertEventHandler.cs:
5367 * FormViewModeEventArgs.cs:
5368 * FormViewModeEventHandler.cs:
5369 * FormViewPageEventArgs.cs:
5370 * FormViewPageEventHandler.cs:
5371 * FormViewUpdatedEventArgs.cs:
5372 * FormViewUpdatedEventHandler.cs:
5373 * FormViewUpdateEventArgs.cs:
5374 * FormViewUpdateEventHandler.cs: Added new delegates.
5376 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
5378 * DetailsViewCommandEventArgs.cs:
5379 * DetailsViewCommandEventHandler.cs:
5380 * DetailsViewDeletedEventArgs.cs:
5381 * DetailsViewDeletedEventHandler.cs:
5382 * DetailsViewDeleteEventArgs.cs:
5383 * DetailsViewDeleteEventHandler.cs:
5384 * DetailsViewInsertedEventArgs.cs:
5385 * DetailsViewInsertedEventHandler.cs:
5386 * DetailsViewInsertEventArgs.cs:
5387 * DetailsViewInsertEventHandler.cs:
5388 * DetailsViewModeEventArgs.cs:
5389 * DetailsViewModeEventHandler.cs:
5390 * DetailsViewPageEventArgs.cs:
5391 * DetailsViewPageEventHandler.cs:
5392 * DetailsViewUpdatedEventArgs.cs:
5393 * DetailsViewUpdatedEventHandler.cs:
5394 * DetailsViewUpdateEventArgs.cs:
5395 * DetailsViewUpdateEventHandler.cs: Added new delegates.
5397 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
5399 * AuthenticateEventArgs.cs:
5400 * AuthenticateEventHandler.cs:
5401 * CreateUserErrorEventArgs.cs:
5402 * CreateUserErrorEventHandler.cs: Added new delegates.
5404 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
5406 * IButtonControl.cs:
5407 * ICallbackContainer.cs:
5408 * ICompositeControlDesignerAccessor.cs:
5409 * IPostBackContainer.cs: Added new interfaces.
5411 2004-08-03 Sanjay Gupta <gsanjay@novell.com>
5414 * AutoCompleteType.cs:
5415 * ContentDirection.cs:
5416 * DataControlCellType.cs:
5417 * DataControlRowState.cs:
5418 * DataControlRowType.cs:
5419 * DetailsViewMode.cs:
5420 * DynamicImageParameterMode.cs:
5423 * ImageFieldMode.cs:
5430 * SiteMapNodeItemType.cs:
5431 * SiteMapNodeType.cs:
5432 * SiteMapViewType.cs:
5434 * TableCaptionAlign.cs:
5435 * TableHeaderScope.cs:
5437 * TreeNodeSelectAction.cs:
5439 * TreeViewImageSet.cs:
5440 * WizardStepType.cs: Added enumerations
5442 2004-08-02 Duncan Mak <duncan@ximian.com>
5445 * LoginFailureAction.cs:
5446 * LoginTextLayout.cs: Added enumerations.
5448 2004-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5450 * BaseValidator.cs: in Validate(), when the control is not visible or
5451 enabled, return inmediately after setting IsValid to true. Fixes bug
5454 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5456 * DataList.cs: s/HasChildren/HasControls()/.
5458 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5460 * DataList.cs: style.
5462 2004-07-27 Alon Gazit <along@mainsoft.com>
5463 * DataList.cs: Replaced foreach statement with for statement,
5464 in order to improve performence.
5466 2004-07-27 Alon Gazit <along@mainsoft.com>
5467 * WebControl.cs: changed RenderBeginTag()to use TagKey instead of
5469 * Unit.cs : changed GetTypeFromString() and GetStringFromPixel() to use
5470 switch statements in order to improve performance.
5472 2004-06-10 Alon Gazit <along@mainsoft.com>
5473 * WebControl.cs: fixed LoadViewState().
5474 Creates new attributes state bag only when the current is null.
5476 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5478 * Calendar.cs: implemented OnPreRender and HasWeekSelectors.
5480 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5482 * Calendar.cs: set the title class attribute if we have it. Fixes bug
5485 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5487 * Style.cs: added SetBit.
5489 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5492 * CompareValidator.cs:
5495 * WebControl.cs: Added protected missing members and attributes.
5497 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5499 * TextBox.cs: don't save the Text if in ViewState if it's a password.
5500 Save it if the control is not visible or not enabled. Fixes bug #58497.
5502 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5504 * Calendar.cs: fire OnDayRender after assigning the calendar cell text.
5507 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
5509 * SqlDataSourceCommandEventArgs:
5510 * XmlDataSource.cs : removed temporary workarounds for CLS
5511 compliance as System.Data is now CLS compliant
5513 2004-05-06 Alon Gazit <along@mainsoft.com>
5514 * WebControl.cs: fixed LoadViewState() and SaveViewState().
5515 Before the change the Enabled property wasn't updated when a postback
5517 * ListControl.cs: fixed SelectedIndex property implementation.
5518 Prevents throwing ArgumentOutOfRangeException (that should not be
5519 thrown), when the list is empty.
5521 2004-04-28 Alon Gazit <along@mainsoft.com>
5522 * WebControl.cs: fixed LoadViewState().
5523 Always loading the saved attributes collection.
5525 2004-04-18 Alon Gazit <along@mainsoft.com>
5526 * Repeater.cs: fixed InstantiateItem() and DataSource property.
5527 The change in DataSource prevents throwing ArgumentException while
5528 setting property value to null.
5529 The change in InstantiateItem() prevents NullReferenceException.
5531 2004-04-07 Lluis Sanchez Gual <lluis@ximian.com>
5533 * BaseValidator.cs: Store Display property in the correct ViewState
5534 property. Don't render anything if Display is ValidatorDisplay.None.
5536 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
5538 * Xml.cs: In LoadXpathDoc(), don't use MapPathSecure with documentSource,
5539 since it is already a physical path. Fixes bug #55334.
5541 2004-02-13 Jackson Harper <jackson@ximian.com>
5543 * Calendar.cs: Match MS postback data. This allows sites that
5544 parse the postback data manually to work.
5546 2004-02-04 Alon Gazit <along@mainsoft.com>
5547 * EditCommandColumn.cs: fixed InitializeCell().
5548 The rendered LiteralControl should contain " " and not " ".
5550 2004-02-01 Alon Gazit <along@mainsoft.com>
5552 * DataGrid.cs: fixed a problem in the paging mechanism in the method
5554 the problem was when (PagerStyle.Mode == PagerMode.NumericPages),
5555 while clicking the "..." link in the second page.
5557 2004-01-28 Alon Gazit <along@mainsoft.com>
5559 * Calendar.cs: prevent NullReferenceException in RenderAllDays().
5561 2004-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5563 * Calendar.cs: when rendering days, add a LiteralControl containing the
5564 day before OnDayRender is called. Only generate the default links for
5565 days when IsSelectable is true after OnDayRender. Fixes bug #53372.
5567 2004-01-21 Martin Baulig <martin@ximian.com>
5569 * XmlHierarchyData.cs: Make this compile with csc.
5571 * BulletedList.cs (BulletedList.SelectedItem): Removed the `set'
5572 accessor since the base class doesn't have one.
5574 2004-01-18 Alon Gazit <along@mainsoft.com>
5576 * CheckBoxList.cs: fix problem with negative TabIndex (wasn't rendered).
5578 2004-01-18 Alon Gazit <along@mainsoft.com>
5580 * Style.cs: CopyFrom method shouldn't copy a value that is equal to
5581 Property default value.
5582 * FontInfo.cs : CopyFrom method shouldn't copy a value that is equal to
5583 Property default value.
5585 2004-01-15 Alon Gazit <along@mainsoft.com>
5587 * RadioButtonList.cs: RepeatLayout property should affect the rendered
5590 2004-01-15 Alon Gazit <along@mainsoft.com>
5591 * FontInfo.cs: Add validation check to Size property.
5593 2004-01-07 Alon Gazit <along@mainsoft.com>
5594 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
5595 merge the column's style to the cell's style and not to
5596 the item's(row) style.
5598 2004-01-04 Alon Gazit <along@mainsoft.com>
5599 * RangeValidator.cs: Fixed ControlPropertiesValid().
5601 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5603 * Xml.cs: mono-stylized and removed warnings.
5605 2004-1-1 Alon Gazit <along@mainsoft.com>
5606 * RadioButtonList.cs: update RenderItem() so that each RadioButton
5607 is enabled or disabled like the RadioButtonList.
5608 * CheckBoxList.cs: update RenderItem() so that each CheckBox
5609 is enabled or disabled like the CheckBoxList.
5611 2004-1-1 Alon Gazit <along@mainsoft.com>
5612 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
5613 The Header or Footer Style shouldn't merge with the cells Style.
5615 2004-1-1 Alon Gazit <along@mainsoft.com>
5616 * DataGridColumn.cs: Headers and Footers are initialized
5617 with the relevant Style object.
5619 2003-12-30 Alon Gazit <along@mainsoft.com>
5620 * RepeatInfo.cs: Fixed DoVerticalRendering () and
5621 DoHorizontalRendering().
5622 Current implementation produces few extra html tags.
5624 2003-12-29 Alon Gazit <along@mainsoft.com>
5626 * CheckBox.cs: change the implementation of LoadPostData.
5627 Currently, while the AutoPostBack property equals true ,
5628 it isn't possible to perform uncheck.
5630 2003-12-19 Jackson Harper <jackson@ximian.com>
5632 * TableCell.cs: Setting a cells text should clear its control
5633 collection as per la specification. This fixes bug #51825.
5635 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5637 * DataGridColumn.cs: stylized LoadViewState.
5638 * DataGridColumnCollection.cs: when TrackViewState is called, also
5639 call it on all the existing columns. Fixes bug #52334.
5641 2003-12-18 Alon Gazit <along@mainsoft.com>
5643 * DataGridPagerStyle.cs: merge DataGridPagerStyle properties when Style
5646 2003-12-18 Alon Gazit <along@mainsoft.com>
5648 * TableStyle.cs: merge TableStyle properties when Style is empty.
5650 2003-12-16 Alon Gazit <along@mainsoft.com>
5652 * HyperLink.cs: Change Text property implementation. in MS when the Text
5653 property is set, all the controls in the HyperLink are being deleted.
5654 This fixes bug #52239.
5656 2003-12-15 Alon Gazit <along@mainsoft.com>
5657 * RepeatInfo.cs: Fixed DoVerticalRendering () and
5658 DoHorizontalRendering().
5659 Both methods add additional empty table row in the head of each item
5660 table when the variable named isTable equals true (happenes with the
5661 default instantiation of RepeatInfo). These additional rows should be
5662 added when isTable equals false.
5663 This fixes bug #52225.
5665 2003-12-15 Alon Gazit <along@mainsoft.com>
5667 * RepeatInfo.cs: Fixed DoVerticalRendering() and
5668 DoHorizontalRendering().
5669 Both methods add to rendered Header a colspan attribute according to the
5670 rows count. after the change the colspan is added according to the
5673 2003-12-15 Alon Gazit <along@mainsoft.com>
5674 * CheckBox.cs: Disabled CheckBox does not produce same HTML as .NET.
5675 In .NET if the checkbox is disabled ,its text appears disabled too.
5676 In Mono the text appears enabled. the fix is in Render().
5677 This fixes bug #52180.
5679 2003-12-15 Alon Gazit <along@mainsoft.com>
5680 * Repeater.cs: Change the implementation of CreateControlHierarchy().
5681 The current implementation renders extra Header and footer
5682 without Repeater.DataSource assign.
5683 This fixes bug #52179.
5685 2003-12-15 Alon Gazit <along@mainsoft.com>
5686 * DataGrid.cs: Change the implementation of the property
5687 BackImageUrl. The current implementation has no influence
5688 on the rendered Html.
5690 2003-12-15 Alon Gazit <along@mainsoft.com>
5691 * WebControl.cs: Change the implementation of the property
5692 Enabled. Before the change the WebControl also looked at
5693 parent.Enabled . fixed bug #52171.
5695 2003-12-11 Jackson Harper <jackson@ximian.com>
5697 * RepeatInfo.cs: When rendering vertically figure out how many
5698 colmns are not going to be filled in in the last row, and adjust
5699 things accordingly. This fixes bug #51863.
5701 2003-12-10 Alon Gazit <along@mainsoft.com>
5702 * TableRow.cs: Change the implementation of the properties
5703 HorizontalAlign and VerticalAlign. The current implementation
5704 has no influence on the rendered Html.
5706 2003-12-10 Alon Gazit <along@mainsoft.com>
5707 * TableItemStyle.cs: Add setting of The WRAP flag in the Wrap
5708 property's set method.
5710 2003-12-09 Jackson Harper <jackson@ximian.com>
5712 * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
5713 Increment counter when moving to start. Fixes bug #51926.
5715 2003-12-08 Jackson Harper <jackson@ximian.com>
5717 * HyperLinkColumn.cs: Fix navigate url rendering. Patch by
5718 Benjamin Jemlich. Fixes bug #51823.
5720 2003-12-07 Alon Gazit <along@mainsoft.com>
5721 * Panel.cs: Panel doesn't render nowrap attribute while the Wrap
5722 property is set to false. Fixes bug #58120.
5724 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5726 * TableItemStyle.cs: merge TableItemStyle properties when Style is
5727 empty. Fixes bug #51689. Patch by Alon Gazit <along@mainsoft.com>.
5729 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5731 * RadioButtonList.cs: render tabindex attribute if needed. Fixes bug
5734 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5736 * WebControl.cs: don't create the attributes when GetAttribute is
5739 2003-12-01 Jackson Harper <jackson@ximian.com>
5741 * WebControl.cs: Only allow access keys to be null or a single
5742 char. Patch by Alon Gazit <along@mainsoft.com>.
5744 2003-11-30 Jackson Harper <jackson@ximian.com>
5746 * CheckBoxList.cs: A checkbox will have null post data if it is
5747 unselected. This fixes bug #51516.
5749 2003-11-29 Jackson Harper <jackson@ximian.com>
5751 * DataGrid.cs: Display paging controls even when there is no
5752 data. Path by Mohammad DAMT. Fixes bug #51487.
5754 2003-11-29 Jackson Harper <jackson@ximian.com>
5756 * DataGrid.cs: Call TrackViewState when loading bound columns view
5757 state. So that their state is saved. This fixes bug #51424. Also
5760 2003-11-26 Jackson Harper <jackson@ximian.com>
5762 * BaseDataList.cs: Change && to || We will call that a typo so no
5763 one gets embarrased.
5765 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5767 * BaseDataList.cs: allow setting null as Datasource.
5769 * DataGrid.cs: keep autogenerated columns in the ViewState.
5771 Patches by Alon Gazit <along@mainsoft.com>.
5773 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
5775 * SqlDataSource*: Implement almost everything. Data access is
5778 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
5780 * Calendar.cs (SaveViewState):
5781 - We were allocating a 11 item array, we only used 10 items,
5782 so only allocate 10.
5783 - We only need to save the selected dates if there are any.
5784 * DataGrid.cs (SaveViewState):
5785 * DataGridColumn.cs (SaveViewState):
5786 * DataGridColumnCollection.cs (SaveViewState):
5787 - Only return the array if there is anything in it
5788 * Style.cs (SaveViewState):
5789 - Only save the bits if there were changes.
5790 * WebControl.cs (SaveViewState), (LoadViewState):
5791 - Don't save Enabled into the viewstate here, we already
5792 do it in the property. This just caused *EVERY* control
5793 to have a non-null state, taking up lots of extra room
5795 - The style will always be created with this control's
5796 viewstate, so the style will always return null for the
5797 viewstate. As such, we do not need to store it. We can
5798 also reduce the triplet to a pair because of this.
5800 2003-11-22 Jackson Harper <jackson@ximian.com>
5802 * ValidationSummary.cs: Fix number of messages and message array computation.
5804 2003-11-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5806 * Xml.cs: Corrected attribute
5807 * XmlBuilder.cs: Added
5809 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5811 * Xml.cs: class status based fixes.
5813 2003-11-19 Jackson Harper <jackson@ximian.com>
5815 * HyperLink.cs: Use ResolveUrl instead of ResolveBaseUrl.
5817 2003-11-19 Jackson Harper <jackson@ximian.com>
5819 * HyperLink.cs: Use ResolveBaseUrl so that ~/ is interpreted as
5820 teh applications base directory. This fixes bug #51092.
5822 2003-11-18 Todd Berman <tberman@gentoo.org>
5824 * ControlParameter.cs:
5825 * CookieParameter.cs:
5827 * QueryStringParameter.cs:
5828 * SessionParameter.cs: added public .ctor ()
5829 * Parameter.cs: added public .ctor (), internal SetOwnerCollection
5830 and handling, as well as internal ParameterValue for easy access.
5831 NOTE: ParameterValue doesnt respect TreatEmptyStringAsNull yet.
5832 * ParameterCollection.cs: implementation redux.
5834 2003-11-18 Todd Berman <tberman@gentoo.org>
5836 * ParameterCollection.cs: Implemented
5837 * Parameter.cs: Added _owner, SetOwnerCollection and proper handling.
5838 ToString () now matches asp.net
5840 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
5842 * ControlParameter.cs:
5843 * CookieParameter.cs:
5846 * QueryStringParameter.cs: New v2 files. Mostly
5847 implemented, still need a few methods.
5849 2003-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5851 * ListItem.cs: prevent nullrefs ni Get/SetAttribute. Thanks to Alon
5852 Gazit <along@mainsoft.com>.
5854 2003-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5856 * RadioButton.cs: fixed RenderInputTag for negative TabIndex values.
5857 Patch by Alon Gazit <along@mainsoft.com>.
5859 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
5861 * DataBoundControl.cs: Implement
5862 * ListControl.cs: inherit from the above.
5863 * Repeater.cs, BaseDataList.cs: should reset whenever we databind.
5865 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
5870 * Repeater.cs: add v2 databinding stuff
5871 * XmlDataSource.cs: make it load the xml.
5873 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
5876 * XmlDataSourceView.cs:
5877 * XmlHierarchicalDataSourceView.cs:
5878 * XmlHierarchicalEnumerable.cs:
5879 * XmlHierarchyData.cs: Implement
5881 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
5883 * SiteMapDataSourceView.cs: Implement.
5885 2003-11-07 Jackson Harper <jackson@ximian.com>
5887 * ImageButton.cs: This is a workaround for bug #49819. It appears
5888 that the .x and .y values are not being posted, and only the x
5889 value is being posted with the ctrl's id as the key.
5891 2003-11-07 Jackson Harper <jackson@ximian.com>
5893 * DataGrid.cs (CreateControlHierarchy): Current page index is
5894 alolowed to equal page count. This prevents an exception being
5895 thrown when both are zero.
5897 2003-11-06 Jackson Harper <jackson@ximian.com>
5899 * ValidationSummary.cs: Add Render method. Patch by Yaron Shkop.
5900 * BaseValidator.cs: Disable base control so the isValid flag is
5903 2003-11-03 Jackson Harper <jackson@ximian.com>
5905 * TemplateColumn.cs: Use the same renderer for selected items as
5906 normal items. This fixes bug #49744.
5908 2003-11-03 Jackson Harper <jackson@ximian.com>
5911 * WebControl.cs: Fix argument out of range exceptions on
5912 properties. Patch by Yaron Shkop.
5914 2003-11-03 Jackson Harper <jackson@ximian.com>
5916 * TemplateColumn.cs: If the item is selected but there is no
5917 editItemTemplate use the itemTemplate. This matches MS behvoir.
5919 2003-11-03 Jackson Harper <jackson@ximian.com>
5921 * Repeater.cs: Always set alternating items to the AlternatingItem
5922 type, when instantiating alternating items use the itemTemplate if
5923 the alternatingItem template is null. This matches MS behavoir and
5926 2003-11-03 Jackson Harper <jackson@ximian.com>
5928 * DataGridPagerStyle.cs: Name of view state attribute is
5929 PagerVisible not Visible. Call owner.OnPagerChanged when the pager
5930 visibility is changed. Patch by Yaron Shkop.
5932 2003-11-03 Jackson Harper <jackson@ximian.com>
5934 * RepeatInfo.cs: When doing horizontal rendering use the repeat
5935 columns as the number of columns in a row. This fixes bug #49016.
5937 2003-11-03 Jackson Harper <jackson@ximian.com>
5939 * PagedDataSource.cs (PageCount): Return page count of 1 if there
5940 paging is disabled. Patch by Yaron Shkop.
5941 * PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
5942 * TableStyle.cs (AddAttributesToRender): Render border style
5943 collapse. Patch by Yaron Shkop.
5945 * TableItemStyle.cs:
5946 * DataGridPagerStyle.cs: Call base copy and merge even if style is of
5947 the wrong type. Patch by Yaron Shkop.
5949 2003-11-03 Jackson Harper <jackson@ximian.com>
5951 * BoundColumn.cs: Render readonly columns. Patch by Mohammad DAMT.
5953 2003-11-02 Ben Maurer <bmaurer@users.sourceforge.net>
5956 * BulletedListDisplayMode.cs:
5957 * BulletedListEventHandler.cs:
5959 * BulletedListEventArgs.cs: V2 controls (yay!)
5961 2003-10-30 Jackson Harper <jackson@ximian.com>
5963 * Repeater.cs: Throw an exception if the datasource is set to
5964 something that does not implement either IListSource or
5965 IEnumerable. This fixes bug #50155.
5967 2003-10-30 Jackson Harper <jackson@ximian.com>
5969 * DataGridPagerStyle.cs: Do not allow page button counts to be set
5970 to less then 1. Patch by Yaron Shkop. This fixes bug #50236.
5972 2003-10-29 Jackson Harper <jackson@ximian.com>
5974 * ButtonColumn.cs: Format string and text to format were
5975 inversed. This fixes bug #50171.
5977 2003-10-29 Jackson Harper <jackson@ximian.com>
5979 * DataGridColumn.cs: If an item style is set apply it to the
5980 cell. This fixes bug #50173.
5982 2003-10-29 Ben Maurer <bmaurer@users.sourceforge.net>
5984 * HyperLinkColumn.cs: Patch by Yaron Shkop. Fixes #50234. Remove
5985 old debugging value.
5987 2003-10-29 Jackson Harper <jackson@ximian.com>
5989 * PagedDataSource.cs:
5990 * DataGrid.cs: Patch by Mohammad DAMT. Do not go past the
5991 end of the last page. Fixes bug #5085.
5993 2003-10-29 Jackson Harper <jackson@ximian.com>
5995 * CheckBox.cs: Do not change the status of a checkbox when there
5996 is no post data. This fixes bug #49091.
5997 * CheckBoxList.cs: Do not change the status of the checkboxes when
5998 there is no post data. This fixes bug #49093.
6000 2003-10-26 Ben Maurer <bmaurer@users.sourceforge.net>
6002 * RadioButton.cs: Patch by Yaron Shkop. Enables disabling a
6003 RadioButton. Fixes #50132
6005 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
6007 * PagedDataSource.cs: Patch by Ivo Haamer. Typo prevented
6008 paging from working. Fixes #48814.
6010 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
6012 * DataGrid.cs: A few typos kept us from viewing datagrids
6013 that were based on customized collections.
6015 2003-10-24 Ben Maurer <bmaurer@users.sourceforge.net>
6017 * DataGridCommandEventArgs.cs: typo, cmdSrc was becoming origionalArgs.
6019 2003-10-23 Ben Maurer <bmaurer@users.sourceforge.net>
6021 * Calendar.cs: render the next month button so that aligns to the
6024 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6026 * BaseCompareValidator.cs: splitted Convert. Fixed bug #49927. The fix
6027 was just changing && by || after the first Match.
6029 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6031 * Calendar.cs: apply header style in RenderHeader. Fixes bug #49144.
6032 Patch by Yaron Shkop.
6034 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6036 * DataGrid.cs: applied patch from Yaron Shkop (yaronsh@mainsoft.com)
6037 that fixes bug #49744. Now the selection doesn't lose its data.
6039 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
6041 * EditCommandColumn.cs: Implement; fix #49736
6043 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
6045 * ButtonColumn.cs: Use the DataGridLinkButton, so that we inherit
6046 the forground color. bug #49738
6048 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6050 * Calendar.cs: fixed bug #49727.
6052 2003-10-18 Ben Maurer <bmaurer@users.sourceforge.net>
6054 * TableStyle.cs: fix #49740.
6056 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6058 * SelectedDatesCollection.cs: fix by Yaron for bug #49698.
6059 * ValidationSummary.cs: fixes bug #49669.
6061 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6063 * Calendar.cs: apply the calendar style to the new Table, not to itself.
6066 * CheckBox.cs: render the hidden fields if AutoPostBack.
6068 * Style.cs: don't render empty width/height. Small improvement in
6071 * Table.cs: fixed condition for border width.
6074 (CopyFrom): always call the base class to copy other attributes. Fixes
6075 bug #49408. Don't render empty 'rules' attribute.
6077 * WebControl.cs: track viewstate when enabled. Don't overwrite source
6078 control attributes in CopyBaseAttributes.
6080 * ChangeLog: fixed dates.
6083 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
6085 * WebControl.cs : Attributes { get; } - Is Complete.
6086 * ValidationSummary.cs : AddAttributesToRender(HtmlTextWriter)
6089 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
6091 * BaseValidator.cs : DetermineRenderUplevel() - Completed.
6092 : RegisterValidatorCommonScript()
6093 - More code, I need HELP!
6094 : RegisterValidatorDeclaration()
6095 - More code, I need HELP!
6097 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6099 * CheckBoxList.cs: don't lose state when enabling/disabling. See bug
6102 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6104 * Repeater.cs: fixed bug #48807. It needed to use a DummyDataSource and
6105 ClearViewState only called when no items.
6107 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6109 * RadioButtonList.cs: fix for bug #48874 by Yaron Shkop.
6111 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6113 * RadioButtonList.cs: fix for bug #48870 by Yaron Shkop.
6115 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6117 * DataList.cs: fixed bug #48217. Patch by yaronsh@mainsoft.com (Yaron
6120 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6122 * AdRotator.cs: fixes bug #48691. Patch by yaronsh@mainsoft.com (Yaron
6125 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6127 * CheckBox.cs: render the 'disabled' attribute in the correct tag.
6128 * WebControl.cs: fixed Enabled property and save it in ViewState.
6132 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6134 * ListControl.cs: fixed bug #48668. Thanks to Yaron Shkop.
6136 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6138 * ListBox.cs: patch by yaronsh@mainsoft.com (Yaron Shkop) that fixes
6141 2003-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6143 * FontInfo.cs: fixed Name property as suggested by Rich Alimi
6144 <rich@velvetsea.net>.
6146 2003-09-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6148 * RegularExpressionValidator.cs: fix for EvaluateIsValid by Juraj
6149 Skripsky <juraj@hotfeet.ch>
6151 2003-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6153 * BaseValidator.cs: patch by Juraj Skripsky (juraj@hotfeet.ch) that
6154 fixes rendering of the end tag.
6156 2003-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6158 * Repeater.cs: fix for Items property provided by yaronsh@mainsoft.com
6159 (Yaron Shkop). Closes bug #48060.
6161 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6163 * CheckBox.cs: in LoadPostData, only return
6164 true when the new data is different from the one we had. Fixed
6165 conditions to save Checked state. Thanks to yaronshkop@hotmail.com
6168 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6170 * Style.cs: Font.Strikeout renders as 'line-through'. Fixes bug #47871.
6172 2003-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6174 * WebControl.cs: removed dangling ^M and unneeded fields. Keep track
6175 of Enable in ViewState. Fixes bug #47865.
6177 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6179 * Style.cs: the MARKED bit is not send set in ViewState unless something
6180 is changed. Fixed TrackViewState condition.
6182 * WebControl.cs: save the base ViewState *after* ControlStyle is done,
6183 because it uses the same ViewState as the control. Fixes bug #47725.
6185 2003-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6187 * HyperLinkColumn.cs: patch from David Pickens <dsp@rci.rutgers.edu>
6188 that fixes databinding when only DataTextField or DataNavigateUrlField
6191 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6193 * ListControl.cs: patch sent by Yaacov Akiba Slama <ya@slamail.org> on
6194 behalf of Yaron Shkop <yaronsh@mainsoft.com> that fixes selection of
6195 values before assigning a data source and other issues.
6197 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6199 * CheckBox.cs: save viewstate when needed and correctly handle post
6200 data. Fixes bug #47462.
6202 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6204 * ButtonColumn.cs: Removed additional attributes
6205 * CheckBox.cs: Added attribute
6206 * DataGrid.cs: Added attributes
6207 * HyperLinkColumn.cs: Changed attributes, added lamespec
6208 * Style.cs: Removed attributes
6209 * TextBox.cs: Added/ removed attributes
6211 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6213 * AdRotator.cs: Added all attributes
6214 * BaseDataList.cs: Added all attributes, added lamespec, removed additional attributes
6215 * BaseValidator.cs: Added all attributes
6216 * BoundColumn.cs: Added all attributes
6217 * Button.cs: Added all attributes
6218 * ButtonColumn.cs: Added all attributes, added lamespec
6219 * Calendar.cs: Added all attributes, added error checks, throws more exceptions
6220 * CheckBox.cs: Added all attributes
6221 * CheckBoxList.cs: Added all attributes
6222 * CompareValidator.cs: Added all attributes
6223 * CustomValidator.cs: Added all attributes
6224 * DataGrid.cs: Added all attributes, more verbose exceptions, fixed signature, removed additional attributes
6225 * DataGridColumn.cs: Added all attributes
6226 * DataGridColumnCollection.cs: Added all attributes
6227 * DataGridPagerStyle.cs: Added all attributes
6228 * DataGridTableInternal.cs: Made DataGridTableInternal internal
6229 * DataList.cs: Added all attributes, more verbose exceptions, removed non-existing member
6230 * DropDownList.cs: Added all attributes
6231 * FontInfo.cs: Added all attributes
6232 * HyperLink.cs: Added all attributes
6233 * HyperLinkColumn.cs: Added all attributes
6234 * Image.cs: Added all attributes
6235 * ImageButton.cs: Added all attributes
6236 * Label.cs: Added all attributes
6237 * LinkButton.cs: Added all attributes
6238 * ListBox.cs: Added all attributes, added error checks, throws more exceptions
6239 * ListControl.cs: Added all attributes
6240 * ListItem.cs: Added all attributes
6241 * ListItemCollection.cs: Added attribute
6242 * Literal.cs: Added all attributes
6243 * Panel.cs: Added all attributes
6244 * RadioButton.cs: Added all attributes
6245 * RadioButtonList.cs: Added all attributes, added error checks, throws more exceptions
6246 * RangeValidator.cs: Added all attributes
6247 * RegularExpressionValidator.cs: Added all attributes
6248 * Repeater.cs: Added all attributes
6250 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
6252 * RequiredFieldValidator.cs: Added all attributes
6253 * Style.cs: Added all attributes
6254 * Table.cs: Added all attributes
6255 * TableCell.cs: Added all attributes, added error checks, throws more exceptions
6256 * TableCellCollection.cs: Added attribute
6257 * TableRow.cs: Added all attributes
6258 * TableRowCollection: Added attribute
6259 * TableStyle.cs: Added all attributes, improved error messages
6260 * TemplateColumn.cs: Added all attributes
6261 * TextBox.cs: Added all attributes, added error checks, throws more exceptions
6262 * ValidationSummary.cs: Added all attributes
6263 * WebControl.cs: Added all attributes
6264 * Xml.cs: Added all attributes
6266 2003-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6268 * DataGrid.cs: fixed signature of ItemCreated and PageIndexChanged.
6269 * DataList.cs: fixed signature of ItemCreated and ItemDataBound.
6271 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6273 * CheckBoxList.cs: fixes bug reported on the list about the state of
6274 the CheckButtons not being preserved across posts.
6276 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6278 * ListControl.cs: added SelectedValue property (1.1). Closes 46412.
6280 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6282 * AdRotator.cs: fixed bug #44271 and a few others bugs. Mono-stylized.
6284 2003-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6286 * ListControl.cs: save viewstate data when any of the 3 values is not
6287 null. Fixed condition to save selection indices. Closes bug #45493.
6289 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6291 * DataGrid.cs: fixed bug #43823.
6293 2003-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6295 * DataGrid.cs: fixed delegate type for SortCommand.
6297 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6299 * DataGridColumnCollection.cs: added missing return in RemoveAt.
6301 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6303 * DataGridColumnCollection.cs: fixed LoadViewState for the columns.
6304 Don't save ViewState is the number of columns is 0.
6306 2003-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6308 * DataGrid.cs: get the right item Type for the property we're reading
6309 fromt the data source.
6311 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6314 * TextBox.cs: added control builder attribute.
6316 2003-03-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6318 * DataGrid.cs: Fixed SaveViewState and type of ItemDataBound.
6320 2003-03-17 George Kodinov <gkodinov@openlinksw.co.uk>
6322 * Unit.cs: Called the correct method to get the Numeric locale for the
6325 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6327 * ButtonColumn.cs: fixed a couple of infinite loop problems and render
6328 correctly the header of the column.
6330 * DataGridTableInternal.cs: don't assign a default ID to this control.
6332 * LinkButton.cs: raise bubble event in OnCommand.
6334 * TableCellCollection.cs: fixed the index returned by Add.
6336 * TableRowCollection.cs: ditto.
6338 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6340 * Xml.cs: don't call MapPathSecure when setting DocumentSource.
6342 2003-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6344 * RangeValidator.cs: fixed bug #37577. Thanks to Stephane Tombeur
6345 for reporting the bug and providing the fix.
6347 2003-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6349 * DataGrid.cs: AutoGenerateColumns defaults to true. Fixed
6350 CreateColumnSet. Set the owner of the column when auto generated.
6351 In PrepareControlHierarchyForItem, fixed for loop bound.
6353 * LinkButtonInternal.cs: fixed infinite recursion bug.
6357 2003-01-22 Zdravko Tashev <ztashev@openlinksw.co.uk>
6359 * Xml.cs: a few fixes.
6361 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6363 * DataList.cs: handle the exception when adding new keys to
6366 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6368 * BaseDataList.cs: what can I say for this one? I spent so many time
6369 until I finally found this that I'm gonna miss this f....g bug... ;-).
6370 Farewell. Now we can get events from image buttons inside Data*.
6372 * DataList.cs: now the value stored in ViewState for item count is
6375 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6377 * DataGrid.cs: default value for ShowHeaders is true. Fixed style for
6379 * DataGridColumn.cs: added SetOwner method.
6380 * DataGridColumnCollection.cs: set the owner of the column when added.
6382 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6384 * BoundColumn.cs: typo.
6385 * DataGrid.cs: use 'as' instead of casting. Typo.
6386 * HyperLinkColumn.cs: call OnColumnChanged when any property change.
6389 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6391 * HyperLink.cs: fixes bug #36336.
6393 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6395 * DataList.cs: fixed IRepeatInfoUser.GetItemStyle.
6397 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6399 * BaseValidator.cs: return an empty string in GetControlValidationValue
6400 when GetValue returned null.
6402 * CompareValidator.cs: fixed EvaluateIsValid.
6404 * RegularExpressionValidator.cs: fixed EvaluateIsValid.
6406 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6408 * Xml.cs: use MapPathSecure to get the path of the document.
6410 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6412 * DataList.cs: fixed header & footer.
6414 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6416 * DataList.cs: for header and footer don't use data source.
6417 Instantiate in the DataListItem, not in the DataList.
6418 databind-template.aspx works now.
6420 2002-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6423 (Render): call RenderContents (), not base.RenderContents ().
6425 * DataList.cs: style.
6427 But I still haven't found what i'm looking for....
6429 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6431 * Calendar.cs: fixed loading/saving selected dates.
6432 * SelectedDatesCollection.cs: added internal function to get the
6433 underlying ArrayList.
6435 Calendar navigation works again. Selecting dates too.
6437 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6439 * DataList.cs: added a few attributes and fixed infinite recursion.
6441 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6443 * ListItemCollection.cs: fixed LoadViewState.
6445 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6447 * TableItemStyle.cs: TypeDescriptor.GetConverter seems to fail.
6448 Commented out some code until it works.
6450 2002-10-29 Gaurav Vaish <gvaish_mono@lycos.com>
6452 * BaseCompareValidator.cs - Fixed operator bug in
6453 Compare(string, string, ...)
6454 * CompareValidator.cs - EvaluateIsValid() : Implemented.
6456 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
6458 * BoundColumn.cs - InitializeCell(TableCell, int, ListItemType)
6460 - All Properties : Now make use of ViewState.
6462 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
6464 * BaseValidator.cs - Uncomment NotImplementedException.
6466 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
6468 * BaseValidator.cs - Minor changes in TODO comments.
6470 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
6472 * BaseValidator.cs - DetermineRenderUpLevel() : Uncomment
6473 the NotImplementedException being thrown.
6474 * DataGridPagerStyle.cs - Mode { set; } : Implemented.
6475 * DataGridLinkButton.cs - Added new class (private) : Implemented.
6476 * DataGrid.cs - InitializePager(DataGridItem, int,
6477 PagedDataSource) : Implemented.
6479 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
6481 * DataList.cs - PrepareControlHierarchy() : Implemented.
6483 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
6485 * DataList.cs - RenderContents(HtmlTextWriter) : Implemented.
6486 - GetItem(ListItemType, int) : Removed TODO.
6487 - CreateControlHierarchy(bool) : Implemented.
6488 - CreateItem(int, ListItemType) : Implemented.
6489 - CreateItem(int, ListItemType,
6490 bool, object) : Implemented.
6491 - InitializeItem(DataItem) : Implemented.
6492 * DataGrid.cs - CreateControlHierarchy(bool) : Bug fix.
6493 The ViewState["_!ItemCount"],
6494 ViewState["_!DataSource_ItemCount"]
6495 are shared by DataList and DataGrid, and hence
6496 should share the same name.
6497 - ResolveDataSource(object, string)
6498 : Removed. Use System.Web.UI.Utils.DataSourceHelper
6499 ::GetResolvedDataSource(object, string).
6502 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6504 * DataGrid.cs: fixed compilation
6506 2002-09-12 Gaurav Vaish <gvaish_mono@lycos.com>
6508 * PagedDataSource.cs - FirstIndexInPage : Fixed bug.
6509 * DataGrid.cs - CreateControlHierarchy(bool)
6510 : working towards completion.
6511 - ResolveDataSource(object, string)
6512 : stubbed new method
6514 : stubbed new method
6515 Well. It's almost done.
6516 * DataGridTableInternal.cs
6517 - Added new internal class.
6519 2002-08-28 Gaurav Vaish <gvaish_mono@lycos.com>
6521 * DataSourceInternal.cs - Added new class (internal).
6523 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6526 * HorizontalAlign.cs:
6528 * VerticalAlign.cs: fixes based on class status page.
6530 * HorizontalAlignConverter.cs: implemented.
6531 * VerticalAlignConverter.cs: implemented.
6533 * FontUnitConverter.cs: implemented GetStandardValues ().
6535 * WebColorConverter.cs: implemented ConvertFrom () and ConvertTo ().
6537 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
6539 * DataGrid.cs - AutoCreateColumns: Bug fixes.
6541 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
6543 * DataGrid.cs - AutoCreateColumns: completed, hopefully!
6545 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
6547 * DataGrid.cs - Working on the undocumented protected
6548 method CreateColumnSet. AutoCreateColumns method
6549 stubbed. Left CreateControlHierarchy for the time
6550 being, looks like I'm going insane. ;-)
6552 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
6554 * Button.cs - Steffen's OnCommand bug fix.
6556 2002-08-12 Gaurav Vaish <gvaish_mono@lycos.com>
6558 * DataGrid.cs - Added protected method (skeleton)
6559 CreateColumnSet(PagedDataSource, bool)
6560 Still trying to know how will it be used
6563 2002-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6565 * PagedDataSource.cs: fixed compilation.
6567 2002-08-08 Gaurav Vaish <gvaish_mono@lycos.com>
6569 * DataGrid.cs - Added private method
6570 CreatePagedDataSource
6572 CreateControlHierarchy(bool)
6573 * PagedDataSource.cs - Bug fixed.
6574 CurrentPageIndex is writable.
6576 2002-08-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6578 * DataGrid.cs: fixed typo.
6579 * DataGridPagerStyle.cs: added IsPagerOnTop and IsPagerOnBottom.
6581 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
6583 * DataGridColumn.cs - Added internal methods to get the
6584 various styles (needed in DataGrid.cs)
6585 * DataGrid.cs - Completed the method
6586 PrepareControlHierarchy()
6588 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
6590 * DataGrid.cs - Wokring on PrepareControlHierarchy()
6591 - Added private method
6592 PrepareControlHierarchyForItem()
6594 2002-08-05 Gaurav Vaish <gvaish_mono@lycos.com>
6596 * DataGrid.cs - Completed method
6597 OnBubbleEvent(object, EventArgs)
6599 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6601 * Xml.cs: implemented document/transform load.
6603 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6605 * Calendar.cs: added myself to the list of authors.
6606 * DropDownList.cs: fixed a few properties.
6607 * ListControl.cs: fixed SelectedIndex.
6609 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6611 * Calendar.cs: lots of fixes. Render days. Still left to persist
6612 selected days when changing month.
6614 * Unit.cs: fixed Percentage and Pixel.
6616 * WebControl.cs: a few properties are now using ControlStyle instead
6617 of ViewState to persist.
6619 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6621 * BaseValidator.cs: it works now.
6622 * DataGridColumn.cs: added attribute and made it abstract.
6623 * RequiredFieldValidator.cs: fixed return value in EvaluateIsValid.
6625 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6627 * TextBox.cs: default for Wrap is true.
6628 (OnPreRender): don't save Text if there are no listeners on TextChanged.
6630 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6636 (LoadViewState): fixed.
6638 * ListItemCollection.cs:
6639 (TrackViewState): use items instead of 'this' in foreach.
6642 (LoadViewState): more checking of parameters.
6644 * WebControl.cs: implemented LoadViewState and SaveViewState.
6647 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6649 * ListItem.cs: there was no code to unset the flags!!!
6651 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6653 * FontUnit.cs: use a hashtable for mapping size name to value.
6654 * HyperLink.cs: fixed a bug and a typo.
6655 * Unit.cs: some fixes to internal constructor.
6657 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6659 * ListControl.cs: fixed a couple of range checks.
6660 * WebControl.cs: MS lies! Not all WebControls must be rendered inside
6661 an HtmlForm (p.e., Label).
6663 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6673 * HyperLinkColumn.cs:
6682 * RadioButtonList.cs:
6686 * WebControl.cs: removed attributes added by mistake (i used
6687 GetCustomAttributes (true), d'oh!).
6689 * DataListItem.cs: implemented RenderItem.
6691 * Repeater.cs: implemented CreateItem and InitializeItem.
6693 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6695 * BaseDataList.cs: a couple of fiex and added attributes.
6696 * DataGrid.cs: little fixes.
6698 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6707 * RadioButtonList.cs:
6710 * Xml.cs: forgot to add using System.ComponentModel.
6712 * BaseValidator.cs: use explicitly
6713 System.ComponentModel.AttributeCollection as there is another class
6714 with the same name under System.Web.UI.
6716 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6735 * RadioButtonList.cs:
6740 * Xml.cs: added/fixed all attributes used by xsp.
6742 * BaseValidator.cs: some fixes.
6744 2002-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6747 (AddAttributesToRender): correctly default to border=1.
6749 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6752 (LoadAdFile): make the dictionary null after every iteration.
6756 * ListItem.cs: fixed warnings.
6758 Mon Jul 1 16:23:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
6760 * Style.cs, TableRow.cs, DataListItem.cs: fix compilation.
6762 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6764 * DataGridColumn.cs:
6765 * DataGridPagerStyle.cs:
6772 * ListItemCollection.cs:
6774 * ServerValidateEventArgs.cs:
6778 * Xml.cs: more class status page based changes.
6780 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6783 (.ctor): fixed to render the correct tag.
6784 (IPostBAckEventHandler.RaisePostBackEvent): fixed.
6786 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6789 (AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
6790 WebControl derived classes should be rendered inside a HtmlForm.
6792 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6794 * Repeater.cs: implemented CreateControlHierarchy. Fixed some event
6797 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6799 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
6800 * RepeatInfo.cs: implemented DoHorizontalRendering.
6802 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6804 * System.Web.UI.WebControls/Repeater.cs:
6806 (OnDataBinding): fixed stack overflow.
6808 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6810 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
6811 * RepeatInfo.cs: implemented DoHorizontalRendering.
6813 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6816 (CopyBaseAttributes): copy Attributes and don't throw exception.
6818 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6820 * ListBox.cs: mono-stylized.
6821 (AddAttributesToRender): call parent class method.
6823 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6825 * Style.cs: fixed IsEmpty and Width.
6827 * Table.cs: mono-stylized.
6828 (TableRowControlCollection.AddAt): fixed.
6829 (AddAttributesToRender): fixed.
6831 * TableCell.cs: mono-stylized.
6832 (.ctor): use PreventAutoID.
6833 (AddAttributesToRender): fixed.
6834 (AddParsedSubObject): fixed.
6836 * TableRow.cs: mono-stylized. Added
6837 ParseChildren attribute.
6840 (get_GridLine): fixed.
6842 2002-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6844 * Panel.cs: fixed stack overflow.
6845 * Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
6846 and SingleConverter.
6848 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6850 * RadioButton.cs: mono-stylized and some little fixes.
6852 * TextBox.cs: mono-stylized.
6853 (MaxLength): fixed typo.
6855 (AddAttributesToRender): don't render the text between the tags for
6856 SingleLine, use value attribute for it. Don't render the text for
6859 (OnPreRender): don't throw exception and call base.OnPreRender.
6861 (Render): for MultiLine, render the text between the opening and
6862 closing tags encoded as HTML.
6864 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6867 (AddAttributesToRender): fixer another stack overflow.
6870 (TagName): modified to use TagKey instead of tagKey as the property
6873 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6875 * LinkButton.cs: mono-stylized.
6876 (AddParsedSubObject):
6877 (RenderControls): little fixes.
6880 (AddAttributesToRender): fixed usage of IEnumerator.
6882 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6884 * Literal.cs: beautified.
6886 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6888 * Label.cs: beautified and fixed a couple of 'classic' bugs.
6890 * WebControl.cs: use Span as default tag when no other provided in
6891 constructor. That is what MS renders.
6893 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6896 (AddAttributesToRender): fixed (classic) stack overflow.
6898 * CheckBox.cs: mono-stylized.
6899 (AutoPostBack): fixed stack overflow.
6900 (Render): fixed alignment issues. Also set the For attribute always
6903 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6905 * AdRotator.cs: GetData does not work as it should, but now it returns
6906 useful data (only the first ad in the file). Set the NavigateUrl
6907 property in the hyperlink if available.
6909 * HyperLink.cs: fixed constructor and a couple of stack overflows.
6911 * Image.cs: added an attribute and fixed stack overflow.
6914 (RenderBeginTag): fixed.
6915 (TagName): don't call Enum.IsDefined twice.
6917 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6919 * WebControl.cs: added attributes PersistChildrenAttribute and
6920 ParseChildrenAttribute.
6922 2002-05-24 Duncan Mak <duncan@ximian.com>
6924 * DataGridItem.cs (SetItemType): Changed function signature to
6927 * ListItemCollection.cs (this): Changes the visibility level of
6930 * Repeater.cs (OnItemCommand):
6932 (OnItemDataBound): Added necessary casts.
6934 2002-05-07 Duncan Mak <duncan@ximian.com>
6936 * Button.cs (AddAttributesToRender):
6937 * ImageButton.cs (AddAttributesToRender): Added a missing argument to the
6938 GetClientValidatedEvent method.
6940 2002-03-27 Gaurav Vaish <gvaish@iitk.ac.in>
6942 * Removed extra methods, corrected access modifiers to several
6945 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
6947 * <SeveralFiles>.cs - Added some attributes
6948 * FontUnitConverter.cs - Added stubs for GetStandardValues*(..)
6949 methods. Will complete them later. Right now, busy with
6950 the attributes part.
6951 * RepeaterItem.cs - Completed.
6953 Oh God! Mercy! I will die applying attributes. I look at the missing
6954 part in the class-status - daemon! Kyrie eleison!
6956 2002-03-19 Gaurav Vaish <gvaish@iitk.ac.in>
6960 * AdRotator.cs - Added definition for Font.
6961 * BaseCompareValidator.cs - Added definition for Controls.
6962 * Calendar.cs - SelectMonthText definition corrected.
6963 * DataList.cs - Added definition for SeparatorTemplate.
6964 * BorderStyle.cs - Namespace correction. It belongs not to UI,
6965 but to UI.WebControls.
6967 2002-03-17 Gaurav Vaish <gvaish@iitk.ac.in>
6969 Finally, I have made it. Today I did a second build for the
6970 System.Web assembly. It compiled 195 classes today.
6971 I am waiting eagerly for the runtime to come up so that the objects
6972 may be tested to their last levels. Several of the methods are still
6973 under the tag of "TODO" throwing NotImplementedException. Well, I
6974 hope to remove them soon, but how far is this soon - even I don't
6975 know, though I am happy to make the build a success even before
6976 the vacations to come.
6978 2002-03-07 Gaurav Vaish <gvaish@iitk.ac.in>
6980 Yesterday and today I tried to do some building of the aseembly,
6981 but was dumped with uncoutably infinite errors. ;-)
6982 I have put the copies of the recent errors on my home page, want
6983 to have a look at them? See:
6984 http://mastergaurav.virtualave.net/mono/
6985 I don't know what to do with these errors. Oh! The buggy me! How
6986 will I overcome myself. Hopefully, by when my vacations over, I
6987 should have made a repository where the build will not fail.
6989 2002-03-05 Gaurav Vaish <gvaish@iitk.ac.in>
6991 I am now going to do a build that will include the
6992 System.Web.UI.WebControls namespace. Hoping that I will make it
6993 soon. My exams are coming near and I have to pack up soon.
6996 2002-03-04 Gaurav Vaish <gvaish@iitk.ac.in>
6999 And with this, ie, today's work, all the objects mentioned in the
7000 namespace appear in the implementation. But it may not be worth
7001 trying to go for a build because of dependence of several of the
7002 internal methods that may clash with already available assembly
7005 Also, the classes lack possible attributes, like those informing
7006 about child-controls etc. But I have to first create the attribute
7007 classes before I attach the attributes to the classes.
7009 * CustomValidator.cs - Completed. In process realized that
7010 I have to complete / rejuvinate BaseValidator class.
7011 * BaseValidator.cs - Complete rejuvination. Completed 80%
7012 of the job. All that is left is Render(HtmlTextWriter),
7013 DetermineRenderUplevel(), RegisterValidatorCommonScript()
7014 RegisterValidatorDeclaration()
7015 * DataGridPagerStyle.cs - Completed. That adds one more missle
7017 * DataKeyCollection.cs - Completed. Petty small.
7018 * Repeater.cs - Work started off. This is a quite
7020 * DataGridItemEventArgs.cs,
7021 * DataGridShortCommandEventArgs.cs,
7022 * DataListItemEventArgs.cs,
7023 * MonthChangedEventArgs.cs,
7024 * RepeaterItemEventArgs.cs,
7025 * ServerValidateEventArgs.cs,
7026 * DataGridPageChangedEventArgs.cs
7027 - Damn, I marked them "*", while they
7029 * Repeater.cs - Done all except for an undocumented
7030 method CreateControlHierarchy(bool). Though the method
7031 is quite clear by its name, but it will take some time
7032 for me to come with some material to flush in.
7034 2002-03-03 Gaurav Vaish <gvaish@iitk.ac.in>
7036 * SelectedDatesCollection.cs - Completed.
7037 * PagedDataSource.cs - Completed. Pathetically nice class.
7038 * RegularExpressionValidator.cs
7039 - Completed. Ridiculously small and
7040 annoyinglyc crazy-driving class, basically the method
7042 * RangeValidator.cs - Completed.
7043 * DataGridColumn.cs - Completed.
7044 * EditCommandColumn.cs - All is complete except for the
7045 InitializeCell(TableCell, int, ListItemType) method.
7046 * DataListItem.cs - All done except for a longish method
7047 RenderItem(HtmlTextWriter, bool, bool)
7049 2002-03-02 Gaurav Vaish <gvaish@iitk.ac.in>
7051 * RepeaterItemCollection.cs - Completed.
7052 I love *Collection classes. I am planning to make a
7053 program that will generate a *Collection class. It's so
7054 simple and the same. ;-)
7055 * DataGridColumnCollection.cs - Completed.
7056 ... except probably for *ColumnCollection classes, where
7057 you have to put in some more effort. Still, these class
7058 generation can be automated.
7059 * DataListItemCollection.cs - Completed.
7060 See, how easily, in less than a quarter of a minute, I
7061 completed this class - manually. Copy-Paste/Cut-Replace.
7063 2002-02-21 Gaurav Vaish <gvaish@iitk.ac.in>
7065 * DataGrid.cs - Following methods implemented:
7066 TrackViewState(), LoadViewState(object), SaveViewState(),
7067 On* -- The event raisers.
7068 OnBubbleEvent(object, EventArgs) is still incomplete.
7069 * DataGridItem.cs - Initial Implementation
7070 * DataGridItemCollection.cs - Completed.
7072 2002-02-08 Gaurav Vaish <gvaish@iitk.ac.in>
7074 * DataGrid.cs - Initial Implementation. Worked
7075 primarily with some properties.
7077 2002-02-07 Gaurav Vaish <gvaish@iitk.ac.in>
7079 * ListBox.cs - Completed. Implemented
7080 LoadPostData(string, NameValueCollection)
7081 * RequiredFieldValidator.cs - Completed. Pretty simple class.
7083 2002-02-06 Gaurav Vaish <gvaish@iitk.ac.in>
7085 * ListBox.cs - Implemented the following:
7086 RaisePostDataChangedEvent()
7088 2002-02-02 Gaurav Vaish <gvaish@iitk.ac.in>
7090 * ListBox.cs - Supports the following properties:
7091 BorderColor, BorderStyle, BorderWidth, Rows, SelectionMode,
7094 AddAttributesToRender(HtmlTextWriter), OnPreRender(EventArgs),
7095 RenderContents(HtmlTextWriter)
7098 2002-02-01 Gaurav Vaish <gvaish@iitk.ac.in>
7100 * TargetConverter.cs - Completed
7101 * TemplateColumn.cs - Completed
7102 * DataList.cs - Corrected the get-er methods for the
7103 *Style objects. Corrected the get/set-er methods for ViewState
7105 Addded support for properties:
7106 GridLines, HeaderStyle, HeaderTemplate, ItemStyle, ItemTemplate,
7107 RepeatColumns, RepeatDirection, RepeatLayout, SelectedIndex,
7108 SelectedItem, SelectedItemStyle, SelectedItemTemplate,
7109 SeparatorStyle, SeparatorItemTemplate.
7111 CancelCommand, DeleteCommand, EditCommand, ItemCommand,
7112 ItemCreated, ItemDataBound, UpdateCommand.
7114 CreateControlStyle(), LoadViewState(object),
7115 SaveViewState(), TrackViewState
7117 OnBubbleEvent, OnCancelCommand, OnDeleteCommand,
7118 OnEditCommand, OnItemCommand, OnItemCreated,
7119 OnItemDataBound, OnUpdateCommand
7120 Added dummy methods for some undocumented methods:
7121 CreateControlHierarchy(bool), CreateItem(int, ListItemType),
7122 CreateItem(int, ListItemType, bool, object),
7123 PrepareControlHierarchy(), InitializeItem(DataListItem)
7124 * ListBox.cs - Started working.
7128 2002-01-31 Gaurav Vaish <gvaish@iitk.ac.in>
7130 * RepeaterInfo.cs - Initial Implementation. Done all
7131 except for RepeatDirection.Vertical
7132 * TableStyle.cs - Completed
7134 2002-01-30 Gaurav Vaish <gvaish@iitk.ac.in>
7136 * DropDownList.cs - Completed
7137 * ListItemCollection.cs - Added method FindByValueInternal to
7138 assist in the derived classes.
7139 Discovered bug in FindByValue. Removed
7140 * UnitConverter.cs - Completed
7141 * PlaceHolder.cs - What can be simpler than this?
7142 * PlaceHolderControlBuilder.cs
7143 - Uh! Damn cool one.
7144 * RadioButtonList.cs - Initial Implementation. All is done
7145 except for the implementation of
7146 method IRepeatInfoUser.RenderItem(...)
7147 * ValidatedControlConverter.cs
7148 ^^^^^^^^^^^^^^^^^^^^^^^^^ - Looks complete. Doubtful though !!
7149 * ValidationSummary.cs - Initial Implementation.
7150 * WebColorConverter.cs - Initial Implementation
7152 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
7154 * FontNamesConverter.cs - Completed
7155 * FontUnitConverter.cs - Partial Implementation
7156 * ListItemControlBuilder.cs - Completed
7158 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
7160 * TextBox.cs - All done except *Render* methods
7161 * TextBoxControlBuilder.cs - Completed
7162 * Xml.cs - Partial Implementation
7164 2002-01-26 Gaurav Vaish <gvaish@iitk.ac.in>
7166 * RadioButton.cs - Completed
7167 * TextBox.cs - Partial Implementation
7169 2002-01-25 Gaurav Vaish <gvaish@iitk.ac.in>
7171 * Panel.cs - Completed
7172 * TableItemStyle.cs - Completed
7174 2002-01-18 Gaurav Vaish <gvaish@iitk.ac.in>
7176 * TableCellCollection.cs - Completed
7177 * TableRowCollection.cs - Completed
7178 * TableHeaderCell.cs - Completed
7179 * TableRow.cs - Completed
7181 2002-01-09 Gaurav Vaish <gvaish@iitk.ac.in>
7183 * TableCellControlBuilder.cs - Completed
7184 * Table.cs - Completed
7185 * TableCell.cs - Completed
7187 2002-01-07 Gaurav Vaish <gvaish@iitk.ac.in>
7189 * CheckBoxList.cs - Completed
7190 * ButtonColumn.cs - Completed
7191 * Button.cs - Completed
7193 2001-12-28 Gaurav Vaish <gvaish@iitk.ac.in>
7195 * HyperLink.cs - Completed
7196 * Image.cs - Completed
7197 * ImageButton.cs - Completed
7198 * Label.cs - Completed
7199 * LabelControlBuilder.cs - Completed
7200 * LinkButton.cs - Completed
7201 * LinkButtonControlBuilder.cs - Completed
7202 * Literal.cs - Completed
7203 * LieteralControlBuilder.cs - Completed
7204 * FontUnit.cs - Completed
7207 2001-12-27 Gaurav Vaish <gvaish@iitk.ac.in>
7209 * Calendar.cs - Completed the functions of Render*,
7210 ViewStates (Track/View/Save),
7212 Left: RenderAllDays (partially)
7214 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
7216 * Calendar.cs - Added some more functions
7217 * Style.cs - Completed
7218 * ListItem.cs - Completed
7219 * ListItemCollection.cs - Completed
7221 Made the first successful build of System.Web.dll that included
7222 System.Web.UI.WebControls!
7224 2001-12-20 Gaurav Vaish <gvaish@iitk.ac.in>
7226 FontInfo.cs - Complete revamp. Completed
7228 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
7230 ListItemCollection.cs - Completed
7231 ListItem.cs - Initial Implementation
7232 Style.cs - Initial Implementation
7234 Right now I am in a total mood to do a successful build. Creating so many
7235 classes, completing classes in System.Web System.Web.UI namespaces.
7237 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
7239 TODO - Properly added
7240 CheckBox.cs - Completed
7241 BaseDataList.cs - Completed
7242 DayRenderEventArgs.cs - Completed
7243 RepeaterItem.cs - Initial implementation
7245 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
7247 BaseCompareValidator.cs - Completed
7248 AdRotator.cs - Completed
7250 2001-12-15 Gaurav Vaish <gvaish@iitk.ac.in>
7252 CommandEventArgs.cs - Completed
7253 DataGridCommandEventArgs.cs - Completed
7254 RepeaterCommandEventArgs.cs - Completed
7255 DataListCommandEventArgs.cs - Completed
7256 CompareValidator.cs - Partial Implementation
7258 2001-12-02 Gaurav Vaish <gvaish@iitk.ac.in>
7260 CheckBoxList.cs - Partial Implementation.
7263 2001-12-01 Gaurav Vaish <gvaish@iitk.ac.in>
7265 ListControl.cs - Completed
7267 2001-11-30 Gaurav Vaish <gvaish@iitk.ac.in>
7269 CheckBox.cs - Completed
7270 ListControl.cs - Initial Implementation
7271 CheckBoxList.cs - Started with it, but first needed
7272 ListControl. Left it.
7274 2001-11-29 Gaurav Vaish <gvaish@iitk.ac.in>
7276 CalendarDay.cs - Making a note that this
7277 has been implemented
7278 Calendar.cs - Making a note that have made some changes.
7279 Unimplmented functions throw
7280 NotImplementedException
7281 CheckBox.cs - Can now "Render" and "LoadPostData"
7284 2001-11-08 Gaurav Vaish <gvaish@iitk.ac.in>
7285 WebControl.cs - Total Revamp, Partial Implementation
7286 AdRotator.cs - Able to load files
7287 AdCreatedEventArgs.cs - Implemented
7289 2001-11-05 Gaurav Vaish <gvaish@iitk.ac.in>
7290 Calendar.cs - Initial Implementation
7291 ButtonColumn.cs - Initial Implementation
7292 Button.cs - Initial Implementation
7293 BoundColumn.cs - Initial Implementation
7294 BaseCompareValidator.cs - Minor Changes
7295 DataList.cs, BaseValidator.cs, BaseDataList.cs
7296 - Added more functions, other changes
7298 2001-10-28 Gaurav Vaish <gvaish@iitk.ac.in>
7299 WebControl.cs - Initial Implementation
7300 DataList.cs - Initial Implementation
7301 BaseValidator.cs - Initial Implementation
7302 BaseDataList.cs - Initial Implementation
7304 2001-10-27 Gaurav Vaish <gvaish@iitk.ac.in>
7306 AdCreatedEventArgs.cs - Initial Implementation
7307 AdCratedEventHandler.cs - Implemented
7308 AdRotator.cs - Initial Implementation
7309 BorderStyle.cs - Implemented
7310 ButtonColumnStyle.cs - Implemented
7311 CalendarSelectionMode.cs - Implemented
7312 DayNameFormat.cs - Implemented
7313 FirstDayOfWeek - Implemented
7314 FontInfo.cs - Partial Implementation
7315 FontSize.cs - Implemented
7316 GridLines.cs - Implemented
7317 HorizontalAlign.cs - Implemented
7318 HyperLink.cs - Initial Implementation
7319 ImageAlign.cs - Implemented
7320 IRepeatInfoUser.cs - Implemented
7321 ListItemType.cs - Implemented
7322 ListSelectionMode.cs - Implemented
7323 NextPrevFormat.cs - Implemented
7324 PagerMode.cs - Implemented
7325 PagerPosition.cs - Implemented
7326 RepeatDirection.cs - Implemented
7327 RepeatLayout.cs - Implemented
7328 TextAlign.cs - Implemented
7329 TextBoxMode.cs - Implemented
7330 TitleFormat.cs - Implemented
7331 UnitType.cs - Implemented
7332 ValidationCompareOperator.cs
7334 ValidationDataType.cs - Implemented
7335 ValidationSummaryDisplayMode.cs
7337 ValidatorDisplay.cs - Implemented
7338 VerticalAlign.cs - Implemented
7342 i/ File Created 2001-11-13