1 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
3 * Style.cs: fixed restoring FontInfo from ViewState
5 2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
7 * XmlDataSource.cs: implemented caching functionality
9 2006-07-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
11 * PagerSettings.cs: Fixed the pager range calculation formula. The old
12 one didn't work with more than 20 pages. Patch by Marek Habersack that
15 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
17 * FormView.cs: fixes to make Render more similar to dotnet.
19 2006-07-30 Vladimir Krasnov <vladimirk@mainsoft.com>
21 * Wizard.cs: fixed return value of OnBubbleEvent
23 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
25 * FormView.cs: init BottomPagerRow.ItemIndex with 0; gracefully
26 handle null result of GetData().
28 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
30 * FormView.cs: use TableStyle for ControlStyle.
32 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
34 * FormView.cs: save DataKeyNames and DefaultMode in ControlState.
36 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
38 * FormView.cs: init DataKeys and fix null reference.
40 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
42 * TreeView.cs: several changes to improve compatibility with MS.
43 Patch by Marek Habersack that fixes bug #77551.
45 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
47 * Style.cs: output the text-decoration value even when it is 'none'.
48 Patch by Marek Habersack that fixes bug #78968.
50 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
52 * FormView.cs: initialize PageCount with 0; fix IsBindableType to
55 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
57 * DetailsViewRowCollection.cs: returns this in SyncRoot.
59 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
61 * FormView.cs: throw ArgumentOutOfRange exception on bad CellSpacing
64 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
66 * ObjectDataSource.cs: add doc and fix usage of MergeParameterValues
68 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
70 * AutoGeneratedField.cs: fix the internal constructor according to test
71 DetailsView_CreateAutoGenerateRow.
73 2006-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
75 * XmlDataSource.cs: implemented XSLT, removed properties from
77 * XmlDataSourceView.cs: fixed default xpath
79 2006-07-26 Andrew Skiba <andrews@mainsoft.com>
81 * DetailsView.cs: fix IsBindableType in accordance with MSDN and tests.
83 2006-07-25 Vladimir Krasnov <vladimirk@mainsoft.com>
85 * Wizard.cs: fixed ActiveStep property
86 fixed templated side bar
88 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
90 * ImageField.cs: fix null reference bug.
92 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
94 * DetailsView.cs: init DataKey property with empty collection.
95 * DataKey.cs: fix unexpected exception bug.
96 * DataControlField.cs: override ToString according to MSDN.
98 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
100 * DetailsView.cs: create table style in CreateControlStyle.
102 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
104 * DetailsView.cs: don't throw the exception which .Net does not throw.
106 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
108 * DetailsView.cs: save DefaultMode and DataKeyNames in control state,
109 to match .Net; fix PageCount to match record count.
111 2006-07-24 Vladimir Krasnov <vladimirk@mainsoft.com>
113 * Menu.cs: fixed properties default values, fixed rendering
116 2006-07-23 Vladimir Krasnov <vladimirk@mainsoft.com>
118 * Wizard.cs: implemented SkipLinkText, TagKey
119 fixed rendering bugs, fixed templated button bar rendering
120 fixed side bar rendering
121 * WizardStepBase.cs: fixed Name property
123 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
125 * DetailsView.cs: fix the regressions, caused by the previous commit.
127 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
129 * DetailsView.cs: correct handling the different default values of
130 DetailsView.CellSpacing and Table.CellSpacing.
132 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
134 * DetailsView.cs: create a pager row when needed.
136 2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
140 * PagedDataSource.cs:
143 * LinkButton.cs: implement GetPostBackOptions for the 2.0 controls that
144 support it. The GridView control will no longer throw an exception when
145 rendered in the paging mode. Patch by Marek Habersack. Fixes bug #78288.
147 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
149 * DetailsView.cs: many fixes: initialize PageCount with 0; initialize
150 Rows with empty collection; call EnsureChildControls from get Row;
151 NullReference in DeleteItem; fix RenderGrid (ideas from GridView);
152 implemented IPostBackContainer.GetPostBackOptions.
154 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
156 * DetailsView.cs: create HeaderRow and FooterRow even when HeaderText
157 and FooterText are empty, to match .NET. Otherwise we have NullReference
160 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
162 * DetailsView.cs: Render fix.
164 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
166 * BoundField.cs: don't call DataBinder.GetPropertyValue with empty
169 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
171 * DetailsView.cs: NullReferenceException fix
173 2006-07-20 Vladimir Krasnov <vladimirk@mainsoft.com>
175 * PagerSettings.cs: implemented PropertyGhanged event
177 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
179 * DetailsView.cs: throw ArgumentOutOfRangeException for compatibility
180 with .Net; don't throw NotImplemented when base class implementation
183 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
185 * DetailsViewPagerRow.cs: add a stub for this class
187 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
189 * GridView: fixed DataKeyNames property, moved to ControlState
190 fixed PageCount property, initial PageCount ahould be zero
191 fixed SelectedDataKey, should throw exception if not initialized
192 fixed CreateColumns, wrong order of columns
193 fixed CreateControlStyle,
194 fixed InitializePager, no columnspan attrib on only one column
195 fixed LoadControlState, SaveControlState added DataKeyNames
196 fixed Render, RenderGrid should render within div tag
197 implemented GetPostBackOptions
198 * DataControlButton.cs: fixed Render, fixed style for img button
200 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
202 * CheckBoxField.cs: fixed InitializeDataCell, tooltip only in edit
205 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
207 * CommandField.cs: fixed ValidateSupportsCallback
209 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
211 * Image.cs: prepare to use HttpBrowserCapabilities. Does not
214 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
216 * SiteMapPath.cs: fixes for SiteMapPathTest.Render_xxx tests.
218 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
220 * WebControl.cs: fix for AddAttributesToRender - add display
221 style when appropriate
223 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
225 * CommandField.cs: fixed InitializeCell, wrong order of command
227 * ImageField.cs: image field with null src and ConvertEmptyStringToNull
228 should be rendered as label
229 * BoundField.cs: empty null value should be rendered as nbsp
230 * GridViewRowCollection.cs: fixed SyncRoot
232 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
234 * SiteMapPath.cs: create Literal instead of Label according to the
235 MSDN and test SiteMapPath_InitializeItem.
237 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
239 * Style.cs: BorderStyle should be added if BorderWidth greater than 0
240 * Image.cs: in 2.0 there is no border attribute, but border-width
243 2006-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
245 * Button.cs: always render the 'name' attribute. Fixes bug #78746.
247 2006-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
249 * DataList.cs: correctly initialize editable items when there's an
250 EditItemTemplate. Patch by Jarosław Pawlak.
252 2006-07-13 Juraj Skripsky <js@hotfeet.ch>
254 * CheckBox.cs (LoadPostData): the value of a disabled checkbox remains
257 2006-07-13 Vladimir Krasnov <vladimirk@mainsoft.com>
259 * BulletedList.cs: fixed Render, RenderBulletText, various properties
260 * ListItem.cs, ListItemCollection.cs: added Enabled property that is
263 2006-07-12 Vladimir Krasnov <vladimirk@mainsoft.com>
265 * MultiView.cs: 'initied' state variable was changed to views count in
266 the views collection.
268 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
270 * AutoGeneratedField.cs: fixed InitializeDataCell, autogenerated
271 checkbox should have tooltip
272 * HyperLinkField.cs: fixed InitializeCell, should create link control
273 only in data cell (not in header or footer), initialization of
275 * ImageField.cs: fixed InitializeDataCell, initialization of
278 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
280 * MultiView.cs: removed exception throwing from ActiveViewIndex
282 2006-07-11 Konstantin Triger <kostat@mainsoft.com>
284 * DataControlFieldCollection.cs: added OnClearComplete override;
285 refactor to eliminate null reference exception.
287 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
289 * MultiView.cs: fixed ActiveViewIndex, AddParsedSubObject
290 * View.cs: fixed Visible property
292 2006-07-09 Konstantin Triger <kostat@mainsoft.com>
294 * ImageField.cs: fixing .net compliancy.
296 2006-07-10 Andrew Skiba <andrews@mainsoft.com>
298 * SiteMapPath.cs: fix the default PathSeparator value.
300 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
302 * GridView.cs: always create Header/Fotter rows, but render only when
303 ShowHeader/Footer is true. Compute Header/Footer rows from rows
305 * CheckBoxField.cs: add override to ApplyFormatInEditMode,
306 add ToolTip and Text to the created CheckBox,
307 wrap exception thrown in OnDataBindField in httpException.
309 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
311 * DataControlField.cs,BoundField.cs: bug fixes found by BoundFieldTest.
313 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
315 * DataControlField.cs: correct handling empty header/footer text.
316 * TemplateField.cs: correct initialization according to
319 2006-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
321 * Wizard.cs: added functionality for Templated WizardStep
323 * added CompleteWizardStep.cs, CreateUserWizard.cs,
324 CreateUserWizardStep.cs, TemplatedWizardStep.cs
326 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
328 * AutoGeneratedField.cs: correcting default dataType.
330 2006-07-03 Vladimir Krasnov <vladimirk@mainsoft.com>
332 * DataControlField.cs: fixed Initialize, should always return false
334 2006-07-03 Lluis Sanchez <lluis@novell.com>
336 * BoundField.cs: Fix setter for HtmlEncode (it was setting always True).
338 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
340 * DataBoundControl.cs: implement MarkAsDataBound and consider it while
341 setting RequiresDataBinding in OnLoad event.
342 * GridView.cs: DataBind rows before other control can access the data.
343 * BoundField.cs: add unique ID to control for postback parameters.
345 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
347 * WebControl.cs: fix typo in EnableTheming.
349 2006-07-02 Konstantin Triger <kostat@mainsoft.com>
351 * MenuItemCollection.cs: save items if the collection is dirty.
352 * MenuItem.cs: During data binding: initialize Text and invoke binding recoursively.
353 Add item to collection before binding to let the state be correctly tracked.
354 * Menu.cs: Add item to collection before binding to let the state be correctly
357 2006-06-28 Juraj Skripsky <js@hotfeet.ch>
359 * RegularExpressionValidator.cs (EvaluateIsValid): wrap regex to
360 test against with "^...$" if necessary. MS.NET does this too.
362 2006-06-28 Vladimir Krasnov <vladimirk@mainsoft.com>
364 * WizardStepCollection.cs: Fixed Add methods to initialize
365 WizardStep.Wizard property
366 * Wizard.cs: Fixed ActiveStepIndex, it should be -1 if there no steps
367 Fixed GetStepType, if only one step present, it should be FinishStep
368 Fixed styles of tables for more accurate rendering, fixed Wizard
371 2006-06-28 Konstantin Triger <kostat@mainsoft.com>
373 * FormView.cs: instantiate correct template when the bounding data source is
376 2006-06-25 Konstantin Triger <kostat@mainsoft.com>
378 * FormView.cs: disabling setting out of range FormView.PageIndex.
380 2006-06-21 Andrew Skiba <andrews@mainsoft.com>
382 * FileUpload.cs: added
384 2006-06-20 Andrew Skiba <andrews@mainsoft.com>
386 * FormView.cs: handle CssClass attribute
388 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
390 * Button.cs: do something in PostBackUrl.
391 * Repeater.cs: when creating the RepeaterItemCollection, initialize
392 'items' if it hasn't been done yet. Fixes bug #78417.
394 2006-06-14 Vladimir Krasnov <vladimirk@mainsoft.com>
396 * BaseDataList.cs: added ConnectToDataSource method that called from
397 OnLoad, fixed GetData method
398 * Wizard.cs: fixed bug when called MoveTo after that control hierarchy
401 2006-06-14 Andrew Skiba <andrews@mainsoft.com>
403 * Menu.cs: add CssStyle value to the rendered class attribute
405 2006-06-13 Juraj Skripsky <js@hotfeet.ch>
407 * Calendar.cs: Make sure WebControls.Enabled is respected.
408 * SelectedDatesCollection.cs: Set time for all DateTime object passed in
409 to 12:00am as MS.NET does the same.
412 2006-06-13 Vladimir Krasnov <vladimirk@mainsoft.com>
414 * Repeater.cs: fixed ConnectToDataSource method, subscribed to
415 DataSourceViewChanged, looks for a datasource in its parent control
416 fixed GetData method, should not get data if datasource is null
418 2006-06-13 Konstantin Triger <kostat@mainsoft.com>
420 * ObjectDataSourceView.cs: raise OnDataSourceViewChanged events when data changes.
422 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
424 * GridView.cs: set the row index from GridRowView if CommandArgument does not contain this information.
426 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
428 * ObjectDataSourceViewTest.cs: return documented default for OldValuesParameterFormatString.
430 2006-05-24 Vladimir Krasnov <vladimirk@mainsoft.com>
432 * DataList.cs: Fixed LoadViewState method
434 2006-05-04 Lluis Sanchez <lluis@novell.com>
436 * BoundField.cs: Added missing throw kyword. Patch by Marek Habersack.
438 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
440 * BaseDataBoundControl.cs: ensure the control is bound if ViewState is disabled.
442 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
444 * FormView.cs: fix FormView.PageCount after data binding.
446 2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
448 * CheckBox.cs: certain attributes have to be rendered in the input tag,
449 not the <span>. Fixes bug #71251.
451 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
453 * BaseDataBoundControl.cs: RequiresDataBinding rebinds if the control prerendered.
456 ensure rebinding when FormView.PageIndex is called.
457 and bind to the correct PageIndex.
459 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
461 * MenuItem.cs: when binding to IHierarchyData, check whether
462 it implements INavigateUIData and retrieve NavigateUrl.
463 * CompositeDataBoundControl.cs: ensures data is bound before creating child controls.
465 Enable DataBinding by not throwing NotImplementedException in OnDataBound event.
466 Provide basic CreateChildControls implementation by ensuring the control is bound.
467 Ensure the child controls are created when the postback event is raised.
468 Provide default implementation for SkipLinkText to let the default functionality to work.
470 2006-04-11 Lluis Sanchez <lluis@novell.com>
472 * TreeNodeBinding.cs: Added HasPropertyValue property
473 to check if some properties have a value in the
475 * TreeNode.cs: Lazily get the dataPath. Instead of getting
476 bound properties when they are requested, get all of
477 them when the node is bound and store their values in
478 the state bag. In this way it won't be necessary to
479 query every time the datasource to get the values.
480 * XmlHierarchyData.cs: Implemented IHierarchyData.Path.
481 * TreeView.cs: Call base in OnInit(). Bind nodes after
482 adding them to the list, to properly keep track of
483 changes. Don't databind in postbacks.
485 2006-04-11 Chris Toshok <toshok@ximian.com>
487 * Login.cs (OnLoggingIn): use Events[loggingInEvent].
489 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
491 * BaseDataList.cs: Fix searching control by DataSourceID.
492 * DataList.cs: Enable binding using DataSourceID for NET_2_0.
495 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
497 * Login.cs: Added LayoutTemplate property support.
498 * LoginView.cs: Added LoggedInTemplate, AnonymousTemplate support.
499 DataBind: correctly bind child controls.
500 Implemented OnViewChanged, OnViewChanging, Render, Save/LoadControlState.
502 2006-03-29 Robert Jordan <robertj@gmx.net>
504 * DataGrid.cs: if custom paging is enabled the persisted item count
505 must be the count of the rendered items, otherwise paging from the
506 last to a previous page won't work correctly. Fixes bug #77556.
508 2006-03-29 Vladimir Krasnov <vladimirk@mainsoft.com>
510 * RepeatInfo.cs: fixed RenderBeginTag to set enabled value of table
511 when rendering disabled list control
513 2006-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
515 * Panel.cs: render the image url inside 'url()'. Fixes bug #77811.
517 2006-03-28 Alexandre Miguel Pedro Gomes <alexmipego@gmail.com>
519 * FontInfo.cs: Implemented ShouldSerializeNames
521 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
523 * DataGrid.cs, DataList.cs, RepeatInfo.cs: added accessablity features
525 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
527 * DataGrid.cs: fixed CreateControlHierarchy, added CurrentPageIndex
529 in PrepareControlHierarchy fixed style applying to AlternatingItem
531 2006-03-22 Vladimir Krasnov <vladimirk@mainsoft.com>
533 * DataList.cs: fixed RepeatColumns property, added value validation
534 in PrepareControlHierarchy method fixed style applying for
535 AlternatingItem, EditItem and Separator item
536 fixed RenderContents method, if no items exist, no nned to
537 render emty table strructure.
539 2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
541 * CompareValidator.cs: when searching for the control to compare, use
542 NamingContainer instead of Page. Fixes bug #77793.
544 2006-03-15 Chris Toshok <toshok@ximian.com>
546 * SiteMapPath.cs (InitializeItem): in the Current and Root node
547 cases, apply the NodeTemplate if it exists and there isn't a
548 CurrentNodeTemplate or RootNodeTemplate, respectively.
550 2006-03-15 Chris Toshok <toshok@ximian.com>
552 * SiteMapDataSourceView.cs (OnDataSourceViewChanged): override.
554 * SiteMapDataSource.cs (StartingNodeOffset): new property.
555 (GetStartNode): add code to handle StartNodeOffset < 0.
557 * CompositeControl.cs
558 (ICompositeControlDesignerAccessor.RecreateChildControls): just
559 call the non-iface method.
561 * DataBoundControl.cs (GetDataSource): this is likely wrong, but
562 traverse up the naming container tree looking for our datasource
563 if we're bound using a DataSourceID. This fixes things in the
564 sitemap1 test, which uses a mixture of templates and
565 ContentPlaceholders with the sitemapdatasource and sitemappath at
566 different levels in the naming container tree (let along the
569 * SiteMapPath.cs (DataBind): implement this by chaining up to
570 base.DataBind, then by looping over our children, emitting
571 OnItemDataBound for each SiteMapNodeItem.
572 (AddAttributesToRender): remove.
573 (CreateChildControls): call DataBind as the final step here.. I
574 have, of course, no idea if this is right.
575 (CreateControlHierarchy): don't databind our children here, as
576 they need to be in the Controls collection before we do.
577 (RenderContents): render our accessibility/screenreader stuff
578 here, if SkipLinkText != "".
580 2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
582 * DataGridPagerStyle.cs: fixed PrevPageText property
584 2006-03-13 Chris Toshok <toshok@ximian.com>
586 * BaseCompareValidator.cs (Convert): make the
587 ValidationDataType.String case a bit more compact.
589 2006-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
592 (RenderContents): don't call base.RenderContents. Fixes bug #77740.
593 Patch by Hubert Fongarnand.
595 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
597 * FontInfo.cs: fixed CopyFrom, this method should not reset the
598 received fontinfo if it is the same instance
599 fixed ToString, corrected output where only font size specified
601 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
603 * Style.cs: fixed WriteStyleAttributes to set border style to solid,
604 if it not set but the border has width
605 fixes in CopyFrom, MergeWith correct unit compare when it has zero
608 2006-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
610 * DataGrid.cs: in AddColumnsFromSource method fixed columns from
611 properties of custom class
612 fixed InitializeNumericPager, pager numbers should be a Label control
613 fixed CreateControlHierarchy, corrected dataset index of items if
616 2006-03-09 Vladimir Krasnov <vladimirk@mainsoft.com>
618 * DataList.cs: fixed DoItemInLoop method that fixes itemIndex
620 fixed CreateControlStyle to set correct cellspacing of table style
621 fixed InitializeItem to correct applying template to selected and
624 2006-03-08 Chris Toshok <toshok@ximian.com>
626 * SiteMapNodeType.cs: nuke.
628 * BorderStyle.cs, ButtonColumnType.cs, CalendarSelectionMode.cs,
629 DayNameFormat.cs, ListItemType.cs, ListSelectionMode.cs,
630 NextPrevFormat.cs, PagerMode.cs, PagerPosition.cs,
631 RepeatDirection.cs, RepeatLayout.cs, TableRowSection.cs,
632 TextAlign.cs, TextBoxMode.cs, TitleFormat.cs,
633 ValidationCompareOperator.cs, ValidationDataType.cs,
634 ValidationSummaryDisplayMode.cs, ValidatorDisplay.cs: remove
635 [Serializable] in 2.0.
637 * DayNameFormat.cs: add "Shortest".
639 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
641 * LinkButton.cs: fixed AddAttributesToRender, removed not needed
644 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
646 * TextBox.cs: fixed missing value validations, fixed rendering
647 of empty value attribute
649 2006-03-07 Chris Toshok <toshok@ximian.com>
651 * WebControl.cs (EnableTheming): leave the MonoTODO, but implement
652 by chaining up to base.EnableTheming.
654 2006-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
656 * DataList.cs: fixed CreateControlHierarchy, fixes 77693
658 2006-03-06 Vladimir Krasnov <vladimirk@mainsoft.com>
660 * RadioButton.cs: added ValueAttribute property to store the button
662 * RadioButtonList.cs: fixed tab index when rendering.
664 2006-03-02 Chris Toshok <toshok@ximian.com>
666 * WebControl.cs (SkinID): implement setter/getter, and have them
667 just chain up to base.SkinID.
669 2006-02-27 Chris Toshok <toshok@ximian.com>
671 * SqlDataSource.cs: track change to DataSourceControl's protected
674 * AccessDataSource.cs: same.
676 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
678 * ListControl.cs: fixed SelectedIndex property, fixed selection
679 reset on incorrect value
681 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
683 * TableStyle.cs: fixed AddAttributesToRender function, style
684 BorderCollapse:Collapse was added if table's CellSpacing is zero
686 2006-02-23 Chris Toshok <toshok@ximian.com>
688 * CheckBox.cs, ContentControlBuilderInternal.cs, Content.cs,
689 ContentPlaceHolderBuilder.cs, ContentPlaceHolder.cs,
690 DataControlFieldHeaderCell.cs, DataGridColumn.cs,
691 HierarchicalDataBoundControl.cs, HyperLinkField.cs,
692 ImageButton.cs, ImageField.cs, Literal.cs,
693 ObjectDataSourceView.cs, TextBox.cs: more corcompare work.
695 * BaseCompareValidator.cs, BaseValidator.cs, Button.cs,
696 DataControlField.cs, DetailsView.cs, FormView.cs, GridView.cs,
697 HotSpot.cs, LinkButton.cs, Login.cs, SiteMapDataSource.cs,
698 SqlDataSourceCommandType.cs, TableSectionStyle.cs,
699 TemplateField.cs, TreeNodeCollection.cs, TreeNode.cs, TreeView.cs,
700 ValidationSummary.cs, WizardStepBase.cs: fix tons of corcompare
701 errors. most were caused by a property/method being virtual when
702 it shouldn't be, or vice versa.
704 2006-02-22 Chris Toshok <toshok@ximian.com>
706 * ObjectDataSource.cs: corcompare work.
708 2006-02-22 Chris Toshok <toshok@ximian.com>
710 * ParameterCollection.cs: add an EditorAttribute to the class.
712 * Parameter.cs: cleanup, fix the Value property, and implement the
715 * SqlDataSourceView.cs: clean things up a bit, and add handling
718 2006-02-22 Chris Toshok <toshok@ximian.com>
720 * SqlDataSourceFilteringEventArgs.cs: formatting.
722 * SqlDataSourceSelectingEventArgs.cs: remove ExecutingSelectCount,
723 both the property and ctor arg.
725 * AccessDataSourceView.cs (ExecuteSelect): use SelectingEventArgs,
726 not CommandEventArgs. Also, cast the return value of
727 oleCommand.ExecuteReader.
729 * AccessDataSource.cs (.ctor): fix the ctors and remove FIXME
731 (GetDbProviderFactory): implement naively, and leave a MonoTODO.
732 (GetPhysicalDataFilePath): implement, again naively. this is
733 where the NRE is generated when we access ConnectionString in a
735 (ConnectionString): dynamically generate this based on our
737 (DataFile): clear the ConnectionString in the setter so we'll
739 (ProviderName): use base.ProviderName in the getter, not
740 this.ProviderName, so we don't recurse infinitely.
742 * SqlDataSourceView.cs: start reworking this class.
744 * SqlDataSource.cs (GetDbProviderFactory): implement this,
745 following the MS docs on the matter (if ProviderName is null/"",
746 return SqlClientFactory.Instance.)
747 (GetDbProviderFactoryInternal): add an internal method for use by
749 (TrackViewState): don't invoke View.TrackViewState unless we have
751 (Selecting): change event handler type to match MS.
752 (Filtering): add missing event.
753 (View): call CreateDataSourceView, don't just create an
756 2006-02-21 Chris Toshok <toshok@ximian.com>
758 * BoundField.cs: ues the ViewState.Get* pattern with default
759 instead of the explicit ViewState lookup + null check, and fix the
760 scope of InitializeDataCell.
762 * ButtonField.cs: ues the ViewState.Get* pattern with default
763 instead of the explicit ViewState lookup + null check.
765 * CommandField.cs: same.
769 * AutoGeneratedFieldProperties.cs: same.
771 * BaseDataList.cs: same.
773 * CircleHotSpot.cs: same.
775 * BulletedList.cs: same.
777 * DataBoundControl.cs: same.
779 * CookieParameter.cs: same.
781 * ControlParameter.cs: same.
783 * CustomValidator.cs: same.
785 * ButtonFieldBase.cs: same.
787 * CheckBoxField.cs: same, and fix the scope of InitializeDataCell.
789 * AutoGeneratedField.cs: fix scope of InitializeDataCell.
791 * BaseValidator.cs: same, and clean up the getter/setter formatting.
793 * CompareValidator.cs: same.
795 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
797 * ListControl.cs: fixed DataSource property, to throw
798 ArgumentException on incorrect value
800 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
802 * Image.cs: fixed missing border="0" attribute, when image has style,
803 but border width is not specified.
805 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
807 * CheckBox.cs: fixed InternalAddAttributesToRender, Render to
808 correct the "disabled" attribute in CheckBoxList
809 * CheckBoxList.cs: fixed RenderItem, to correct the "disabled"
810 attribute in CheckBoxList
812 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
814 * CheckBox.cs: fixed Render function, removed rendering of empty
815 <span> element if ControlStyleCreated but it's empty.
816 fixed "disabled" attribute, it should be placed into span element
818 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
820 * BoundColumn.cs: fixed InitializeCell function, if DataField is
821 null or empty string, the cell should not be bound.
823 2006-02-08 Chris Toshok <toshok@ximian.com>
825 * ListControl.cs (OnDataBinding): in 2.0, only clear our items if
826 AppendDataBoundItems != false. Also, split all the databinding
827 logic out to DoDataBinding, which we call from here only if
829 (DoDataBinding): new function. actually perform the binding.
830 (PerformDataBinding): implement.
831 (PerformSelect): chain up to base class.
833 2006-02-07 Chris Toshok <toshok@ximian.com>
835 * ContentPlaceHolder.cs: fix ToolboxDataAttribute.
837 * Content.cs: use ContentControlBuilderInternal, and add a bunch
838 of unused (for now) EventHandler's here.
840 * ContentControlBuilderInternal.cs: rename ContentControlBuilder
843 2006-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
845 * ListControl.cs: bound checking for Items when loading the control
846 state, as the number might have been changed on the fly. Patch by
849 2006-01-22 Chris Toshok <toshok@ximian.com>
851 * CheckBox.cs: s/GetPostBackClientEvent/GetPostBackEventReference.
853 * MultiView.cs (OnBubbleEvent): case the rhs to a string to get
854 the intended comparison right and quiet mcs.
856 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
858 * Button.cs: Add semicolon after client script if does not exist.
860 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
862 * Button.cs: preserve user logic when adding client validation.
864 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
866 * BaseValidator.cs: fixing visibility bahavior
868 2006-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
870 * RangeValidator.cs: allow empty data from the control. Patch from Marek
871 Habersack that fixes bug #77239.
873 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
875 * Calendar.cs: use the DateTimeFormatInfo from the current thread. Patch
876 by Cyrille Colin. Closes bug #77184.
878 2006-01-08 Konstantin Triger <kostat@mainsoft.com>
880 * PagedDataSource.cs, DataGrid.cs: TARGET_JVM changes to let the
881 compilation pass with csc 1.1.
883 2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
885 * DropDownList.cs: HtmlEncode the item text. Fixes bug #76949.
887 2005-12-07 Chris Toshok <toshok@ximian.com>
889 * BaseValidator.cs: in the uplevel rendering case, don't render
890 the text if the validator's Display attribute is "None". Should
893 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
895 * RadioButton.cs: if the 'value' attribute is set explicitly (as
896 RadioButtonList does now), use that as the 'name' attribute.
897 * RadioButtonList.cs: set the AutoPostBack and Enabled properties of
902 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
904 * CheckBox.cs: add possible 'internal' attributes to the input tag. Fix
905 the 'name' attribute when not aligninng to the right.
906 * RadioButton.cs: use NameAttribute instead of GroupName when indexing
907 the collection. Raise the OnCheckedChanged event. Fixes bug #76710.
909 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
911 * DataGrid.cs: clear the control collection on every call to
912 CreateControlHierarchy. Fixes bug #76732.
914 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
916 * ListBox.cs: Rows and SelectionMode are virtual in 1.1
918 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
920 * CheckBox.cs: use the NameAttribute property for setting 'name'.
921 * RadioButton.cs: get a UniqueID based identifier for 'name'.
924 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
926 * LinkButton.cs: don't output any javascript when the linkbutton is
927 disabled. Fixes bug #76713.
929 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
931 * DataGrid.cs: use TableHeaderCell instead of TableCell for headers when
932 UseAccesibleHeader property is true. Patch by Robert Jordan.
934 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
936 * BaseValidator.cs: 'controltovalidate' must be the ClientID of the
937 control to validate. Fixes bug #76641.
939 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
941 * BoundColumn.cs: when the column is readonly and we're in edit mode,
942 keep it as a TextBox. Fixes bug #76714.
944 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
946 * ListBox.cs: render the 'onchange' attribute when AutoPostback is
947 enabled. Fixes bug #76608.
949 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
951 * CheckBox.cs: AddAttributesToRender was extra in 1.1, so moved all
952 the logic to Render and make it render the ID, which fixes bug #76596.
954 2005-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
956 * Repeater.cs: someone forgot the curly brackets. Fixes bug 76537.
958 2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
960 * Literal.cs: allow LiteralControl as child, but instead of adding it
961 to the control collection, it just gets the Text out of it.
963 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
965 * PagedDataSource.cs: fix range when we're at the last page.
966 * DataGrid.cs: only need to keep the item count in the viewstate.
969 2005-10-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
971 * ListControl.cs: made GetSelectedIndices() internal.
972 * ListBox.cs: html-encode the item text. Fixed single and multiple
973 selection handling. All the tests pass now. Closes bug #76478.
975 2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
977 * ListControl.cs: throw when the selected value is not in the
978 items collection. Fixes bug #76415.
980 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
982 * BaseDataList.cs: Type.GetTypeCode was fixed and now does not
983 throw a nullref, so we have to do it by ourselves here to make
986 * BaseValidator.cs: render the text of the error message even if
987 we set IsValid programatically. Don't use 'valid' directly, as
992 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
994 * CustomValidator.cs: an empty ControlToValidate is valid.
996 2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
998 * RequiredFieldValidator.cs: Added missing permissions.
1000 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1002 * DataList.cs: copied and adapted PrepareControlHierarchy from DataGrid.
1003 Now the items get the attributes from the styles in datalist. Add the
1004 separators after each item, not before. GetItemStyle returns the actual
1005 item style, not the styles in the datalist. Fixes bug #76384 and all
1008 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1010 * Style.cs: add a 'border-style: solid' to make IE happy. Fixes bug
1013 2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1015 * TemplateColumn.cs: SelectedItem was missing from the select (). Fixes
1018 2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
1020 * FontInfo.cs: Gendarme strikes again. Sealed class have no need for
1021 inheritance demands.
1022 * FontUnit.cs: Structs are sealed so there's no need for inheritance
1024 * Unit.cs: Structs are sealed so there's no need for inheritance
1027 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1029 * PagedDataSource.cs: fix the upper bound for collection and ilist
1032 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1034 * DataGrid.cs: change the ListItemType for the item selected, set
1035 SelectedIndex before calling OnSelectedIndexChanged and set the selected
1036 item type correctly when creating the columns. Fixes bug #76334.
1039 * EditCommandColumn.cs: use a ForeColorLinkbutton, otherwise when
1040 selecting the row, the button keep the regular link color.
1042 * DataGridColumn.cs: made the class internal.
1044 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1046 * DataGrid.cs: fix breakaga of alternating item style in one of my
1049 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1051 * Calendar.cs: remove Console.
1052 * ListBox.cs: the name is the UniqueID, not the ClientID.
1053 * WebControl.cs: Attributes is case insensitive.
1055 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1057 * ImageButton.cs: use UniqueID in LoadPostData and also try just the
1058 UniqueID without appending a ".x" or ".y". Fixes several issues in
1059 mojoPortal. Thanks to Joe Audetter for his patience.
1061 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1063 * ButtonColumn.cs: it was lacking databinding, so copied most of it
1066 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1068 * FontInfo.cs: removed useless ctor.
1069 * Style.cs: keep here some commented out debugging code.
1070 * DataGrid.cs: the Items property does not create a new arraylist if
1071 the items_list was already initialized. Add case for Separator.
1072 * DataGridColumn.cs: when sorting is enabled, the linkbutton rendered
1073 in the header columns has a special ForeColor handling.
1075 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1077 * DataGrid.cs: PageCount must persist in ViewState too and returns the
1078 number of pages in the paged data source once we set that. Fix checks
1079 for visibility of the pager: no more 2 pagers when custom paging is
1082 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1084 * ImageButton.cs: fix a bug reported on the list. We were triggering the
1085 command event on every POST. And the 'name' attribute was not being
1086 rendered, so the 'x,y' coordinates didn't have 'uniqueid.' prepended
1087 and we couldn't find the values.
1089 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1091 * DataGrid.cs: fix the links for the numeric pager.
1093 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1095 * DataGrid.cs: when paging is enable, the actual number of items is not
1096 the number of items rendered before the postback, but that number times
1097 the number of pages. Now we store the page count in the viewstate. Also,
1098 as the number might be big, don't allocate an array of objects to fake
1099 the collection for the PagedDataSource, but use the new NCollection
1100 class instead, which provides cheap (memory wise) enumerator for an
1101 arbitrary number of items. Thanks to "Adriano" for the test case.
1103 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1105 * Xml.cs: the show must go on. Removed a few NotImplemented.
1107 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1109 * Button.cs: implemented 2.0 RaisePostBackEvent in terms of the
1110 existing code in 1.1 (or viceversa). RenderContents() does nothing.
1112 * DataGrid.cs: changed autoid api.
1114 * EditCommandColumn.cs: only 'Update' causes validation.
1116 * TableCell.cs: changed autoid api. RenderContents checks the number
1117 of controls to decide what to do, not the value of Text in the
1120 * TableRow.cs: changed autoid api.
1122 * BoundColumn.cs: SelectedItem was missing when attaching a DataBind
1123 event. When we get an EditItem, we need a TextBox to be created and
1124 this one will be the one that gets the event. Changed
1125 ItemDataBinding to deal with a TextBox too.
1127 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1129 * PagedDataSource.cs: fix IsLastPage. All tests pass.
1130 * DataGrid.cs: InitializePager always add a cell and it's brand new. No
1131 need to keep the old one in a field. Now all tests pass here too.
1133 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1135 * PagedDataSource.cs: don't use the properties when they just return a
1136 field. Fixed Count when paging is enabled. In GetEnumerator, IList goes
1137 before ICollection (otherwise, an IList will always fall under the
1138 ICollection case). The enumerator for lists will be empty if 'start'
1139 is beyond the list size. All existing tests pass, but one in
1140 DataGridTest that fails because of some problem with the paging.
1142 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1144 * Style.cs: fix the 2.0 build.
1146 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1148 * Style.cs: avoid unnecesary creation of a CssStyleCollection and
1149 instead write the style attributes directly to the HtmlTextWriter.
1151 * CheckBox.cs: adapted to new API.
1153 * DataGrid.cs: handle null data sources. Fixed the contions that make
1154 the table to be added to the Controls collection.
1156 * Calendar.cs: the table needed an ID and the attributes from the
1157 parent. Also don't create the ControlStyleCollection if it has not
1158 already been created.
1160 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1162 * DataGrid.cs: handle null data sources. Fixed the contions that make
1163 the table to be added to the Controls collection.
1165 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1167 * Calendar.cs: TrackViewState should be called upon creation, not on
1168 every get_XXX call. Cleanup.
1170 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1172 * DataGrid.cs: fix another test. The ID of the table generated by the
1173 datagrid is set to the one on the datagrid if no one set the ID for the
1176 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1178 * ListControl.cs: this fixes TestValueFieldAndTextFormat from
1181 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1183 * FontUnit.cs: use a table for FontSize names, as the X{1,2}.* ones are
1184 converted to string as X{1,2}-.*. All FontUnitTests pass now.
1185 * Unit.cs: throw a format exception when there's not number or minus
1186 sign in the first non-whitespace character.
1188 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1190 * ListControl.cs: SelectedIndex/SelectedValue can be set before
1191 DataBinding () is called on the control, so we have to keep this values
1192 around and use them after the data is read. If both properties are
1193 used, they must refer to the same item.
1195 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1197 * DataList.cs: fill in the data keys from BaseDataList so that the
1198 events can see them. Only assign DataItem when using data binding and
1199 nullify it after all events are raised.
1201 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1203 * DataList.cs: OnItemCommand() is raised any time OnBubbleEvent is
1206 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
1208 * Button.cs: For 2.0 don't add the "name" attribute unless there's an
1210 * DataGrid.cs: Fix TagKey (table) for 2.0.
1211 * DataList.cs: Revert 2.0 specific stuff that was changed in RC.
1212 * DropDownList.cs: For 2.0 don't add the "name" attribute unless
1214 * ListBox.cs: For 2.0 don't add the "name" attribute unless there's an
1216 * RoleGroupCollection.cs: Fix "extra" exception in Remove method.
1217 * Style.cs: Fixed (2.0) RegisteredCssClass to returns String.Empty
1219 * TextBox.cs: For 2.0 don't add the "name" attribute unless there's an
1221 * TreeView.cs: Added declarative security (Link and Inheritance
1222 demands) for Minimal.
1223 * XmlDataSource.cs: Added declarative security (Link and Inheritance
1224 demands) for Minimal.
1226 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
1228 * FontUnit.cs: Added, but only for 1.x, declarative security (Link and
1229 Inheritance demands) for Minimal.
1230 * Label.cs: Added declarative security (Link and Inheritance demands)
1232 * ListItem.cs: Added declarative security (LinkDemands) for Minimal.
1233 * ListItemCollection.cs: Added declarative security (LinkDemands) for
1235 * MonthChangedEventArgs.cs: Added declarative security (Link and, for
1236 2.0, Inheritance demands) for Minimal.
1237 * PagedDataSource.cs: Added declarative security (LinkDemands) for
1239 * Panel.cs: Added declarative security (Link and Inheritance demands)
1241 * Repeater.cs: Added declarative security (Link and Inheritance
1242 demands) for Minimal.
1243 * RepeatInfo.cs: Added declarative security (LinkDemands) for Minimal.
1244 * SelectedDatesCollection.cs: Added declarative security (LinkDemands)
1246 * TargetConverter.cs: Added declarative security (Link and Inheritance
1247 demands) for Minimal.
1248 * Unit.cs: Added, but only for 1.x, declarative security (Link and
1249 Inheritance demands) for Minimal.
1250 * ValidatedControlConverter.cs: Added declarative security (Link and
1251 Inheritance demands) for Minimal.
1252 * WebColorConverter.cs: Added declarative security (Link and
1253 Inheritance demands) for Minimal.
1254 * Xml.cs: Added declarative security (Link and Inheritance demands)
1256 * ValidationSummary.cs: Added declarative security (Link and
1257 Inheritance demands) for Minimal.
1259 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
1261 * UnitConverter.cs: Remove conversion from Unit (see unit tests).
1263 2005-09-22 Ben Maurer <bmaurer@ximian.com>
1265 * BulletedList.cs: Remove the cacheEnabled thing. I was thinking
1266 it took O(height) time, not O(1).
1268 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
1270 * CheckBoxList.cs: Fix unit test failure (which matched bug #48802).
1272 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
1274 * AdCreatedEventArgs.cs: Added declarative security (Link and, for
1275 2.0, Inheritance demands) for Minimal.
1276 * BaseCompareValidator.cs: Added declarative security (Link and
1277 Inheritance demands) for Minimal.
1278 * BaseDataBoundControl.cs: Added declarative security (Link and
1279 Inheritance demands) for Minimal.
1280 * BaseValidator.cs: Added declarative security (Link and Inheritance
1281 demands) for Minimal.
1282 * BoundColumn.cs: Added declarative security (Link and Inheritance
1283 demands) for Minimal.
1284 * ButtonColumn.cs: Added declarative security (Link and Inheritance
1285 demands) for Minimal.
1286 * CalendarDay.cs: Added declarative security (Link and Inheritance
1287 demands) for Minimal.
1288 * CheckBoxList.cs: Added declarative security (Link and Inheritance
1289 demands) for Minimal.
1290 * CompareValidator.cs: Added declarative security (Link and
1291 Inheritance demands) for Minimal.
1292 * CustomValidator.cs: Added declarative security (Link and Inheritance
1293 demands) for Minimal.
1294 * DataBoundControl.cs: Added declarative security (Link and
1295 Inheritance demands) for Minimal.
1296 * DataGridItemCollection.cs: Added declarative security (Link and
1297 Inheritance demands) for Minimal.
1298 * DataKeyCollection.cs: Added declarative security (LinkDemands) for
1300 * DataListItemCollection.cs: Added declarative security (LinkDemands)
1302 * DataListItem.cs: Added declarative security (Link and Inheritance
1303 demands) for Minimal.
1304 * FontNamesConverter.cs: Added declarative security (Link and
1305 Inheritance demands) for Minimal.
1306 * HyperLink.cs: Added declarative security (Link and Inheritance
1307 demands) for Minimal.
1308 * HyperLinkColumn.cs: Added declarative security (Link and Inheritance
1309 demands) for Minimal.
1310 * Image.cs: Added declarative security (Link and Inheritance demands)
1313 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1315 * BaseDataList.cs: it's the DataKeysArray what is stored in "DataKeys",
1317 * DataGrid.cs: add the keys to BaseDataList.DataKeysArray. When using
1318 a data source, first try reflection, then componentmodel. If we get
1319 an enumerator, keep it around, as MS only calls GetEnumerator once.
1320 Throw an exception if no columns can be created from the given data
1321 source. Tested with DbDataRecord, DataTable, ArrayList and
1322 ICustomTypeDescriptor.
1324 2005-09-20 Sebastien Pouliot <sebastien@ximian.com>
1326 * AccessDataSource.cs: Added declarative security (Link and Inheritance
1327 demands) for Minimal. Added [ToolboxBitmap] on class.
1328 * AdRotator.cs: Added declarative security (Link and Inheritance
1329 demands) for Minimal. Removed extra Page and ViewState properties.
1330 * BulletedList.cs: Added declarative security (Link and Inheritance
1331 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1332 * Button.cs: Added declarative security (Link and Inheritance demands)
1333 for Minimal. Added [SupportsEventValidation] on class (2.0).
1334 * Calendar.cs: Added declarative security (Link and Inheritance
1335 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1336 * CheckBox.cs: Added declarative security (Link and Inheritance
1337 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1338 * CompositeControl.cs: Added declarative security (Link and Inheritance
1339 demands) for Minimal. Added new protected RecreateChildControls method.
1340 * DataControlCommands.cs: Added declarative security (LinkDemands) for
1341 Minimal. Added private ctor.
1342 * DataGrid.cs: Added declarative security (Link and Inheritance
1343 demands) for Minimal. Fixed properties for 2.0 (mostly removing
1344 [Bindable]). Added override for TagKey property.
1345 * DataGridColumn.cs: Added declarative security (Link and Inheritance
1346 demands) for Minimal. Added [UrlProperty] on HeaderImageUrl (2.0).
1347 * DataGridItem.cs: Added declarative security (Link and Inheritance
1348 demands) for Minimal. Added IDataItemContainer interface for 2.0.
1349 * DataGridPagerStyle.cs: Added declarative security (LinkDemands) for
1350 Minimal. Remove [Bindable] from 2.0 and add [Localizable].
1351 * DataList.cs: Removed [Load|Save]ControlState methods.
1352 * DropDownList.cs: Added declarative security (Link and Inheritance
1353 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1354 * EditCommandColumn.cs: Added declarative security (Link and
1355 Inheritance demands) for Minimal. Added missing attributes,
1356 [DefaultValue] and [Localize] for 2.0.
1357 * FontInfo.cs: Added declarative security (Link and Inheritance
1358 demands) for Minimal. Remove [Bindable] and added [RefreshProperties]
1360 * Login.cs: Added declarative security (Link and Inheritance demands)
1361 for Minimal. Fixed IsStyleEmpty. Removed extra [Themeable] attributes.
1362 * ImageButton.cs: Added declarative security (Link and Inheritance
1363 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1364 * LinkButton.cs: Added declarative security (Link and Inheritance
1365 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1366 * ListBox.cs: Added declarative security (Link and Inheritance demands)
1367 for Minimal. Added [SupportsEventValidation] on class (2.0).
1368 * Literal.cs: Added declarative security (Link and Inheritance demands)
1369 for Minimal. Removed [EditorBrowsable] on CreateControlCollection method.
1370 * LoginStatus.cs: Added missing [Themeable] attributes on properties.
1371 * MenuItemStyle.cs: Changed IsEmpty to public (required to compile -
1372 but will be shown as extra).
1373 * RadioButton.cs: Added declarative security (Link and Inheritance
1374 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1375 * RadioButtonList.cs: Added declarative security (Link and Inheritance
1376 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1377 * RangeValidator.cs: Added declarative security (Link and Inheritance
1378 demands) for Minimal. Added missing [Themeable] attributes.
1379 * RegularExpressionValidator.cs: Added declarative security (Link and
1380 Inheritance demands) for Minimal. Remove [Bindable] from 2.0 and add
1382 * RoleGroupCollection.cs: Added declarative security (Link and
1383 Inheritance demands) for Minimal. Fixed base class (changed in RC).
1384 Re-implemented CopyTo. Removed some methods.
1385 * Style.cs: Added declarative security (Link and Inheritance demands)
1386 for Minimal. Remove static IsStyleEmpty and ToString (from 2.0). IsEmpty
1387 is now public in 2.0.
1388 * Table.cs: Added declarative security (Link and Inheritance demands)
1389 for Minimal. Added [SupportsEventValidation] on class (2.0).
1390 * TableCell.cs: Fixed PersistenceMode for 2.0.
1391 * TextBox.cs: Added declarative security (Link and Inheritance demands)
1392 for Minimal. Added [SupportsEventValidation] on class (2.0).
1393 * TreeNodeStyle.cs: Changed IsEmpty to public (required to compile -
1394 but will be shown as extra).
1395 * WebControl.cs: Added declarative security (Link and Inheritance
1396 demands) for Minimal. Removed [EditorBrowsable] on ControlStyleCreated
1399 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1401 * TableStyle.cs: fixed typo that prevented restoring GridLines from
1404 * DataGrid.cs: the table does not get an auto ID. When restoring from
1405 viewstate, use all the saved columns, not just that data bound ones. Set
1406 the owner of the BoundColumns created. Save/restore columns.
1407 OnItemCreated happens after the item is initialized and the data item is
1408 set before the event and nullified after OnItemDataBound.
1409 Add the render_table to the Controls immediately, otherwise we might get
1410 errors from child controls such as "must be rendered inside a form".
1411 Keep the items created in the list waiting for them.
1412 The table uses the attributes from the DataGrid and ControlStyle.
1413 Raise OnItemCommand on all bubble events and don't propagate bubble
1414 event up in the hierarchy
1416 * TableCell.cs: it does not get an automatic ID.
1417 * BoundColumn.cs: FormatDataValue returns an empty string on null input
1418 (there was already a test for this).
1422 2005-09-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1424 * DataGridColumnCollection.cs: track the view state in the newly added
1427 2005-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1429 * DataGrid.cs: merge column styles too. Fixes bug #76106.
1430 * DataGridColumn.cs: new internal method to retrieve the styles without
1431 creating an instance for them.
1433 2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
1435 * DataControlField.cs, HotSpot.cs, MenuItem.cs, Parameter.cs,
1436 Style.cs, TreeNode.cs: Replace _empty_ StateBag.SetDirty () with
1437 StateBag.SetDirty (true).
1439 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
1441 * Menu.cs: Fixed parameter orders for CreateStyleRule.
1443 2005-09-13 Chris Toshok <toshok@ximian.com>
1445 * Style.cs: corcompare stuff.
1447 * RequiredFieldValidator.cs: more corcompare stuff.
1449 * CheckBoxList.cs: clean up some of the interface methods vs
1450 protected virtual 2.0 calls.
1452 * SubMenuStyle.cs: corcompare says this should implement
1453 ICustomTypeDescriptor... sooo, make it.
1455 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1457 * TableCell.cs: do the same as HyperLink and others in
1458 AddParsedSubobject so that adding a literal control does not remove the
1459 existing controls if any. Fixes bug #76078.
1461 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1463 * GridView.cs: don't duplicate class attribute. Fixes bug #75936.
1465 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1467 * ImageButton.cs: fix invalid cast exception.
1469 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1471 * ListItem.cs: throw in AddParsedSubObject if the object is not a
1473 * RadioButtonList.cs: implemented LoadPostData and
1474 RaisePostDataChangedEvent.
1476 2005-09-09 Chris Toshok <toshok@ximian.com>
1478 * CheckBox.cs, CheckBoxList.cs, DropDownList.cs, ImageButton.cs,
1479 ListBox.cs, RadioButton.cs, RadioButtonList.cs, TextBox.cs: fix up
1480 LoadPostData/RaisePostDataChangedEvent.
1482 2005-09-09 Chris Toshok <toshok@ximian.com>
1484 * FontInfo.cs (IsEmpty): new internal property, used by
1487 * Style.cs (IsEmpty): make sure the fontinfo is null or empty as
1490 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1492 * ListItemCollection.cs: remove obsoleted methods.
1493 * ListBox.cs: use IStateManager on the item collection.
1495 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
1497 * Use C# 1.0 style of delegate instantiating. Needed to compile
1498 Grasshopper (TARGET_J2EE) which uses MS C# 1.0 compiler and not msc.
1500 2005-09-07 Chris Toshok <toshok@ximian.com>
1502 * Calendar.cs (WriteDay): always add BackColor=Silver,
1503 ForeColor=White to selected day cells, before copying over the
1504 selectedDayStyle, if it exists.
1505 (WriteDays): fix nunit test - if the first day of the month falls
1506 on the first day of the week, go back one week (effectively adding
1507 a row of dates from the previous month.)
1508 (WriteTitle): don't copy the control style to the tableTitle,
1509 since it might have height specifications, which would make the
1510 title look rather off.
1512 2005-09-07 Chris Toshok <toshok@ximian.com>
1514 * ValidationSummary.cs (AddAttributesToRender): we only set
1515 display=none if there are no errors.
1517 * BaseValidator.cs (OnPreRender): fix a JS error - on submit we
1518 call ValidatorOnSubmit, not ValidatorCommonOnSubmit.
1520 2005-09-07 Chris Toshok <toshok@ximian.com>
1522 * ListControl.cs (SelectedIndex): add comment about how you'd
1523 think OnSelectedIndexChanged would be called.. and you'd be wrong.
1524 (Text): implement in terms of SelectedValue.
1525 (TagKey): do the HAVE_CONTROL_ADAPTERS two-step.
1526 (LoadControlState): implement - this is where the selected index
1527 ArrayList gets stuffed in 2.0.
1528 (OnInit): call Page.RegisterRequiresControlState.
1529 (OnTextChanged): implement.
1530 (RenderContents): for now just chain up to base.RenderContents.
1531 (SaveControlState): save our control state properly.
1532 (GetSelectedIndices): split this out from SaveViewState to it can
1533 be used by both that and SaveControlState.
1534 (SaveViewState): mangle this function so it works in both 2.0 and
1536 (LoadViewState): same.
1538 2005-09-06 Chris Toshok <toshok@ximian.com>
1540 * BaseValidator.cs (AddAttributesToRender): render our ClientID if
1541 we weren't assigned an ID.
1543 * ValidationSummary.cs (AddAttributesToRender): same.
1545 2005-09-06 Chris Toshok <toshok@ximian.com>
1547 * WebControl.cs: revert the last change.
1549 2005-09-06 Chris Toshok <toshok@ximian.com>
1551 * WebControl.cs (AddAttributesToRender): always render ClientID.
1553 * ValidationSummary.cs (Render): same.
1555 * BaseValidator.cs (RegisterValidatorDeclaration): use ClientID
1558 2005-09-06 Chris Toshok <toshok@ximian.com>
1560 * ValidationSummary.cs (Render): only do the JS stuff when the
1561 validators on the page are uplevel.
1563 * BaseValidator.cs (Render): remove unnecessary comment.
1565 2005-09-05 Chris Toshok <toshok@ximian.com>
1567 * BaseDataBoundControl.cs (DataSourceID): testing reveals this is
1568 stored in the ViewState.
1570 2005-09-02 Chris Toshok <toshok@ximian.com>
1572 * Repeater.cs (GetData): change this slightly so the Repeater
1573 doesn't keep a ref to the return value of GetData.
1575 2005-09-01 Chris Toshok <toshok@ximian.com>
1577 * ListControl.cs (AppendDataBoundItems): implement (2.0)
1580 2005-09-01 Chris Toshok <toshok@ximian.com>
1582 * System.Web.UI.WebControls/MonthChangedEventArgs.cs,
1583 System.Web.UI.WebControls/ValidatedControlConverter.cs,
1584 System.Web.UI.WebControls/Xml.cs,
1585 System.Web.UI.WebControls/RegularExpressionValidator.cs,
1586 System.Web.UI.WebControls/ServerValidateEventArgs.cs,
1587 System.Web.UI.WebControls/Menu.cs,
1588 System.Web.UI.WebControls/MailMessageEventArgs.cs,
1589 System.Web.UI.WebControls/MenuItemStyle.cs,
1590 System.Web.UI.WebControls/RangeValidator.cs,
1591 System.Web.UI.WebControls/RepeaterItemEventArgs.cs,
1592 System.Web.UI.WebControls/MenuItem.cs,
1593 System.Web.UI.WebControls/RepeaterCommandEventArgs.cs,
1594 System.Web.UI.WebControls/DataGridSortCommandEventArgs.cs,
1595 System.Web.UI.WebControls/DataGridCommandEventArgs.cs,
1596 System.Web.UI.WebControls/DataGridPageChangedEventArgs.cs,
1597 System.Web.UI.WebControls/XmlBuilder.cs,
1598 System.Web.UI.WebControls/ImageButton.cs: someone stop me. more
1601 2005-09-01 Chris Toshok <toshok@ximian.com>
1603 * System.Web.UI.WebControls/Button.cs,
1604 System.Web.UI.WebControls/ButtonField.cs,
1605 System.Web.UI.WebControls/DataControlField.cs,
1606 System.Web.UI.WebControls/BaseCompareValidator.cs,
1607 System.Web.UI.WebControls/AutoGeneratedField.cs,
1608 System.Web.UI.WebControls/CustomValidator.cs,
1609 System.Web.UI.WebControls/Content.cs,
1610 System.Web.UI.WebControls/BoundField.cs,
1611 System.Web.UI.WebControls/AdRotator.cs,
1612 System.Web.UI.WebControls/ButtonColumn.cs,
1613 System.Web.UI.WebControls/CompareValidator.cs,
1614 System.Web.UI.WebControls/AdCreatedEventArgs.cs: More corcompare
1615 work. Stub things out, and add attributes.
1617 2005-09-01 Chris Toshok <toshok@ximian.com>
1619 * Button.cs, ButtonField.cs, FontInfo.cs, Style.cs, Xml.cs,
1620 CommandField.cs, HyperLinkColumn.cs, Table.cs,
1621 RegularExpressionValidator.cs, DataGridPagerStyle.cs, Label.cs,
1622 CheckBox.cs, RadioButton.cs, TableStyle.cs, ListControl.cs,
1623 Image.cs, BaseCompareValidator.cs, BaseDataList.cs, DataList.cs,
1624 TemplateColumn.cs, RangeValidator.cs, ImageField.cs,
1625 BaseValidator.cs, CustomValidator.cs, TextBox.cs,
1626 ButtonFieldBase.cs, BoundField.cs, CheckBoxList.cs,
1627 RadioButtonList.cs, RequiredFieldValidator.cs, AdRotator.cs,
1628 Repeater.cs, DropDownList.cs, CheckBoxField.cs, HyperLink.cs,
1629 XmlDataSource.cs, Panel.cs, DataGrid.cs, ButtonColumn.cs,
1630 CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs,
1631 WebControl.cs, Literal.cs, ValidationSummary.cs, ImageButton.cs,
1632 TableRow.cs, LinkButton.cs, DataGridColumn.cs, BoundColumn.cs,
1633 TableItemStyle.cs: Add some WebCategory and WebSysDescription
1636 2005-09-01 Chris Toshok <toshok@ximian.com>
1638 * AccessDataSource.cs: corcompare work.
1640 * SqlDataSource.cs: same.
1642 2005-09-01 Miguel de Icaza <miguel@novell.com>
1644 * Various places: make sure that the DefaultValue matches the
1645 type. Thanks to Michael for pointing this out.
1647 In future audits, you might want to use the following awk command:
1649 awk '/DefaultValue/ { v=$0; looking = 1; } /public/ && looking &&
1650 !/string/ && !/ int / && !/ bool / { print FILENAME; print v;
1651 print $0; looking = 0; } /public/ && looking { looking = 0; } '
1654 The above skips bools, strings and ints as those were fine as we
1655 set them. The bug was on the other ones.
1657 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1659 * Repeater.cs: fix the build.
1661 2005-08-31 Chris Toshok <toshok@ximian.com>
1663 * Repeater.cs: lots of 2.0 work, much of it c&p'ed from
1664 {Base}DataList, and also from debug spew garnered from some
1665 Repeater subclass tests on MS.
1666 (CreateControlHierarchy): in 2.0 if IsBonudUsingDataSourceID get
1667 the IEnumerable by calling GetData().
1668 (DataBind): reset RequiresDataBinding to false (2.0).
1669 (DataMember): copy the set implementation from DataList, and add
1670 2.0 code to call OnDataPropertyChanged if we're !Initialiezd.
1671 (DataSource): more c&p.
1672 (DataSourceID); implement (2.0)
1673 (Initialized): implement (2.0)
1674 (IsBoundUsingDataSource): implement (2.0)
1675 (RequiresDataBinding): implement (2.0)
1676 (SelectArguments): implement (2.0)
1677 (CreateDataSourceSelectArguments): implement (2.0)
1678 (EnsureDataBound): implement (2.0)
1679 (GetData): implement.
1680 (OnDataPropertyChanged): remove the NIE, but leave the MonoTODO
1682 (OnDataSourceViewChanged): set RequiresDataBinding to true, but
1683 leave the MonoTODO. (2.0)
1684 (OnInit): call base.OnInit instead of throwing NIE, but leave the
1686 (OnLoad): implement.
1687 (OnPreRender): implement.
1688 (ConnectToDataSource): new method - look for the right control.
1690 2005-08-31 Chris Toshok <toshok@ximian.com>
1692 * XmlDataSourceView.cs: fix the scope of our select. Don't use
1693 call SelectNodes on the XmlDocument, not on
1694 XmlDocument.DocumentElement.
1696 2005-08-31 Chris Toshok <toshok@ximian.com>
1698 * XmlDataSourceView.cs (.ctor): remove the nodelist parameter.
1699 (DoXPathSelect): put the xpath selection stuff here.
1700 (ExecuteSelect): call DoXPathSelect if we need to (if nodes ==
1703 * XmlDataSource.cs (IDataSource.GetView): don't do the XPath
1704 select here, the view does it.
1706 2005-08-31 Jackson Harper <jackson@ximian.com>
1708 * DataList.cs: Remove some debugging code that was starting to bug
1711 2005-08-31 Chris Toshok <toshok@ximian.com>
1713 * XmlDataSourceNodeDescriptor.cs: implement IXPathNavigable, and
1714 create our Navigator by calling node.CreateNavigator().
1716 2005-08-31 Chris Toshok <toshok@ximian.com>
1718 * XmlDataSource.cs (GetXmlDataDocument): rename this to
1719 GetXmlDocument, and change the return value from XmlDataDocument
1721 (LoadXmlDataDocument): similar change.
1722 (Save): xmlDataDocument -> xmlDocument.
1723 (CanBeSaved): there's no ReadOnly attribute.
1724 (LoadViewState, SaveViewState, TrackViewState): nuke.
1725 (GetHierarchicalView): xmlDataDocument -> xmlDocument.
1726 (CacheDuration): stub out with NIE.
1727 (CacheExpirationPolocy): same.
1728 (CacheKeyDependency): same.
1729 (EnableCaching): same.
1731 (Data, DataFile): xmlDataDocument -> xmlDocument.
1732 (Schema, SchemaFile): nuke.
1733 (Transform, TransformFile): xmlDataDocument -> xmlDocument.
1735 2005-08-30 Lluis Sanchez Gual <lluis@novell.com>
1737 * SubMenuStyle.cs, MenuItemStyle.cs, TreeNodeStyle.cs:
1738 Don't use the obsolete IsSet method.
1739 * Menu.cs: Implement IPostBackEventHandler.RaisePostBackEvent.
1740 * CheckBox.cs: Implement some 2.0 methods.
1741 * GridView.cs: Removed some "throw new NotImplementedException"
1743 2005-08-29 Chris Toshok <toshok@ximian.com>
1745 * TreeView.cs: Use the StateBag accessors Ben added, and implement
1746 SkipLinkText and Visible.
1748 2005-08-29 Chris Toshok <toshok@ximian.com>
1750 * TreeView.cs: fix typo in an attribute.
1752 2005-08-29 Jackson Harper <jackson@ximian.com>
1754 * PagedDataSource.cs: If it's not a list or collection we don't
1755 use a bounded enumerator.
1757 2005-08-29 Chris Toshok <toshok@ximian.com>
1759 * LinkButton.cs: fix some 2.0 Page/ClientScript obsolete warnings.
1761 * CheckBox.cs: same.
1763 * BaseValidator.cs: same.
1765 * DropDownList.cs: same.
1767 * ValidationSummary.cs: same.
1769 2005-08-28 Chris Toshok <toshok@ximian.com>
1771 * XmlHierarchyData.cs: fix IHierarchyData.GetParent.
1773 2005-08-26 Chris Toshok <toshok@ximian.com>
1775 * TextBox.cs: implement ValidationGroup and CausesValidation
1778 2005-08-26 Lluis Sanchez Gual <lluis@novell.com>
1780 * Style.cs: Implemented FillStyleAttributes, GetStyleAttributes and
1783 2005-08-26 Chris Toshok <toshok@ximian.com>
1785 * Unit.cs: implement the 2.0 ToString(IFormatProvider) method.
1787 * FontUnit.cs: add two 2.0 ctors, and the 2.0
1788 ToString(IFormatProvider) method.
1790 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
1792 * CheckListBox.cs: Nothing is rendered (i.e. no empty table) in 2.0 if
1793 no items are present in the list.
1794 * RoleGroup.cs: Added missing attributes.
1795 * RoleGroupCollection.cs: Added missing attributes and some (yet-to-be-
1796 documented) methods.
1797 * TableStyle.cs: *for 2.0* adding a "url({0})" to background image
1798 must be done in the HtmlTextWriter (not in the TableStyle).
1800 2005-08-26 Chris Toshok <toshok@ximian.com>
1802 * Calendar.cs (UseAccessibleHeader): implement.
1803 (RaisePostBackEvent): some #ifdef ugliness to get this all working
1804 propertly between 1.x and 2.0
1805 (WriteDayHeader): if UseAccessibleHeader == true, render header
1806 cells as th's, not td's, and add abbr and scope attributes.
1808 2005-08-25 Chris Toshok <toshok@ximian.com>
1810 * Calendar.cs (Caption, CaptionAlign): implement these properties.
1811 (Render): if we have a non-empty caption, show it.
1812 (WriteCaption): new method, output the caption.
1814 2005-08-25 Chris Toshok <toshok@ximian.com>
1816 * Calendar.cs (Render): Copy the entire style from the Calendar to
1817 the Table, not just the font.
1818 (WriteDay): don't just write the link/text/etc. Create a
1819 LiteralControl as a child of the cell, before the call to
1820 OnDayRender, with its text set to the day number. After
1821 OnDayRender, set the literal's text to either the number again (if
1822 it's not selectable) or the full text of the js __doPostBack
1823 hyperlink (if it is.) Also, use cell.RenderControl here so we can
1824 render child controls with the id's listed properly (and arguably
1826 (ApplyTitleStyleCell): remove.
1827 (WriteTitle): apply the titleStyle to the enclosing table, not the
1828 table cell containing the month name. Also, copy from the
1829 Calendar's ControlStyle to populate tableTitle's style initially.
1830 We end up with more (superfluous) style attributes than MS, but
1831 it's better than having less.
1833 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
1835 * HyperLink.cs: Fixed 2.0 rendering for Alt and Border|BorderWidth when
1838 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
1840 * Style.cs: Implemented 2.0 CopyTextStylesFrom(), SetRegisteredCssClass()
1841 and RegisteredCssClass property
1843 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
1845 * LoginView.cs: Fixed attributes.
1846 * Style.cs: Change SetRegisteredCssClass to internal and not to throw
1847 an exception to allow pages to work on 2.x.
1849 2005-08-25 Chris Toshok <toshok@ximian.com>
1851 * LinkButton.cs (PostBackUrl): correct the UrlProperty attribute.
1853 * Unit.cs: add [Serializable] and the 2.0 specific ToString(), not
1856 * HiddenField.cs: stub out this class and label everything
1859 2005-08-25 Jackson Harper <jackson@ximian.com>
1861 * DataGrid.cs: Disable the pager row if there no paging enabled
1864 2005-08-25 Chris Toshok <toshok@ximian.com>
1866 * SqlDataSourceFilteringEventArgs.cs: add some usings, and fix a
1869 * SqlDataSourceSelectingEventArgs.cs: IDbCommand -> DbCommand, and
1870 add a using statement.
1872 2005-08-25 Chris Toshok <toshok@ximian.com>
1874 * SqlDataSourceFilteringEventArgs.cs: new 2.0 class, as per
1877 * SqlDataSourceFilteringEventHandler.cs: new 2.0 delegate, as per
1880 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
1882 * Login.cs: Added rendering and fixed parts of the authentication.
1883 Now using IStateManager to allow compilation in another assembly (e.g.
1884 to test the control under IIS). Needs more tests (error conditions)
1885 once we get a "real" Membership provider running.
1886 * Style.cs: Fixed IsStyleEmpty (name ;-) and when null is provided
1889 2005-08-25 Chris Toshok <toshok@ximian.com>
1891 * SqlDataSourceCommandType.cs: new 2.0 enum, as per corcompare.
1893 2005-08-25 Chris Toshok <toshok@ximian.com>
1895 * AdRotator.cs: stub out enough of the 2.0 methods/properties by
1896 calling base.Foo to get the standalone adrotator (1.0) tests to
1897 run without throwing exceptions.
1899 2005-08-25 Chris Toshok <toshok@ximian.com>
1901 * ValidationSummary.cs (ValidationGroup): implement.
1902 (Render): use Page.GetValidators in .net 2.0, so we can support
1903 ValidationGroups. Also, <br>'s get rendered as <br /> in .net
1906 2005-08-25 Chris Toshok <toshok@ximian.com>
1908 * ImageButton.cs (TagKey): disable (but flag) the "virtual new"
1909 2.0 attribute modifiers, and revert back to "override".
1911 * ListBox.cs (BorderColor): disable (but flag) the "virtual new"
1912 2.0 attribute modifiers, and revert back to "override".
1913 (BorderStyle): same.
1914 (BorderWidth): same.
1916 * TextBox.cs (SaveViewState): implement naively, calling
1918 (TagKey): disable (but flag) the "virtual new" 2.0 attribute
1919 modifiers, and revert back to "override".
1921 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
1923 * Style.cs, TableStyle.cs, TableItemStyle.cs, DataGridPagerStyle.cs:
1924 Load ViewState for derived classes; no public LoadViewState override
1925 exists in those classes
1926 * Style.cs: Added 2.0 IsStyleEmpty method
1928 2005-08-25 Jackson Harper <jackson@ximian.com>
1930 * DataGrid.cs: The number of pages set in the pager is specified
1933 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
1935 * LoginView.cs: New (2.0). Work in progress.
1937 2005-08-24 Chris Toshok <toshok@ximian.com>
1939 * Button.cs, DetailsView.cs, FontInfo.cs, Style.cs, Xml.cs,
1940 Menu.cs, ObjectDataSource.cs, CheckBox.cs, RadioButton.cs,
1941 ListControl.cs, SiteMapPath.cs, BulletedList.cs,
1942 DataBoundControl.cs, ListItemCollection.cs, GridView.cs,
1943 Wizard.cs, TextBox.cs, CheckBoxList.cs, RadioButtonList.cs,
1944 PagedDataSource.cs, FormView.cs, AdRotator.cs, Repeater.cs,
1945 DropDownList.cs, MultiView.cs, HierarchicalDataBoundControl.cs,
1946 Calendar.cs, ListBox.cs, WebControl.cs, Literal.cs,
1947 ValidationSummary.cs, ImageButton.cs, LinkButton.cs, TreeView.cs:
1948 Add MonoTODO's for all things that throw NotImplementException.
1950 2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
1952 * RoleGroup.cs: New (2.0). Complete implementation.
1953 * RoleGroupCollection.cs: New (2.0). Mostly complete implementation.
1955 2005-08-23 Chris Toshok <toshok@ximian.com>
1957 * BaseCompareValidator.cs (GetFullYear): it turns out the docs up
1958 on msdn.microsoft.com tell exactly how the .net 2.0 stuff works,
1959 even though they were written for the 1.0 stuff.
1961 2005-08-23 Chris Toshok <toshok@ximian.com>
1963 * RepeatInfo.cs: some massaging to support both the 1.x and 2.0
1964 output. Our tests now pass on both mono and ms, with both 1.x and
1967 2005-08-23 Sebastien Pouliot <sebastien@ximian.com>
1969 * Login.cs: Throw exception if the specified provider doesn't exists.
1970 * LoginStatus.cs: Complete events.
1972 2005-08-22 Jackson Harper <jackson@ximian.com>
1974 * DataGrid.cs (CreateControlHierarchy): Clear out the old pager after creating the
1976 (InitializeNumericPager): Now that the pager actually renders
1977 properly I can see that I was computing it incorrectly.
1979 2005-08-22 Jackson Harper <jackson@ximian.com>
1981 * DataGrid.cs (RenderTable): Make sure the new table gets the
1983 (CreateColumnSet): Clear the data source columnbs before adding
1984 new ones regardless of whether or not a property descriptor was
1986 (InitializePager): pager_cell needs to be a member so it isn't
1987 created more then once per a render.
1988 (InitializeNumericPager): Compute start and end more
1990 - Link commands are 1 indexed.
1991 (CreateControlHierarchy): Clear the table before we begin
1993 - Revert patch that made adding the pagers conditional. This is
1994 incorrect, the pagers are always added. Only their visibility is
1995 affected by the pager style.
1996 - Save the entire count in the viewstate, not just the rendered
1997 count. So when paging is enabled the pager's count isn't broken by
2000 2005-08-22 Chris Toshok <toshok@ximian.com>
2002 * LinkButton.cs (ValidationGroup): implement.
2003 (IPostBackEventHandler.RaisePostBackEvent): in the 2.0 profile,
2004 pass ValidationGroup to Page.Validate.
2006 2005-08-22 Chris Toshok <toshok@ximian.com>
2008 * ImageButton.cs (ValidationGroup): implement.
2009 (IPostBackEventHandler.RaisePostBackEvent): if we cause
2010 validation, call Page.Validate properly (in both profiles).
2012 2005-08-22 Chris Toshok <toshok@ximian.com>
2014 * Button.cs (IPostBackEventHandler.RaisePostBackEvent): in the 2.0
2015 case, pass ValidationGroup to Page.Validate.
2016 (ValidationGroup): implement using ViewState.
2018 2005-08-22 Chris Toshok <toshok@ximian.com>
2020 * BaseValidator.cs (Text): 2.0 only. implement naively, just
2022 (OnInit): add 2.0 support for validation groups.
2025 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
2027 * LoginName.cs: New (2.0) web control.
2028 * LoginStatus.cs: New (2.0) web control.
2030 2005-08-19 Chris Toshok <toshok@ximian.com>
2032 * LinkButton.cs (ValidationGroup): implement getter/setter.
2033 (RaisePostBackEvent): implement naively, by c&p'ing the old
2034 implementation of IPostBackEventHandler.RaisePostBackEvent, but
2035 making use of the ValidationGroup in the call to Page.Validate.
2039 * Style.cs (LoadViewState): set our style flags for all the things
2040 we have flags for. Seems like the subclass flags should be
2041 handled in overridden LoadViewState methods, but none of the Style
2042 subclasses seem to override this method.
2044 2005-08-19 Chris Toshok <toshok@ximian.com>
2046 * TableStyle.cs (Merge, MergeWith): make these look a bit more
2047 like Copy/CopyFrom, with the styles checks instead of just
2050 * TableItemStyle.cs: same, only also make Copy/CopyFrom work as in
2053 2005-08-19 Chris Toshok <toshok@ximian.com>
2055 * DataGrid.cs (InitializePager): don't unconditionally set
2056 pager_cell to the numeric pager (especially after setting it
2057 conditionally to the nextprev pager.)
2058 (InitializeNumericPager): the link buttons don't participate in
2060 (InitializeNextPrevPager): same.
2061 (CreateControlHierarchy): create the top/bottom pagers only if the
2062 PagerStyle says too.
2064 2005-08-19 Sebastien Pouliot <sebastien@ximian.com>
2066 * TableCell.cs: Added AssociatedHeaderCellID property for 2.0.
2068 2005-08-18 Chris Toshok <toshok@ximian.com>
2070 * DataList.cs (CreateControlHierarchy): Call Controls.Clear() at
2071 the start of this method so templates are created properly.
2073 2005-08-18 Dick Porter <dick@ximian.com>
2075 * Button.cs, DetailsView.cs, Xml.cs, Table.cs, Menu.cs,
2076 DataControlButton.cs, Label.cs, ObjectDataSource.cs, CheckBox.cs,
2077 RadioButton.cs, ListControl.cs, Image.cs, SiteMapPath.cs,
2078 BaseDataList.cs, DataList.cs, BulletedList.cs,
2079 DataBoundControl.cs, Login.cs, GridView.cs,
2080 CompositeDataBoundControl.cs, Wizard.cs, BaseValidator.cs,
2081 TextBox.cs, CheckBoxList.cs, RadioButtonList.cs, FormView.cs,
2082 AdRotator.cs, Repeater.cs, MenuItemTemplateContainer.cs,
2083 DropDownList.cs, HyperLink.cs, ImageMap.cs, MultiView.cs,
2084 CompositeControl.cs, HierarchicalDataBoundControl.cs, Calendar.cs,
2085 ListBox.cs, TableCell.cs, WebControl.cs, Literal.cs,
2086 BaseDataBoundControl.cs, ValidationSummary.cs, ImageButton.cs,
2087 LinkButton.cs, TreeView.cs: 2.0 API fixes and stubs, and attribute
2090 2005-08-18 Sebastien Pouliot <sebastien@ximian.com>
2092 * BaseDataList.cs: Added a TODO for DataKeyField as we're not using it
2094 * DataList.cs: Reworked CreateControlHierarchy to avoid allocating an
2095 empty array of objects just to get the number of items.
2096 * Login.cs: Implemented OnBubbleEvent and parts of the authentication
2097 but we're missing some bits from the class lib to complete all this...
2099 2005-08-17 Jackson Harper <jackson@ximian.com>
2101 * DataGrid.cs: Only create one pager and add it to both the top
2102 and bottom of the grid, this way all the id numbers stay the same
2103 and we save a bunch of cycles.
2105 2005-08-17 Jackson Harper <jackson@ximian.com>
2107 * DataGrid.cs: The top and bottom pagers are always created. Just
2108 the visibility is changed by the PagerStyle::Position.
2110 2005-08-17 Chris Toshok <toshok@ximian.com>
2112 * CompositeControl.cs (RecreateChildControls): implement naively -
2113 just call CreateChildControls. We might need to call
2114 Controls.Clear() as well, but for the time being, this is ok.
2116 2005-08-17 Sebastien Pouliot <sebastien@ximian.com>
2118 * BaseDataList.cs: Completed implementation for 2.0.
2120 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
2122 * BaseDataList.cs: Added missing properties/methods/attributes for 2.0.
2123 * DataList.cs: Added missing [Browseable] attribute on SelectedValue.
2125 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
2127 * BaseDataList.cs: Removed old internal ctor as DataList TagKey was
2129 * DataList.cs: Implemented {Load|Save}ControlState and OnInit (2.0).
2130 Adjusted size and ordering of the ViewState (new element #0 is still
2131 unknown). Properly fixed the TagKey in 2.0.
2132 * Login.cs: Implemented {Load|Save|Track}ViewState. Added checks for
2133 all properties using enums.
2134 * Panel.cs: Fixed NoWrap rendering unit test (for 2.0).
2135 * TableItemStyle.cs: Fixed attribute rendering to use style to render
2136 "nowrap" in 2.0 (it used the HTML nowrap attribute in 1.x).
2138 2005-08-15 Jackson Harper <jackson@ximian.com>
2140 * EditCommandColumn.cs: Use a normal LinkButton.
2142 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
2144 * Image.cs: Don't remove GenerateEmptyAlternateText (2.0) from the
2145 viewstate (even if assigned to the default value).
2146 * TableRow.cs: Implement TableSection property (2.0). It has no effect
2147 on the rendering of the table row.
2149 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
2151 * BaseDataList.cs: Added new [Themeable] and [Localizable] attributes
2152 and removed [Bindable] attributes for 2.0.
2153 * DataList.cs: Added new 2.0 attributes on class and removed [Bindable]
2154 attributes (for 2.0).
2155 * DataListCommandEventArgs.cs: Not sealed in 2.0.
2156 * DataListItemEventArgs.cs: Not sealed in 2.0.
2157 * Image.cs: Fixed [Designer] attribute on class and all [Editor]
2158 attributes for URLs.
2159 * Login.cs: Fixed [Designer] attribute on class and all [Editor]
2160 attributes for URLs.
2161 * Table.cs: Fixed [Editor] attribute for 2.0.
2162 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
2163 * TableCell.cs: Fixed [Designer] attribute. Fixed property name for
2164 AssociatedHeaderCellID and it's [DefaultValue] attribute.
2165 * TableHeaderCell.cs: Fix [DefaultValue] attributes for CategoryText
2166 and Scope attributes.
2167 * TableRow.cs: Fixed [Designer] attribute. Added missing [DefaultValue]
2168 on TableSection attribute.
2169 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
2171 2005-08-14 Sebastien Pouliot <sebastien@ximian.com>
2173 * Image.cs: Fixed attributes for 2.0 profile.
2174 * Login.cs: Fixed some attributes and default values.
2175 * Table.cs: Fixed attributes for 2.0 profile. Added protected method
2176 RaisePostBackEvent (TODO) in 2.0 profile.
2177 * TableCell.cs: Fix properties (Bindable, Localizable, Designer...)
2178 and added AssociateHeaderCellID property (TODO).
2179 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
2180 * TableFooterRow.cs: New (2.0). TableRow that always shows on each
2181 page (if the device requires to breaks the table into multiple pages).
2182 This seems to be a "flag" class, the real work will be in Table.
2183 * TableHeaderCell.cs: Added CategoryText and Scope properties for 2.0.
2184 * TableHeaderRow.cs: New (2.0). TableRow that always shows on each
2185 page (if the device requires to breaks the table into multiple pages).
2186 This seems to be a "flag" class, the real work will be in Table.
2187 * TableItemStyle.cs: Remove [Bindable (true)] from 2.0 profile.
2188 * TableRow.cs: Remove [Bindable (true)] from properties and add
2189 [Bindable (false)] and [Designer] on class. Added new TableSection
2191 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
2192 * TableSectionStyle.cs: New (2.0). Add Visible to Style - but it's
2193 broken (int beta2) for IsEmpty, CopyFrom, MergeWith...
2194 * TableStyle.cs: Fixed attributes for 2.0 profile. Added new
2195 FillStyleAttributes method (2.0).
2197 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
2199 * Login.cs: New (2.0). Mostly a stub with copy-n-pasted code and
2200 attributes from existing controls.
2201 * LoginCancelEventArgs.cs: New (2.0). Required to build Login.
2202 * LoginCancelEventHandler.cs: New (2.0). Required to build Login.
2204 2005-08-12 Jackson Harper <jackson@ximian.com>
2206 * TableRow.cs: No AutoID for TableRows.
2208 2005-08-12 Jackson Harper <jackson@ximian.com>
2210 * DataGrid.cs (CreateRenderColumns): If we aren't using data
2211 binding grab the rendercols from the data source columns.
2212 (LoadViewState): Restore the bound columns when reloading the
2214 (InitializeNumericPager): Create elipsised pagers.
2215 (CreateItem): Don't set the item's ID.
2216 (CreateItem): Add the control to the table before it is databound
2217 so that it's value is saved in the viewstate.
2218 (CreateControlHierarchy): Create a fake data source when not using
2219 databinding. Don't add controls to the table as they are added in
2221 (PrepareControlHierarchy): Make footers and header non visible if
2222 they aren't enabled.
2224 2005-08-12 Chris Toshok <toshok@ximian.com>
2226 * CompositeControl.cs (DataBind, Render, get_Controls): the MSDN
2227 docs says these methods/properties "ensure the child controls are
2228 created" -- so call EnsureChildControls() before invoking the base
2231 2005-08-12 Jackson Harper <jackson@ximian.com>
2233 * BoundColumn.cs: Set the controls text instead of adding a
2234 literal control. So it is saved in the controls viewstate.
2236 2005-08-11 Jackson Harper <jackson@ximian.com>
2238 * CheckBoxList.cs: Set the tabindex on the checkbox control and
2239 don't render it on the main table (Setting it to zero causes it to
2240 not be rendered). Also use the invariant culture on the id.
2242 2005-08-11 Dick Porter <dick@ximian.com>
2244 * CheckBox.cs: Let ViewState manage removals; apply styles and
2245 "style" attributes in a surrounding <span>. Fixes unit tests.
2247 2005-08-10 Chris Toshok <toshok@ximian.com>
2249 * Label.cs (LoadViewState): set the Text attribute from our
2250 ViewState (if it exists) to clear out any child controls. Fixes
2251 jsunit test label/label-child-control-postback.aspx.
2253 2005-08-10 Jackson Harper <jackson@ximian.com>
2255 * PagedDataSource.cs: Respect paging with all data source types.
2257 2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
2259 * BaseDataList.cs: Changed Controls property from "virtual new"
2260 (2.0 doc) to "override" (monop) to fix the Visible bug (see
2261 datalist-invisible.aspx). Fixed AddParsedSubObject not to accept
2262 any controls (required due to change to Controls). Implemented
2263 DataBind(bool) for 2.0.
2264 * DataListItem.cs: Fix the multiple table when extractRows is used.
2265 Removed extra span tags by rendering contents (not control). Added
2266 support for IDataItemContainer (2.0).
2268 2005-08-08 Jackson Harper <jackson@ximian.com>
2270 * DataGrid.cs: Apply the styles to each item type.
2272 2005-08-08 Jackson Harper <jackson@ximian.com>
2274 * PagedDataSource.cs: If paging is not enabled keep enumerating to
2275 the end of the list.
2277 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
2279 * BaseDataList.cs: Remove old compatibility stuff.
2280 * DataList.cs: Fix the edit|update for datalist-style-edit.aspx.
2281 * WebControl.cs: Always call CreateControlStyle to create the
2282 ControlStyle. Fix the exception for datalist-style-edit.aspx.
2284 2005-08-05 Jackson Harper <jackson@ximian.com>
2286 * DataGrid.cs: Don't make the current page index a link in the
2289 2005-08-05 Jackson Harper <jackson@ximian.com>
2291 * DataGrid.cs: Honour PagerPosition.
2293 2005-08-05 Jackson Harper <jackson@ximian.com>
2295 * PagedDataSource.cs: Round PageCount properly.
2297 2005-08-05 Dick Porter <dick@ximian.com>
2299 * CheckBox.cs: Shut corcompare up a bit more. Still need to
2300 figure out how to not use AddAttributesToRender to get it
2303 * ButtonColumn.cs: Implement Initialize() and InitializeCell()
2305 * DataGridColumn.cs: Added the duplicate viewstate manipulation
2308 2005-08-05 Chris Toshok <toshok@ximian.com>
2310 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): treat "" as
2311 null when it comes to the format string.
2312 (FormatDataTextValue): same.
2314 2005-08-04 Chris Toshok <toshok@ximian.com>
2316 * BaseValidator.cs (Validate): only test a validator if it's both
2317 enabled and visible.
2319 2005-08-04 Chris Toshok <toshok@ximian.com>
2321 * BaseValidator.cs (AddAttributesToRender): add "enabled" if
2324 2005-08-04 Jackson Harper <jackson@ximian.com>
2326 * DataGrid.cs: Add a new space control for each link. Also make
2327 the link's text 1 indexed. Don't add the space after the last
2330 2005-08-04 Ben Maurer <bmaurer@ximian.com>
2332 * LinkButton.cs: Fix up the test suite here.
2334 * Panel.cs: Fix up nowrap
2336 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
2338 * ListBox.cs: Use WriteXXXX to render HTML, this way it matches MS output
2339 * ListControl.cs: Clear item list before adding data (again)
2341 2005-08-04 Jordi Mas i Hernandez <jordi@ximian.com>
2343 * Calendar.cs: fixes issues with OnDayRender event and others
2345 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
2347 * DataGrid.cs(CreateControlHierarchy): Consider the EditItemIndex when
2349 * ListControl.cs(OnDataBinding): Only apply DataTextFormatString to text
2350 if DataTextField is bound
2351 * EditCommandColumn.cs(InitializeCell): MS inserts a between the
2352 two controls in edit mode, lets do the same
2354 2005-08-03 Jackson Harper <jackson@ximian.com>
2356 * BoundColumn.cs: Respek for the thisExpr when data binding.
2358 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
2360 * EditCommandColumn.cs: No need to offer edit when in edit mode.
2363 2005-08-04 Dick Porter <dick@ximian.com>
2365 * DataGridColumn.cs: New implementation
2368 * DataGridColumnCollection.cs: Set the DataGridColumn's owner
2370 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
2372 * WebControl.cs(CopyBaseAttributes): Use Enabled setter to also
2375 2005-08-03 Ben Maurer <bmaurer@ximian.com>
2377 * RepeatInfo.cs: Finally figured out how to use base control
2379 2005-08-03 Jackson Harper <jackson@ximian.com>
2381 * ButtonColumn.cs: Partial implementation.
2383 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
2385 * DataGridPagerStyle.cs(PageButtonCount): Throw exception on
2388 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
2390 * Calendar.cs: fixes Save/Load state
2392 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
2394 * Calendar.cs: bug fixes
2396 2005-08-03 Jackson Harper <jackson@ximian.com>
2398 * DataGrid.cs: Merge the table style with the render table. Some
2399 initial work on the numeric pager. Remove some debugging code.
2401 2005-08-03 Jackson Harper <jackson@ximian.com>
2403 * BoundColumn.cs: Implement Initialize and InitializeCell. When
2404 Data is formated it uses the DataFormatString that was set at the
2405 time Initialize was called (or null if initialize was never
2408 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
2410 * RadioButtonList.cs: bug fixes
2412 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
2414 * CheckBox.cs, RadioButton.cs: mecanism to avoid exposing
2415 AddAttributesToRender
2416 * RadioButtonList.cs: Implementation
2418 2005-08-01 Jackson Harper <jackson@ximian.com>
2420 * TableStyle.cs: Copy style bit when copying from another style.
2422 2005-08-01 Jackson Harper <jackson@ximian.com>
2424 * PagedDataSource.cs: Implement missing properties, use yield for
2425 the Enumerator methods. Only allow the enums to return one page at
2428 2005-08-01 Chris Toshok <toshok@ximian.com>
2430 * HyperLinkColumn.cs (ItemDataBinding): remove incorrect comment.
2432 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
2434 * WebControl.cs: Track enabled state across sessions
2436 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
2438 * ListControl.cs(OnDatabinding): Value is equivalent to text if
2441 2005-08-01 Jordi Mas i Hernandez <jordi@ximian.com>
2443 * ImageButton.cs: fixes, complete missing parts
2445 2005-07-31 Ben Maurer <bmaurer@ximian.com>
2447 * TextBox.cs: Html encode for multiline text boxes
2449 * HyperLink.cs: Resolve images
2451 2005-07-30 Chris Toshok <toshok@ximian.com>
2453 * BaseValidator.cs: initial version of 2.0 properties
2454 ValidationGroup and SetFocusOnError.
2456 2005-07-30 Chris Toshok <toshok@ximian.com>
2458 * HyperLinkColumn.cs (InitializeCell): clean this up.
2460 2005-07-30 Chris Toshok <toshok@ximian.com>
2462 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): just use
2463 DataBinder.FormatResult.
2464 (FormatDataTextValue): same.
2465 (Initialize): call base.Initialize.
2466 (ItemDataBinding): new function, get the text/navigateurl and set
2467 them on our HyperLink control.
2468 (InitializeCell): create a hyperlink control in the
2469 Item/EditItem/AlternatingItem case.
2471 2005-07-30 Ben Maurer <bmaurer@ximian.com>
2473 * RepeatInfo.cs: Handle 0 items situations correctly
2475 * HyperLink.cs: Resolve urls correctly
2477 * CheckBox.cs: use the correct ID for the label element.
2479 * Label.cs: Correct AddParsedSubObject impl. See FAQ
2481 2005-07-29 Chris Toshok <toshok@ximian.com>
2483 * BaseCompareValidator.cs (GetDateElementOrder): implement.
2485 2005-07-29 Chris Toshok <toshok@ximian.com>
2487 * BaseCompareValidator.cs (GetFullYear): implement two ways. The
2488 #if'ed out version follows microsoft's docs on msdn, but doesn't
2489 match ms's behavior. The other matches their behavior but not
2490 their docs. we use the latter. go figure.
2491 (get_CutoffYear): implement using
2492 CultureInfo.CurrentCulture.Calendar.TwoDigitYearMax.
2494 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
2497 - Name property now throws exception when set to null
2498 - Names now handles situation where our bit tells us we have
2499 a font, but it's not in the StateBag (null removal)
2500 * RangeValidator.cs: Removed unused vars
2502 2005-07-29 Ben Maurer <bmaurer@ximian.com>
2504 * Label.cs: ClientID should be used rather than UniqueID to get
2507 2005-07-29 Chris Toshok <toshok@ximian.com>
2509 * BaseValidator.cs (Validatate): not sure if this is entirely
2510 correct (some fairly deep testing required), but setting Enabled =
2511 false has the effect of setting IsValid = true.
2513 2005-07-29 Ben Maurer <bmaurer@ximian.com>
2515 * RadioButton.cs: The "remove from groupstate" isn't needed any
2516 more, now that statebag is correct.
2518 2005-07-29 Dick Porter <dick@ximian.com>
2520 * RadioButton.cs: Hide nonstandard API; remove GroupName from the
2521 ViewState when it is null.
2523 * CheckBox.cs: Hide nonstandard API
2525 2005-07-29 Jordi Mas i Hernandez <jordi@ximian.com>
2527 * Calendar.cs: fixes exceptions, bug fixes, new features
2528 * SelectedDatesCollection.cs: Fixes bugs discovered by the tests
2529 * CalendarDay.cs: fixes default value
2531 2005-07-28 Ben Maurer <bmaurer@ximian.com>
2533 * CompositeControl.cs: Stub
2535 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
2537 * EditCommandColumn.cs: Implemented
2539 2005-07-27 Chris Toshok <toshok@ximian.com>
2541 * RegularExpressionValidator.cs (EvaluateIsValid): "" is valid.
2543 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
2545 * CustomValidator.cs: Bug fixes (Thanks to Chris for creating the
2548 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
2550 * DataGrid.cs: DataGridPagerStyle does not need DataGrid as argument
2551 for it's constructor, so remove it
2552 * DataGridPagerStyle.cs: Removed DataGrid argument from constructor
2554 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
2556 * DataGridPagerStyle.cs: Implemented
2557 * TableItemStyle.cs (MergeWith): Now only sets style bits it owns
2558 * Style.cs: Added Styles enum values for DataGridPagerStyle
2560 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
2562 * Calendar.cs: get the styles right, honors more properties, fixes, fix
2565 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
2567 * DataGridItem.cs: Implemented
2569 2005-07-26 Chris Toshok <toshok@ximian.com>
2571 * LinkButton.cs (AddParsedSubObject): reversed the order of
2572 Controls.Add() and Text = null
2573 (set_Text): call Controls.Clear()
2574 (RenderContents): use HasControls() for the if test instead of
2577 * HyperLink.cs (AddParsedSubObject): reversed the order of
2578 Controls.Add () and Text = null;
2580 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
2582 * DataGridItemCollection.cs: Implemented
2584 2005-07-26 Chris Toshok <toshok@ximian.com>
2586 * LinkButton.cs (AddParsedSubObject): copy implementation from
2588 (RenderContents): only call writer.Write(Text) if Text != "".
2589 Otherwise default to base.RenderContents.
2591 2005-07-26 Chris Toshok <toshok@ximian.com>
2593 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
2594 ImageButton.cs, LinkButton.cs (AddAttributesToRender): add if
2595 (Page != null) around my last commit.
2597 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
2599 * FontInfo.cs, CheckBox.cs, RadioButton.cs, ListItemCollection.cs:
2600 Fixed use of literal strings, instead using Consts
2601 * Xml.cs, RegularExpressionValidator.cs, TemplateColumn.cs,
2602 TextBox.cs, RequiredFieldValidator.cs, Repeater.cs, RepeaterItem.cs,
2603 Panel.cs, Literal.cs: Added attributes
2604 * BaseValidator.cs: Added missing override
2606 2005-07-26 Chris Toshok <toshok@ximian.com>
2608 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
2609 ImageButton.cs, LinkButton.cs (AddAttributesToRender): call
2610 Page.VerifyRenderingInServerFormHere.
2612 2005-07-26 Chris Toshok <toshok@ximian.com>
2614 * BaseValidator.cs: remove some MonoTODO's about the client side
2617 2005-07-26 Jordi Mas i Hernandez <jordi@ximian.com>
2619 * Calendar.cs: selection of dates, state load, save, track, support
2620 for new properties, many fixes.
2622 2005-07-26 Miguel de Icaza <miguel@novell.com>
2624 * Style.cs: Temporary methods to help buliding .NET 2.x
2626 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
2628 * BaseValidator.cs: Added AssociateControlID (new in sp1), fixed
2630 * Xml.cs: Fixed base class, attributes
2631 * Button.cs, DataGridColumnCollection.cs, HyperLinkColumn.cs,
2632 Label.cs, ListItem.cs, ListControl.cs, CustomValidator.cs,
2633 CheckBoxList.cs, AdRotator.cs, DropDownList.cs, HyperLink.cs,
2634 DataGrid.cs, ButtonColumn.cs, CompareValidator.cs, Calendar.cs,
2635 ListBox.cs, ImageButton.cs, LinkButton.cs: Attribute fixes
2637 2005-07-25 Ben Maurer <bmaurer@ximian.com>
2639 * RepeatInfo.cs: WOOHOOO! all tests pass. Boy is this class
2642 2005-07-25 Ben Maurer <bmaurer@ximian.com>
2644 * RepeatInfo.cs: If the repeater has one column, the separators
2645 are rendered on a different line
2647 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
2649 * DataGridSortCommandEventArgs: Sealed class
2650 * ButtonColumn.cs, Calendar.cs: Added Attributes
2652 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
2654 * Button.cs, Style.cs, BaseCompareValidator.cs, RangeValidator.cs,
2655 BaseValidator.cs, AdRotator.cs, BoundColumn.cs: Added Attributes
2657 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
2659 * FontInfo.cs, Style.cs, RangeValidator.cs, ListItemCollection.cs,
2660 DropDownList.cs, WebControl.cs, ValidationSummary.cs: Added Attributes
2662 2005-07-25 Chris Toshok <toshok@ximian.com>
2664 * ValidationSummary.cs (AddAttributesToRender): add client side
2666 (OnPreRender): set the "been here" flag.
2667 (Render): add client side support.
2669 2005-07-25 Ben Maurer <bmaurer@ximian.com>
2671 * RepeatInfo.cs: Split the horiz and vertical cases, because this
2672 class has rules that are beyond strange. Continue working to make
2675 2005-07-25 Ben Maurer <bmaurer@ximian.com>
2677 * RepeatInfo.cs: Misc fixes for my test suite.
2679 2005-07-25 Jackson Harper <jackson@ximian.com>
2681 * DataGrid.cs: Set the command name and args on the link buttons.
2683 2005-07-25 Jackson Harper <jackson@ximian.com>
2685 * DataGrid.cs: Lots o implementation.
2687 2005-07-25 Jackson Harper <jackson@ximian.com>
2689 * BoundColumn.cs: Partial implementation to get the DataGrid tests
2692 2005-07-23 Jordi Mas i Hernandez <jordi@ximian.com>
2694 * Button.cs: fixes events, adds attributes
2696 2005-07-23 Chris Toshok <toshok@ximian.com>
2698 * BaseValidator.cs (GetControlValidateValue): handle ListItems as
2699 prop.GetValue results.
2700 (Render): fix the static non-uplevel case, so that we display text
2701 when there's an error.
2703 2005-07-22 Chris Toshok <toshok@ximian.com>
2705 * RegularExpressionValidator.cs (AddAttributesToRender): only
2706 output ValidationExpression if it's != null.
2708 2005-07-22 Chris Toshok <toshok@ximian.com>
2710 * BaseValidator.cs (AddAttributesToRender): fix up the Display
2711 rendering such it matches MS's output.
2712 (Render): stop using the huge complicated if's for each output
2713 stage and move to boolean flags, and fix the static-nonuplevel
2714 case, where a validator outputs as nothing but
2716 2005-07-22 Jordi Mas i Hernandez <jordi@ximian.com>
2717 * Calendar.cs: Initial implementation
2718 * CalendarSelectionMode.cs: fix enum order
2720 2005-07-22 Sebastien Pouliot <sebastien@ximian.com>
2722 * DataList.cs: Rewrote the IRepeatInfoUser.RenderItem to support all
2723 (or more?) specific cases - including correct support for separators.
2724 Added some (commented) debugging code.
2725 * HyperLink.cs: Only render href and target attributes if they're not
2726 empty. Add "border=0" when rendering <img> tag. Fix Target default
2729 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
2731 * Style.cs (CopyFrom): Reset must go, MS doesn't do it (See tests)
2733 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
2735 * Style.cs (CopyFrom): Reset our styles and don't set bits from
2736 target explicitly, properties will set them
2738 2005-07-22 Dick Porter <dick@ximian.com>
2741 * ButtonColumn.cs: Initial stubs
2743 2005-07-22 Dick Porter <dick@ximian.com>
2746 * CheckBox.cs: Add assembly attributes
2748 2005-07-22 Ben Maurer <bmaurer@ximian.com>
2750 * HyperLink.cs: Handle non-literal children.
2752 2005-07-21 Ben Maurer <bmaurer@ximian.com>
2754 * Label.cs: SP1 stuff
2756 2005-07-21 Chris Toshok <toshok@ximian.com>
2758 * BaseValidator.cs (RegisterValidatorCommonScript): remove the NS4
2759 stuff that I c&p'ed from elsewhere - NS4 doesn't support the DOM1
2760 stuff WebUIValidation.js uses, so we don't support it for uplevel
2763 2005-07-21 Chris Toshok <toshok@ximian.com>
2765 * BaseValidator.cs (DetermineRenderUplevel): include checks for
2766 the EcmaScriptVersion and W3CDomVersion.
2768 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
2770 * BaseDataList.cs: Support IEnumerable.
2771 * DataList.cs: Fix alternate items.
2772 * TableCell.cs: Fixed AddParsedSubObject to work nicely with existing
2773 controls and the Text property.
2775 2005-07-21 Ben Maurer <bmaurer@ximian.com>
2777 * TextBoxMode.cs: Wrong ordering of enum...
2779 2005-07-21 Chris Toshok <toshok@ximian.com>
2781 * BaseValidator.cs (OnPreRender): call DetermineRenderUplevel and
2784 2005-07-21 Chris Toshok <toshok@ximian.com>
2786 * BaseValidator.cs (get_PropertiesValid): use our containing
2787 NamingContainer, not ourselves, to look up controls.
2788 (CheckControlValidationProperty): same.
2789 (GetControlRenderID): same.
2790 (GetControlValidationValue): same.
2791 (AddAttributesToRender): add the display style attribute if
2792 Display != Static, and add the value of IsValid if it's false.
2793 (DetermineRenderUplevel): use a try block around (Page.Request)
2794 since that can raise an exception.
2795 (OnPreRender): set pre_render_called, so we can consult it in
2797 (Render): complicate this method more to handle more of the
2798 Display/pre_render_called permutations.
2800 2005-07-21 Peter Dennis Bartok <pbartok@novell.com>
2802 * CustomValidator.cs: Initial implementation, still work in progress
2804 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
2806 * DataList.cs: Fix rendering for special items (-1).
2808 2005-07-21 Ben Maurer <bmaurer@ximian.com>
2810 * RepeatInfo.cs: Fix most of the tests.
2812 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
2814 * Image.cs: Call ResolveUrl for ImageUrl and DescriptionUrl properties.
2815 Add a border=0 attribute if no style is defined.
2816 * TableCell.cs: Use HtmlTextWriterTag (not a string).
2817 * TableHeaderCell.cs: Use HtmlTextWriterTag (not a string).
2818 * TableRow.cs: Use HtmlTextWriterTag (not a string).
2820 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
2822 * BaseDataList.cs: Fix attributes.
2823 * HorizontalAlign.cs: Fix attributes.
2824 * Image.cs: Fix attributes and enums checks.
2825 * Table.cs: Fix attributes an enums checks.
2826 * TableCell.cs: Fix attributes.
2827 * TableCellCollection.cs: Fix attributes.
2828 * TableItemStyle.cs: Fix attributes and enums checks.
2829 * TableRowCollection.cs: Fix attributes.
2830 * TableRow.cs: Fix attributes.
2831 * TableStyle.cs: Fix attributes and enums checks.
2832 * VerticalAlign.cs: Fix attributes.
2834 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
2836 * BaseDataList.cs: Remove/#if-out useless/2.0 stuff.
2837 * DataList.cs: Added rendering support when ExtractTemplatesRows
2838 property is true (but RepeatInfo needs to be fixed to see it works).
2839 * DataListItem.cs: Added rendering support when extractRows parameter
2840 is true (but RepeatInfo still needs to be fixed ;-)
2842 2005-07-21 Duncan Mak <duncan@novell.com>
2844 * HyperLinkColumn.cs: Initial implementation.
2845 Todo: Figure out Initialize and InitializeCell.
2847 2005-07-20 Chris Toshok <toshok@ximian.com>
2849 * BaseValidator.cs: don't use Page.FindControl, use this Control's
2850 FindControl, so it'll use the same naming container.
2852 2005-07-21 Duncan Mak <duncan@novell.com>
2854 * DataGridCommandEventArgs.cs:
2855 * DataGridPageChangedEventArgs.cs:
2856 * RepeaterCommandEventArgs.cs: Fixed visibility.
2858 * DataGridPageChangedEventArgs.cs (CommandSource): Fixed typo.
2859 * DataGridSortCommandEventArgs.cs (CommandSource): Ditto..
2861 2005-07-20 Chris Toshok <toshok@ximian.com>
2863 * Button.cs: hook up the client side validation stuff.
2865 * ImageButton.cs: same.
2867 * LinkButton.cs: same, although it's a little more complicated
2870 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
2873 - Implemented RaisePostDataChangedEvent()
2874 - Spewing postback command if AutoPostBack is true
2876 2005-07-20 Chris Toshok <toshok@ximian.com>
2878 * BaseValidator.cs: another Page != null check when uplevel
2881 2005-07-20 Chris Toshok <toshok@ximian.com>
2883 * BaseValidator.cs: check Page != null when determining if we're
2884 rendering uplevel or not.
2886 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
2888 * ListItemCollection.cs: Removed obsolete method that's no longer
2891 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
2893 * DropDownList.cs: Oops. Forgot to implement LoadPostData
2894 * ListItemCollection.cs: Added convenience method to have faster
2897 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
2900 - Automatically select the first item if none are selected
2901 - Throw exception if more than one item is selected
2903 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
2905 * DataList.cs: Fix style handling for RepeatLayout.Flow (which isn't
2906 handled by RepeatInfo).
2908 2005-07-20 Jackson Harper <jackson@ximian.com>
2910 * DataGrid.cs: Store the data source created columns in a
2911 DataGridColumnCollection. This way they can be put in the
2912 view state more easily, and accessed without casting.
2914 2005-07-20 Chris Toshok <toshok@ximian.com>
2916 * BaseValidator.cs (AddAttributesToRender): render the client side
2917 attributes if we're in uplevel mode.
2918 (DetermineRenderUplevel): flesh out a bit - for now basically
2919 return true unless the control has it disabled.
2920 (OnInit): only add the validator to Page's list if there is, in
2922 (OnUnload): same for removal.
2923 (OnPreRender): hook up client scripting stuff here. Only the call
2924 to RegisterValidatorCommonScript is a for sure thing here, the
2925 registering of the submit statement and startup script should
2926 probably go elsewhere, but I don't know where.
2927 (RegisterValidatorCommonScript): register the <script
2928 src=".../WebUIValidation.js"> tag, if it's not already there.
2929 (RegisterValidatorDeclaration): add our span object to the
2930 Page_Validators JS array.
2931 (Render): always render the tags (although this is probably not
2932 right), and call RegisterValidatorDeclaration here.
2934 * BaseCompareValidator.cs (AddAttributesToRender): render the
2935 client side attributes if we're in uplevel mode.
2936 (DetermineRenderUplevel): add MonoTODO.. why override this? Just
2937 call base.DetermineRenderUplevel for now.
2939 * RegularExpressionValidator.cs (AddAttributesToRender): render
2940 the client side attributes if we're in uplevel mode.
2942 * RequiredFieldValidator.cs (AddAttributesToRender): same.
2944 * CompareValidator.cs (AddAttributesToRender): same.
2946 2005-07-20 Jackson Harper <jackson@ximian.com>
2948 * DataGrid.cs: Save the data source created column set in the
2951 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
2953 * DataList.cs: Fix events and properties exceptions. Give the right
2954 informations to RenderItem.
2956 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
2958 * ValidationSummary.cs: Implemented rendering
2960 2005-07-20 Jackson Harper <jackson@ximian.com>
2962 * DataGrid.cs: column names are cached and only regenerated if useDataSource
2963 is set to true. Otherwise they are just fetched from the last set that
2964 was generated from the source.
2966 2005-07-20 Jackson Harper <jackson@ximian.com>
2968 * DataGrid.cs: Assign some properties of newly created BoundColumns.
2970 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
2972 * DataList.cs: Fix viewstate ordering.
2974 2005-07-20 Ben Maurer <bmaurer@ximian.com>
2976 * SelectedDatesCollection.cs: Apprarently, I don't write code well
2979 * Repeater.cs: Uh, actually add stuff to the items collection
2982 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
2984 * BaseDataList.cs: EnsureChildControls on Controls property.
2985 * DataList.cs: Fix rendering and Controls/Items differences.
2986 * DataListItem.cs: Added rendering of controls.
2988 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
2990 * BaseDataList.cs: Don't call base.Render (or we'll get an extra span).
2992 2005-07-20 Jackson Harper <jackson@ximian.com>
2994 * DataGrid.cs: Add some of the collections. Implement
2997 2005-07-20 Jackson Harper <jackson@ximian.com>
2999 * PagedDataSource.cs: Implement GetItemProperties, this is
3000 needed for the datagrid.
3002 2005-07-20 Ben Maurer <bmaurer@ximian.com>
3004 * DataGridColumnCollection.cs: New impl
3006 * TemplateColumn.cs: New impl
3008 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
3010 * BaseDataList.cs: Call PrepareControlHierarchy from Render.
3011 * DataList.cs: Work in progress... Added attributes, proper
3012 IRepeatInfoUser support and cool things stolen from other classes.
3013 * DataListCommandEventArgs.cs: Class is sealed.
3014 * DataListItem.cs: RenderItem is public.
3016 2005-07-19 Jackson Harper <jackson@ximian.com>
3018 * ListControl.cs: Use Events Add/RemoveHandler. Don't create
3019 a viewstate object if all the viewstate stuff is null.
3021 2005-07-19 Jackson Harper <jackson@ximian.com>
3023 * DataGrid.cs: Implement style properties and viewstate
3024 saving/loading/tracking.
3026 2005-07-19 Chris Toshok <toshok@ximian.com>
3028 * BaseValidator.cs: more fixes from pdb.
3030 2005-07-19 Chris Toshok <toshok@ximian.com>
3032 * BaseValidator.cs: some test-driven fixes.
3034 2005-07-19 Chris Toshok <toshok@ximian.com>
3036 * BaseValidator.cs: Initial implementation.
3038 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
3040 * Repeater.cs: Fix small typo.
3042 2005-07-19 Peter Dennis Bartok <pbartok@novell.com>
3044 * ValidationSummaryTest.cs: Started implementation
3045 * RangeValidator.cs: Implemented
3046 * ValidatedControlConverter.cs: Implemented
3047 * DropDownList.cs: Implemented
3049 2005-07-19 Jackson Harper <jackson@ximian.com>
3051 * DataGrid.cs: Implement bubble event.
3053 2005-07-19 Jackson Harper <jackson@ximian.com>
3055 * DataGrid.cs: New implementation. Just properties and events for
3058 2005-07-18 Chris Toshok <toshok@ximian.com>
3060 * BaseCompareValidator.cs: Initial implementation, with some NYI.
3062 2005-07-19 Ben Maurer <bmaurer@ximian.com>
3064 * FontUnit.cs: Corcompare fixes
3066 * UnitConverter.cs: Fix api diffs
3068 2005-07-18 Ben Maurer <bmaurer@ximian.com>
3070 * ListControl.cs: Fix api differences
3072 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
3074 * Table.cs: Fix indentation for caption. Simplify check when adding
3076 * TableRow.cs: Simplify check when adding controls.
3078 2005-07-18 Chris Toshok <toshok@ximian.com>
3080 * CompareValidator.cs: wtf, just use the base class's methods.
3082 2005-07-18 Chris Toshok <toshok@ximian.com>
3084 * CompareValidator.cs: do comparisons based on
3085 BaseCompareValidator.Type.
3087 2005-07-18 Chris Toshok <toshok@ximian.com>
3089 * CompareValidator.cs: initial implementation.
3091 2005-07-18 Chris Toshok <toshok@ximian.com>
3093 * RegularExpressionValidator.cs: initial implementation.
3095 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
3097 * DataList.cs: Fixed to match 1.1 behaviour (and new unit tests).
3099 2005-07-18 Jackson Harper <jackson@ximian.com>
3101 * CheckBoxList.cs: Implement LoadPostBackData. Also register
3102 checkboxes for postback if they are checked so we can find
3103 out when they are unchecked. Copy the AutoPostBack variable
3104 to the to be rendered checkbox when rendering.
3106 2005-07-18 Ben Maurer <bmaurer@ximian.com>
3108 * TextBox.cs: Finish this up.
3110 * AdRotator.cs: Fix issues in the test suite. Minor style
3113 * Repeater.cs: Fix a bug where the datasource is null and we do
3116 * WebColorConverter.cs: Optimize by not doing a concat on a
3119 2005-07-17 Ben Maurer <bmaurer@ximian.com>
3121 * ListItemCollection.cs: Multiple uses of equals rather than
3122 string.compare as below. Remove unreachable code warning.
3124 * WebColorConverter.cs (ConvertTo): Use the == operator on string
3125 rather than an invariant non-case ignoring compare. They are
3126 exactly the same thing. Use proper coding style in this method.
3128 * WebControl.cs: Return null when saving the view state if there
3129 is no state in any of the things we save. This creates a fairly
3130 large savings, because we can avoid saving anything about many
3131 levels of deaply nested controls.
3133 2005-07-15 Jackson Harper <jackson@ximian.com>
3135 * CheckBoxList.cs: Use the index as the ID, the rest of the
3136 id is built by being in the NamingContainer.
3138 2005-07-15 Jackson Harper <jackson@ximian.com>
3140 * ListControl.cs: Use enum instead of string. Saves a lookup.
3142 2005-07-15 Jackson Harper <jackson@ximian.com>
3144 * CheckBoxList.cs: FindControl always returns 'this' according
3147 2005-07-15 Jackson Harper <jackson@ximian.com>
3149 * CheckBoxList.cs: New impl.
3151 2005-07-15 Jackson Harper <jackson@ximian.com>
3153 * WebControl.cs: Use the ClientID when rendering a controls ID
3154 attribute so that naming containers are honoured.
3156 2005-07-15 Jackson Harper <jackson@ximian.com>
3158 * ListControl.cs: use the state manager interface for tracking
3161 2005-07-15 Ben Maurer <bmaurer@ximian.com>
3163 * Repeater.cs (DoItem): Add the DataItem before we call user
3164 methods, as it seems to be there with msft.
3166 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
3168 * BaseDataList.cs: New. (mostly complete) implementation.
3169 * DataKeyCollection.cs: New. Implementation (complete).
3170 * DataList.cs: New. (mostly incomplete) implementation.
3171 * DataListItem.cs: New. (mostly complete) implementation.
3172 * DataListItemCollection.cs: New. Implementation (complete).
3174 2005-07-15 Ben Maurer <bmaurer@ximian.com>
3176 * Repeater.cs (DoItem): We need to .Add the control *before* we
3177 data bind it so that the state gets tracked correctly. Fixes the
3180 2005-07-15 Jackson Harper <jackson@ximian.com>
3182 * ListControl.cs: Simplify comparison.
3184 2005-07-15 Jackson Harper <jackson@ximian.com>
3187 * Repeater.cs: Use new utility class for resolving data sources.
3189 2005-07-15 Jackson Harper <jackson@ximian.com>
3191 * ListControl.cs: Add attributes so the sub items get parsed
3192 properly. Remove old unneeded code for resolving lists.
3194 2005-07-15 Jackson Harper <jackson@ximian.com>
3196 * ListControl.cs: Use the DataSourceHelper so DataMembers are
3199 2005-07-14 Ben Maurer <bmaurer@ximian.com>
3202 - Some optimizations
3203 * Don't use enum formatting stuff, it is 1) expensive 2) does
3204 allocations. Use a new method in HtmlControl to do the right
3206 * Don't use Enum.IsDefined but an explicit check.
3207 * (x == "" || x.Length < 2) is not needed since "".Length == 0 < 2
3208 - Use the correct coding style.
3210 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
3212 * WebColorConverter.cs:
3213 - Alpha of 255 is only set if the hex number is exactly 6 digits
3214 - Ben didn't like the catch { throw; } (even though MS documents to
3216 - Use Invariant Culture for parsing (thanks, Ben)
3218 2005-07-14 Jackson Harper <jackson@ximian.com>
3220 * ListControl.cs: Use DataBinder.Eval for data binding. This is more
3221 code-reuse-arific. Also use the IStateManager interface for loading
3222 data instead of the old internal method.
3224 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
3226 * WebColorConverter.cs: Implemented
3228 2005-07-14 Ben Maurer <bmaurer@ximian.com>
3230 * Repeater.cs: Cleanup; use the DataSourceHelper thingy.
3232 2005-07-14 Ben Maurer <bmaurer@ximian.com>
3234 * Repeater.cs: Get it working
3236 2005-07-14 Jackson Harper <jackson@ximian.com>
3238 * ListControl.cs: Initial implementation of Databinding. Make sure
3239 that the ListItemCollection is created when we load its ViewState.
3241 2005-07-14 Jackson Harper <jackson@ximian.com>
3243 * ListControl.cs: Fix typo.
3245 2005-07-14 Jackson Harper <jackson@ximian.com>
3247 * ListControl.cs: New Implementation. Lacks databinding support.
3249 2005-07-14 Ben Maurer <bmaurer@ximian.com>
3251 * Repeater.cs: The beginnings of this control
3253 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
3255 * TargetConverter.cs: Implemented
3257 2005-07-14 Duncan Mak <duncan@novell.com>
3259 * PagedDataSource.cs: Initial implementation.
3261 Methods that need to be figured out:
3262 CopyTo, GetItemProperties, PageCount, IsLastPage.
3264 To complete: CollectionEnumerator, ListEnumerator.
3266 2005-07-13 Duncan Mak <duncan@novell.com>
3268 * RepeatDirection.cs:
3270 * ValidationCompareOperator.cs:
3271 * ValidationDataType.cs:
3272 * ValidationSummaryDisplayMode.cs:
3273 * ValidatorDisplay.cs: Added remaining enumerations.
3275 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
3277 * FontNamesConverter.cs: Implemented
3279 2005-07-13 Ben Maurer <bmaurer@ximian.com>
3281 * RepeaterItem.cs: Compile fix
3283 * RepeaterItemCollection.cs: New file
3285 * RepeaterItem.cs: get OnBubbleEvent right.
3287 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
3289 * ListItemCollection.cs: Count can be derived from the array, which
3290 allows us to use a Pair instead of a Triplet and save some space
3292 2005-07-13 Ben Maurer <bmaurer@ximian.com>
3294 * RepeaterItem.cs: Stub
3296 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
3298 * ListItemCollection.cs: Implemented
3299 * WebControl.cs: Added check for enumeration validity (thanks Jackson)
3301 2005-07-13 Ben Maurer <bmaurer@ximian.com>
3303 * RepeatInfo.cs: Impl.
3305 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
3307 * FirstDayOfWeek.cs: Added
3309 2005-07-13 Jackson Harper <jackson@ximian.com>
3311 * ListBox.cs: Some parameter checking.
3313 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
3315 * Image.cs: Added support for DescriptionUrl as this property was
3316 added in Fx 1.1 SP1.
3318 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
3320 * Style.cs (AddAttributesToRender): Don't render attributes if they
3321 contain only their default value
3323 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
3325 * Table.cs: New. Initial re-implementation.
3326 * TableCell.cs: New. Initial re-implementation.
3327 * TableCellCollection.cs: New. Initial re-implementation.
3328 * TableHeaderCell.cs: New. Initial re-implementation.
3329 * TableItemStyle.cs: New. Initial re-implementation.
3330 * TableRow.cs: New. Initial re-implementation.
3331 * TableRowCollection.cs: New. Initial re-implementation.
3332 * TableStyle.cs: New. Initial re-implementation.
3334 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
3336 * Style.cs: Removed the call to Reset in CopyFrom. This fix the new
3337 unit tests (for Style) and more tests in Table* classes.
3339 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
3341 * Style.cs: TableStyle and TableItemStyle don't override IsEmpty,
3342 however IsEmpty returns false if any of their properties are set.
3343 Looks ugly but it's compatible with MS implementation (feature and
3346 2005-07-13 Dick Porter <dick@ximian.com>
3348 * CheckBox.cs: Reverted Ben's enum-to-int ViewState change, remove
3349 null Text properties from the ViewState, test for TextAlign being
3350 out of range. All to make tests pass on both mono and ms
3353 2005-07-13 Jackson Harper <jackson@ximian.com>
3355 * ListBox.cs: Use invariant culture when doing a ToString,
3356 set value to the item's value, not to its Text.
3358 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
3360 * WebControl.cs (AddAttributesToRender): Added ID to rendered
3363 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
3365 * Style.cs(MergeWith): Handle null styles
3367 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
3369 * TableCaptionAlign.cs: This enum was added in 1.1 SP1 so I removed
3370 the #if NET_2_0 on it.
3372 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
3374 * Style.cs: Only render font elements if fontinfo object exists
3376 - Implemented SaveViewState()
3377 - Added loading of Style to LoadViewState
3378 - Implemented IAttributeAccessor methods
3380 2005-07-12 Jackson Harper <jackson@ximian.com>
3382 * ListBox.cs: Even track default values in the viewstate. Call
3383 base's RenderContents.
3385 2005-07-12 Jackson Harper <jackson@ximian.com>
3387 * ListBox.cs: New impl.
3389 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
3392 - Implemented methods
3395 2005-07-12 Ben Maurer <bmaurer@ximian.com>
3397 * ListItem.cs: New impl.
3399 2005-07-12 Duncan Mak <duncan@novell.com>
3401 * DayNameFormat.cs: Added.
3403 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
3405 * WebControl.cs: Implemented properties
3407 2005-07-12 Ben Maurer <bmaurer@ximian.com>
3409 * TextBox.cs: Passwords seem 1) not to be rendered to the client
3410 if set, 2) not kept in view state (for security reasons...)
3413 * Button.cs: Page.Validate () if needed. Gets the validator tests
3416 * TextBox.cs: Properties to get the validator stuff to work.
3418 2005-07-12 Miguel de Icaza <miguel@novell.com>
3420 * Unit.cs: If the units are pixels, then truncate the value.
3422 2005-07-12 Dick Porter <dick@ximian.com>
3424 * RadioButton.cs: New implementation
3426 * CheckBox.cs: Rearrange the attributes rendering to allow
3427 RadioButton to derive from this
3429 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
3431 * TitleFormat.cs: Add attribute
3432 * TextBoxMode.cs: Add attribute
3433 * CalendarDay.cs: Initial implementation
3434 * ImageButton.cs: Initial implementation
3435 * CalendarSelectionMode.cs:Initial implementation
3437 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
3439 * TextBoxMode.cs: simple enum
3440 * TitleFormat.cs: simple enum
3442 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
3444 * FontInfo.cs: Now using BenM's fancy internal StateBag methods
3446 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
3448 * FontUnit.cs: Added TypeConverter attribute to class
3449 * FontUnitConverter.cs: Implemented
3451 2005-07-11 Ben Maurer <bmaurer@ximian.com>
3454 * Button.cs: Bubble the Command event.
3456 2005-07-11 Ben Maurer <bmaurer@ximian.com>
3459 - Clean up style (with my wonderful state bag hack!)
3460 - Fix a view state typo.
3461 - Use AddAttributesToRender
3462 - Don't add an extra <span>
3464 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
3466 * Style.cs: Handle null constructor argument for bag
3468 2005-07-11 Dick Porter <dick@ximian.com>
3470 * CheckBox.cs: New implementation
3472 * RadioButton.cs: Initial stubbed version that just compiles
3474 2005-07-10 Jordi Mas i Hernandez <jordi@ximian.com>
3476 * Button.cs: Initial Button implementation
3478 2005-07-10 Sebastien Pouliot <sebastien@ximian.com>
3480 * VerticalAlign.cs: Fixed enum name (copy/paste from HorizontalAlign).
3482 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
3484 * HorizontalAlign.cs: Typo in header.
3485 * VerticalAlign.cs: New. Required enum for TableRow control.
3487 2005-07-09 Ben Maurer <bmaurer@ximian.com>
3489 * TextBox.cs: More work on this
3491 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
3493 * GridLines.cs: New. Required enum for Table control.
3494 * HorizontalAlign.cs: New. Required enum for Table control.
3496 2005-07-09 Duncan Mak <duncan@novell.com>
3498 * CommandEventHandler.cs:
3499 * DataGridCommandEventHandler.cs:
3500 * DataGridItemEventHandler.cs:
3501 * DataGridPageChangedEventHandler.cs:
3502 * DataGridSortCommandEventHandler.cs:
3503 * DataListCommandEventHandler.cs:
3504 * DayRenderEventHandler.cs:
3505 * RepeaterCommandEventHandler.cs:
3506 * ServerValidateEventHandler.cs: Add delegates.
3509 * ListSelectionMode.cs:
3510 * NextPrevFormat.cs:
3512 * PagerPosition.cs: Add enums.
3514 2005-07-09 Ben Maurer <bmaurer@ximian.com>
3516 * TextBox.cs: Add the work I did on this today. It's not complete
3517 yet, but its a start!
3519 2005-07-09 Duncan Mak <duncan@novell.com>
3521 * CommandEventArgs.cs:
3522 * DataGridCommandEventArgs.cs:
3523 * DataGridItemEventArgs.cs:
3524 * DataGridPageChangedEventArgs.cs:
3525 * DataGridSortCommandEventArgs.cs:
3526 * DataListCommandEventArgs.cs:
3527 * DataListItemEventArgs.cs:
3528 * DayRenderEventArgs.cs:
3529 * RepeaterCommandEventArgs.cs:
3530 * RepeaterItemEventArgs.cs:
3531 * ServerValidateEventArgs.cs: Implemented.
3533 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
3535 * Image.cs: New. Image class implementation.
3536 * ImageAlign.cs: New. ImageAlign enum definitions.
3538 2005-07-08 Jackson Harper <jackson@ximian.com>
3540 * Literal.cs: New implentation.
3541 * MonthChangedEventArgs.cs: new
3542 * MonthChangedEventHandler.cs: new
3544 2005-07-08 Ben Maurer <bmaurer@ximian.com>
3546 * LinkButton.cs: Command impl
3548 2005-07-08 Ben Maurer <bmaurer@ximian.com>
3550 * LinkButton.cs: Initial impl
3552 2005-07-08 Jackson Harper <jackson@ximian.com>
3554 * AdCreatedeventArgs.cs: New implementation.
3556 2005-07-08 Dick Porter <dick@ximian.com>
3559 * BorderStyle.cs: Added
3561 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
3563 * FontInfo.cs: Fixed behaviour discrepancies showed by tests
3565 2005-07-07 Miguel de Icaza <miguel@novell.com>
3567 * Xml.cs: New implementation. R00lz.
3569 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
3571 * FontInfo.cs: Added and implemented.
3572 * Style.cs: Fixed behaviour discrepancies showed by tests
3574 2005-07-07 Ben Maurer <bmaurer@ximian.com>
3576 * PlaceHolderControlBuilder.cs: new file
3578 * LabelControlBuilder.cs: New file
3580 * HyperLink.cs: use control builder; fix parsing stuff
3582 * HyperLinkControlBuilder.cs: new file
3584 * Panel.cs: misc fixes
3586 2005-07-07 Miguel de Icaza <miguel@novell.com>
3588 * Unit.cs: Add TypeConverter, so that web_panel.aspx works again.
3590 * UnitConverter.cs: Add new file, learned from the
3591 System.Drawing.ColorConverter.
3593 2005-07-07 Ben Maurer <bmaurer@ximian.com>
3595 * PlaceHolder.cs: New file. Seems to do nothing
3597 * Label.cs: Use my new statebag trick to reduce typing
3599 * HyperLink.cs: New file
3601 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
3603 * Style.cs: Added and implemented.
3605 2005-07-06 Miguel de Icaza <miguel@novell.com>
3607 * FontUnit.cs: New file.
3609 * Unit.cs: New file.
3611 Added support for null and empty string constructors.
3613 2005-07-06 Ben Maurer <bmaurer@ximian.com>
3615 * Unit.cs: cctor not needed; static fields are 0 init'd by default
3617 * WebControl.cs: Kothari & Datye's book explains how these work.
3619 * IRepeatInfoUser.cs: Reimpl.
3621 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
3623 * WebControl.cs: Added stub
3625 2005-07-05 Miguel de Icaza <miguel@novell.com>
3627 * Label.cs: First control.
3629 2005-06-27 Lluis Sanchez Gual <lluis@novell.com>
3631 * DataControlField.cs: Ignore the ShowHeader property when
3632 building the control's content. It is the resposability of
3633 the field container to decide if the header should be shown
3636 2005-06-10 Lluis Sanchez Gual <lluis@novell.com>
3639 * ImageFieldMode.cs:
3640 * DynamicImageParameterMode.cs:
3641 * TableViewMode.cs: Removed.
3645 * TableRowSection.cs:
3646 * AutoCompleteType.cs:
3647 * DayNameFormat.cs: Track changes in 2.0 api.
3649 * StringArrayConverter.cs: This class is 2.0 only.
3651 2005-06-06 Lluis Sanchez Gual <lluis@novell.com>
3655 * DetailsView.cs: Bind the control after creating all child
3657 * DataBoundControl.cs: Call OnDataBinding and OnDataBound in
3658 the correct methods.
3659 * BaseDataBoundControl.cs: Don't call DataBind nor OnDataBound
3660 in this class. This is done in DataBoundControl. All this fixes
3663 2005-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3665 * ListItemCollection.cs: Patch from Curtis (eto@shaw.ca) that fixes
3666 FindByText. Closes bug #74205.
3668 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3670 * PagedDataSource.cs: patch by Suresh Kumar that makes PageCount return
3671 1 when there's a datasource and 0 pages. Closes bug #73864.
3673 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
3680 * MenuItemTemplateContainer.cs:
3681 * DetailsView.cs: Track changes in the IDataItemContainer interface.
3683 * CommandField.cs: Added CausesValidation property. Set that
3684 property value to all buttons of the field.
3686 * SqlDataSourceView.cs:
3687 * CollectionDataSource.cs:
3688 * XmlDataSourceView.cs: Properly initialize the base class.
3690 * SiteMapDataSource.cs:
3691 * SiteMapHierarchicalDataSourceView.cs:
3692 * SiteMapNodeItem.cs:
3693 * SiteMapDataSourceView.cs:
3694 * SiteMapPath.cs: Mostly implemented.
3696 * HierarchicalDataBoundControl.cs: Always bind the control when the
3697 page is loaded for the first time.
3699 * TreeView.cs: Properly bind the control when loaded from a callback.
3701 2005-05-21 Ben Maurer <bmaurer@ximian.com>
3703 * BaseDataList.cs: Caption is in 1.1 too, though not
3704 documented. Gonz owes me [more] ice cream. Yummmmm.
3706 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3708 * BaseDataList.cs: implemented 2.0 Caption property.
3710 2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
3712 * TreeView.cs: Always render the startup script. This fixes
3715 2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
3717 * WizardStepBase.cs:
3718 * WizardStep.cs: Added missing attributes.
3719 * Wizard.cs: Implemented missing methods and properties. It can now
3720 be considered feature complete.
3722 2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3724 * DataGrid.cs: cleanup in AutoCreateColumns. Don't throw at the end of
3725 the method if the data source was en empty IEnumerator. Fixes
3728 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
3732 * Menu.cs: Implemented some new properties from beta 2.
3734 * DataControlButton.cs: Render the ControlStyle if it
3738 * FontUnitConverter.cs: Improved the conversion to InstanceDescriptor.
3739 It will now generate an object creation, instead of a Parse call.
3741 * GridViewCommandEventArgs.cs: Added missing property.
3742 * SubMenuStyleCollection.cs: This class is not sealed.
3743 * MultiView.cs: Set Visible=false to all views that are not
3744 shown. This ensures that it's view state is saved.
3746 * BaseDataBoundControl.cs:
3747 * GridViewDeletedEventArgs.cs: Minor api fixes.
3749 * FormViewDeleteEventArgs.cs:
3750 * DetailsViewDeletedEventArgs.cs:
3751 * ListControl.cs: Fix warnings.
3755 * HotSpotCollection.cs
3758 * RectangleHotSpot.cs
3759 * WizardStepCollection.cs : Implemented.
3763 * Wizard.cs: Initial implementation.
3765 2005-05-04 Lluis Sanchez Gual <lluis@novell.com>
3767 * DataControlField.cs:
3771 * DataControlCommands.cs:
3772 * DetailsView.cs: Use constants to identify commands.
3774 * SubMenuStyle.cs: Use Unit instead of int for padding.
3775 * SubMenuStyleCollection.cs: Implemented.
3778 * Menu.cs: Added some missing methods and properties.
3781 * DataGridPagerStyle.cs: Fixed default value attributes.
3782 * ListControl.cs: Implemented IEditableTextControl interface.
3784 * MenuItemBinding.cs: Added Selectable property.
3785 * CustomValidator.cs: removed interface.
3787 * MenuItem.cs: Added support for custom binding.
3788 * DropDownList.cs: Moved text properties to base class.
3790 2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3792 * Calendar.cs: OnDayRender can toggle IsSelectable on our back.
3794 2005-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3796 * Calendar.cs: when the day is active, modify the text of the literal
3797 control that holds the number, not the text of the TableCell. Also call
3798 OnDayRender before updating that text. Fixes bug #74718.
3800 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
3802 * DataKey.cs: Added virtual TrackViewState and IsTrackingViewState
3804 * DataControlFieldHeaderCell.cs: Save Scope in view state.
3805 Added AbbreviatedText property.
3806 * AutoGeneratedField.cs: The constructor should actually be internal.
3807 * DataGridItem.cs: Added implemented interface in 2.0.
3808 * DataControlFieldCollection.cs: Implemented CloneFields and
3812 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3814 * StringArrayConverter.cs:
3815 * Calendar.cs: warnings.
3817 2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
3819 * FormViewDeleteEventArgs.cs:
3820 * FormViewInsertEventArgs.cs:
3821 * FormViewUpdateEventArgs.cs:
3822 * FormViewDeletedEventArgs.cs:
3823 * FormViewUpdatedEventArgs.cs:
3824 * FormViewInsertedEventArgs.cs: Implemented some missing properties.
3827 * IButtonControl.cs:
3828 * Button.cs: Removed SoftKey property.
3830 * CheckBox.cs: Don't try to load post back data if the control
3834 * AutoGeneratedField.cs:
3835 * DataControlField.cs:
3837 * ButtonFieldBase.cs:
3841 * ButtonField.cs: Don't bind fields in Insert state.
3842 Implemented CreateField and CopyProperties.
3845 * DetailsView.cs: Removed some unneeded interfaces. Don't
3846 generate the field rows if there are no items in the data source.
3847 Don't get the current keys until the whole control has been
3850 * DetailsViewInsertedEventArgs.cs:
3851 * DataBoundControl.cs:
3852 * ObjectDataSourceView.cs: Made some methods private.
3855 * Menu.cs: Changed some properties from int to Unit.
3857 * DataControlButton.cs: javascript prefix is needed when raising
3858 the postback event from a link.
3860 * PagedDataSource.cs: Some fixes in Count and IsLastPage properties.
3861 The result was wrong when the total data source count was 0.
3863 * FormView.cs: Implemented.
3864 * FormViewRow.cs: Implemented.
3867 * Localize.cs: Fixed base interface.
3869 * BaseDataBoundControl.cs: In DataBind() call the base class
3870 DataBind method, so the binding context is properly set.
3872 2005-04-15 Lluis Sanchez Gual <lluis@novell.com>
3874 * DetailsView.cs: Added some null checks.
3875 * TemplateField.cs: Implemented support for two-way bindings.
3877 2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
3879 * DetailsView.cs: Implemented support for Insert operation.
3880 Added header and footer templates. Added missing style
3882 * ObjectDataSourceView.cs: Use ParameterCollection.GetValues
3883 to get filter values. Other minor fixes.
3884 * CommandField.cs: Properly render the Insert and New buttons.
3885 * ObjectDataSource.cs: Update the parameter collections after
3886 the page is loaded. This will fire the ParameterChanged event
3888 * DataBoundControl.cs: The OnDataSourceViewChanged method
3889 is called when the view changes, not when the datasource
3892 * DetailsViewInsertedEventArgs.cs:
3893 * DetailsViewInsertEventArgs.cs: Implement Values property.
3896 * AutoGeneratedField.cs
3899 Take into account the Insert mode.
3901 * ParameterCollection.cs: Implemented UpdateValues and fixed
3902 GetValues (values can't be cached because can change).
3903 * Parameter.cs: Detect value changes in GetValue, and fire
3904 the change event if needed. Removed unused ParameterValue
3905 property. Other fixes.
3907 2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
3909 * DetailsView.cs: Initial implementation.
3910 * ObjectDataSourceView.cs: Notify changes in the parameters.
3911 * DetailsViewDeletedEventArgs.cs, DetailsViewUpdatedEventArgs.cs,
3912 DetailsViewDeleteEventArgs.cs, DetailsViewUpdateEventArgs.cs:
3913 Implemented some properties.
3914 * GridView.cs: Added null check in SelectedValue. Don't return null
3915 for empty DataKeyNames list.
3916 * DetailsViewRowCollection.cs: Implemented.
3917 * DetailsViewRow.cs: Implemented.
3918 * ButtonFieldBase.cs: By default button field don't have headers.
3919 * BoundField.cs: Don't bind header fields.
3921 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
3923 * ButtonField.cs: Get data item properties using TypeDescriptor.
3924 Made OnDataBindField private.
3925 * ObjectDataSourceView.cs: Implemented support for Delete and
3926 Insert operations, support for filtering and sorting,
3927 conflict detection, etc. It's now complete.
3928 * ObjectDataSource.cs: Completed most of functionality. Only
3929 caching support is missing.
3930 * ObjectDataSourceFilteringEventHandler.cs: New event handler.
3931 * TreeNode.cs: Get data item properties using TypeDescriptor.
3932 * PagerSettings.cs: Flush.
3933 * ObjectDataSourceFilteringEventArgs.cs: New event args.
3934 * GridView.cs: Get data item properties using TypeDescriptor
3935 and cache them. Properly set descending order in the sort
3936 expression. In UpdateRow, make sure we get the old values
3937 before the control is bound again.
3938 * ImageField.cs: Implemented.
3939 * AutoGeneratedField.cs: Initialize the field's sort
3940 expression in the constructor.
3941 * MenuItem.cs: Get data item properties using TypeDescriptor.
3942 * BoundField.cs: Get data item properties using TypeDescriptor.
3943 * CheckBoxField.cs: Added missing attributes.
3944 * TemplateField.cs: Implemented.
3946 2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3949 * FontUnitConverter.cs: fixed ConvertTo to work with target
3950 InstanceDescriptor and value as a string.
3952 * Unit.cs: culture might be null.
3956 2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
3958 * ButtonField.cs: Mostly implemented.
3959 * DataControlFieldHeaderCell.cs: Implemented.
3960 * ObjectDataSourceView.cs: Initial implementation.
3961 * DataControlButton.cs: Added support for real buttons.
3962 * Label.cs, DataControlField.cs: Flush.
3963 * ObjectDataSource.cs: Initial implementation.
3964 * HiddenField.cs: Added class stub.
3965 * GridView.cs: Load autogenerated field properties before
3966 creating the children, to make sure that column info is ready.
3967 * ControlParameter.cs: Implemented Evaluate method.
3968 * ImageField.cs: Added class stub.
3969 * BoundField.cs: Added HtmlEncode property.
3970 * DataControlFieldCell.cs: Moved AccessibleDataControlFieldCell
3972 * CheckBoxField.cs: Mostly implemented.
3973 * TemplateField.cs: Added class stub.
3974 * ObjectDataSourceSelectingEventArgs.cs: Added missing property.
3975 * ObjectDataSourceMethodEventArgs.cs: Fixed base class.
3976 * Parameter.cs: Added internal GetValue method (Evaluate is protected)
3978 2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
3980 * DataControlField.cs: Added missing InsertVisible property.
3981 * AutoGeneratedFieldProperties.cs: Implemented.
3982 * PagerSettings.cs: Minor fix.
3983 * GridView.cs: Implemented support for autogenerated fields, templates,
3984 accessible headers. Implemented paging using PagedDataSource.
3985 Implemented missing overridable methods.
3986 * AutoGeneratedField.cs: Initial implementation.
3987 * BoundField.cs: Added ReadOnly property.
3988 * PagedDataSource.cs: Implemented 2.0 api.
3989 * DataControlFieldCell.cs: Implemented AccessibleDataControlFieldCell
3990 cell class to be used by accessible headers.
3991 * TableCell.cs: Removed unneded constructor. If the cell is bound to
3992 a template, call the default RenderContents method.
3994 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
3996 * TreeNode.cs, TreeView.cs: Don't raise the SelectedNodeChanged
3997 event when loading the view state. Fixes #73746.
3999 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
4001 * ListControl.cs: Load selected indices in the right place. Fixes #73745.
4003 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
4005 * Button.cs, ImageButton.cs: Interpret PostBackOptions.ClientSubmit
4007 * CommandField.cs: Mostly implemented.
4008 * Menu.cs: Use callback methods moved to ClientScriptManager.
4009 * DataControlButton.cs: Internal control used to implement buttons
4010 for navigating in data bound controls.
4011 * DataControlField.cs, PagerSettings.cs: Use the new DataControlButton
4012 to render the column headers.
4013 * CheckBox.cs, RadioButton.cs, BulletedList.cs, TextBox.cs
4014 DropDownList.cs, Calendar.cs, ListBox.cs, LinkButton.cs, TreeView.cs:
4015 Don't use Page.GetPostBackClientEvent
4016 since it is deprecated in 2.0.
4017 * GridView.cs: Implemented some several interfaces.
4018 Implemented support client sorting and page navigation (using callbacks).
4019 Implemented the autogenerated command column using the new CommandField
4021 * ButtonFieldBase.cs: Implemented.
4022 * GridView.js: New helper script to support client side sorting and
4023 paging in the grid view.
4025 2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
4027 * DataKey.cs: Implemented.
4028 * XmlDataSourceView.cs: Implemented support for row pagging.
4029 * Table.cs: Fixed attribute value.
4030 * DataControlField.cs: Added support for sorting headers.
4031 * ChildTable.cs: Created.
4032 * ListControl.cs: Delay selection assignment, since control state
4033 is now loaded before view state.
4034 * GridViewDeleteEventArgs.cs, GridViewUpdateEventArgs.cs,
4035 GridViewDeletedEventArgs.cs, GridViewUpdatedEventArgs.cs: Implemented
4036 several missing properties.
4037 * PagerSettings.cs: Fully implemented.
4038 * BaseDataList.cs: Added null check.
4039 * GridView.cs: Implemented more functionality.
4040 * BoundField.cs: Added support for cell editing.
4041 * StringArrayConverter.cs: Implemented.
4042 * DataKeyArray.cs: Implemented.
4043 * BaseDataBoundControl.cs: Reset the requires binding flag before
4044 executing the query. This avoids recursive query calls.
4045 * GridViewRow.cs: Handler commands raised from row childs.
4047 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
4049 * XmlDataSourceView.cs: ExecuteSelect now returns a list of
4050 XmlDataSourceNodeDescriptor instead of a list of nodes. In this way
4051 it is possible to query for properties fore each data item.
4052 * Menu.cs, TreeView.cs: Make sure that objects are correctly created
4053 when loading its view state.
4054 * DataControlField.cs: Implement properties using a StateBag.
4055 * XmlDataSourcePropertyDescriptor.cs: Implemented.
4056 * PagerSettings.cs: Mostly implemented.
4057 * AccessDataSourceView.cs, AccessDataSource.cs: Added security attribute.
4058 * DataBoundControl.cs: Added null check.
4059 * GridView.cs: Initial implementation.
4060 * CompositeDataBoundControl.cs: Implemented.
4061 * BoundField.cs: Initial implementation.
4062 * GridViewRowCollection.cs: Initial implementation.
4063 * DataControlFieldCollection.cs: Initial implementation.
4064 * DataControlFieldCell.cs: Fixed control tag.
4065 * GridViewRow: Initial implementation.
4066 * XmlDataSourceNodeDescriptor.cs: Implemented.
4068 2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4070 * WebControl.cs: correctly use TagName in RenderBeginTag, ie, if TagKey
4071 is zero, use the TagName no matter its value. Fixes bug #72415.
4073 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
4075 * Style.cs: Method name fix.
4076 * HyperLinkColumn.cs, HyperLink.cs: Moved SoftkeyLabel to HyperLink.
4077 * BaseCompareValidator.cs: Method signature fix.
4078 * CollectionDataSource.cs: Implemented DataSource wrapper for collections.
4079 * BaseDataList.cs, Repeater.cs: Fixed data binding code.
4080 * BulletedList.cs: Added missing method.
4081 * DataBoundControl.cs, BaseDataBoundControl.cs: Made it behave like MS.NET.
4083 2005-02-16 Lluis Sanchez Gual <lluis@novell.com>
4085 * HyperLinkColumn.cs, Label.cs: Added missing 2.0 properties.
4086 * RadioButton.cs: Added missing 2.0 methods.
4087 * ListItem.cs: Added Enabled property.
4088 * MailMessageEventArgs.cs: Use the correct message class.
4089 * ListControl.cs: Implemented missing properties and support for
4090 control state. Implemented base RenderContents method.
4091 * Image.cs: Implemented DescriptionUrl and GenerateEmptyAlternateText
4093 * BaseCompareValidator.cs: Implemented methods that support conditional
4094 use of the invariant culture.
4095 * DataBoundControl.cs: Set RequiresDataBinding to true in OnLoad.
4096 * SqlDataSourceCommandEventArgs.cs, SqlDataSourceStatusEventArgs.cs:
4097 It takes a DbCommand instead of a IDbCommand.
4098 * GridViewSortEventArgs.cs: Added SortDirection property.
4099 * TextBox.cs, CheckBoxList.cs: Added protected version of
4100 IPostBackDataHandler methods.
4101 * RadioButtonList.cs: Added protected version of
4102 IPostBackDataHandler and IRepeatInfoUser methods.
4103 * Repeater.cs: Updated some method names.
4104 * DropDownList.cs: Added protected version of
4105 IPostBackDataHandler methods. Reuse RenderContents from base class.
4106 * RepeaterItem.cs, Localize.cs, Literal.cs: Fix inheritance.
4107 * GridViewUpdatedEventArgs.cs: Fix typo.
4108 * ListBox.cs: Added protected version of IPostBackDataHandler methods.
4109 Reuse RenderContents from base class.
4110 * BaseDataBoundControl.cs: Several fixes.
4111 * ImageButton.cs, LinkButton.cs: Implemented several 2.0 properties.
4113 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
4115 * CheckBoxList.cs: Fix build.
4117 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
4119 * Button.cs: Use validation group when validating page.
4120 * XmlDataSourceView.cs: Implemented ExecuteSelect.
4121 * Menu.cs: Minor fix.
4122 * CheckBox.cs: Added 2.0 properties and methods.
4123 * BaseDataList.cs: Always databind the control if view state
4125 * DataList.cs: In 2.0, use control state to save the selected index.
4126 * DetailsViewUpdatedEventArgs.cs: Fix typo.
4127 * CustomValidator.cs: Implement IStaticTextControl interface.
4128 * CheckBoxList.cs: Added missing 2.0 methods.
4129 * DropDownList.cs: Added missing 2.0 methods. Implemented ITextControl
4131 * XmlDataSource.cs: Return childs of DocumentElement, not the root
4133 * DayRenderEventArgs.cs, CompareValidator.cs, DataListItem.cs:
4134 Implemented 2.0 API.
4137 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
4139 * Button.cs: Implemented all missing 2.0 features.
4140 * Table.cs: Render the table caption, when specified.
4141 * Calendar.cs: Implemented most of missing 2.0 features.
4142 * TableCell.cs: Fixed attributes.
4144 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
4146 * ControlPropertyNameConverter.cs: Added file.
4148 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
4150 * Button.cs, MonthChangedEventArgs.cs, FontInfo.cs, Xml.cs, Style.cs,
4151 CookieParameter.cs, HyperLinkColumn.cs, Table.cs,
4152 RegularExpressionValidator.cs, WizardNavigationEventArgs.cs,
4153 ServerValidateEventArgs.cs, Menu.cs, DataControlField.cs,
4154 DataGridPagerStyle.cs, Label.cs, CheckBox.cs, ListItem.cs,
4155 RadioButton.cs, TableStyle.cs, ListControl.cs, Image.cs,
4156 BaseCompareValidator.cs, FontUnit.cs, DataListCommandEventArgs.cs,
4157 IButtonControl.cs, BaseDataList.cs, DataList.cs, BulletedList.cs,
4158 RangeValidator.cs, DataBoundControl.cs, ControlParameter.cs,
4159 RepeaterItemEventArgs.cs, SqlDataSource.cs, BaseValidator.cs,
4160 CustomValidator.cs, MenuItem.cs, SessionParameter.cs, TextBox.cs,
4161 QueryStringParameter.cs, Content.cs, ContentPlaceHolder.cs,
4162 CheckBoxList.cs, RepeaterCommandEventArgs.cs, RadioButtonList.cs,
4163 RequiredFieldValidator.cs, AdRotator.cs, DataListItemEventArgs.cs,
4164 DataGridSortCommandEventArgs.cs, Repeater.cs,
4165 MenuItemTemplateContainer.cs, HyperLink.cs, SqlDataSourceView.cs,
4166 XmlDataSource.cs, MultiView.cs, DataGridCommandEventArgs.cs,
4167 Panel.cs, CompositeControl.cs, DataGrid.cs, ButtonColumn.cs,
4168 CompareValidator.cs, HierarchicalDataBoundControl.cs,
4169 EditCommandColumn.cs, Calendar.cs, SiteMapDataSource.cs,
4170 ListBox.cs, TableCell.cs, ObjectDataSourceSelectingEventArgs.cs,
4171 ObjectDataSourceMethodEventArgs.cs,DataGridPageChangedEventArgs.cs,
4172 WebControl.cs, BaseDataBoundControl.cs, FormParameter.cs,
4173 ValidationSummary.cs, View.cs, ImageButton.cs, TableRow.cs,
4174 LinkButton.cs, DataGridColumn.cs, Parameter.cs, TableItemStyle.cs,
4175 AdCreatedEventArgs.cs:
4177 General 2.0 API fixes: missing attributes, incorrect inheritance,
4178 missing sealed keywords, wrong signatures, etc.
4180 2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
4182 * Table.cs: Added some 2.0 properties.
4183 * FontUnitConverter.cs, UnitConverter.cs: Implemented conversion to
4185 * BaseValidator.cs: Fix warning.
4186 * MultiView.cs, ViewCollection.cs, View.cs: Implemented.
4188 2005-01-26 Lluis Sanchez Gual <lluis@novell.com>
4190 * Menu.cs: Rendering fixes.
4192 2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
4194 * Content.cs, ContentPlaceHolder.cs, ContentControlBuilder.cs
4195 ContentPlaceHolderBuilder.cs: Implemented.
4197 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4199 * CheckBox.cs: when rendering the input tag inside a span tag, keep the
4200 attributes that are meant to be in the input tag in their place.
4202 2005-01-10 Juraj Skripsky <juraj@hotfeet.ch>
4204 * RepeatInfo.cs: fixed bug #68927 (DataList with RepeatLayout='Flow'
4205 generates invalid html).
4207 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
4209 * Menu.cs: Implemented most of missing properties. Added support for
4210 item templates. Implemented menu scrolling.
4211 * MenuItemBinding.cs: Implemented most of missing properties.
4212 * MenuItem.cs: Implemented most of missing properties.
4213 * Menu.js: Implemented scrolling and menu reposition into screen.
4214 * MenuItemTemplateContainer.cs: Implemented.
4215 * SubMenuStyle.cs: Implemented.
4217 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
4219 * Style.cs: Implemented RegisteredCssClass property. Added
4220 CopyTextStylesFrom method, which copies styles that only apply to text.
4221 * Menu.cs, Menu.js: Added hover style support. Define all menu styles
4222 in the page stylesheet. Added support for ItemSpacing property.
4223 * MenuItemStyle.cs: Implemented FillStyleAttributes method.
4225 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
4227 * Style.cs: Generate styles using a CssStyleCollection, so the code can
4228 be reused for the 2.0 FillStyleAttributes method.
4229 * Menu.cs: Implemented more properties and events. Rendering is very
4231 * MenuItem.cs: Added PopOutImageUrl property.
4232 * Menu.js: More work on submenu management.
4234 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
4236 * Menu.cs: Implemented basic rendering. Added some missing properties.
4237 * MenuItem.cs: Improved implementation of Depth.
4238 * Unit.cs: Added serializable attribute.
4239 * TreeView.cs: Moved GetScriptLiteral method to ClientScriptManager,
4240 so it can be reused.
4241 * Menu.js: New script to support he Menu control.
4243 2004-12-03 Lluis Sanchez Gual <lluis@novell.com>
4245 * MenuEventArgs.cs: Changed to sealed.
4246 * TreeView.cs: Minor fix.
4247 * Menu.cs, MenuItemBindingCollection.cs, MenuItemCollection.cs,
4248 MenuItemStyle.cs, MenuItemBinding.cs, MenuItem.cs,
4249 MenuItemStyleCollection.cs: Initial Menu code.
4251 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
4253 * TreeNodeBindingCollection.cs, TreeNodeStyleCollection.cs:
4254 Implemented SetDirtyObject.
4255 * Style.cs: Implemented SetDirty().
4256 * TreeNodeBinding.cs: Added missing attributes. Implemented SetDirty().
4257 * TreeNode.cs: Added missing attributes added support for
4258 PopulateOnDemand. Added some missing property bindings.
4259 * TreeNodeCollection.cs: Several minor fixes. SetDirty must be called
4260 to newly added elements to make sure al new data is saved.
4261 * TreeView.js: Implemented support for client population of nodes.
4262 * TreeNodeStyle.cs: Added missing attributes.
4263 * TreeView.cs: Implemented support for PopulateNodesFromClient and
4264 PopulateOnDemand. Improved rendering.
4266 2004-11-29 Sanjay Gupta <gsanjay@novell.com>
4268 * DataControlField.cs:
4269 * DataControlFieldCell.cs: Initial implementation.
4271 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
4273 * TreeNodeBindingCollection.cs: Implemented.
4274 * TreeNodeBinding.cs: Implemented.
4275 * TreeNode.cs: Added support for data binding.
4276 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif
4277 TreeView_Default_NoExpand.gif: Moved to resources directory.
4278 * ListControl.cs: Fixed api.
4279 * XmlHierarchicalEnumerable.cs: Made internal.
4280 * DataBoundControl.cs: Modified api to match latest ms.net.
4281 * TreeView.js: New javascript file to support TreeView in the client.
4282 * XmlDataSource.cs: Added missing attributes.
4283 * HierarchicalDataBoundControl.cs: Mostly implemented.
4284 * BaseDataBoundControl.cs: Mostly implemented.
4285 * XmlHierarchyData.cs: Made internal.
4286 * TreeView.cs: Mostly implemented. The major missing feature is
4287 client side tree population.
4289 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
4292 * DataBountControl.cs:
4293 * Repeater.cs: Added SelectArguments property and updated.
4294 * SiteMapDataSourceView.cs:
4295 * SqlDataSourceView.cs:
4296 * XmlDataSourceView.cs: Removed extra method, which was there to
4297 keep things compiling.
4299 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
4301 * TreeNodeBindingCollection.cs, TreeNodeBinding.cs, TreeNode.cs,
4302 TreeNodeCollection.cs, TreeNodeStyleCollection.cs, TreeNodeStyle.cs,
4303 TreeView.cs: Initial implementation.
4304 * DataBoundControl.cs: Set the correct base class.
4305 * HierarchicalDataBoundControl.cs, BaseDataBoundControl.cs: Created stub.
4306 * TreeNodeSelectAction.cs: Formatting.
4307 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif,
4308 TreeView_Default_NoExpand.gif: TreeView images.
4310 2004-11-22 Sanjay Gupta <gsanjay@novell.com>
4312 * SqlDataSourceView.cs: Updated methods and added one property.
4314 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
4316 * AccessDataSource.cs:
4317 * SqlDataSourceView.cs: Implemented CreateDataSourceView () method.
4318 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
4320 * SqlDataSource.cs: Updated call to constructor of SqlDataSourceView.cs.
4321 * SqlDataSourceView.cs: Updated constructor.
4323 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
4325 * AccessDataSourceView.cs: Added new class.
4327 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
4329 * SqlDataSourceView.cs: Corrected exception handling in
4330 ExecuteSelect method.
4332 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
4334 * SiteMapHierarchicalDataSourceView.cs, SiteMapDataSource.cs: New files.
4335 * SiteMapDataSourceView.cs: Minor fix.
4337 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
4339 * SqlDataSourceView.cs: Updated ExecuteSelect method.
4341 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
4343 * SqlDataSource.cs: Corrected Select method.
4345 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
4347 * SqlDataSource.cs: Updated Select method definition.
4348 * SqlDataSourceStatusEventArgs.cs: Updated class.
4350 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
4352 * SqlDataSourceView.cs: Removed implementation of Events (it is inherited
4353 from DataSourceView.cs).
4355 2004-11-10 Raja R Harinath <rharinath@novell.com>
4357 * SqlDataSourceView.cs (Select): Add 'override' to make it compile.
4359 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
4361 * SqlDataSource.cs: Corrected method calls.
4362 * SqlDataSourceView.cs: Partial implementation of few methods.
4364 2004-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4366 * ListItemCollection.cs: fixed bug when indexing changed elements in
4367 LoadViewState. Patch from Alois BĻlaška.
4369 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
4371 * SiteMapDataSourceView.cs:
4372 * SqlDataSourceView.cs:
4373 * XmlDataSourceView.cs: Cosmetic changes because of modifications in
4374 base class, DataSourceView. Changes are to keep things compiling.
4376 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
4378 * SiteMapDataSourceView.cs: Corrected class definition and updated.
4379 * XmlHierarchicalDataSourceView.cs: Modified according to changes in
4382 2004-10-14 Sanjay Gupta <gsanjay@novell.com>
4384 * AdRotator.cs: Updated.
4386 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
4388 * AccessDataSource.cs: Updated.
4390 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
4392 * ValidatedControlConverter.cs: Updated.
4394 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
4396 * AssociatedControlConverter.cs: Implemented.
4398 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
4400 * ControlIDConverter.cs: Initial implementation.
4402 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
4404 * IButtonControl.cs: Corrected property name.
4406 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
4408 * ParameterCollection.cs: Updated.
4410 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
4412 * Parameter.cs: Updated and completed implementation.
4414 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
4416 * ParameterCollection.cs: Resolved warnings, "Unreachable code detected"
4419 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
4421 * AccessDataSource.cs: Initial implementation.
4423 2004-09-30 Sanjay Gupta <gsanjay@novell.com>
4425 * DataControlRowState.cs:
4427 * TreeNodeTypes.cs: Added attribute.
4428 * DataControlRowType.cs:
4430 * SortDirection.cs: Corrected enumeration values.
4431 * TableRowSection.cs: Added new enumeration.
4432 * ObjectDataSourceStatusEventHandler.cs: Corrected method name.
4434 2004-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4436 * TableStyle.cs: don't render empty 'rules' attribute (again).
4438 2004-09-21 Sanjay Gupta <gsanjay@novell.com>
4440 * FormViewUpdatedEventArgs.cs: Spelling mistake.
4442 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
4444 * Literal.cs: Added new method Focus().
4446 2004-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4448 * RadioButton.cs: fix GroupName when the control is inside a
4449 NamingContainer different from Page. Closes bug #65586.
4451 2004-09-07 Sanjay Gupta <gsanjay@novell.com>
4453 * Localize.cs: Added new class.
4455 2004-09-03 Gaurav Vaish <gvaish_mono AT lycos.com>
4457 * CompositeControl.cs : Completed
4458 * Login.cs : Initial implementation.
4460 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4462 * Xml.cs: fixed get_DocumentContent (it was returning "" always!) and
4463 don't call MapPathSecure on the content itself.
4465 * XmlBuilder.cs: handle XML documents written inside asp:xml. The
4466 document is checked at parse time and will be checked again at run time.
4470 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
4472 * AuthenticateEventHandler.cs:
4473 * CreateUserErrorEventArgs.cs:
4474 * CreateUserErrorEventHandler.cs:
4475 * DetailsViewCommandEventHandler.cs:
4476 * DetailsViewDeleteEventArgs.cs:
4477 * DetailsViewDeleteEventHandler.cs:
4478 * DetailsViewDeletedEventArgs.cs:
4479 * DetailsViewDeletedEventHandler.cs:
4480 * DetailsViewInsertEventArgs.cs:
4481 * DetailsViewInsertEventHandler.cs:
4482 * DetailsViewInsertedEventArgs.cs:
4483 * DetailsViewInsertedEventHandler.cs:
4484 * DetailsViewModeEventArgs.cs:
4485 * DetailsViewModeEventHandler.cs:
4486 * DetailsViewPageEventHandler.cs:
4487 * DetailsViewUpdateEventArgs.cs:
4488 * DetailsViewUpdateEventHandler.cs:
4489 * DetailsViewUpdatedEventArgs.cs:
4490 * DetailsViewUpdatedEventHandler.cs:
4491 * FormViewCommandEventHandler.cs:
4492 * FormViewDeleteEventArgs.cs:
4493 * FormViewDeleteEventHandler.cs:
4494 * FormViewDeletedEventArgs.cs:
4495 * FormViewDeletedEventHandler.cs:
4496 * FormViewInsertEventArgs.cs:
4497 * FormViewInsertEventHandler.cs:
4498 * FormViewInsertedEventArgs.cs:
4499 * FormViewInsertedEventHandler.cs:
4500 * FormViewModeEventHandler.cs:
4501 * FormViewPageEventHandler.cs:
4502 * FormViewUpdateEventArgs.cs:
4503 * FormViewUpdateEventHandler.cs:
4504 * FormViewUpdatedEventArgs.cs:
4505 * FormViewUpdatedEventHandler.cs:
4506 * GridViewCancelEditEventArgs.cs:
4507 * GridViewCancelEditEventHandler.cs:
4508 * GridViewCommandEventHandler.cs:
4509 * GridViewDeleteEventArgs.cs:
4510 * GridViewDeleteEventHandler.cs:
4511 * GridViewDeletedEventArgs.cs:
4512 * GridViewDeletedEventHandler.cs:
4513 * GridViewEditEventHandler.cs:
4514 * GridViewPageEventHandler.cs:
4515 * GridViewRowEventHandler.cs:
4516 * GridViewSelectEventHandler.cs:
4517 * GridViewSortEventArgs.cs:
4518 * GridViewSortEventHandler.cs:
4519 * GridViewUpdateEventArgs.cs:
4520 * GridViewUpdateEventHandler.cs:
4521 * GridViewUpdatedEventArgs.cs:
4522 * GridViewUpdatedEventHandler.cs:
4523 * ImageMapEventHandler.cs:
4524 * MailMessageEventHandler.cs:
4525 * MenuEventHandler.cs:
4526 * ObjectDataSourceDisposingEventHandler.cs:
4527 * ObjectDataSourceEventHandler.cs:
4528 * ObjectDataSourceMethodEventArgs.cs:
4529 * ObjectDataSourceMethodEventHandler.cs:
4530 * ObjectDataSourceSelectingEventArgs.cs:
4531 * ObjectDataSourceSelectingEventHandler.cs:
4532 * ObjectDataSourceStatusEventArgs.cs:
4533 * ObjectDataSourceStatusEventHandler.cs:
4534 * SendMailErrorEventHandler.cs:
4535 * SiteMapNodeItemEventHandler.cs:
4536 * SqlDataSourceSelectingEventArgs.cs:
4537 * SqlDataSourceSelectingEventHandler.cs:
4538 * TreeNodeEventHandler.cs:
4539 * WizardNavigationEventArgs.cs:
4540 * WizardNavigationEventHandler.cs: Minor modifications, compiler error
4541 corrections and removing "sealed" access specifier from *EventHandler.cs
4543 2004-08-18 Sanjay Gupta <gsanjay@novell.com>
4545 * Literal.cs: Added new attributes and property for .Net 2.0
4547 2004-08-13 Sanjay Gupta <gsanjay@novell.com>
4549 * GridViewDeleteEventArgs.cs: Removed extra code.
4551 2004-08-12 Sanjay Gupta <gsanjay@novell.com>
4553 * SendMailErrorEventArgs.cs:
4554 * SendMailErrorEventHandler.cs:
4555 * SiteMapNodeItemEventArgs.cs:
4556 * SiteMapNodeItemEventHandler.cs:
4557 * SqlDataSourceSelectingEventArgs.cs:
4558 * SqlDataSourceSelectingEventHandler.cs:
4559 * TreeNodeEventArgs.cs:
4560 * TreeNodeEventHandler.cs:
4561 * WizardNavigationEventArgs.cs:
4562 * WizardNavigationEventHandler.cs: Added new delegates.
4564 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
4566 * ImageMapEventArgs.cs:
4567 * ImageMapEventHandler.cs:
4568 * MailMessageEventArgs.cs:
4569 * MailMessageEventHandler.cs:
4571 * MenuEventHandler.cs:
4572 * ObjectDataSourceDisposingEventArgs.cs:
4573 * ObjectDataSourceDisposingEventHandler.cs:
4574 * ObjectDataSourceEventArgs.cs:
4575 * ObjectDataSourceEventHandler.cs:
4576 * ObjectDataSourceMethodEventArgs.cs:
4577 * ObjectDataSourceMethodEventHandler.cs:
4578 * ObjectDataSourceSelectingEventArgs.cs:
4579 * ObjectDataSourceSelectingEventHandler.cs:
4580 * ObjectDataSourceStatusEventArgs.cs:
4581 * ObjectDataSourceStatusEventHandler.cs: Added new delegates.
4583 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
4585 * DetailsViewCommandEventArgs.cs:
4586 * FormViewCommandEventArgs.cs:
4587 * GridViewCommandEventArgs.cs: Corrected constructor.
4589 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
4591 * GridViewCancelEditEventArgs.cs:
4592 * GridViewCancelEditEventHandler.cs:
4593 * GridViewCommandEventArgs.cs:
4594 * GridViewCommandEventHandler.cs:
4595 * GridViewDeletedEventArgs.cs:
4596 * GridViewDeletedEventHandler.cs:
4597 * GridViewDeleteEventArgs.cs:
4598 * GridViewDeleteEventHandler.cs:
4599 * GridViewEditEventArgs.cs:
4600 * GridViewEditEventHandler.cs:
4601 * GridViewPageEventArgs.cs:
4602 * GridViewPageEventHandler.cs:
4603 * GridViewRowEventArgs.cs:
4604 * GridViewRowEventHandler.cs:
4605 * GridViewSelectEventArgs.cs:
4606 * GridViewSelectEventHandler.cs:
4607 * GridViewSortEventArgs.cs:
4608 * GridViewSortEventHandler.cs:
4609 * GridViewUpdatedEventArgs.cs:
4610 * GridViewUpdatedEventHandler.cs:
4611 * GridViewUpdateEventArgs.cs:
4612 * GridViewUpdateEventHandler.cs: Added new delegates.
4614 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
4616 * FormViewUpdatedEventArgs.cs: Corrected constructor.
4618 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
4620 * FormViewCommandEventArgs.cs: Corrected name of class.
4622 2004-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4624 * Xml.cs: use MapPath in DocumentSource and documentContent. Fixes
4627 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
4629 * FormViewCommandEventArgs.cs:
4630 * FormViewCommandEventHandler.cs:
4631 * FormViewDeletedEventArgs.cs:
4632 * FormViewDeletedEventHandler.cs:
4633 * FormViewDeleteEventArgs.cs:
4634 * FormViewDeleteEventHandler.cs:
4635 * FormViewInsertedEventArgs.cs:
4636 * FormViewInsertedEventHandler.cs:
4637 * FormViewInsertEventArgs.cs:
4638 * FormViewInsertEventHandler.cs:
4639 * FormViewModeEventArgs.cs:
4640 * FormViewModeEventHandler.cs:
4641 * FormViewPageEventArgs.cs:
4642 * FormViewPageEventHandler.cs:
4643 * FormViewUpdatedEventArgs.cs:
4644 * FormViewUpdatedEventHandler.cs:
4645 * FormViewUpdateEventArgs.cs:
4646 * FormViewUpdateEventHandler.cs: Added new delegates.
4648 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
4650 * DetailsViewCommandEventArgs.cs:
4651 * DetailsViewCommandEventHandler.cs:
4652 * DetailsViewDeletedEventArgs.cs:
4653 * DetailsViewDeletedEventHandler.cs:
4654 * DetailsViewDeleteEventArgs.cs:
4655 * DetailsViewDeleteEventHandler.cs:
4656 * DetailsViewInsertedEventArgs.cs:
4657 * DetailsViewInsertedEventHandler.cs:
4658 * DetailsViewInsertEventArgs.cs:
4659 * DetailsViewInsertEventHandler.cs:
4660 * DetailsViewModeEventArgs.cs:
4661 * DetailsViewModeEventHandler.cs:
4662 * DetailsViewPageEventArgs.cs:
4663 * DetailsViewPageEventHandler.cs:
4664 * DetailsViewUpdatedEventArgs.cs:
4665 * DetailsViewUpdatedEventHandler.cs:
4666 * DetailsViewUpdateEventArgs.cs:
4667 * DetailsViewUpdateEventHandler.cs: Added new delegates.
4669 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
4671 * AuthenticateEventArgs.cs:
4672 * AuthenticateEventHandler.cs:
4673 * CreateUserErrorEventArgs.cs:
4674 * CreateUserErrorEventHandler.cs: Added new delegates.
4676 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
4678 * IButtonControl.cs:
4679 * ICallbackContainer.cs:
4680 * ICompositeControlDesignerAccessor.cs:
4681 * IPostBackContainer.cs: Added new interfaces.
4683 2004-08-03 Sanjay Gupta <gsanjay@novell.com>
4686 * AutoCompleteType.cs:
4687 * ContentDirection.cs:
4688 * DataControlCellType.cs:
4689 * DataControlRowState.cs:
4690 * DataControlRowType.cs:
4691 * DetailsViewMode.cs:
4692 * DynamicImageParameterMode.cs:
4695 * ImageFieldMode.cs:
4702 * SiteMapNodeItemType.cs:
4703 * SiteMapNodeType.cs:
4704 * SiteMapViewType.cs:
4706 * TableCaptionAlign.cs:
4707 * TableHeaderScope.cs:
4709 * TreeNodeSelectAction.cs:
4711 * TreeViewImageSet.cs:
4712 * WizardStepType.cs: Added enumerations
4714 2004-08-02 Duncan Mak <duncan@ximian.com>
4717 * LoginFailureAction.cs:
4718 * LoginTextLayout.cs: Added enumerations.
4720 2004-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4722 * BaseValidator.cs: in Validate(), when the control is not visible or
4723 enabled, return inmediately after setting IsValid to true. Fixes bug
4726 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4728 * DataList.cs: s/HasChildren/HasControls()/.
4730 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4732 * DataList.cs: style.
4734 2004-07-27 Alon Gazit <along@mainsoft.com>
4735 * DataList.cs: Replaced foreach statement with for statement,
4736 in order to improve performence.
4738 2004-07-27 Alon Gazit <along@mainsoft.com>
4739 * WebControl.cs: changed RenderBeginTag()to use TagKey instead of
4741 * Unit.cs : changed GetTypeFromString() and GetStringFromPixel() to use
4742 switch statements in order to improve performance.
4744 2004-06-10 Alon Gazit <along@mainsoft.com>
4745 * WebControl.cs: fixed LoadViewState().
4746 Creates new attributes state bag only when the current is null.
4748 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4750 * Calendar.cs: implemented OnPreRender and HasWeekSelectors.
4752 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4754 * Calendar.cs: set the title class attribute if we have it. Fixes bug
4757 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4759 * Style.cs: added SetBit.
4761 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4764 * CompareValidator.cs:
4767 * WebControl.cs: Added protected missing members and attributes.
4769 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4771 * TextBox.cs: don't save the Text if in ViewState if it's a password.
4772 Save it if the control is not visible or not enabled. Fixes bug #58497.
4774 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4776 * Calendar.cs: fire OnDayRender after assigning the calendar cell text.
4779 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
4781 * SqlDataSourceCommandEventArgs:
4782 * XmlDataSource.cs : removed temporary workarounds for CLS
4783 compliance as System.Data is now CLS compliant
4785 2004-05-06 Alon Gazit <along@mainsoft.com>
4786 * WebControl.cs: fixed LoadViewState() and SaveViewState().
4787 Before the change the Enabled property wasn't updated when a postback
4789 * ListControl.cs: fixed SelectedIndex property implementation.
4790 Prevents throwing ArgumentOutOfRangeException (that should not be
4791 thrown), when the list is empty.
4793 2004-04-28 Alon Gazit <along@mainsoft.com>
4794 * WebControl.cs: fixed LoadViewState().
4795 Always loading the saved attributes collection.
4797 2004-04-18 Alon Gazit <along@mainsoft.com>
4798 * Repeater.cs: fixed InstantiateItem() and DataSource property.
4799 The change in DataSource prevents throwing ArgumentException while
4800 setting property value to null.
4801 The change in InstantiateItem() prevents NullReferenceException.
4803 2004-04-07 Lluis Sanchez Gual <lluis@ximian.com>
4805 * BaseValidator.cs: Store Display property in the correct ViewState
4806 property. Don't render anything if Display is ValidatorDisplay.None.
4808 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
4810 * Xml.cs: In LoadXpathDoc(), don't use MapPathSecure with documentSource,
4811 since it is already a physical path. Fixes bug #55334.
4813 2004-02-13 Jackson Harper <jackson@ximian.com>
4815 * Calendar.cs: Match MS postback data. This allows sites that
4816 parse the postback data manually to work.
4818 2004-02-04 Alon Gazit <along@mainsoft.com>
4819 * EditCommandColumn.cs: fixed InitializeCell().
4820 The rendered LiteralControl should contain " " and not " ".
4822 2004-02-01 Alon Gazit <along@mainsoft.com>
4824 * DataGrid.cs: fixed a problem in the paging mechanism in the method
4826 the problem was when (PagerStyle.Mode == PagerMode.NumericPages),
4827 while clicking the "..." link in the second page.
4829 2004-01-28 Alon Gazit <along@mainsoft.com>
4831 * Calendar.cs: prevent NullReferenceException in RenderAllDays().
4833 2004-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4835 * Calendar.cs: when rendering days, add a LiteralControl containing the
4836 day before OnDayRender is called. Only generate the default links for
4837 days when IsSelectable is true after OnDayRender. Fixes bug #53372.
4839 2004-01-21 Martin Baulig <martin@ximian.com>
4841 * XmlHierarchyData.cs: Make this compile with csc.
4843 * BulletedList.cs (BulletedList.SelectedItem): Removed the `set'
4844 accessor since the base class doesn't have one.
4846 2004-01-18 Alon Gazit <along@mainsoft.com>
4848 * CheckBoxList.cs: fix problem with negative TabIndex (wasn't rendered).
4850 2004-01-18 Alon Gazit <along@mainsoft.com>
4852 * Style.cs: CopyFrom method shouldn't copy a value that is equal to
4853 Property default value.
4854 * FontInfo.cs : CopyFrom method shouldn't copy a value that is equal to
4855 Property default value.
4857 2004-01-15 Alon Gazit <along@mainsoft.com>
4859 * RadioButtonList.cs: RepeatLayout property should affect the rendered
4862 2004-01-15 Alon Gazit <along@mainsoft.com>
4863 * FontInfo.cs: Add validation check to Size property.
4865 2004-01-07 Alon Gazit <along@mainsoft.com>
4866 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
4867 merge the column's style to the cell's style and not to
4868 the item's(row) style.
4870 2004-01-04 Alon Gazit <along@mainsoft.com>
4871 * RangeValidator.cs: Fixed ControlPropertiesValid().
4873 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4875 * Xml.cs: mono-stylized and removed warnings.
4877 2004-1-1 Alon Gazit <along@mainsoft.com>
4878 * RadioButtonList.cs: update RenderItem() so that each RadioButton
4879 is enabled or disabled like the RadioButtonList.
4880 * CheckBoxList.cs: update RenderItem() so that each CheckBox
4881 is enabled or disabled like the CheckBoxList.
4883 2004-1-1 Alon Gazit <along@mainsoft.com>
4884 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
4885 The Header or Footer Style shouldn't merge with the cells Style.
4887 2004-1-1 Alon Gazit <along@mainsoft.com>
4888 * DataGridColumn.cs: Headers and Footers are initialized
4889 with the relevant Style object.
4891 2003-12-30 Alon Gazit <along@mainsoft.com>
4892 * RepeatInfo.cs: Fixed DoVerticalRendering () and
4893 DoHorizontalRendering().
4894 Current implementation produces few extra html tags.
4896 2003-12-29 Alon Gazit <along@mainsoft.com>
4898 * CheckBox.cs: change the implementation of LoadPostData.
4899 Currently, while the AutoPostBack property equals true ,
4900 it isn't possible to perform uncheck.
4902 2003-12-19 Jackson Harper <jackson@ximian.com>
4904 * TableCell.cs: Setting a cells text should clear its control
4905 collection as per la specification. This fixes bug #51825.
4907 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4909 * DataGridColumn.cs: stylized LoadViewState.
4910 * DataGridColumnCollection.cs: when TrackViewState is called, also
4911 call it on all the existing columns. Fixes bug #52334.
4913 2003-12-18 Alon Gazit <along@mainsoft.com>
4915 * DataGridPagerStyle.cs: merge DataGridPagerStyle properties when Style
4918 2003-12-18 Alon Gazit <along@mainsoft.com>
4920 * TableStyle.cs: merge TableStyle properties when Style is empty.
4922 2003-12-16 Alon Gazit <along@mainsoft.com>
4924 * HyperLink.cs: Change Text property implementation. in MS when the Text
4925 property is set, all the controls in the HyperLink are being deleted.
4926 This fixes bug #52239.
4928 2003-12-15 Alon Gazit <along@mainsoft.com>
4929 * RepeatInfo.cs: Fixed DoVerticalRendering () and
4930 DoHorizontalRendering().
4931 Both methods add additional empty table row in the head of each item
4932 table when the variable named isTable equals true (happenes with the
4933 default instantiation of RepeatInfo). These additional rows should be
4934 added when isTable equals false.
4935 This fixes bug #52225.
4937 2003-12-15 Alon Gazit <along@mainsoft.com>
4939 * RepeatInfo.cs: Fixed DoVerticalRendering() and
4940 DoHorizontalRendering().
4941 Both methods add to rendered Header a colspan attribute according to the
4942 rows count. after the change the colspan is added according to the
4945 2003-12-15 Alon Gazit <along@mainsoft.com>
4946 * CheckBox.cs: Disabled CheckBox does not produce same HTML as .NET.
4947 In .NET if the checkbox is disabled ,its text appears disabled too.
4948 In Mono the text appears enabled. the fix is in Render().
4949 This fixes bug #52180.
4951 2003-12-15 Alon Gazit <along@mainsoft.com>
4952 * Repeater.cs: Change the implementation of CreateControlHierarchy().
4953 The current implementation renders extra Header and footer
4954 without Repeater.DataSource assign.
4955 This fixes bug #52179.
4957 2003-12-15 Alon Gazit <along@mainsoft.com>
4958 * DataGrid.cs: Change the implementation of the property
4959 BackImageUrl. The current implementation has no influence
4960 on the rendered Html.
4962 2003-12-15 Alon Gazit <along@mainsoft.com>
4963 * WebControl.cs: Change the implementation of the property
4964 Enabled. Before the change the WebControl also looked at
4965 parent.Enabled . fixed bug #52171.
4967 2003-12-11 Jackson Harper <jackson@ximian.com>
4969 * RepeatInfo.cs: When rendering vertically figure out how many
4970 colmns are not going to be filled in in the last row, and adjust
4971 things accordingly. This fixes bug #51863.
4973 2003-12-10 Alon Gazit <along@mainsoft.com>
4974 * TableRow.cs: Change the implementation of the properties
4975 HorizontalAlign and VerticalAlign. The current implementation
4976 has no influence on the rendered Html.
4978 2003-12-10 Alon Gazit <along@mainsoft.com>
4979 * TableItemStyle.cs: Add setting of The WRAP flag in the Wrap
4980 property's set method.
4982 2003-12-09 Jackson Harper <jackson@ximian.com>
4984 * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
4985 Increment counter when moving to start. Fixes bug #51926.
4987 2003-12-08 Jackson Harper <jackson@ximian.com>
4989 * HyperLinkColumn.cs: Fix navigate url rendering. Patch by
4990 Benjamin Jemlich. Fixes bug #51823.
4992 2003-12-07 Alon Gazit <along@mainsoft.com>
4993 * Panel.cs: Panel doesn't render nowrap attribute while the Wrap
4994 property is set to false. Fixes bug #58120.
4996 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4998 * TableItemStyle.cs: merge TableItemStyle properties when Style is
4999 empty. Fixes bug #51689. Patch by Alon Gazit <along@mainsoft.com>.
5001 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5003 * RadioButtonList.cs: render tabindex attribute if needed. Fixes bug
5006 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5008 * WebControl.cs: don't create the attributes when GetAttribute is
5011 2003-12-01 Jackson Harper <jackson@ximian.com>
5013 * WebControl.cs: Only allow access keys to be null or a single
5014 char. Patch by Alon Gazit <along@mainsoft.com>.
5016 2003-11-30 Jackson Harper <jackson@ximian.com>
5018 * CheckBoxList.cs: A checkbox will have null post data if it is
5019 unselected. This fixes bug #51516.
5021 2003-11-29 Jackson Harper <jackson@ximian.com>
5023 * DataGrid.cs: Display paging controls even when there is no
5024 data. Path by Mohammad DAMT. Fixes bug #51487.
5026 2003-11-29 Jackson Harper <jackson@ximian.com>
5028 * DataGrid.cs: Call TrackViewState when loading bound columns view
5029 state. So that their state is saved. This fixes bug #51424. Also
5032 2003-11-26 Jackson Harper <jackson@ximian.com>
5034 * BaseDataList.cs: Change && to || We will call that a typo so no
5035 one gets embarrased.
5037 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5039 * BaseDataList.cs: allow setting null as Datasource.
5041 * DataGrid.cs: keep autogenerated columns in the ViewState.
5043 Patches by Alon Gazit <along@mainsoft.com>.
5045 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
5047 * SqlDataSource*: Implement almost everything. Data access is
5050 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
5052 * Calendar.cs (SaveViewState):
5053 - We were allocating a 11 item array, we only used 10 items,
5054 so only allocate 10.
5055 - We only need to save the selected dates if there are any.
5056 * DataGrid.cs (SaveViewState):
5057 * DataGridColumn.cs (SaveViewState):
5058 * DataGridColumnCollection.cs (SaveViewState):
5059 - Only return the array if there is anything in it
5060 * Style.cs (SaveViewState):
5061 - Only save the bits if there were changes.
5062 * WebControl.cs (SaveViewState), (LoadViewState):
5063 - Don't save Enabled into the viewstate here, we already
5064 do it in the property. This just caused *EVERY* control
5065 to have a non-null state, taking up lots of extra room
5067 - The style will always be created with this control's
5068 viewstate, so the style will always return null for the
5069 viewstate. As such, we do not need to store it. We can
5070 also reduce the triplet to a pair because of this.
5072 2003-11-22 Jackson Harper <jackson@ximian.com>
5074 * ValidationSummary.cs: Fix number of messages and message array computation.
5076 2003-11-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5078 * Xml.cs: Corrected attribute
5079 * XmlBuilder.cs: Added
5081 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5083 * Xml.cs: class status based fixes.
5085 2003-11-19 Jackson Harper <jackson@ximian.com>
5087 * HyperLink.cs: Use ResolveUrl instead of ResolveBaseUrl.
5089 2003-11-19 Jackson Harper <jackson@ximian.com>
5091 * HyperLink.cs: Use ResolveBaseUrl so that ~/ is interpreted as
5092 teh applications base directory. This fixes bug #51092.
5094 2003-11-18 Todd Berman <tberman@gentoo.org>
5096 * ControlParameter.cs:
5097 * CookieParameter.cs:
5099 * QueryStringParameter.cs:
5100 * SessionParameter.cs: added public .ctor ()
5101 * Parameter.cs: added public .ctor (), internal SetOwnerCollection
5102 and handling, as well as internal ParameterValue for easy access.
5103 NOTE: ParameterValue doesnt respect TreatEmptyStringAsNull yet.
5104 * ParameterCollection.cs: implementation redux.
5106 2003-11-18 Todd Berman <tberman@gentoo.org>
5108 * ParameterCollection.cs: Implemented
5109 * Parameter.cs: Added _owner, SetOwnerCollection and proper handling.
5110 ToString () now matches asp.net
5112 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
5114 * ControlParameter.cs:
5115 * CookieParameter.cs:
5118 * QueryStringParameter.cs: New v2 files. Mostly
5119 implemented, still need a few methods.
5121 2003-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5123 * ListItem.cs: prevent nullrefs ni Get/SetAttribute. Thanks to Alon
5124 Gazit <along@mainsoft.com>.
5126 2003-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5128 * RadioButton.cs: fixed RenderInputTag for negative TabIndex values.
5129 Patch by Alon Gazit <along@mainsoft.com>.
5131 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
5133 * DataBoundControl.cs: Implement
5134 * ListControl.cs: inherit from the above.
5135 * Repeater.cs, BaseDataList.cs: should reset whenever we databind.
5137 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
5142 * Repeater.cs: add v2 databinding stuff
5143 * XmlDataSource.cs: make it load the xml.
5145 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
5148 * XmlDataSourceView.cs:
5149 * XmlHierarchicalDataSourceView.cs:
5150 * XmlHierarchicalEnumerable.cs:
5151 * XmlHierarchyData.cs: Implement
5153 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
5155 * SiteMapDataSourceView.cs: Implement.
5157 2003-11-07 Jackson Harper <jackson@ximian.com>
5159 * ImageButton.cs: This is a workaround for bug #49819. It appears
5160 that the .x and .y values are not being posted, and only the x
5161 value is being posted with the ctrl's id as the key.
5163 2003-11-07 Jackson Harper <jackson@ximian.com>
5165 * DataGrid.cs (CreateControlHierarchy): Current page index is
5166 alolowed to equal page count. This prevents an exception being
5167 thrown when both are zero.
5169 2003-11-06 Jackson Harper <jackson@ximian.com>
5171 * ValidationSummary.cs: Add Render method. Patch by Yaron Shkop.
5172 * BaseValidator.cs: Disable base control so the isValid flag is
5175 2003-11-03 Jackson Harper <jackson@ximian.com>
5177 * TemplateColumn.cs: Use the same renderer for selected items as
5178 normal items. This fixes bug #49744.
5180 2003-11-03 Jackson Harper <jackson@ximian.com>
5183 * WebControl.cs: Fix argument out of range exceptions on
5184 properties. Patch by Yaron Shkop.
5186 2003-11-03 Jackson Harper <jackson@ximian.com>
5188 * TemplateColumn.cs: If the item is selected but there is no
5189 editItemTemplate use the itemTemplate. This matches MS behvoir.
5191 2003-11-03 Jackson Harper <jackson@ximian.com>
5193 * Repeater.cs: Always set alternating items to the AlternatingItem
5194 type, when instantiating alternating items use the itemTemplate if
5195 the alternatingItem template is null. This matches MS behavoir and
5198 2003-11-03 Jackson Harper <jackson@ximian.com>
5200 * DataGridPagerStyle.cs: Name of view state attribute is
5201 PagerVisible not Visible. Call owner.OnPagerChanged when the pager
5202 visibility is changed. Patch by Yaron Shkop.
5204 2003-11-03 Jackson Harper <jackson@ximian.com>
5206 * RepeatInfo.cs: When doing horizontal rendering use the repeat
5207 columns as the number of columns in a row. This fixes bug #49016.
5209 2003-11-03 Jackson Harper <jackson@ximian.com>
5211 * PagedDataSource.cs (PageCount): Return page count of 1 if there
5212 paging is disabled. Patch by Yaron Shkop.
5213 * PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
5214 * TableStyle.cs (AddAttributesToRender): Render border style
5215 collapse. Patch by Yaron Shkop.
5217 * TableItemStyle.cs:
5218 * DataGridPagerStyle.cs: Call base copy and merge even if style is of
5219 the wrong type. Patch by Yaron Shkop.
5221 2003-11-03 Jackson Harper <jackson@ximian.com>
5223 * BoundColumn.cs: Render readonly columns. Patch by Mohammad DAMT.
5225 2003-11-02 Ben Maurer <bmaurer@users.sourceforge.net>
5228 * BulletedListDisplayMode.cs:
5229 * BulletedListEventHandler.cs:
5231 * BulletedListEventArgs.cs: V2 controls (yay!)
5233 2003-10-30 Jackson Harper <jackson@ximian.com>
5235 * Repeater.cs: Throw an exception if the datasource is set to
5236 something that does not implement either IListSource or
5237 IEnumerable. This fixes bug #50155.
5239 2003-10-30 Jackson Harper <jackson@ximian.com>
5241 * DataGridPagerStyle.cs: Do not allow page button counts to be set
5242 to less then 1. Patch by Yaron Shkop. This fixes bug #50236.
5244 2003-10-29 Jackson Harper <jackson@ximian.com>
5246 * ButtonColumn.cs: Format string and text to format were
5247 inversed. This fixes bug #50171.
5249 2003-10-29 Jackson Harper <jackson@ximian.com>
5251 * DataGridColumn.cs: If an item style is set apply it to the
5252 cell. This fixes bug #50173.
5254 2003-10-29 Ben Maurer <bmaurer@users.sourceforge.net>
5256 * HyperLinkColumn.cs: Patch by Yaron Shkop. Fixes #50234. Remove
5257 old debugging value.
5259 2003-10-29 Jackson Harper <jackson@ximian.com>
5261 * PagedDataSource.cs:
5262 * DataGrid.cs: Patch by Mohammad DAMT. Do not go past the
5263 end of the last page. Fixes bug #5085.
5265 2003-10-29 Jackson Harper <jackson@ximian.com>
5267 * CheckBox.cs: Do not change the status of a checkbox when there
5268 is no post data. This fixes bug #49091.
5269 * CheckBoxList.cs: Do not change the status of the checkboxes when
5270 there is no post data. This fixes bug #49093.
5272 2003-10-26 Ben Maurer <bmaurer@users.sourceforge.net>
5274 * RadioButton.cs: Patch by Yaron Shkop. Enables disabling a
5275 RadioButton. Fixes #50132
5277 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
5279 * PagedDataSource.cs: Patch by Ivo Haamer. Typo prevented
5280 paging from working. Fixes #48814.
5282 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
5284 * DataGrid.cs: A few typos kept us from viewing datagrids
5285 that were based on customized collections.
5287 2003-10-24 Ben Maurer <bmaurer@users.sourceforge.net>
5289 * DataGridCommandEventArgs.cs: typo, cmdSrc was becoming origionalArgs.
5291 2003-10-23 Ben Maurer <bmaurer@users.sourceforge.net>
5293 * Calendar.cs: render the next month button so that aligns to the
5296 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5298 * BaseCompareValidator.cs: splitted Convert. Fixed bug #49927. The fix
5299 was just changing && by || after the first Match.
5301 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5303 * Calendar.cs: apply header style in RenderHeader. Fixes bug #49144.
5304 Patch by Yaron Shkop.
5306 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5308 * DataGrid.cs: applied patch from Yaron Shkop (yaronsh@mainsoft.com)
5309 that fixes bug #49744. Now the selection doesn't lose its data.
5311 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
5313 * EditCommandColumn.cs: Implement; fix #49736
5315 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
5317 * ButtonColumn.cs: Use the DataGridLinkButton, so that we inherit
5318 the forground color. bug #49738
5320 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5322 * Calendar.cs: fixed bug #49727.
5324 2003-10-18 Ben Maurer <bmaurer@users.sourceforge.net>
5326 * TableStyle.cs: fix #49740.
5328 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5330 * SelectedDatesCollection.cs: fix by Yaron for bug #49698.
5331 * ValidationSummary.cs: fixes bug #49669.
5333 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5335 * Calendar.cs: apply the calendar style to the new Table, not to itself.
5338 * CheckBox.cs: render the hidden fields if AutoPostBack.
5340 * Style.cs: don't render empty width/height. Small improvement in
5343 * Table.cs: fixed condition for border width.
5346 (CopyFrom): always call the base class to copy other attributes. Fixes
5347 bug #49408. Don't render empty 'rules' attribute.
5349 * WebControl.cs: track viewstate when enabled. Don't overwrite source
5350 control attributes in CopyBaseAttributes.
5352 * ChangeLog: fixed dates.
5355 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
5357 * WebControl.cs : Attributes { get; } - Is Complete.
5358 * ValidationSummary.cs : AddAttributesToRender(HtmlTextWriter)
5361 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
5363 * BaseValidator.cs : DetermineRenderUplevel() - Completed.
5364 : RegisterValidatorCommonScript()
5365 - More code, I need HELP!
5366 : RegisterValidatorDeclaration()
5367 - More code, I need HELP!
5369 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5371 * CheckBoxList.cs: don't lose state when enabling/disabling. See bug
5374 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5376 * Repeater.cs: fixed bug #48807. It needed to use a DummyDataSource and
5377 ClearViewState only called when no items.
5379 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5381 * RadioButtonList.cs: fix for bug #48874 by Yaron Shkop.
5383 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5385 * RadioButtonList.cs: fix for bug #48870 by Yaron Shkop.
5387 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5389 * DataList.cs: fixed bug #48217. Patch by yaronsh@mainsoft.com (Yaron
5392 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5394 * AdRotator.cs: fixes bug #48691. Patch by yaronsh@mainsoft.com (Yaron
5397 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5399 * CheckBox.cs: render the 'disabled' attribute in the correct tag.
5400 * WebControl.cs: fixed Enabled property and save it in ViewState.
5404 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5406 * ListControl.cs: fixed bug #48668. Thanks to Yaron Shkop.
5408 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5410 * ListBox.cs: patch by yaronsh@mainsoft.com (Yaron Shkop) that fixes
5413 2003-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5415 * FontInfo.cs: fixed Name property as suggested by Rich Alimi
5416 <rich@velvetsea.net>.
5418 2003-09-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5420 * RegularExpressionValidator.cs: fix for EvaluateIsValid by Juraj
5421 Skripsky <juraj@hotfeet.ch>
5423 2003-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5425 * BaseValidator.cs: patch by Juraj Skripsky (juraj@hotfeet.ch) that
5426 fixes rendering of the end tag.
5428 2003-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5430 * Repeater.cs: fix for Items property provided by yaronsh@mainsoft.com
5431 (Yaron Shkop). Closes bug #48060.
5433 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5435 * CheckBox.cs: in LoadPostData, only return
5436 true when the new data is different from the one we had. Fixed
5437 conditions to save Checked state. Thanks to yaronshkop@hotmail.com
5440 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5442 * Style.cs: Font.Strikeout renders as 'line-through'. Fixes bug #47871.
5444 2003-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5446 * WebControl.cs: removed dangling ^M and unneeded fields. Keep track
5447 of Enable in ViewState. Fixes bug #47865.
5449 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5451 * Style.cs: the MARKED bit is not send set in ViewState unless something
5452 is changed. Fixed TrackViewState condition.
5454 * WebControl.cs: save the base ViewState *after* ControlStyle is done,
5455 because it uses the same ViewState as the control. Fixes bug #47725.
5457 2003-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5459 * HyperLinkColumn.cs: patch from David Pickens <dsp@rci.rutgers.edu>
5460 that fixes databinding when only DataTextField or DataNavigateUrlField
5463 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5465 * ListControl.cs: patch sent by Yaacov Akiba Slama <ya@slamail.org> on
5466 behalf of Yaron Shkop <yaronsh@mainsoft.com> that fixes selection of
5467 values before assigning a data source and other issues.
5469 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5471 * CheckBox.cs: save viewstate when needed and correctly handle post
5472 data. Fixes bug #47462.
5474 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5476 * ButtonColumn.cs: Removed additional attributes
5477 * CheckBox.cs: Added attribute
5478 * DataGrid.cs: Added attributes
5479 * HyperLinkColumn.cs: Changed attributes, added lamespec
5480 * Style.cs: Removed attributes
5481 * TextBox.cs: Added/ removed attributes
5483 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5485 * AdRotator.cs: Added all attributes
5486 * BaseDataList.cs: Added all attributes, added lamespec, removed additional attributes
5487 * BaseValidator.cs: Added all attributes
5488 * BoundColumn.cs: Added all attributes
5489 * Button.cs: Added all attributes
5490 * ButtonColumn.cs: Added all attributes, added lamespec
5491 * Calendar.cs: Added all attributes, added error checks, throws more exceptions
5492 * CheckBox.cs: Added all attributes
5493 * CheckBoxList.cs: Added all attributes
5494 * CompareValidator.cs: Added all attributes
5495 * CustomValidator.cs: Added all attributes
5496 * DataGrid.cs: Added all attributes, more verbose exceptions, fixed signature, removed additional attributes
5497 * DataGridColumn.cs: Added all attributes
5498 * DataGridColumnCollection.cs: Added all attributes
5499 * DataGridPagerStyle.cs: Added all attributes
5500 * DataGridTableInternal.cs: Made DataGridTableInternal internal
5501 * DataList.cs: Added all attributes, more verbose exceptions, removed non-existing member
5502 * DropDownList.cs: Added all attributes
5503 * FontInfo.cs: Added all attributes
5504 * HyperLink.cs: Added all attributes
5505 * HyperLinkColumn.cs: Added all attributes
5506 * Image.cs: Added all attributes
5507 * ImageButton.cs: Added all attributes
5508 * Label.cs: Added all attributes
5509 * LinkButton.cs: Added all attributes
5510 * ListBox.cs: Added all attributes, added error checks, throws more exceptions
5511 * ListControl.cs: Added all attributes
5512 * ListItem.cs: Added all attributes
5513 * ListItemCollection.cs: Added attribute
5514 * Literal.cs: Added all attributes
5515 * Panel.cs: Added all attributes
5516 * RadioButton.cs: Added all attributes
5517 * RadioButtonList.cs: Added all attributes, added error checks, throws more exceptions
5518 * RangeValidator.cs: Added all attributes
5519 * RegularExpressionValidator.cs: Added all attributes
5520 * Repeater.cs: Added all attributes
5522 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5524 * RequiredFieldValidator.cs: Added all attributes
5525 * Style.cs: Added all attributes
5526 * Table.cs: Added all attributes
5527 * TableCell.cs: Added all attributes, added error checks, throws more exceptions
5528 * TableCellCollection.cs: Added attribute
5529 * TableRow.cs: Added all attributes
5530 * TableRowCollection: Added attribute
5531 * TableStyle.cs: Added all attributes, improved error messages
5532 * TemplateColumn.cs: Added all attributes
5533 * TextBox.cs: Added all attributes, added error checks, throws more exceptions
5534 * ValidationSummary.cs: Added all attributes
5535 * WebControl.cs: Added all attributes
5536 * Xml.cs: Added all attributes
5538 2003-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5540 * DataGrid.cs: fixed signature of ItemCreated and PageIndexChanged.
5541 * DataList.cs: fixed signature of ItemCreated and ItemDataBound.
5543 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5545 * CheckBoxList.cs: fixes bug reported on the list about the state of
5546 the CheckButtons not being preserved across posts.
5548 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5550 * ListControl.cs: added SelectedValue property (1.1). Closes 46412.
5552 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5554 * AdRotator.cs: fixed bug #44271 and a few others bugs. Mono-stylized.
5556 2003-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5558 * ListControl.cs: save viewstate data when any of the 3 values is not
5559 null. Fixed condition to save selection indices. Closes bug #45493.
5561 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5563 * DataGrid.cs: fixed bug #43823.
5565 2003-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5567 * DataGrid.cs: fixed delegate type for SortCommand.
5569 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5571 * DataGridColumnCollection.cs: added missing return in RemoveAt.
5573 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5575 * DataGridColumnCollection.cs: fixed LoadViewState for the columns.
5576 Don't save ViewState is the number of columns is 0.
5578 2003-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5580 * DataGrid.cs: get the right item Type for the property we're reading
5581 fromt the data source.
5583 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5586 * TextBox.cs: added control builder attribute.
5588 2003-03-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5590 * DataGrid.cs: Fixed SaveViewState and type of ItemDataBound.
5592 2003-03-17 George Kodinov <gkodinov@openlinksw.co.uk>
5594 * Unit.cs: Called the correct method to get the Numeric locale for the
5597 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5599 * ButtonColumn.cs: fixed a couple of infinite loop problems and render
5600 correctly the header of the column.
5602 * DataGridTableInternal.cs: don't assign a default ID to this control.
5604 * LinkButton.cs: raise bubble event in OnCommand.
5606 * TableCellCollection.cs: fixed the index returned by Add.
5608 * TableRowCollection.cs: ditto.
5610 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5612 * Xml.cs: don't call MapPathSecure when setting DocumentSource.
5614 2003-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5616 * RangeValidator.cs: fixed bug #37577. Thanks to Stephane Tombeur
5617 for reporting the bug and providing the fix.
5619 2003-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5621 * DataGrid.cs: AutoGenerateColumns defaults to true. Fixed
5622 CreateColumnSet. Set the owner of the column when auto generated.
5623 In PrepareControlHierarchyForItem, fixed for loop bound.
5625 * LinkButtonInternal.cs: fixed infinite recursion bug.
5629 2003-01-22 Zdravko Tashev <ztashev@openlinksw.co.uk>
5631 * Xml.cs: a few fixes.
5633 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5635 * DataList.cs: handle the exception when adding new keys to
5638 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5640 * BaseDataList.cs: what can I say for this one? I spent so many time
5641 until I finally found this that I'm gonna miss this f....g bug... ;-).
5642 Farewell. Now we can get events from image buttons inside Data*.
5644 * DataList.cs: now the value stored in ViewState for item count is
5647 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5649 * DataGrid.cs: default value for ShowHeaders is true. Fixed style for
5651 * DataGridColumn.cs: added SetOwner method.
5652 * DataGridColumnCollection.cs: set the owner of the column when added.
5654 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5656 * BoundColumn.cs: typo.
5657 * DataGrid.cs: use 'as' instead of casting. Typo.
5658 * HyperLinkColumn.cs: call OnColumnChanged when any property change.
5661 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5663 * HyperLink.cs: fixes bug #36336.
5665 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5667 * DataList.cs: fixed IRepeatInfoUser.GetItemStyle.
5669 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5671 * BaseValidator.cs: return an empty string in GetControlValidationValue
5672 when GetValue returned null.
5674 * CompareValidator.cs: fixed EvaluateIsValid.
5676 * RegularExpressionValidator.cs: fixed EvaluateIsValid.
5678 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5680 * Xml.cs: use MapPathSecure to get the path of the document.
5682 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5684 * DataList.cs: fixed header & footer.
5686 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5688 * DataList.cs: for header and footer don't use data source.
5689 Instantiate in the DataListItem, not in the DataList.
5690 databind-template.aspx works now.
5692 2002-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5695 (Render): call RenderContents (), not base.RenderContents ().
5697 * DataList.cs: style.
5699 But I still haven't found what i'm looking for....
5701 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5703 * Calendar.cs: fixed loading/saving selected dates.
5704 * SelectedDatesCollection.cs: added internal function to get the
5705 underlying ArrayList.
5707 Calendar navigation works again. Selecting dates too.
5709 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5711 * DataList.cs: added a few attributes and fixed infinite recursion.
5713 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5715 * ListItemCollection.cs: fixed LoadViewState.
5717 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5719 * TableItemStyle.cs: TypeDescriptor.GetConverter seems to fail.
5720 Commented out some code until it works.
5722 2002-10-29 Gaurav Vaish <gvaish_mono@lycos.com>
5724 * BaseCompareValidator.cs - Fixed operator bug in
5725 Compare(string, string, ...)
5726 * CompareValidator.cs - EvaluateIsValid() : Implemented.
5728 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
5730 * BoundColumn.cs - InitializeCell(TableCell, int, ListItemType)
5732 - All Properties : Now make use of ViewState.
5734 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
5736 * BaseValidator.cs - Uncomment NotImplementedException.
5738 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
5740 * BaseValidator.cs - Minor changes in TODO comments.
5742 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
5744 * BaseValidator.cs - DetermineRenderUpLevel() : Uncomment
5745 the NotImplementedException being thrown.
5746 * DataGridPagerStyle.cs - Mode { set; } : Implemented.
5747 * DataGridLinkButton.cs - Added new class (private) : Implemented.
5748 * DataGrid.cs - InitializePager(DataGridItem, int,
5749 PagedDataSource) : Implemented.
5751 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
5753 * DataList.cs - PrepareControlHierarchy() : Implemented.
5755 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
5757 * DataList.cs - RenderContents(HtmlTextWriter) : Implemented.
5758 - GetItem(ListItemType, int) : Removed TODO.
5759 - CreateControlHierarchy(bool) : Implemented.
5760 - CreateItem(int, ListItemType) : Implemented.
5761 - CreateItem(int, ListItemType,
5762 bool, object) : Implemented.
5763 - InitializeItem(DataItem) : Implemented.
5764 * DataGrid.cs - CreateControlHierarchy(bool) : Bug fix.
5765 The ViewState["_!ItemCount"],
5766 ViewState["_!DataSource_ItemCount"]
5767 are shared by DataList and DataGrid, and hence
5768 should share the same name.
5769 - ResolveDataSource(object, string)
5770 : Removed. Use System.Web.UI.Utils.DataSourceHelper
5771 ::GetResolvedDataSource(object, string).
5774 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5776 * DataGrid.cs: fixed compilation
5778 2002-09-12 Gaurav Vaish <gvaish_mono@lycos.com>
5780 * PagedDataSource.cs - FirstIndexInPage : Fixed bug.
5781 * DataGrid.cs - CreateControlHierarchy(bool)
5782 : working towards completion.
5783 - ResolveDataSource(object, string)
5784 : stubbed new method
5786 : stubbed new method
5787 Well. It's almost done.
5788 * DataGridTableInternal.cs
5789 - Added new internal class.
5791 2002-08-28 Gaurav Vaish <gvaish_mono@lycos.com>
5793 * DataSourceInternal.cs - Added new class (internal).
5795 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5798 * HorizontalAlign.cs:
5800 * VerticalAlign.cs: fixes based on class status page.
5802 * HorizontalAlignConverter.cs: implemented.
5803 * VerticalAlignConverter.cs: implemented.
5805 * FontUnitConverter.cs: implemented GetStandardValues ().
5807 * WebColorConverter.cs: implemented ConvertFrom () and ConvertTo ().
5809 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
5811 * DataGrid.cs - AutoCreateColumns: Bug fixes.
5813 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
5815 * DataGrid.cs - AutoCreateColumns: completed, hopefully!
5817 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
5819 * DataGrid.cs - Working on the undocumented protected
5820 method CreateColumnSet. AutoCreateColumns method
5821 stubbed. Left CreateControlHierarchy for the time
5822 being, looks like I'm going insane. ;-)
5824 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
5826 * Button.cs - Steffen's OnCommand bug fix.
5828 2002-08-12 Gaurav Vaish <gvaish_mono@lycos.com>
5830 * DataGrid.cs - Added protected method (skeleton)
5831 CreateColumnSet(PagedDataSource, bool)
5832 Still trying to know how will it be used
5835 2002-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5837 * PagedDataSource.cs: fixed compilation.
5839 2002-08-08 Gaurav Vaish <gvaish_mono@lycos.com>
5841 * DataGrid.cs - Added private method
5842 CreatePagedDataSource
5844 CreateControlHierarchy(bool)
5845 * PagedDataSource.cs - Bug fixed.
5846 CurrentPageIndex is writable.
5848 2002-08-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5850 * DataGrid.cs: fixed typo.
5851 * DataGridPagerStyle.cs: added IsPagerOnTop and IsPagerOnBottom.
5853 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
5855 * DataGridColumn.cs - Added internal methods to get the
5856 various styles (needed in DataGrid.cs)
5857 * DataGrid.cs - Completed the method
5858 PrepareControlHierarchy()
5860 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
5862 * DataGrid.cs - Wokring on PrepareControlHierarchy()
5863 - Added private method
5864 PrepareControlHierarchyForItem()
5866 2002-08-05 Gaurav Vaish <gvaish_mono@lycos.com>
5868 * DataGrid.cs - Completed method
5869 OnBubbleEvent(object, EventArgs)
5871 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5873 * Xml.cs: implemented document/transform load.
5875 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5877 * Calendar.cs: added myself to the list of authors.
5878 * DropDownList.cs: fixed a few properties.
5879 * ListControl.cs: fixed SelectedIndex.
5881 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5883 * Calendar.cs: lots of fixes. Render days. Still left to persist
5884 selected days when changing month.
5886 * Unit.cs: fixed Percentage and Pixel.
5888 * WebControl.cs: a few properties are now using ControlStyle instead
5889 of ViewState to persist.
5891 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5893 * BaseValidator.cs: it works now.
5894 * DataGridColumn.cs: added attribute and made it abstract.
5895 * RequiredFieldValidator.cs: fixed return value in EvaluateIsValid.
5897 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5899 * TextBox.cs: default for Wrap is true.
5900 (OnPreRender): don't save Text if there are no listeners on TextChanged.
5902 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5908 (LoadViewState): fixed.
5910 * ListItemCollection.cs:
5911 (TrackViewState): use items instead of 'this' in foreach.
5914 (LoadViewState): more checking of parameters.
5916 * WebControl.cs: implemented LoadViewState and SaveViewState.
5919 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5921 * ListItem.cs: there was no code to unset the flags!!!
5923 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5925 * FontUnit.cs: use a hashtable for mapping size name to value.
5926 * HyperLink.cs: fixed a bug and a typo.
5927 * Unit.cs: some fixes to internal constructor.
5929 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5931 * ListControl.cs: fixed a couple of range checks.
5932 * WebControl.cs: MS lies! Not all WebControls must be rendered inside
5933 an HtmlForm (p.e., Label).
5935 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5945 * HyperLinkColumn.cs:
5954 * RadioButtonList.cs:
5958 * WebControl.cs: removed attributes added by mistake (i used
5959 GetCustomAttributes (true), d'oh!).
5961 * DataListItem.cs: implemented RenderItem.
5963 * Repeater.cs: implemented CreateItem and InitializeItem.
5965 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5967 * BaseDataList.cs: a couple of fiex and added attributes.
5968 * DataGrid.cs: little fixes.
5970 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5979 * RadioButtonList.cs:
5982 * Xml.cs: forgot to add using System.ComponentModel.
5984 * BaseValidator.cs: use explicitly
5985 System.ComponentModel.AttributeCollection as there is another class
5986 with the same name under System.Web.UI.
5988 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6007 * RadioButtonList.cs:
6012 * Xml.cs: added/fixed all attributes used by xsp.
6014 * BaseValidator.cs: some fixes.
6016 2002-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6019 (AddAttributesToRender): correctly default to border=1.
6021 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6024 (LoadAdFile): make the dictionary null after every iteration.
6028 * ListItem.cs: fixed warnings.
6030 Mon Jul 1 16:23:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
6032 * Style.cs, TableRow.cs, DataListItem.cs: fix compilation.
6034 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6036 * DataGridColumn.cs:
6037 * DataGridPagerStyle.cs:
6044 * ListItemCollection.cs:
6046 * ServerValidateEventArgs.cs:
6050 * Xml.cs: more class status page based changes.
6052 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6055 (.ctor): fixed to render the correct tag.
6056 (IPostBAckEventHandler.RaisePostBackEvent): fixed.
6058 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6061 (AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
6062 WebControl derived classes should be rendered inside a HtmlForm.
6064 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6066 * Repeater.cs: implemented CreateControlHierarchy. Fixed some event
6069 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6071 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
6072 * RepeatInfo.cs: implemented DoHorizontalRendering.
6074 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6076 * System.Web.UI.WebControls/Repeater.cs:
6078 (OnDataBinding): fixed stack overflow.
6080 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6082 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
6083 * RepeatInfo.cs: implemented DoHorizontalRendering.
6085 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6088 (CopyBaseAttributes): copy Attributes and don't throw exception.
6090 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6092 * ListBox.cs: mono-stylized.
6093 (AddAttributesToRender): call parent class method.
6095 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6097 * Style.cs: fixed IsEmpty and Width.
6099 * Table.cs: mono-stylized.
6100 (TableRowControlCollection.AddAt): fixed.
6101 (AddAttributesToRender): fixed.
6103 * TableCell.cs: mono-stylized.
6104 (.ctor): use PreventAutoID.
6105 (AddAttributesToRender): fixed.
6106 (AddParsedSubObject): fixed.
6108 * TableRow.cs: mono-stylized. Added
6109 ParseChildren attribute.
6112 (get_GridLine): fixed.
6114 2002-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6116 * Panel.cs: fixed stack overflow.
6117 * Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
6118 and SingleConverter.
6120 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6122 * RadioButton.cs: mono-stylized and some little fixes.
6124 * TextBox.cs: mono-stylized.
6125 (MaxLength): fixed typo.
6127 (AddAttributesToRender): don't render the text between the tags for
6128 SingleLine, use value attribute for it. Don't render the text for
6131 (OnPreRender): don't throw exception and call base.OnPreRender.
6133 (Render): for MultiLine, render the text between the opening and
6134 closing tags encoded as HTML.
6136 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6139 (AddAttributesToRender): fixer another stack overflow.
6142 (TagName): modified to use TagKey instead of tagKey as the property
6145 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6147 * LinkButton.cs: mono-stylized.
6148 (AddParsedSubObject):
6149 (RenderControls): little fixes.
6152 (AddAttributesToRender): fixed usage of IEnumerator.
6154 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6156 * Literal.cs: beautified.
6158 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6160 * Label.cs: beautified and fixed a couple of 'classic' bugs.
6162 * WebControl.cs: use Span as default tag when no other provided in
6163 constructor. That is what MS renders.
6165 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6168 (AddAttributesToRender): fixed (classic) stack overflow.
6170 * CheckBox.cs: mono-stylized.
6171 (AutoPostBack): fixed stack overflow.
6172 (Render): fixed alignment issues. Also set the For attribute always
6175 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6177 * AdRotator.cs: GetData does not work as it should, but now it returns
6178 useful data (only the first ad in the file). Set the NavigateUrl
6179 property in the hyperlink if available.
6181 * HyperLink.cs: fixed constructor and a couple of stack overflows.
6183 * Image.cs: added an attribute and fixed stack overflow.
6186 (RenderBeginTag): fixed.
6187 (TagName): don't call Enum.IsDefined twice.
6189 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6191 * WebControl.cs: added attributes PersistChildrenAttribute and
6192 ParseChildrenAttribute.
6194 2002-05-24 Duncan Mak <duncan@ximian.com>
6196 * DataGridItem.cs (SetItemType): Changed function signature to
6199 * ListItemCollection.cs (this): Changes the visibility level of
6202 * Repeater.cs (OnItemCommand):
6204 (OnItemDataBound): Added necessary casts.
6206 2002-05-07 Duncan Mak <duncan@ximian.com>
6208 * Button.cs (AddAttributesToRender):
6209 * ImageButton.cs (AddAttributesToRender): Added a missing argument to the
6210 GetClientValidatedEvent method.
6212 2002-03-27 Gaurav Vaish <gvaish@iitk.ac.in>
6214 * Removed extra methods, corrected access modifiers to several
6217 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
6219 * <SeveralFiles>.cs - Added some attributes
6220 * FontUnitConverter.cs - Added stubs for GetStandardValues*(..)
6221 methods. Will complete them later. Right now, busy with
6222 the attributes part.
6223 * RepeaterItem.cs - Completed.
6225 Oh God! Mercy! I will die applying attributes. I look at the missing
6226 part in the class-status - daemon! Kyrie eleison!
6228 2002-03-19 Gaurav Vaish <gvaish@iitk.ac.in>
6232 * AdRotator.cs - Added definition for Font.
6233 * BaseCompareValidator.cs - Added definition for Controls.
6234 * Calendar.cs - SelectMonthText definition corrected.
6235 * DataList.cs - Added definition for SeparatorTemplate.
6236 * BorderStyle.cs - Namespace correction. It belongs not to UI,
6237 but to UI.WebControls.
6239 2002-03-17 Gaurav Vaish <gvaish@iitk.ac.in>
6241 Finally, I have made it. Today I did a second build for the
6242 System.Web assembly. It compiled 195 classes today.
6243 I am waiting eagerly for the runtime to come up so that the objects
6244 may be tested to their last levels. Several of the methods are still
6245 under the tag of "TODO" throwing NotImplementedException. Well, I
6246 hope to remove them soon, but how far is this soon - even I don't
6247 know, though I am happy to make the build a success even before
6248 the vacations to come.
6250 2002-03-07 Gaurav Vaish <gvaish@iitk.ac.in>
6252 Yesterday and today I tried to do some building of the aseembly,
6253 but was dumped with uncoutably infinite errors. ;-)
6254 I have put the copies of the recent errors on my home page, want
6255 to have a look at them? See:
6256 http://mastergaurav.virtualave.net/mono/
6257 I don't know what to do with these errors. Oh! The buggy me! How
6258 will I overcome myself. Hopefully, by when my vacations over, I
6259 should have made a repository where the build will not fail.
6261 2002-03-05 Gaurav Vaish <gvaish@iitk.ac.in>
6263 I am now going to do a build that will include the
6264 System.Web.UI.WebControls namespace. Hoping that I will make it
6265 soon. My exams are coming near and I have to pack up soon.
6268 2002-03-04 Gaurav Vaish <gvaish@iitk.ac.in>
6271 And with this, ie, today's work, all the objects mentioned in the
6272 namespace appear in the implementation. But it may not be worth
6273 trying to go for a build because of dependence of several of the
6274 internal methods that may clash with already available assembly
6277 Also, the classes lack possible attributes, like those informing
6278 about child-controls etc. But I have to first create the attribute
6279 classes before I attach the attributes to the classes.
6281 * CustomValidator.cs - Completed. In process realized that
6282 I have to complete / rejuvinate BaseValidator class.
6283 * BaseValidator.cs - Complete rejuvination. Completed 80%
6284 of the job. All that is left is Render(HtmlTextWriter),
6285 DetermineRenderUplevel(), RegisterValidatorCommonScript()
6286 RegisterValidatorDeclaration()
6287 * DataGridPagerStyle.cs - Completed. That adds one more missle
6289 * DataKeyCollection.cs - Completed. Petty small.
6290 * Repeater.cs - Work started off. This is a quite
6292 * DataGridItemEventArgs.cs,
6293 * DataGridShortCommandEventArgs.cs,
6294 * DataListItemEventArgs.cs,
6295 * MonthChangedEventArgs.cs,
6296 * RepeaterItemEventArgs.cs,
6297 * ServerValidateEventArgs.cs,
6298 * DataGridPageChangedEventArgs.cs
6299 - Damn, I marked them "*", while they
6301 * Repeater.cs - Done all except for an undocumented
6302 method CreateControlHierarchy(bool). Though the method
6303 is quite clear by its name, but it will take some time
6304 for me to come with some material to flush in.
6306 2002-03-03 Gaurav Vaish <gvaish@iitk.ac.in>
6308 * SelectedDatesCollection.cs - Completed.
6309 * PagedDataSource.cs - Completed. Pathetically nice class.
6310 * RegularExpressionValidator.cs
6311 - Completed. Ridiculously small and
6312 annoyinglyc crazy-driving class, basically the method
6314 * RangeValidator.cs - Completed.
6315 * DataGridColumn.cs - Completed.
6316 * EditCommandColumn.cs - All is complete except for the
6317 InitializeCell(TableCell, int, ListItemType) method.
6318 * DataListItem.cs - All done except for a longish method
6319 RenderItem(HtmlTextWriter, bool, bool)
6321 2002-03-02 Gaurav Vaish <gvaish@iitk.ac.in>
6323 * RepeaterItemCollection.cs - Completed.
6324 I love *Collection classes. I am planning to make a
6325 program that will generate a *Collection class. It's so
6326 simple and the same. ;-)
6327 * DataGridColumnCollection.cs - Completed.
6328 ... except probably for *ColumnCollection classes, where
6329 you have to put in some more effort. Still, these class
6330 generation can be automated.
6331 * DataListItemCollection.cs - Completed.
6332 See, how easily, in less than a quarter of a minute, I
6333 completed this class - manually. Copy-Paste/Cut-Replace.
6335 2002-02-21 Gaurav Vaish <gvaish@iitk.ac.in>
6337 * DataGrid.cs - Following methods implemented:
6338 TrackViewState(), LoadViewState(object), SaveViewState(),
6339 On* -- The event raisers.
6340 OnBubbleEvent(object, EventArgs) is still incomplete.
6341 * DataGridItem.cs - Initial Implementation
6342 * DataGridItemCollection.cs - Completed.
6344 2002-02-08 Gaurav Vaish <gvaish@iitk.ac.in>
6346 * DataGrid.cs - Initial Implementation. Worked
6347 primarily with some properties.
6349 2002-02-07 Gaurav Vaish <gvaish@iitk.ac.in>
6351 * ListBox.cs - Completed. Implemented
6352 LoadPostData(string, NameValueCollection)
6353 * RequiredFieldValidator.cs - Completed. Pretty simple class.
6355 2002-02-06 Gaurav Vaish <gvaish@iitk.ac.in>
6357 * ListBox.cs - Implemented the following:
6358 RaisePostDataChangedEvent()
6360 2002-02-02 Gaurav Vaish <gvaish@iitk.ac.in>
6362 * ListBox.cs - Supports the following properties:
6363 BorderColor, BorderStyle, BorderWidth, Rows, SelectionMode,
6366 AddAttributesToRender(HtmlTextWriter), OnPreRender(EventArgs),
6367 RenderContents(HtmlTextWriter)
6370 2002-02-01 Gaurav Vaish <gvaish@iitk.ac.in>
6372 * TargetConverter.cs - Completed
6373 * TemplateColumn.cs - Completed
6374 * DataList.cs - Corrected the get-er methods for the
6375 *Style objects. Corrected the get/set-er methods for ViewState
6377 Addded support for properties:
6378 GridLines, HeaderStyle, HeaderTemplate, ItemStyle, ItemTemplate,
6379 RepeatColumns, RepeatDirection, RepeatLayout, SelectedIndex,
6380 SelectedItem, SelectedItemStyle, SelectedItemTemplate,
6381 SeparatorStyle, SeparatorItemTemplate.
6383 CancelCommand, DeleteCommand, EditCommand, ItemCommand,
6384 ItemCreated, ItemDataBound, UpdateCommand.
6386 CreateControlStyle(), LoadViewState(object),
6387 SaveViewState(), TrackViewState
6389 OnBubbleEvent, OnCancelCommand, OnDeleteCommand,
6390 OnEditCommand, OnItemCommand, OnItemCreated,
6391 OnItemDataBound, OnUpdateCommand
6392 Added dummy methods for some undocumented methods:
6393 CreateControlHierarchy(bool), CreateItem(int, ListItemType),
6394 CreateItem(int, ListItemType, bool, object),
6395 PrepareControlHierarchy(), InitializeItem(DataListItem)
6396 * ListBox.cs - Started working.
6400 2002-01-31 Gaurav Vaish <gvaish@iitk.ac.in>
6402 * RepeaterInfo.cs - Initial Implementation. Done all
6403 except for RepeatDirection.Vertical
6404 * TableStyle.cs - Completed
6406 2002-01-30 Gaurav Vaish <gvaish@iitk.ac.in>
6408 * DropDownList.cs - Completed
6409 * ListItemCollection.cs - Added method FindByValueInternal to
6410 assist in the derived classes.
6411 Discovered bug in FindByValue. Removed
6412 * UnitConverter.cs - Completed
6413 * PlaceHolder.cs - What can be simpler than this?
6414 * PlaceHolderControlBuilder.cs
6415 - Uh! Damn cool one.
6416 * RadioButtonList.cs - Initial Implementation. All is done
6417 except for the implementation of
6418 method IRepeatInfoUser.RenderItem(...)
6419 * ValidatedControlConverter.cs
6420 ^^^^^^^^^^^^^^^^^^^^^^^^^ - Looks complete. Doubtful though !!
6421 * ValidationSummary.cs - Initial Implementation.
6422 * WebColorConverter.cs - Initial Implementation
6424 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
6426 * FontNamesConverter.cs - Completed
6427 * FontUnitConverter.cs - Partial Implementation
6428 * ListItemControlBuilder.cs - Completed
6430 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
6432 * TextBox.cs - All done except *Render* methods
6433 * TextBoxControlBuilder.cs - Completed
6434 * Xml.cs - Partial Implementation
6436 2002-01-26 Gaurav Vaish <gvaish@iitk.ac.in>
6438 * RadioButton.cs - Completed
6439 * TextBox.cs - Partial Implementation
6441 2002-01-25 Gaurav Vaish <gvaish@iitk.ac.in>
6443 * Panel.cs - Completed
6444 * TableItemStyle.cs - Completed
6446 2002-01-18 Gaurav Vaish <gvaish@iitk.ac.in>
6448 * TableCellCollection.cs - Completed
6449 * TableRowCollection.cs - Completed
6450 * TableHeaderCell.cs - Completed
6451 * TableRow.cs - Completed
6453 2002-01-09 Gaurav Vaish <gvaish@iitk.ac.in>
6455 * TableCellControlBuilder.cs - Completed
6456 * Table.cs - Completed
6457 * TableCell.cs - Completed
6459 2002-01-07 Gaurav Vaish <gvaish@iitk.ac.in>
6461 * CheckBoxList.cs - Completed
6462 * ButtonColumn.cs - Completed
6463 * Button.cs - Completed
6465 2001-12-28 Gaurav Vaish <gvaish@iitk.ac.in>
6467 * HyperLink.cs - Completed
6468 * Image.cs - Completed
6469 * ImageButton.cs - Completed
6470 * Label.cs - Completed
6471 * LabelControlBuilder.cs - Completed
6472 * LinkButton.cs - Completed
6473 * LinkButtonControlBuilder.cs - Completed
6474 * Literal.cs - Completed
6475 * LieteralControlBuilder.cs - Completed
6476 * FontUnit.cs - Completed
6479 2001-12-27 Gaurav Vaish <gvaish@iitk.ac.in>
6481 * Calendar.cs - Completed the functions of Render*,
6482 ViewStates (Track/View/Save),
6484 Left: RenderAllDays (partially)
6486 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
6488 * Calendar.cs - Added some more functions
6489 * Style.cs - Completed
6490 * ListItem.cs - Completed
6491 * ListItemCollection.cs - Completed
6493 Made the first successful build of System.Web.dll that included
6494 System.Web.UI.WebControls!
6496 2001-12-20 Gaurav Vaish <gvaish@iitk.ac.in>
6498 FontInfo.cs - Complete revamp. Completed
6500 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
6502 ListItemCollection.cs - Completed
6503 ListItem.cs - Initial Implementation
6504 Style.cs - Initial Implementation
6506 Right now I am in a total mood to do a successful build. Creating so many
6507 classes, completing classes in System.Web System.Web.UI namespaces.
6509 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
6511 TODO - Properly added
6512 CheckBox.cs - Completed
6513 BaseDataList.cs - Completed
6514 DayRenderEventArgs.cs - Completed
6515 RepeaterItem.cs - Initial implementation
6517 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
6519 BaseCompareValidator.cs - Completed
6520 AdRotator.cs - Completed
6522 2001-12-15 Gaurav Vaish <gvaish@iitk.ac.in>
6524 CommandEventArgs.cs - Completed
6525 DataGridCommandEventArgs.cs - Completed
6526 RepeaterCommandEventArgs.cs - Completed
6527 DataListCommandEventArgs.cs - Completed
6528 CompareValidator.cs - Partial Implementation
6530 2001-12-02 Gaurav Vaish <gvaish@iitk.ac.in>
6532 CheckBoxList.cs - Partial Implementation.
6535 2001-12-01 Gaurav Vaish <gvaish@iitk.ac.in>
6537 ListControl.cs - Completed
6539 2001-11-30 Gaurav Vaish <gvaish@iitk.ac.in>
6541 CheckBox.cs - Completed
6542 ListControl.cs - Initial Implementation
6543 CheckBoxList.cs - Started with it, but first needed
6544 ListControl. Left it.
6546 2001-11-29 Gaurav Vaish <gvaish@iitk.ac.in>
6548 CalendarDay.cs - Making a note that this
6549 has been implemented
6550 Calendar.cs - Making a note that have made some changes.
6551 Unimplmented functions throw
6552 NotImplementedException
6553 CheckBox.cs - Can now "Render" and "LoadPostData"
6556 2001-11-08 Gaurav Vaish <gvaish@iitk.ac.in>
6557 WebControl.cs - Total Revamp, Partial Implementation
6558 AdRotator.cs - Able to load files
6559 AdCreatedEventArgs.cs - Implemented
6561 2001-11-05 Gaurav Vaish <gvaish@iitk.ac.in>
6562 Calendar.cs - Initial Implementation
6563 ButtonColumn.cs - Initial Implementation
6564 Button.cs - Initial Implementation
6565 BoundColumn.cs - Initial Implementation
6566 BaseCompareValidator.cs - Minor Changes
6567 DataList.cs, BaseValidator.cs, BaseDataList.cs
6568 - Added more functions, other changes
6570 2001-10-28 Gaurav Vaish <gvaish@iitk.ac.in>
6571 WebControl.cs - Initial Implementation
6572 DataList.cs - Initial Implementation
6573 BaseValidator.cs - Initial Implementation
6574 BaseDataList.cs - Initial Implementation
6576 2001-10-27 Gaurav Vaish <gvaish@iitk.ac.in>
6578 AdCreatedEventArgs.cs - Initial Implementation
6579 AdCratedEventHandler.cs - Implemented
6580 AdRotator.cs - Initial Implementation
6581 BorderStyle.cs - Implemented
6582 ButtonColumnStyle.cs - Implemented
6583 CalendarSelectionMode.cs - Implemented
6584 DayNameFormat.cs - Implemented
6585 FirstDayOfWeek - Implemented
6586 FontInfo.cs - Partial Implementation
6587 FontSize.cs - Implemented
6588 GridLines.cs - Implemented
6589 HorizontalAlign.cs - Implemented
6590 HyperLink.cs - Initial Implementation
6591 ImageAlign.cs - Implemented
6592 IRepeatInfoUser.cs - Implemented
6593 ListItemType.cs - Implemented
6594 ListSelectionMode.cs - Implemented
6595 NextPrevFormat.cs - Implemented
6596 PagerMode.cs - Implemented
6597 PagerPosition.cs - Implemented
6598 RepeatDirection.cs - Implemented
6599 RepeatLayout.cs - Implemented
6600 TextAlign.cs - Implemented
6601 TextBoxMode.cs - Implemented
6602 TitleFormat.cs - Implemented
6603 UnitType.cs - Implemented
6604 ValidationCompareOperator.cs
6606 ValidationDataType.cs - Implemented
6607 ValidationSummaryDisplayMode.cs
6609 ValidatorDisplay.cs - Implemented
6610 VerticalAlign.cs - Implemented
6614 i/ File Created 2001-11-13