1 2006-07-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3 * PagerSettings.cs: Fixed the pager range calculation formula. The old
4 one didn't work with more than 20 pages. Patch by Marek Habersack that
7 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
9 * FormView.cs: fixes to make Render more similar to dotnet.
11 2006-07-30 Vladimir Krasnov <vladimirk@mainsoft.com>
13 * Wizard.cs: fixed return value of OnBubbleEvent
15 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
17 * FormView.cs: init BottomPagerRow.ItemIndex with 0; gracefully
18 handle null result of GetData().
20 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
22 * FormView.cs: use TableStyle for ControlStyle.
24 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
26 * FormView.cs: save DataKeyNames and DefaultMode in ControlState.
28 2006-07-30 Andrew Skiba <andrews@mainsoft.com>
30 * FormView.cs: init DataKeys and fix null reference.
32 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
34 * TreeView.cs: several changes to improve compatibility with MS.
35 Patch by Marek Habersack that fixes bug #77551.
37 2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
39 * Style.cs: output the text-decoration value even when it is 'none'.
40 Patch by Marek Habersack that fixes bug #78968.
42 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
44 * FormView.cs: initialize PageCount with 0; fix IsBindableType to
47 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
49 * DetailsViewRowCollection.cs: returns this in SyncRoot.
51 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
53 * FormView.cs: throw ArgumentOutOfRange exception on bad CellSpacing
56 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
58 * ObjectDataSource.cs: add doc and fix usage of MergeParameterValues
60 2006-07-27 Andrew Skiba <andrews@mainsoft.com>
62 * AutoGeneratedField.cs: fix the internal constructor according to test
63 DetailsView_CreateAutoGenerateRow.
65 2006-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
67 * XmlDataSource.cs: implemented XSLT, removed properties from
69 * XmlDataSourceView.cs: fixed default xpath
71 2006-07-26 Andrew Skiba <andrews@mainsoft.com>
73 * DetailsView.cs: fix IsBindableType in accordance with MSDN and tests.
75 2006-07-25 Vladimir Krasnov <vladimirk@mainsoft.com>
77 * Wizard.cs: fixed ActiveStep property
78 fixed templated side bar
80 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
82 * ImageField.cs: fix null reference bug.
84 2006-07-25 Andrew Skiba <andrews@mainsoft.com>
86 * DetailsView.cs: init DataKey property with empty collection.
87 * DataKey.cs: fix unexpected exception bug.
88 * DataControlField.cs: override ToString according to MSDN.
90 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
92 * DetailsView.cs: create table style in CreateControlStyle.
94 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
96 * DetailsView.cs: don't throw the exception which .Net does not throw.
98 2006-07-24 Andrew Skiba <andrews@mainsoft.com>
100 * DetailsView.cs: save DefaultMode and DataKeyNames in control state,
101 to match .Net; fix PageCount to match record count.
103 2006-07-24 Vladimir Krasnov <vladimirk@mainsoft.com>
105 * Menu.cs: fixed properties default values, fixed rendering
108 2006-07-23 Vladimir Krasnov <vladimirk@mainsoft.com>
110 * Wizard.cs: implemented SkipLinkText, TagKey
111 fixed rendering bugs, fixed templated button bar rendering
112 fixed side bar rendering
113 * WizardStepBase.cs: fixed Name property
115 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
117 * DetailsView.cs: fix the regressions, caused by the previous commit.
119 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
121 * DetailsView.cs: correct handling the different default values of
122 DetailsView.CellSpacing and Table.CellSpacing.
124 2006-07-23 Andrew Skiba <andrews@mainsoft.com>
126 * DetailsView.cs: create a pager row when needed.
128 2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
132 * PagedDataSource.cs:
135 * LinkButton.cs: implement GetPostBackOptions for the 2.0 controls that
136 support it. The GridView control will no longer throw an exception when
137 rendered in the paging mode. Patch by Marek Habersack. Fixes bug #78288.
139 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
141 * DetailsView.cs: many fixes: initialize PageCount with 0; initialize
142 Rows with empty collection; call EnsureChildControls from get Row;
143 NullReference in DeleteItem; fix RenderGrid (ideas from GridView);
144 implemented IPostBackContainer.GetPostBackOptions.
146 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
148 * DetailsView.cs: create HeaderRow and FooterRow even when HeaderText
149 and FooterText are empty, to match .NET. Otherwise we have NullReference
152 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
154 * DetailsView.cs: Render fix.
156 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
158 * BoundField.cs: don't call DataBinder.GetPropertyValue with empty
161 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
163 * DetailsView.cs: NullReferenceException fix
165 2006-07-20 Vladimir Krasnov <vladimirk@mainsoft.com>
167 * PagerSettings.cs: implemented PropertyGhanged event
169 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
171 * DetailsView.cs: throw ArgumentOutOfRangeException for compatibility
172 with .Net; don't throw NotImplemented when base class implementation
175 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
177 * DetailsViewPagerRow.cs: add a stub for this class
179 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
181 * GridView: fixed DataKeyNames property, moved to ControlState
182 fixed PageCount property, initial PageCount ahould be zero
183 fixed SelectedDataKey, should throw exception if not initialized
184 fixed CreateColumns, wrong order of columns
185 fixed CreateControlStyle,
186 fixed InitializePager, no columnspan attrib on only one column
187 fixed LoadControlState, SaveControlState added DataKeyNames
188 fixed Render, RenderGrid should render within div tag
189 implemented GetPostBackOptions
190 * DataControlButton.cs: fixed Render, fixed style for img button
192 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
194 * CheckBoxField.cs: fixed InitializeDataCell, tooltip only in edit
197 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
199 * CommandField.cs: fixed ValidateSupportsCallback
201 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
203 * Image.cs: prepare to use HttpBrowserCapabilities. Does not
206 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
208 * SiteMapPath.cs: fixes for SiteMapPathTest.Render_xxx tests.
210 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
212 * WebControl.cs: fix for AddAttributesToRender - add display
213 style when appropriate
215 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
217 * CommandField.cs: fixed InitializeCell, wrong order of command
219 * ImageField.cs: image field with null src and ConvertEmptyStringToNull
220 should be rendered as label
221 * BoundField.cs: empty null value should be rendered as nbsp
222 * GridViewRowCollection.cs: fixed SyncRoot
224 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
226 * SiteMapPath.cs: create Literal instead of Label according to the
227 MSDN and test SiteMapPath_InitializeItem.
229 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
231 * Style.cs: BorderStyle should be added if BorderWidth greater than 0
232 * Image.cs: in 2.0 there is no border attribute, but border-width
235 2006-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
237 * Button.cs: always render the 'name' attribute. Fixes bug #78746.
239 2006-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
241 * DataList.cs: correctly initialize editable items when there's an
242 EditItemTemplate. Patch by Jarosław Pawlak.
244 2006-07-13 Juraj Skripsky <js@hotfeet.ch>
246 * CheckBox.cs (LoadPostData): the value of a disabled checkbox remains
249 2006-07-13 Vladimir Krasnov <vladimirk@mainsoft.com>
251 * BulletedList.cs: fixed Render, RenderBulletText, various properties
252 * ListItem.cs, ListItemCollection.cs: added Enabled property that is
255 2006-07-12 Vladimir Krasnov <vladimirk@mainsoft.com>
257 * MultiView.cs: 'initied' state variable was changed to views count in
258 the views collection.
260 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
262 * AutoGeneratedField.cs: fixed InitializeDataCell, autogenerated
263 checkbox should have tooltip
264 * HyperLinkField.cs: fixed InitializeCell, should create link control
265 only in data cell (not in header or footer), initialization of
267 * ImageField.cs: fixed InitializeDataCell, initialization of
270 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
272 * MultiView.cs: removed exception throwing from ActiveViewIndex
274 2006-07-11 Konstantin Triger <kostat@mainsoft.com>
276 * DataControlFieldCollection.cs: added OnClearComplete override;
277 refactor to eliminate null reference exception.
279 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
281 * MultiView.cs: fixed ActiveViewIndex, AddParsedSubObject
282 * View.cs: fixed Visible property
284 2006-07-09 Konstantin Triger <kostat@mainsoft.com>
286 * ImageField.cs: fixing .net compliancy.
288 2006-07-10 Andrew Skiba <andrews@mainsoft.com>
290 * SiteMapPath.cs: fix the default PathSeparator value.
292 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
294 * GridView.cs: always create Header/Fotter rows, but render only when
295 ShowHeader/Footer is true. Compute Header/Footer rows from rows
297 * CheckBoxField.cs: add override to ApplyFormatInEditMode,
298 add ToolTip and Text to the created CheckBox,
299 wrap exception thrown in OnDataBindField in httpException.
301 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
303 * DataControlField.cs,BoundField.cs: bug fixes found by BoundFieldTest.
305 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
307 * DataControlField.cs: correct handling empty header/footer text.
308 * TemplateField.cs: correct initialization according to
311 2006-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
313 * Wizard.cs: added functionality for Templated WizardStep
315 * added CompleteWizardStep.cs, CreateUserWizard.cs,
316 CreateUserWizardStep.cs, TemplatedWizardStep.cs
318 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
320 * AutoGeneratedField.cs: correcting default dataType.
322 2006-07-03 Vladimir Krasnov <vladimirk@mainsoft.com>
324 * DataControlField.cs: fixed Initialize, should always return false
326 2006-07-03 Lluis Sanchez <lluis@novell.com>
328 * BoundField.cs: Fix setter for HtmlEncode (it was setting always True).
330 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
332 * DataBoundControl.cs: implement MarkAsDataBound and consider it while
333 setting RequiresDataBinding in OnLoad event.
334 * GridView.cs: DataBind rows before other control can access the data.
335 * BoundField.cs: add unique ID to control for postback parameters.
337 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
339 * WebControl.cs: fix typo in EnableTheming.
341 2006-07-02 Konstantin Triger <kostat@mainsoft.com>
343 * MenuItemCollection.cs: save items if the collection is dirty.
344 * MenuItem.cs: During data binding: initialize Text and invoke binding recoursively.
345 Add item to collection before binding to let the state be correctly tracked.
346 * Menu.cs: Add item to collection before binding to let the state be correctly
349 2006-06-28 Juraj Skripsky <js@hotfeet.ch>
351 * RegularExpressionValidator.cs (EvaluateIsValid): wrap regex to
352 test against with "^...$" if necessary. MS.NET does this too.
354 2006-06-28 Vladimir Krasnov <vladimirk@mainsoft.com>
356 * WizardStepCollection.cs: Fixed Add methods to initialize
357 WizardStep.Wizard property
358 * Wizard.cs: Fixed ActiveStepIndex, it should be -1 if there no steps
359 Fixed GetStepType, if only one step present, it should be FinishStep
360 Fixed styles of tables for more accurate rendering, fixed Wizard
363 2006-06-28 Konstantin Triger <kostat@mainsoft.com>
365 * FormView.cs: instantiate correct template when the bounding data source is
368 2006-06-25 Konstantin Triger <kostat@mainsoft.com>
370 * FormView.cs: disabling setting out of range FormView.PageIndex.
372 2006-06-21 Andrew Skiba <andrews@mainsoft.com>
374 * FileUpload.cs: added
376 2006-06-20 Andrew Skiba <andrews@mainsoft.com>
378 * FormView.cs: handle CssClass attribute
380 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
382 * Button.cs: do something in PostBackUrl.
383 * Repeater.cs: when creating the RepeaterItemCollection, initialize
384 'items' if it hasn't been done yet. Fixes bug #78417.
386 2006-06-14 Vladimir Krasnov <vladimirk@mainsoft.com>
388 * BaseDataList.cs: added ConnectToDataSource method that called from
389 OnLoad, fixed GetData method
390 * Wizard.cs: fixed bug when called MoveTo after that control hierarchy
393 2006-06-14 Andrew Skiba <andrews@mainsoft.com>
395 * Menu.cs: add CssStyle value to the rendered class attribute
397 2006-06-13 Juraj Skripsky <js@hotfeet.ch>
399 * Calendar.cs: Make sure WebControls.Enabled is respected.
400 * SelectedDatesCollection.cs: Set time for all DateTime object passed in
401 to 12:00am as MS.NET does the same.
404 2006-06-13 Vladimir Krasnov <vladimirk@mainsoft.com>
406 * Repeater.cs: fixed ConnectToDataSource method, subscribed to
407 DataSourceViewChanged, looks for a datasource in its parent control
408 fixed GetData method, should not get data if datasource is null
410 2006-06-13 Konstantin Triger <kostat@mainsoft.com>
412 * ObjectDataSourceView.cs: raise OnDataSourceViewChanged events when data changes.
414 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
416 * GridView.cs: set the row index from GridRowView if CommandArgument does not contain this information.
418 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
420 * ObjectDataSourceViewTest.cs: return documented default for OldValuesParameterFormatString.
422 2006-05-24 Vladimir Krasnov <vladimirk@mainsoft.com>
424 * DataList.cs: Fixed LoadViewState method
426 2006-05-04 Lluis Sanchez <lluis@novell.com>
428 * BoundField.cs: Added missing throw kyword. Patch by Marek Habersack.
430 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
432 * BaseDataBoundControl.cs: ensure the control is bound if ViewState is disabled.
434 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
436 * FormView.cs: fix FormView.PageCount after data binding.
438 2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
440 * CheckBox.cs: certain attributes have to be rendered in the input tag,
441 not the <span>. Fixes bug #71251.
443 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
445 * BaseDataBoundControl.cs: RequiresDataBinding rebinds if the control prerendered.
448 ensure rebinding when FormView.PageIndex is called.
449 and bind to the correct PageIndex.
451 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
453 * MenuItem.cs: when binding to IHierarchyData, check whether
454 it implements INavigateUIData and retrieve NavigateUrl.
455 * CompositeDataBoundControl.cs: ensures data is bound before creating child controls.
457 Enable DataBinding by not throwing NotImplementedException in OnDataBound event.
458 Provide basic CreateChildControls implementation by ensuring the control is bound.
459 Ensure the child controls are created when the postback event is raised.
460 Provide default implementation for SkipLinkText to let the default functionality to work.
462 2006-04-11 Lluis Sanchez <lluis@novell.com>
464 * TreeNodeBinding.cs: Added HasPropertyValue property
465 to check if some properties have a value in the
467 * TreeNode.cs: Lazily get the dataPath. Instead of getting
468 bound properties when they are requested, get all of
469 them when the node is bound and store their values in
470 the state bag. In this way it won't be necessary to
471 query every time the datasource to get the values.
472 * XmlHierarchyData.cs: Implemented IHierarchyData.Path.
473 * TreeView.cs: Call base in OnInit(). Bind nodes after
474 adding them to the list, to properly keep track of
475 changes. Don't databind in postbacks.
477 2006-04-11 Chris Toshok <toshok@ximian.com>
479 * Login.cs (OnLoggingIn): use Events[loggingInEvent].
481 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
483 * BaseDataList.cs: Fix searching control by DataSourceID.
484 * DataList.cs: Enable binding using DataSourceID for NET_2_0.
487 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
489 * Login.cs: Added LayoutTemplate property support.
490 * LoginView.cs: Added LoggedInTemplate, AnonymousTemplate support.
491 DataBind: correctly bind child controls.
492 Implemented OnViewChanged, OnViewChanging, Render, Save/LoadControlState.
494 2006-03-29 Robert Jordan <robertj@gmx.net>
496 * DataGrid.cs: if custom paging is enabled the persisted item count
497 must be the count of the rendered items, otherwise paging from the
498 last to a previous page won't work correctly. Fixes bug #77556.
500 2006-03-29 Vladimir Krasnov <vladimirk@mainsoft.com>
502 * RepeatInfo.cs: fixed RenderBeginTag to set enabled value of table
503 when rendering disabled list control
505 2006-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
507 * Panel.cs: render the image url inside 'url()'. Fixes bug #77811.
509 2006-03-28 Alexandre Miguel Pedro Gomes <alexmipego@gmail.com>
511 * FontInfo.cs: Implemented ShouldSerializeNames
513 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
515 * DataGrid.cs, DataList.cs, RepeatInfo.cs: added accessablity features
517 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
519 * DataGrid.cs: fixed CreateControlHierarchy, added CurrentPageIndex
521 in PrepareControlHierarchy fixed style applying to AlternatingItem
523 2006-03-22 Vladimir Krasnov <vladimirk@mainsoft.com>
525 * DataList.cs: fixed RepeatColumns property, added value validation
526 in PrepareControlHierarchy method fixed style applying for
527 AlternatingItem, EditItem and Separator item
528 fixed RenderContents method, if no items exist, no nned to
529 render emty table strructure.
531 2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
533 * CompareValidator.cs: when searching for the control to compare, use
534 NamingContainer instead of Page. Fixes bug #77793.
536 2006-03-15 Chris Toshok <toshok@ximian.com>
538 * SiteMapPath.cs (InitializeItem): in the Current and Root node
539 cases, apply the NodeTemplate if it exists and there isn't a
540 CurrentNodeTemplate or RootNodeTemplate, respectively.
542 2006-03-15 Chris Toshok <toshok@ximian.com>
544 * SiteMapDataSourceView.cs (OnDataSourceViewChanged): override.
546 * SiteMapDataSource.cs (StartingNodeOffset): new property.
547 (GetStartNode): add code to handle StartNodeOffset < 0.
549 * CompositeControl.cs
550 (ICompositeControlDesignerAccessor.RecreateChildControls): just
551 call the non-iface method.
553 * DataBoundControl.cs (GetDataSource): this is likely wrong, but
554 traverse up the naming container tree looking for our datasource
555 if we're bound using a DataSourceID. This fixes things in the
556 sitemap1 test, which uses a mixture of templates and
557 ContentPlaceholders with the sitemapdatasource and sitemappath at
558 different levels in the naming container tree (let along the
561 * SiteMapPath.cs (DataBind): implement this by chaining up to
562 base.DataBind, then by looping over our children, emitting
563 OnItemDataBound for each SiteMapNodeItem.
564 (AddAttributesToRender): remove.
565 (CreateChildControls): call DataBind as the final step here.. I
566 have, of course, no idea if this is right.
567 (CreateControlHierarchy): don't databind our children here, as
568 they need to be in the Controls collection before we do.
569 (RenderContents): render our accessibility/screenreader stuff
570 here, if SkipLinkText != "".
572 2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
574 * DataGridPagerStyle.cs: fixed PrevPageText property
576 2006-03-13 Chris Toshok <toshok@ximian.com>
578 * BaseCompareValidator.cs (Convert): make the
579 ValidationDataType.String case a bit more compact.
581 2006-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
584 (RenderContents): don't call base.RenderContents. Fixes bug #77740.
585 Patch by Hubert Fongarnand.
587 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
589 * FontInfo.cs: fixed CopyFrom, this method should not reset the
590 received fontinfo if it is the same instance
591 fixed ToString, corrected output where only font size specified
593 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
595 * Style.cs: fixed WriteStyleAttributes to set border style to solid,
596 if it not set but the border has width
597 fixes in CopyFrom, MergeWith correct unit compare when it has zero
600 2006-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
602 * DataGrid.cs: in AddColumnsFromSource method fixed columns from
603 properties of custom class
604 fixed InitializeNumericPager, pager numbers should be a Label control
605 fixed CreateControlHierarchy, corrected dataset index of items if
608 2006-03-09 Vladimir Krasnov <vladimirk@mainsoft.com>
610 * DataList.cs: fixed DoItemInLoop method that fixes itemIndex
612 fixed CreateControlStyle to set correct cellspacing of table style
613 fixed InitializeItem to correct applying template to selected and
616 2006-03-08 Chris Toshok <toshok@ximian.com>
618 * SiteMapNodeType.cs: nuke.
620 * BorderStyle.cs, ButtonColumnType.cs, CalendarSelectionMode.cs,
621 DayNameFormat.cs, ListItemType.cs, ListSelectionMode.cs,
622 NextPrevFormat.cs, PagerMode.cs, PagerPosition.cs,
623 RepeatDirection.cs, RepeatLayout.cs, TableRowSection.cs,
624 TextAlign.cs, TextBoxMode.cs, TitleFormat.cs,
625 ValidationCompareOperator.cs, ValidationDataType.cs,
626 ValidationSummaryDisplayMode.cs, ValidatorDisplay.cs: remove
627 [Serializable] in 2.0.
629 * DayNameFormat.cs: add "Shortest".
631 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
633 * LinkButton.cs: fixed AddAttributesToRender, removed not needed
636 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
638 * TextBox.cs: fixed missing value validations, fixed rendering
639 of empty value attribute
641 2006-03-07 Chris Toshok <toshok@ximian.com>
643 * WebControl.cs (EnableTheming): leave the MonoTODO, but implement
644 by chaining up to base.EnableTheming.
646 2006-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
648 * DataList.cs: fixed CreateControlHierarchy, fixes 77693
650 2006-03-06 Vladimir Krasnov <vladimirk@mainsoft.com>
652 * RadioButton.cs: added ValueAttribute property to store the button
654 * RadioButtonList.cs: fixed tab index when rendering.
656 2006-03-02 Chris Toshok <toshok@ximian.com>
658 * WebControl.cs (SkinID): implement setter/getter, and have them
659 just chain up to base.SkinID.
661 2006-02-27 Chris Toshok <toshok@ximian.com>
663 * SqlDataSource.cs: track change to DataSourceControl's protected
666 * AccessDataSource.cs: same.
668 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
670 * ListControl.cs: fixed SelectedIndex property, fixed selection
671 reset on incorrect value
673 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
675 * TableStyle.cs: fixed AddAttributesToRender function, style
676 BorderCollapse:Collapse was added if table's CellSpacing is zero
678 2006-02-23 Chris Toshok <toshok@ximian.com>
680 * CheckBox.cs, ContentControlBuilderInternal.cs, Content.cs,
681 ContentPlaceHolderBuilder.cs, ContentPlaceHolder.cs,
682 DataControlFieldHeaderCell.cs, DataGridColumn.cs,
683 HierarchicalDataBoundControl.cs, HyperLinkField.cs,
684 ImageButton.cs, ImageField.cs, Literal.cs,
685 ObjectDataSourceView.cs, TextBox.cs: more corcompare work.
687 * BaseCompareValidator.cs, BaseValidator.cs, Button.cs,
688 DataControlField.cs, DetailsView.cs, FormView.cs, GridView.cs,
689 HotSpot.cs, LinkButton.cs, Login.cs, SiteMapDataSource.cs,
690 SqlDataSourceCommandType.cs, TableSectionStyle.cs,
691 TemplateField.cs, TreeNodeCollection.cs, TreeNode.cs, TreeView.cs,
692 ValidationSummary.cs, WizardStepBase.cs: fix tons of corcompare
693 errors. most were caused by a property/method being virtual when
694 it shouldn't be, or vice versa.
696 2006-02-22 Chris Toshok <toshok@ximian.com>
698 * ObjectDataSource.cs: corcompare work.
700 2006-02-22 Chris Toshok <toshok@ximian.com>
702 * ParameterCollection.cs: add an EditorAttribute to the class.
704 * Parameter.cs: cleanup, fix the Value property, and implement the
707 * SqlDataSourceView.cs: clean things up a bit, and add handling
710 2006-02-22 Chris Toshok <toshok@ximian.com>
712 * SqlDataSourceFilteringEventArgs.cs: formatting.
714 * SqlDataSourceSelectingEventArgs.cs: remove ExecutingSelectCount,
715 both the property and ctor arg.
717 * AccessDataSourceView.cs (ExecuteSelect): use SelectingEventArgs,
718 not CommandEventArgs. Also, cast the return value of
719 oleCommand.ExecuteReader.
721 * AccessDataSource.cs (.ctor): fix the ctors and remove FIXME
723 (GetDbProviderFactory): implement naively, and leave a MonoTODO.
724 (GetPhysicalDataFilePath): implement, again naively. this is
725 where the NRE is generated when we access ConnectionString in a
727 (ConnectionString): dynamically generate this based on our
729 (DataFile): clear the ConnectionString in the setter so we'll
731 (ProviderName): use base.ProviderName in the getter, not
732 this.ProviderName, so we don't recurse infinitely.
734 * SqlDataSourceView.cs: start reworking this class.
736 * SqlDataSource.cs (GetDbProviderFactory): implement this,
737 following the MS docs on the matter (if ProviderName is null/"",
738 return SqlClientFactory.Instance.)
739 (GetDbProviderFactoryInternal): add an internal method for use by
741 (TrackViewState): don't invoke View.TrackViewState unless we have
743 (Selecting): change event handler type to match MS.
744 (Filtering): add missing event.
745 (View): call CreateDataSourceView, don't just create an
748 2006-02-21 Chris Toshok <toshok@ximian.com>
750 * BoundField.cs: ues the ViewState.Get* pattern with default
751 instead of the explicit ViewState lookup + null check, and fix the
752 scope of InitializeDataCell.
754 * ButtonField.cs: ues the ViewState.Get* pattern with default
755 instead of the explicit ViewState lookup + null check.
757 * CommandField.cs: same.
761 * AutoGeneratedFieldProperties.cs: same.
763 * BaseDataList.cs: same.
765 * CircleHotSpot.cs: same.
767 * BulletedList.cs: same.
769 * DataBoundControl.cs: same.
771 * CookieParameter.cs: same.
773 * ControlParameter.cs: same.
775 * CustomValidator.cs: same.
777 * ButtonFieldBase.cs: same.
779 * CheckBoxField.cs: same, and fix the scope of InitializeDataCell.
781 * AutoGeneratedField.cs: fix scope of InitializeDataCell.
783 * BaseValidator.cs: same, and clean up the getter/setter formatting.
785 * CompareValidator.cs: same.
787 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
789 * ListControl.cs: fixed DataSource property, to throw
790 ArgumentException on incorrect value
792 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
794 * Image.cs: fixed missing border="0" attribute, when image has style,
795 but border width is not specified.
797 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
799 * CheckBox.cs: fixed InternalAddAttributesToRender, Render to
800 correct the "disabled" attribute in CheckBoxList
801 * CheckBoxList.cs: fixed RenderItem, to correct the "disabled"
802 attribute in CheckBoxList
804 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
806 * CheckBox.cs: fixed Render function, removed rendering of empty
807 <span> element if ControlStyleCreated but it's empty.
808 fixed "disabled" attribute, it should be placed into span element
810 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
812 * BoundColumn.cs: fixed InitializeCell function, if DataField is
813 null or empty string, the cell should not be bound.
815 2006-02-08 Chris Toshok <toshok@ximian.com>
817 * ListControl.cs (OnDataBinding): in 2.0, only clear our items if
818 AppendDataBoundItems != false. Also, split all the databinding
819 logic out to DoDataBinding, which we call from here only if
821 (DoDataBinding): new function. actually perform the binding.
822 (PerformDataBinding): implement.
823 (PerformSelect): chain up to base class.
825 2006-02-07 Chris Toshok <toshok@ximian.com>
827 * ContentPlaceHolder.cs: fix ToolboxDataAttribute.
829 * Content.cs: use ContentControlBuilderInternal, and add a bunch
830 of unused (for now) EventHandler's here.
832 * ContentControlBuilderInternal.cs: rename ContentControlBuilder
835 2006-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
837 * ListControl.cs: bound checking for Items when loading the control
838 state, as the number might have been changed on the fly. Patch by
841 2006-01-22 Chris Toshok <toshok@ximian.com>
843 * CheckBox.cs: s/GetPostBackClientEvent/GetPostBackEventReference.
845 * MultiView.cs (OnBubbleEvent): case the rhs to a string to get
846 the intended comparison right and quiet mcs.
848 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
850 * Button.cs: Add semicolon after client script if does not exist.
852 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
854 * Button.cs: preserve user logic when adding client validation.
856 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
858 * BaseValidator.cs: fixing visibility bahavior
860 2006-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
862 * RangeValidator.cs: allow empty data from the control. Patch from Marek
863 Habersack that fixes bug #77239.
865 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
867 * Calendar.cs: use the DateTimeFormatInfo from the current thread. Patch
868 by Cyrille Colin. Closes bug #77184.
870 2006-01-08 Konstantin Triger <kostat@mainsoft.com>
872 * PagedDataSource.cs, DataGrid.cs: TARGET_JVM changes to let the
873 compilation pass with csc 1.1.
875 2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
877 * DropDownList.cs: HtmlEncode the item text. Fixes bug #76949.
879 2005-12-07 Chris Toshok <toshok@ximian.com>
881 * BaseValidator.cs: in the uplevel rendering case, don't render
882 the text if the validator's Display attribute is "None". Should
885 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
887 * RadioButton.cs: if the 'value' attribute is set explicitly (as
888 RadioButtonList does now), use that as the 'name' attribute.
889 * RadioButtonList.cs: set the AutoPostBack and Enabled properties of
894 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
896 * CheckBox.cs: add possible 'internal' attributes to the input tag. Fix
897 the 'name' attribute when not aligninng to the right.
898 * RadioButton.cs: use NameAttribute instead of GroupName when indexing
899 the collection. Raise the OnCheckedChanged event. Fixes bug #76710.
901 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
903 * DataGrid.cs: clear the control collection on every call to
904 CreateControlHierarchy. Fixes bug #76732.
906 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
908 * ListBox.cs: Rows and SelectionMode are virtual in 1.1
910 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
912 * CheckBox.cs: use the NameAttribute property for setting 'name'.
913 * RadioButton.cs: get a UniqueID based identifier for 'name'.
916 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
918 * LinkButton.cs: don't output any javascript when the linkbutton is
919 disabled. Fixes bug #76713.
921 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
923 * DataGrid.cs: use TableHeaderCell instead of TableCell for headers when
924 UseAccesibleHeader property is true. Patch by Robert Jordan.
926 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
928 * BaseValidator.cs: 'controltovalidate' must be the ClientID of the
929 control to validate. Fixes bug #76641.
931 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
933 * BoundColumn.cs: when the column is readonly and we're in edit mode,
934 keep it as a TextBox. Fixes bug #76714.
936 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
938 * ListBox.cs: render the 'onchange' attribute when AutoPostback is
939 enabled. Fixes bug #76608.
941 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
943 * CheckBox.cs: AddAttributesToRender was extra in 1.1, so moved all
944 the logic to Render and make it render the ID, which fixes bug #76596.
946 2005-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
948 * Repeater.cs: someone forgot the curly brackets. Fixes bug 76537.
950 2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
952 * Literal.cs: allow LiteralControl as child, but instead of adding it
953 to the control collection, it just gets the Text out of it.
955 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
957 * PagedDataSource.cs: fix range when we're at the last page.
958 * DataGrid.cs: only need to keep the item count in the viewstate.
961 2005-10-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
963 * ListControl.cs: made GetSelectedIndices() internal.
964 * ListBox.cs: html-encode the item text. Fixed single and multiple
965 selection handling. All the tests pass now. Closes bug #76478.
967 2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
969 * ListControl.cs: throw when the selected value is not in the
970 items collection. Fixes bug #76415.
972 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
974 * BaseDataList.cs: Type.GetTypeCode was fixed and now does not
975 throw a nullref, so we have to do it by ourselves here to make
978 * BaseValidator.cs: render the text of the error message even if
979 we set IsValid programatically. Don't use 'valid' directly, as
984 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
986 * CustomValidator.cs: an empty ControlToValidate is valid.
988 2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
990 * RequiredFieldValidator.cs: Added missing permissions.
992 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
994 * DataList.cs: copied and adapted PrepareControlHierarchy from DataGrid.
995 Now the items get the attributes from the styles in datalist. Add the
996 separators after each item, not before. GetItemStyle returns the actual
997 item style, not the styles in the datalist. Fixes bug #76384 and all
1000 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1002 * Style.cs: add a 'border-style: solid' to make IE happy. Fixes bug
1005 2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1007 * TemplateColumn.cs: SelectedItem was missing from the select (). Fixes
1010 2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
1012 * FontInfo.cs: Gendarme strikes again. Sealed class have no need for
1013 inheritance demands.
1014 * FontUnit.cs: Structs are sealed so there's no need for inheritance
1016 * Unit.cs: Structs are sealed so there's no need for inheritance
1019 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1021 * PagedDataSource.cs: fix the upper bound for collection and ilist
1024 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1026 * DataGrid.cs: change the ListItemType for the item selected, set
1027 SelectedIndex before calling OnSelectedIndexChanged and set the selected
1028 item type correctly when creating the columns. Fixes bug #76334.
1031 * EditCommandColumn.cs: use a ForeColorLinkbutton, otherwise when
1032 selecting the row, the button keep the regular link color.
1034 * DataGridColumn.cs: made the class internal.
1036 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1038 * DataGrid.cs: fix breakaga of alternating item style in one of my
1041 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1043 * Calendar.cs: remove Console.
1044 * ListBox.cs: the name is the UniqueID, not the ClientID.
1045 * WebControl.cs: Attributes is case insensitive.
1047 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1049 * ImageButton.cs: use UniqueID in LoadPostData and also try just the
1050 UniqueID without appending a ".x" or ".y". Fixes several issues in
1051 mojoPortal. Thanks to Joe Audetter for his patience.
1053 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1055 * ButtonColumn.cs: it was lacking databinding, so copied most of it
1058 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1060 * FontInfo.cs: removed useless ctor.
1061 * Style.cs: keep here some commented out debugging code.
1062 * DataGrid.cs: the Items property does not create a new arraylist if
1063 the items_list was already initialized. Add case for Separator.
1064 * DataGridColumn.cs: when sorting is enabled, the linkbutton rendered
1065 in the header columns has a special ForeColor handling.
1067 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1069 * DataGrid.cs: PageCount must persist in ViewState too and returns the
1070 number of pages in the paged data source once we set that. Fix checks
1071 for visibility of the pager: no more 2 pagers when custom paging is
1074 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1076 * ImageButton.cs: fix a bug reported on the list. We were triggering the
1077 command event on every POST. And the 'name' attribute was not being
1078 rendered, so the 'x,y' coordinates didn't have 'uniqueid.' prepended
1079 and we couldn't find the values.
1081 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1083 * DataGrid.cs: fix the links for the numeric pager.
1085 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1087 * DataGrid.cs: when paging is enable, the actual number of items is not
1088 the number of items rendered before the postback, but that number times
1089 the number of pages. Now we store the page count in the viewstate. Also,
1090 as the number might be big, don't allocate an array of objects to fake
1091 the collection for the PagedDataSource, but use the new NCollection
1092 class instead, which provides cheap (memory wise) enumerator for an
1093 arbitrary number of items. Thanks to "Adriano" for the test case.
1095 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1097 * Xml.cs: the show must go on. Removed a few NotImplemented.
1099 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1101 * Button.cs: implemented 2.0 RaisePostBackEvent in terms of the
1102 existing code in 1.1 (or viceversa). RenderContents() does nothing.
1104 * DataGrid.cs: changed autoid api.
1106 * EditCommandColumn.cs: only 'Update' causes validation.
1108 * TableCell.cs: changed autoid api. RenderContents checks the number
1109 of controls to decide what to do, not the value of Text in the
1112 * TableRow.cs: changed autoid api.
1114 * BoundColumn.cs: SelectedItem was missing when attaching a DataBind
1115 event. When we get an EditItem, we need a TextBox to be created and
1116 this one will be the one that gets the event. Changed
1117 ItemDataBinding to deal with a TextBox too.
1119 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1121 * PagedDataSource.cs: fix IsLastPage. All tests pass.
1122 * DataGrid.cs: InitializePager always add a cell and it's brand new. No
1123 need to keep the old one in a field. Now all tests pass here too.
1125 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1127 * PagedDataSource.cs: don't use the properties when they just return a
1128 field. Fixed Count when paging is enabled. In GetEnumerator, IList goes
1129 before ICollection (otherwise, an IList will always fall under the
1130 ICollection case). The enumerator for lists will be empty if 'start'
1131 is beyond the list size. All existing tests pass, but one in
1132 DataGridTest that fails because of some problem with the paging.
1134 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1136 * Style.cs: fix the 2.0 build.
1138 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1140 * Style.cs: avoid unnecesary creation of a CssStyleCollection and
1141 instead write the style attributes directly to the HtmlTextWriter.
1143 * CheckBox.cs: adapted to new API.
1145 * DataGrid.cs: handle null data sources. Fixed the contions that make
1146 the table to be added to the Controls collection.
1148 * Calendar.cs: the table needed an ID and the attributes from the
1149 parent. Also don't create the ControlStyleCollection if it has not
1150 already been created.
1152 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1154 * DataGrid.cs: handle null data sources. Fixed the contions that make
1155 the table to be added to the Controls collection.
1157 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1159 * Calendar.cs: TrackViewState should be called upon creation, not on
1160 every get_XXX call. Cleanup.
1162 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1164 * DataGrid.cs: fix another test. The ID of the table generated by the
1165 datagrid is set to the one on the datagrid if no one set the ID for the
1168 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1170 * ListControl.cs: this fixes TestValueFieldAndTextFormat from
1173 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1175 * FontUnit.cs: use a table for FontSize names, as the X{1,2}.* ones are
1176 converted to string as X{1,2}-.*. All FontUnitTests pass now.
1177 * Unit.cs: throw a format exception when there's not number or minus
1178 sign in the first non-whitespace character.
1180 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1182 * ListControl.cs: SelectedIndex/SelectedValue can be set before
1183 DataBinding () is called on the control, so we have to keep this values
1184 around and use them after the data is read. If both properties are
1185 used, they must refer to the same item.
1187 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1189 * DataList.cs: fill in the data keys from BaseDataList so that the
1190 events can see them. Only assign DataItem when using data binding and
1191 nullify it after all events are raised.
1193 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1195 * DataList.cs: OnItemCommand() is raised any time OnBubbleEvent is
1198 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
1200 * Button.cs: For 2.0 don't add the "name" attribute unless there's an
1202 * DataGrid.cs: Fix TagKey (table) for 2.0.
1203 * DataList.cs: Revert 2.0 specific stuff that was changed in RC.
1204 * DropDownList.cs: For 2.0 don't add the "name" attribute unless
1206 * ListBox.cs: For 2.0 don't add the "name" attribute unless there's an
1208 * RoleGroupCollection.cs: Fix "extra" exception in Remove method.
1209 * Style.cs: Fixed (2.0) RegisteredCssClass to returns String.Empty
1211 * TextBox.cs: For 2.0 don't add the "name" attribute unless there's an
1213 * TreeView.cs: Added declarative security (Link and Inheritance
1214 demands) for Minimal.
1215 * XmlDataSource.cs: Added declarative security (Link and Inheritance
1216 demands) for Minimal.
1218 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
1220 * FontUnit.cs: Added, but only for 1.x, declarative security (Link and
1221 Inheritance demands) for Minimal.
1222 * Label.cs: Added declarative security (Link and Inheritance demands)
1224 * ListItem.cs: Added declarative security (LinkDemands) for Minimal.
1225 * ListItemCollection.cs: Added declarative security (LinkDemands) for
1227 * MonthChangedEventArgs.cs: Added declarative security (Link and, for
1228 2.0, Inheritance demands) for Minimal.
1229 * PagedDataSource.cs: Added declarative security (LinkDemands) for
1231 * Panel.cs: Added declarative security (Link and Inheritance demands)
1233 * Repeater.cs: Added declarative security (Link and Inheritance
1234 demands) for Minimal.
1235 * RepeatInfo.cs: Added declarative security (LinkDemands) for Minimal.
1236 * SelectedDatesCollection.cs: Added declarative security (LinkDemands)
1238 * TargetConverter.cs: Added declarative security (Link and Inheritance
1239 demands) for Minimal.
1240 * Unit.cs: Added, but only for 1.x, declarative security (Link and
1241 Inheritance demands) for Minimal.
1242 * ValidatedControlConverter.cs: Added declarative security (Link and
1243 Inheritance demands) for Minimal.
1244 * WebColorConverter.cs: Added declarative security (Link and
1245 Inheritance demands) for Minimal.
1246 * Xml.cs: Added declarative security (Link and Inheritance demands)
1248 * ValidationSummary.cs: Added declarative security (Link and
1249 Inheritance demands) for Minimal.
1251 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
1253 * UnitConverter.cs: Remove conversion from Unit (see unit tests).
1255 2005-09-22 Ben Maurer <bmaurer@ximian.com>
1257 * BulletedList.cs: Remove the cacheEnabled thing. I was thinking
1258 it took O(height) time, not O(1).
1260 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
1262 * CheckBoxList.cs: Fix unit test failure (which matched bug #48802).
1264 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
1266 * AdCreatedEventArgs.cs: Added declarative security (Link and, for
1267 2.0, Inheritance demands) for Minimal.
1268 * BaseCompareValidator.cs: Added declarative security (Link and
1269 Inheritance demands) for Minimal.
1270 * BaseDataBoundControl.cs: Added declarative security (Link and
1271 Inheritance demands) for Minimal.
1272 * BaseValidator.cs: Added declarative security (Link and Inheritance
1273 demands) for Minimal.
1274 * BoundColumn.cs: Added declarative security (Link and Inheritance
1275 demands) for Minimal.
1276 * ButtonColumn.cs: Added declarative security (Link and Inheritance
1277 demands) for Minimal.
1278 * CalendarDay.cs: Added declarative security (Link and Inheritance
1279 demands) for Minimal.
1280 * CheckBoxList.cs: Added declarative security (Link and Inheritance
1281 demands) for Minimal.
1282 * CompareValidator.cs: Added declarative security (Link and
1283 Inheritance demands) for Minimal.
1284 * CustomValidator.cs: Added declarative security (Link and Inheritance
1285 demands) for Minimal.
1286 * DataBoundControl.cs: Added declarative security (Link and
1287 Inheritance demands) for Minimal.
1288 * DataGridItemCollection.cs: Added declarative security (Link and
1289 Inheritance demands) for Minimal.
1290 * DataKeyCollection.cs: Added declarative security (LinkDemands) for
1292 * DataListItemCollection.cs: Added declarative security (LinkDemands)
1294 * DataListItem.cs: Added declarative security (Link and Inheritance
1295 demands) for Minimal.
1296 * FontNamesConverter.cs: Added declarative security (Link and
1297 Inheritance demands) for Minimal.
1298 * HyperLink.cs: Added declarative security (Link and Inheritance
1299 demands) for Minimal.
1300 * HyperLinkColumn.cs: Added declarative security (Link and Inheritance
1301 demands) for Minimal.
1302 * Image.cs: Added declarative security (Link and Inheritance demands)
1305 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1307 * BaseDataList.cs: it's the DataKeysArray what is stored in "DataKeys",
1309 * DataGrid.cs: add the keys to BaseDataList.DataKeysArray. When using
1310 a data source, first try reflection, then componentmodel. If we get
1311 an enumerator, keep it around, as MS only calls GetEnumerator once.
1312 Throw an exception if no columns can be created from the given data
1313 source. Tested with DbDataRecord, DataTable, ArrayList and
1314 ICustomTypeDescriptor.
1316 2005-09-20 Sebastien Pouliot <sebastien@ximian.com>
1318 * AccessDataSource.cs: Added declarative security (Link and Inheritance
1319 demands) for Minimal. Added [ToolboxBitmap] on class.
1320 * AdRotator.cs: Added declarative security (Link and Inheritance
1321 demands) for Minimal. Removed extra Page and ViewState properties.
1322 * BulletedList.cs: Added declarative security (Link and Inheritance
1323 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1324 * Button.cs: Added declarative security (Link and Inheritance demands)
1325 for Minimal. Added [SupportsEventValidation] on class (2.0).
1326 * Calendar.cs: Added declarative security (Link and Inheritance
1327 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1328 * CheckBox.cs: Added declarative security (Link and Inheritance
1329 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1330 * CompositeControl.cs: Added declarative security (Link and Inheritance
1331 demands) for Minimal. Added new protected RecreateChildControls method.
1332 * DataControlCommands.cs: Added declarative security (LinkDemands) for
1333 Minimal. Added private ctor.
1334 * DataGrid.cs: Added declarative security (Link and Inheritance
1335 demands) for Minimal. Fixed properties for 2.0 (mostly removing
1336 [Bindable]). Added override for TagKey property.
1337 * DataGridColumn.cs: Added declarative security (Link and Inheritance
1338 demands) for Minimal. Added [UrlProperty] on HeaderImageUrl (2.0).
1339 * DataGridItem.cs: Added declarative security (Link and Inheritance
1340 demands) for Minimal. Added IDataItemContainer interface for 2.0.
1341 * DataGridPagerStyle.cs: Added declarative security (LinkDemands) for
1342 Minimal. Remove [Bindable] from 2.0 and add [Localizable].
1343 * DataList.cs: Removed [Load|Save]ControlState methods.
1344 * DropDownList.cs: Added declarative security (Link and Inheritance
1345 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1346 * EditCommandColumn.cs: Added declarative security (Link and
1347 Inheritance demands) for Minimal. Added missing attributes,
1348 [DefaultValue] and [Localize] for 2.0.
1349 * FontInfo.cs: Added declarative security (Link and Inheritance
1350 demands) for Minimal. Remove [Bindable] and added [RefreshProperties]
1352 * Login.cs: Added declarative security (Link and Inheritance demands)
1353 for Minimal. Fixed IsStyleEmpty. Removed extra [Themeable] attributes.
1354 * ImageButton.cs: Added declarative security (Link and Inheritance
1355 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1356 * LinkButton.cs: Added declarative security (Link and Inheritance
1357 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1358 * ListBox.cs: Added declarative security (Link and Inheritance demands)
1359 for Minimal. Added [SupportsEventValidation] on class (2.0).
1360 * Literal.cs: Added declarative security (Link and Inheritance demands)
1361 for Minimal. Removed [EditorBrowsable] on CreateControlCollection method.
1362 * LoginStatus.cs: Added missing [Themeable] attributes on properties.
1363 * MenuItemStyle.cs: Changed IsEmpty to public (required to compile -
1364 but will be shown as extra).
1365 * RadioButton.cs: Added declarative security (Link and Inheritance
1366 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1367 * RadioButtonList.cs: Added declarative security (Link and Inheritance
1368 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1369 * RangeValidator.cs: Added declarative security (Link and Inheritance
1370 demands) for Minimal. Added missing [Themeable] attributes.
1371 * RegularExpressionValidator.cs: Added declarative security (Link and
1372 Inheritance demands) for Minimal. Remove [Bindable] from 2.0 and add
1374 * RoleGroupCollection.cs: Added declarative security (Link and
1375 Inheritance demands) for Minimal. Fixed base class (changed in RC).
1376 Re-implemented CopyTo. Removed some methods.
1377 * Style.cs: Added declarative security (Link and Inheritance demands)
1378 for Minimal. Remove static IsStyleEmpty and ToString (from 2.0). IsEmpty
1379 is now public in 2.0.
1380 * Table.cs: Added declarative security (Link and Inheritance demands)
1381 for Minimal. Added [SupportsEventValidation] on class (2.0).
1382 * TableCell.cs: Fixed PersistenceMode for 2.0.
1383 * TextBox.cs: Added declarative security (Link and Inheritance demands)
1384 for Minimal. Added [SupportsEventValidation] on class (2.0).
1385 * TreeNodeStyle.cs: Changed IsEmpty to public (required to compile -
1386 but will be shown as extra).
1387 * WebControl.cs: Added declarative security (Link and Inheritance
1388 demands) for Minimal. Removed [EditorBrowsable] on ControlStyleCreated
1391 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1393 * TableStyle.cs: fixed typo that prevented restoring GridLines from
1396 * DataGrid.cs: the table does not get an auto ID. When restoring from
1397 viewstate, use all the saved columns, not just that data bound ones. Set
1398 the owner of the BoundColumns created. Save/restore columns.
1399 OnItemCreated happens after the item is initialized and the data item is
1400 set before the event and nullified after OnItemDataBound.
1401 Add the render_table to the Controls immediately, otherwise we might get
1402 errors from child controls such as "must be rendered inside a form".
1403 Keep the items created in the list waiting for them.
1404 The table uses the attributes from the DataGrid and ControlStyle.
1405 Raise OnItemCommand on all bubble events and don't propagate bubble
1406 event up in the hierarchy
1408 * TableCell.cs: it does not get an automatic ID.
1409 * BoundColumn.cs: FormatDataValue returns an empty string on null input
1410 (there was already a test for this).
1414 2005-09-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1416 * DataGridColumnCollection.cs: track the view state in the newly added
1419 2005-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1421 * DataGrid.cs: merge column styles too. Fixes bug #76106.
1422 * DataGridColumn.cs: new internal method to retrieve the styles without
1423 creating an instance for them.
1425 2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
1427 * DataControlField.cs, HotSpot.cs, MenuItem.cs, Parameter.cs,
1428 Style.cs, TreeNode.cs: Replace _empty_ StateBag.SetDirty () with
1429 StateBag.SetDirty (true).
1431 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
1433 * Menu.cs: Fixed parameter orders for CreateStyleRule.
1435 2005-09-13 Chris Toshok <toshok@ximian.com>
1437 * Style.cs: corcompare stuff.
1439 * RequiredFieldValidator.cs: more corcompare stuff.
1441 * CheckBoxList.cs: clean up some of the interface methods vs
1442 protected virtual 2.0 calls.
1444 * SubMenuStyle.cs: corcompare says this should implement
1445 ICustomTypeDescriptor... sooo, make it.
1447 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1449 * TableCell.cs: do the same as HyperLink and others in
1450 AddParsedSubobject so that adding a literal control does not remove the
1451 existing controls if any. Fixes bug #76078.
1453 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1455 * GridView.cs: don't duplicate class attribute. Fixes bug #75936.
1457 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1459 * ImageButton.cs: fix invalid cast exception.
1461 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1463 * ListItem.cs: throw in AddParsedSubObject if the object is not a
1465 * RadioButtonList.cs: implemented LoadPostData and
1466 RaisePostDataChangedEvent.
1468 2005-09-09 Chris Toshok <toshok@ximian.com>
1470 * CheckBox.cs, CheckBoxList.cs, DropDownList.cs, ImageButton.cs,
1471 ListBox.cs, RadioButton.cs, RadioButtonList.cs, TextBox.cs: fix up
1472 LoadPostData/RaisePostDataChangedEvent.
1474 2005-09-09 Chris Toshok <toshok@ximian.com>
1476 * FontInfo.cs (IsEmpty): new internal property, used by
1479 * Style.cs (IsEmpty): make sure the fontinfo is null or empty as
1482 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1484 * ListItemCollection.cs: remove obsoleted methods.
1485 * ListBox.cs: use IStateManager on the item collection.
1487 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
1489 * Use C# 1.0 style of delegate instantiating. Needed to compile
1490 Grasshopper (TARGET_J2EE) which uses MS C# 1.0 compiler and not msc.
1492 2005-09-07 Chris Toshok <toshok@ximian.com>
1494 * Calendar.cs (WriteDay): always add BackColor=Silver,
1495 ForeColor=White to selected day cells, before copying over the
1496 selectedDayStyle, if it exists.
1497 (WriteDays): fix nunit test - if the first day of the month falls
1498 on the first day of the week, go back one week (effectively adding
1499 a row of dates from the previous month.)
1500 (WriteTitle): don't copy the control style to the tableTitle,
1501 since it might have height specifications, which would make the
1502 title look rather off.
1504 2005-09-07 Chris Toshok <toshok@ximian.com>
1506 * ValidationSummary.cs (AddAttributesToRender): we only set
1507 display=none if there are no errors.
1509 * BaseValidator.cs (OnPreRender): fix a JS error - on submit we
1510 call ValidatorOnSubmit, not ValidatorCommonOnSubmit.
1512 2005-09-07 Chris Toshok <toshok@ximian.com>
1514 * ListControl.cs (SelectedIndex): add comment about how you'd
1515 think OnSelectedIndexChanged would be called.. and you'd be wrong.
1516 (Text): implement in terms of SelectedValue.
1517 (TagKey): do the HAVE_CONTROL_ADAPTERS two-step.
1518 (LoadControlState): implement - this is where the selected index
1519 ArrayList gets stuffed in 2.0.
1520 (OnInit): call Page.RegisterRequiresControlState.
1521 (OnTextChanged): implement.
1522 (RenderContents): for now just chain up to base.RenderContents.
1523 (SaveControlState): save our control state properly.
1524 (GetSelectedIndices): split this out from SaveViewState to it can
1525 be used by both that and SaveControlState.
1526 (SaveViewState): mangle this function so it works in both 2.0 and
1528 (LoadViewState): same.
1530 2005-09-06 Chris Toshok <toshok@ximian.com>
1532 * BaseValidator.cs (AddAttributesToRender): render our ClientID if
1533 we weren't assigned an ID.
1535 * ValidationSummary.cs (AddAttributesToRender): same.
1537 2005-09-06 Chris Toshok <toshok@ximian.com>
1539 * WebControl.cs: revert the last change.
1541 2005-09-06 Chris Toshok <toshok@ximian.com>
1543 * WebControl.cs (AddAttributesToRender): always render ClientID.
1545 * ValidationSummary.cs (Render): same.
1547 * BaseValidator.cs (RegisterValidatorDeclaration): use ClientID
1550 2005-09-06 Chris Toshok <toshok@ximian.com>
1552 * ValidationSummary.cs (Render): only do the JS stuff when the
1553 validators on the page are uplevel.
1555 * BaseValidator.cs (Render): remove unnecessary comment.
1557 2005-09-05 Chris Toshok <toshok@ximian.com>
1559 * BaseDataBoundControl.cs (DataSourceID): testing reveals this is
1560 stored in the ViewState.
1562 2005-09-02 Chris Toshok <toshok@ximian.com>
1564 * Repeater.cs (GetData): change this slightly so the Repeater
1565 doesn't keep a ref to the return value of GetData.
1567 2005-09-01 Chris Toshok <toshok@ximian.com>
1569 * ListControl.cs (AppendDataBoundItems): implement (2.0)
1572 2005-09-01 Chris Toshok <toshok@ximian.com>
1574 * System.Web.UI.WebControls/MonthChangedEventArgs.cs,
1575 System.Web.UI.WebControls/ValidatedControlConverter.cs,
1576 System.Web.UI.WebControls/Xml.cs,
1577 System.Web.UI.WebControls/RegularExpressionValidator.cs,
1578 System.Web.UI.WebControls/ServerValidateEventArgs.cs,
1579 System.Web.UI.WebControls/Menu.cs,
1580 System.Web.UI.WebControls/MailMessageEventArgs.cs,
1581 System.Web.UI.WebControls/MenuItemStyle.cs,
1582 System.Web.UI.WebControls/RangeValidator.cs,
1583 System.Web.UI.WebControls/RepeaterItemEventArgs.cs,
1584 System.Web.UI.WebControls/MenuItem.cs,
1585 System.Web.UI.WebControls/RepeaterCommandEventArgs.cs,
1586 System.Web.UI.WebControls/DataGridSortCommandEventArgs.cs,
1587 System.Web.UI.WebControls/DataGridCommandEventArgs.cs,
1588 System.Web.UI.WebControls/DataGridPageChangedEventArgs.cs,
1589 System.Web.UI.WebControls/XmlBuilder.cs,
1590 System.Web.UI.WebControls/ImageButton.cs: someone stop me. more
1593 2005-09-01 Chris Toshok <toshok@ximian.com>
1595 * System.Web.UI.WebControls/Button.cs,
1596 System.Web.UI.WebControls/ButtonField.cs,
1597 System.Web.UI.WebControls/DataControlField.cs,
1598 System.Web.UI.WebControls/BaseCompareValidator.cs,
1599 System.Web.UI.WebControls/AutoGeneratedField.cs,
1600 System.Web.UI.WebControls/CustomValidator.cs,
1601 System.Web.UI.WebControls/Content.cs,
1602 System.Web.UI.WebControls/BoundField.cs,
1603 System.Web.UI.WebControls/AdRotator.cs,
1604 System.Web.UI.WebControls/ButtonColumn.cs,
1605 System.Web.UI.WebControls/CompareValidator.cs,
1606 System.Web.UI.WebControls/AdCreatedEventArgs.cs: More corcompare
1607 work. Stub things out, and add attributes.
1609 2005-09-01 Chris Toshok <toshok@ximian.com>
1611 * Button.cs, ButtonField.cs, FontInfo.cs, Style.cs, Xml.cs,
1612 CommandField.cs, HyperLinkColumn.cs, Table.cs,
1613 RegularExpressionValidator.cs, DataGridPagerStyle.cs, Label.cs,
1614 CheckBox.cs, RadioButton.cs, TableStyle.cs, ListControl.cs,
1615 Image.cs, BaseCompareValidator.cs, BaseDataList.cs, DataList.cs,
1616 TemplateColumn.cs, RangeValidator.cs, ImageField.cs,
1617 BaseValidator.cs, CustomValidator.cs, TextBox.cs,
1618 ButtonFieldBase.cs, BoundField.cs, CheckBoxList.cs,
1619 RadioButtonList.cs, RequiredFieldValidator.cs, AdRotator.cs,
1620 Repeater.cs, DropDownList.cs, CheckBoxField.cs, HyperLink.cs,
1621 XmlDataSource.cs, Panel.cs, DataGrid.cs, ButtonColumn.cs,
1622 CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs,
1623 WebControl.cs, Literal.cs, ValidationSummary.cs, ImageButton.cs,
1624 TableRow.cs, LinkButton.cs, DataGridColumn.cs, BoundColumn.cs,
1625 TableItemStyle.cs: Add some WebCategory and WebSysDescription
1628 2005-09-01 Chris Toshok <toshok@ximian.com>
1630 * AccessDataSource.cs: corcompare work.
1632 * SqlDataSource.cs: same.
1634 2005-09-01 Miguel de Icaza <miguel@novell.com>
1636 * Various places: make sure that the DefaultValue matches the
1637 type. Thanks to Michael for pointing this out.
1639 In future audits, you might want to use the following awk command:
1641 awk '/DefaultValue/ { v=$0; looking = 1; } /public/ && looking &&
1642 !/string/ && !/ int / && !/ bool / { print FILENAME; print v;
1643 print $0; looking = 0; } /public/ && looking { looking = 0; } '
1646 The above skips bools, strings and ints as those were fine as we
1647 set them. The bug was on the other ones.
1649 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1651 * Repeater.cs: fix the build.
1653 2005-08-31 Chris Toshok <toshok@ximian.com>
1655 * Repeater.cs: lots of 2.0 work, much of it c&p'ed from
1656 {Base}DataList, and also from debug spew garnered from some
1657 Repeater subclass tests on MS.
1658 (CreateControlHierarchy): in 2.0 if IsBonudUsingDataSourceID get
1659 the IEnumerable by calling GetData().
1660 (DataBind): reset RequiresDataBinding to false (2.0).
1661 (DataMember): copy the set implementation from DataList, and add
1662 2.0 code to call OnDataPropertyChanged if we're !Initialiezd.
1663 (DataSource): more c&p.
1664 (DataSourceID); implement (2.0)
1665 (Initialized): implement (2.0)
1666 (IsBoundUsingDataSource): implement (2.0)
1667 (RequiresDataBinding): implement (2.0)
1668 (SelectArguments): implement (2.0)
1669 (CreateDataSourceSelectArguments): implement (2.0)
1670 (EnsureDataBound): implement (2.0)
1671 (GetData): implement.
1672 (OnDataPropertyChanged): remove the NIE, but leave the MonoTODO
1674 (OnDataSourceViewChanged): set RequiresDataBinding to true, but
1675 leave the MonoTODO. (2.0)
1676 (OnInit): call base.OnInit instead of throwing NIE, but leave the
1678 (OnLoad): implement.
1679 (OnPreRender): implement.
1680 (ConnectToDataSource): new method - look for the right control.
1682 2005-08-31 Chris Toshok <toshok@ximian.com>
1684 * XmlDataSourceView.cs: fix the scope of our select. Don't use
1685 call SelectNodes on the XmlDocument, not on
1686 XmlDocument.DocumentElement.
1688 2005-08-31 Chris Toshok <toshok@ximian.com>
1690 * XmlDataSourceView.cs (.ctor): remove the nodelist parameter.
1691 (DoXPathSelect): put the xpath selection stuff here.
1692 (ExecuteSelect): call DoXPathSelect if we need to (if nodes ==
1695 * XmlDataSource.cs (IDataSource.GetView): don't do the XPath
1696 select here, the view does it.
1698 2005-08-31 Jackson Harper <jackson@ximian.com>
1700 * DataList.cs: Remove some debugging code that was starting to bug
1703 2005-08-31 Chris Toshok <toshok@ximian.com>
1705 * XmlDataSourceNodeDescriptor.cs: implement IXPathNavigable, and
1706 create our Navigator by calling node.CreateNavigator().
1708 2005-08-31 Chris Toshok <toshok@ximian.com>
1710 * XmlDataSource.cs (GetXmlDataDocument): rename this to
1711 GetXmlDocument, and change the return value from XmlDataDocument
1713 (LoadXmlDataDocument): similar change.
1714 (Save): xmlDataDocument -> xmlDocument.
1715 (CanBeSaved): there's no ReadOnly attribute.
1716 (LoadViewState, SaveViewState, TrackViewState): nuke.
1717 (GetHierarchicalView): xmlDataDocument -> xmlDocument.
1718 (CacheDuration): stub out with NIE.
1719 (CacheExpirationPolocy): same.
1720 (CacheKeyDependency): same.
1721 (EnableCaching): same.
1723 (Data, DataFile): xmlDataDocument -> xmlDocument.
1724 (Schema, SchemaFile): nuke.
1725 (Transform, TransformFile): xmlDataDocument -> xmlDocument.
1727 2005-08-30 Lluis Sanchez Gual <lluis@novell.com>
1729 * SubMenuStyle.cs, MenuItemStyle.cs, TreeNodeStyle.cs:
1730 Don't use the obsolete IsSet method.
1731 * Menu.cs: Implement IPostBackEventHandler.RaisePostBackEvent.
1732 * CheckBox.cs: Implement some 2.0 methods.
1733 * GridView.cs: Removed some "throw new NotImplementedException"
1735 2005-08-29 Chris Toshok <toshok@ximian.com>
1737 * TreeView.cs: Use the StateBag accessors Ben added, and implement
1738 SkipLinkText and Visible.
1740 2005-08-29 Chris Toshok <toshok@ximian.com>
1742 * TreeView.cs: fix typo in an attribute.
1744 2005-08-29 Jackson Harper <jackson@ximian.com>
1746 * PagedDataSource.cs: If it's not a list or collection we don't
1747 use a bounded enumerator.
1749 2005-08-29 Chris Toshok <toshok@ximian.com>
1751 * LinkButton.cs: fix some 2.0 Page/ClientScript obsolete warnings.
1753 * CheckBox.cs: same.
1755 * BaseValidator.cs: same.
1757 * DropDownList.cs: same.
1759 * ValidationSummary.cs: same.
1761 2005-08-28 Chris Toshok <toshok@ximian.com>
1763 * XmlHierarchyData.cs: fix IHierarchyData.GetParent.
1765 2005-08-26 Chris Toshok <toshok@ximian.com>
1767 * TextBox.cs: implement ValidationGroup and CausesValidation
1770 2005-08-26 Lluis Sanchez Gual <lluis@novell.com>
1772 * Style.cs: Implemented FillStyleAttributes, GetStyleAttributes and
1775 2005-08-26 Chris Toshok <toshok@ximian.com>
1777 * Unit.cs: implement the 2.0 ToString(IFormatProvider) method.
1779 * FontUnit.cs: add two 2.0 ctors, and the 2.0
1780 ToString(IFormatProvider) method.
1782 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
1784 * CheckListBox.cs: Nothing is rendered (i.e. no empty table) in 2.0 if
1785 no items are present in the list.
1786 * RoleGroup.cs: Added missing attributes.
1787 * RoleGroupCollection.cs: Added missing attributes and some (yet-to-be-
1788 documented) methods.
1789 * TableStyle.cs: *for 2.0* adding a "url({0})" to background image
1790 must be done in the HtmlTextWriter (not in the TableStyle).
1792 2005-08-26 Chris Toshok <toshok@ximian.com>
1794 * Calendar.cs (UseAccessibleHeader): implement.
1795 (RaisePostBackEvent): some #ifdef ugliness to get this all working
1796 propertly between 1.x and 2.0
1797 (WriteDayHeader): if UseAccessibleHeader == true, render header
1798 cells as th's, not td's, and add abbr and scope attributes.
1800 2005-08-25 Chris Toshok <toshok@ximian.com>
1802 * Calendar.cs (Caption, CaptionAlign): implement these properties.
1803 (Render): if we have a non-empty caption, show it.
1804 (WriteCaption): new method, output the caption.
1806 2005-08-25 Chris Toshok <toshok@ximian.com>
1808 * Calendar.cs (Render): Copy the entire style from the Calendar to
1809 the Table, not just the font.
1810 (WriteDay): don't just write the link/text/etc. Create a
1811 LiteralControl as a child of the cell, before the call to
1812 OnDayRender, with its text set to the day number. After
1813 OnDayRender, set the literal's text to either the number again (if
1814 it's not selectable) or the full text of the js __doPostBack
1815 hyperlink (if it is.) Also, use cell.RenderControl here so we can
1816 render child controls with the id's listed properly (and arguably
1818 (ApplyTitleStyleCell): remove.
1819 (WriteTitle): apply the titleStyle to the enclosing table, not the
1820 table cell containing the month name. Also, copy from the
1821 Calendar's ControlStyle to populate tableTitle's style initially.
1822 We end up with more (superfluous) style attributes than MS, but
1823 it's better than having less.
1825 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
1827 * HyperLink.cs: Fixed 2.0 rendering for Alt and Border|BorderWidth when
1830 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
1832 * Style.cs: Implemented 2.0 CopyTextStylesFrom(), SetRegisteredCssClass()
1833 and RegisteredCssClass property
1835 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
1837 * LoginView.cs: Fixed attributes.
1838 * Style.cs: Change SetRegisteredCssClass to internal and not to throw
1839 an exception to allow pages to work on 2.x.
1841 2005-08-25 Chris Toshok <toshok@ximian.com>
1843 * LinkButton.cs (PostBackUrl): correct the UrlProperty attribute.
1845 * Unit.cs: add [Serializable] and the 2.0 specific ToString(), not
1848 * HiddenField.cs: stub out this class and label everything
1851 2005-08-25 Jackson Harper <jackson@ximian.com>
1853 * DataGrid.cs: Disable the pager row if there no paging enabled
1856 2005-08-25 Chris Toshok <toshok@ximian.com>
1858 * SqlDataSourceFilteringEventArgs.cs: add some usings, and fix a
1861 * SqlDataSourceSelectingEventArgs.cs: IDbCommand -> DbCommand, and
1862 add a using statement.
1864 2005-08-25 Chris Toshok <toshok@ximian.com>
1866 * SqlDataSourceFilteringEventArgs.cs: new 2.0 class, as per
1869 * SqlDataSourceFilteringEventHandler.cs: new 2.0 delegate, as per
1872 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
1874 * Login.cs: Added rendering and fixed parts of the authentication.
1875 Now using IStateManager to allow compilation in another assembly (e.g.
1876 to test the control under IIS). Needs more tests (error conditions)
1877 once we get a "real" Membership provider running.
1878 * Style.cs: Fixed IsStyleEmpty (name ;-) and when null is provided
1881 2005-08-25 Chris Toshok <toshok@ximian.com>
1883 * SqlDataSourceCommandType.cs: new 2.0 enum, as per corcompare.
1885 2005-08-25 Chris Toshok <toshok@ximian.com>
1887 * AdRotator.cs: stub out enough of the 2.0 methods/properties by
1888 calling base.Foo to get the standalone adrotator (1.0) tests to
1889 run without throwing exceptions.
1891 2005-08-25 Chris Toshok <toshok@ximian.com>
1893 * ValidationSummary.cs (ValidationGroup): implement.
1894 (Render): use Page.GetValidators in .net 2.0, so we can support
1895 ValidationGroups. Also, <br>'s get rendered as <br /> in .net
1898 2005-08-25 Chris Toshok <toshok@ximian.com>
1900 * ImageButton.cs (TagKey): disable (but flag) the "virtual new"
1901 2.0 attribute modifiers, and revert back to "override".
1903 * ListBox.cs (BorderColor): disable (but flag) the "virtual new"
1904 2.0 attribute modifiers, and revert back to "override".
1905 (BorderStyle): same.
1906 (BorderWidth): same.
1908 * TextBox.cs (SaveViewState): implement naively, calling
1910 (TagKey): disable (but flag) the "virtual new" 2.0 attribute
1911 modifiers, and revert back to "override".
1913 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
1915 * Style.cs, TableStyle.cs, TableItemStyle.cs, DataGridPagerStyle.cs:
1916 Load ViewState for derived classes; no public LoadViewState override
1917 exists in those classes
1918 * Style.cs: Added 2.0 IsStyleEmpty method
1920 2005-08-25 Jackson Harper <jackson@ximian.com>
1922 * DataGrid.cs: The number of pages set in the pager is specified
1925 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
1927 * LoginView.cs: New (2.0). Work in progress.
1929 2005-08-24 Chris Toshok <toshok@ximian.com>
1931 * Button.cs, DetailsView.cs, FontInfo.cs, Style.cs, Xml.cs,
1932 Menu.cs, ObjectDataSource.cs, CheckBox.cs, RadioButton.cs,
1933 ListControl.cs, SiteMapPath.cs, BulletedList.cs,
1934 DataBoundControl.cs, ListItemCollection.cs, GridView.cs,
1935 Wizard.cs, TextBox.cs, CheckBoxList.cs, RadioButtonList.cs,
1936 PagedDataSource.cs, FormView.cs, AdRotator.cs, Repeater.cs,
1937 DropDownList.cs, MultiView.cs, HierarchicalDataBoundControl.cs,
1938 Calendar.cs, ListBox.cs, WebControl.cs, Literal.cs,
1939 ValidationSummary.cs, ImageButton.cs, LinkButton.cs, TreeView.cs:
1940 Add MonoTODO's for all things that throw NotImplementException.
1942 2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
1944 * RoleGroup.cs: New (2.0). Complete implementation.
1945 * RoleGroupCollection.cs: New (2.0). Mostly complete implementation.
1947 2005-08-23 Chris Toshok <toshok@ximian.com>
1949 * BaseCompareValidator.cs (GetFullYear): it turns out the docs up
1950 on msdn.microsoft.com tell exactly how the .net 2.0 stuff works,
1951 even though they were written for the 1.0 stuff.
1953 2005-08-23 Chris Toshok <toshok@ximian.com>
1955 * RepeatInfo.cs: some massaging to support both the 1.x and 2.0
1956 output. Our tests now pass on both mono and ms, with both 1.x and
1959 2005-08-23 Sebastien Pouliot <sebastien@ximian.com>
1961 * Login.cs: Throw exception if the specified provider doesn't exists.
1962 * LoginStatus.cs: Complete events.
1964 2005-08-22 Jackson Harper <jackson@ximian.com>
1966 * DataGrid.cs (CreateControlHierarchy): Clear out the old pager after creating the
1968 (InitializeNumericPager): Now that the pager actually renders
1969 properly I can see that I was computing it incorrectly.
1971 2005-08-22 Jackson Harper <jackson@ximian.com>
1973 * DataGrid.cs (RenderTable): Make sure the new table gets the
1975 (CreateColumnSet): Clear the data source columnbs before adding
1976 new ones regardless of whether or not a property descriptor was
1978 (InitializePager): pager_cell needs to be a member so it isn't
1979 created more then once per a render.
1980 (InitializeNumericPager): Compute start and end more
1982 - Link commands are 1 indexed.
1983 (CreateControlHierarchy): Clear the table before we begin
1985 - Revert patch that made adding the pagers conditional. This is
1986 incorrect, the pagers are always added. Only their visibility is
1987 affected by the pager style.
1988 - Save the entire count in the viewstate, not just the rendered
1989 count. So when paging is enabled the pager's count isn't broken by
1992 2005-08-22 Chris Toshok <toshok@ximian.com>
1994 * LinkButton.cs (ValidationGroup): implement.
1995 (IPostBackEventHandler.RaisePostBackEvent): in the 2.0 profile,
1996 pass ValidationGroup to Page.Validate.
1998 2005-08-22 Chris Toshok <toshok@ximian.com>
2000 * ImageButton.cs (ValidationGroup): implement.
2001 (IPostBackEventHandler.RaisePostBackEvent): if we cause
2002 validation, call Page.Validate properly (in both profiles).
2004 2005-08-22 Chris Toshok <toshok@ximian.com>
2006 * Button.cs (IPostBackEventHandler.RaisePostBackEvent): in the 2.0
2007 case, pass ValidationGroup to Page.Validate.
2008 (ValidationGroup): implement using ViewState.
2010 2005-08-22 Chris Toshok <toshok@ximian.com>
2012 * BaseValidator.cs (Text): 2.0 only. implement naively, just
2014 (OnInit): add 2.0 support for validation groups.
2017 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
2019 * LoginName.cs: New (2.0) web control.
2020 * LoginStatus.cs: New (2.0) web control.
2022 2005-08-19 Chris Toshok <toshok@ximian.com>
2024 * LinkButton.cs (ValidationGroup): implement getter/setter.
2025 (RaisePostBackEvent): implement naively, by c&p'ing the old
2026 implementation of IPostBackEventHandler.RaisePostBackEvent, but
2027 making use of the ValidationGroup in the call to Page.Validate.
2031 * Style.cs (LoadViewState): set our style flags for all the things
2032 we have flags for. Seems like the subclass flags should be
2033 handled in overridden LoadViewState methods, but none of the Style
2034 subclasses seem to override this method.
2036 2005-08-19 Chris Toshok <toshok@ximian.com>
2038 * TableStyle.cs (Merge, MergeWith): make these look a bit more
2039 like Copy/CopyFrom, with the styles checks instead of just
2042 * TableItemStyle.cs: same, only also make Copy/CopyFrom work as in
2045 2005-08-19 Chris Toshok <toshok@ximian.com>
2047 * DataGrid.cs (InitializePager): don't unconditionally set
2048 pager_cell to the numeric pager (especially after setting it
2049 conditionally to the nextprev pager.)
2050 (InitializeNumericPager): the link buttons don't participate in
2052 (InitializeNextPrevPager): same.
2053 (CreateControlHierarchy): create the top/bottom pagers only if the
2054 PagerStyle says too.
2056 2005-08-19 Sebastien Pouliot <sebastien@ximian.com>
2058 * TableCell.cs: Added AssociatedHeaderCellID property for 2.0.
2060 2005-08-18 Chris Toshok <toshok@ximian.com>
2062 * DataList.cs (CreateControlHierarchy): Call Controls.Clear() at
2063 the start of this method so templates are created properly.
2065 2005-08-18 Dick Porter <dick@ximian.com>
2067 * Button.cs, DetailsView.cs, Xml.cs, Table.cs, Menu.cs,
2068 DataControlButton.cs, Label.cs, ObjectDataSource.cs, CheckBox.cs,
2069 RadioButton.cs, ListControl.cs, Image.cs, SiteMapPath.cs,
2070 BaseDataList.cs, DataList.cs, BulletedList.cs,
2071 DataBoundControl.cs, Login.cs, GridView.cs,
2072 CompositeDataBoundControl.cs, Wizard.cs, BaseValidator.cs,
2073 TextBox.cs, CheckBoxList.cs, RadioButtonList.cs, FormView.cs,
2074 AdRotator.cs, Repeater.cs, MenuItemTemplateContainer.cs,
2075 DropDownList.cs, HyperLink.cs, ImageMap.cs, MultiView.cs,
2076 CompositeControl.cs, HierarchicalDataBoundControl.cs, Calendar.cs,
2077 ListBox.cs, TableCell.cs, WebControl.cs, Literal.cs,
2078 BaseDataBoundControl.cs, ValidationSummary.cs, ImageButton.cs,
2079 LinkButton.cs, TreeView.cs: 2.0 API fixes and stubs, and attribute
2082 2005-08-18 Sebastien Pouliot <sebastien@ximian.com>
2084 * BaseDataList.cs: Added a TODO for DataKeyField as we're not using it
2086 * DataList.cs: Reworked CreateControlHierarchy to avoid allocating an
2087 empty array of objects just to get the number of items.
2088 * Login.cs: Implemented OnBubbleEvent and parts of the authentication
2089 but we're missing some bits from the class lib to complete all this...
2091 2005-08-17 Jackson Harper <jackson@ximian.com>
2093 * DataGrid.cs: Only create one pager and add it to both the top
2094 and bottom of the grid, this way all the id numbers stay the same
2095 and we save a bunch of cycles.
2097 2005-08-17 Jackson Harper <jackson@ximian.com>
2099 * DataGrid.cs: The top and bottom pagers are always created. Just
2100 the visibility is changed by the PagerStyle::Position.
2102 2005-08-17 Chris Toshok <toshok@ximian.com>
2104 * CompositeControl.cs (RecreateChildControls): implement naively -
2105 just call CreateChildControls. We might need to call
2106 Controls.Clear() as well, but for the time being, this is ok.
2108 2005-08-17 Sebastien Pouliot <sebastien@ximian.com>
2110 * BaseDataList.cs: Completed implementation for 2.0.
2112 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
2114 * BaseDataList.cs: Added missing properties/methods/attributes for 2.0.
2115 * DataList.cs: Added missing [Browseable] attribute on SelectedValue.
2117 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
2119 * BaseDataList.cs: Removed old internal ctor as DataList TagKey was
2121 * DataList.cs: Implemented {Load|Save}ControlState and OnInit (2.0).
2122 Adjusted size and ordering of the ViewState (new element #0 is still
2123 unknown). Properly fixed the TagKey in 2.0.
2124 * Login.cs: Implemented {Load|Save|Track}ViewState. Added checks for
2125 all properties using enums.
2126 * Panel.cs: Fixed NoWrap rendering unit test (for 2.0).
2127 * TableItemStyle.cs: Fixed attribute rendering to use style to render
2128 "nowrap" in 2.0 (it used the HTML nowrap attribute in 1.x).
2130 2005-08-15 Jackson Harper <jackson@ximian.com>
2132 * EditCommandColumn.cs: Use a normal LinkButton.
2134 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
2136 * Image.cs: Don't remove GenerateEmptyAlternateText (2.0) from the
2137 viewstate (even if assigned to the default value).
2138 * TableRow.cs: Implement TableSection property (2.0). It has no effect
2139 on the rendering of the table row.
2141 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
2143 * BaseDataList.cs: Added new [Themeable] and [Localizable] attributes
2144 and removed [Bindable] attributes for 2.0.
2145 * DataList.cs: Added new 2.0 attributes on class and removed [Bindable]
2146 attributes (for 2.0).
2147 * DataListCommandEventArgs.cs: Not sealed in 2.0.
2148 * DataListItemEventArgs.cs: Not sealed in 2.0.
2149 * Image.cs: Fixed [Designer] attribute on class and all [Editor]
2150 attributes for URLs.
2151 * Login.cs: Fixed [Designer] attribute on class and all [Editor]
2152 attributes for URLs.
2153 * Table.cs: Fixed [Editor] attribute for 2.0.
2154 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
2155 * TableCell.cs: Fixed [Designer] attribute. Fixed property name for
2156 AssociatedHeaderCellID and it's [DefaultValue] attribute.
2157 * TableHeaderCell.cs: Fix [DefaultValue] attributes for CategoryText
2158 and Scope attributes.
2159 * TableRow.cs: Fixed [Designer] attribute. Added missing [DefaultValue]
2160 on TableSection attribute.
2161 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
2163 2005-08-14 Sebastien Pouliot <sebastien@ximian.com>
2165 * Image.cs: Fixed attributes for 2.0 profile.
2166 * Login.cs: Fixed some attributes and default values.
2167 * Table.cs: Fixed attributes for 2.0 profile. Added protected method
2168 RaisePostBackEvent (TODO) in 2.0 profile.
2169 * TableCell.cs: Fix properties (Bindable, Localizable, Designer...)
2170 and added AssociateHeaderCellID property (TODO).
2171 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
2172 * TableFooterRow.cs: New (2.0). TableRow that always shows on each
2173 page (if the device requires to breaks the table into multiple pages).
2174 This seems to be a "flag" class, the real work will be in Table.
2175 * TableHeaderCell.cs: Added CategoryText and Scope properties for 2.0.
2176 * TableHeaderRow.cs: New (2.0). TableRow that always shows on each
2177 page (if the device requires to breaks the table into multiple pages).
2178 This seems to be a "flag" class, the real work will be in Table.
2179 * TableItemStyle.cs: Remove [Bindable (true)] from 2.0 profile.
2180 * TableRow.cs: Remove [Bindable (true)] from properties and add
2181 [Bindable (false)] and [Designer] on class. Added new TableSection
2183 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
2184 * TableSectionStyle.cs: New (2.0). Add Visible to Style - but it's
2185 broken (int beta2) for IsEmpty, CopyFrom, MergeWith...
2186 * TableStyle.cs: Fixed attributes for 2.0 profile. Added new
2187 FillStyleAttributes method (2.0).
2189 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
2191 * Login.cs: New (2.0). Mostly a stub with copy-n-pasted code and
2192 attributes from existing controls.
2193 * LoginCancelEventArgs.cs: New (2.0). Required to build Login.
2194 * LoginCancelEventHandler.cs: New (2.0). Required to build Login.
2196 2005-08-12 Jackson Harper <jackson@ximian.com>
2198 * TableRow.cs: No AutoID for TableRows.
2200 2005-08-12 Jackson Harper <jackson@ximian.com>
2202 * DataGrid.cs (CreateRenderColumns): If we aren't using data
2203 binding grab the rendercols from the data source columns.
2204 (LoadViewState): Restore the bound columns when reloading the
2206 (InitializeNumericPager): Create elipsised pagers.
2207 (CreateItem): Don't set the item's ID.
2208 (CreateItem): Add the control to the table before it is databound
2209 so that it's value is saved in the viewstate.
2210 (CreateControlHierarchy): Create a fake data source when not using
2211 databinding. Don't add controls to the table as they are added in
2213 (PrepareControlHierarchy): Make footers and header non visible if
2214 they aren't enabled.
2216 2005-08-12 Chris Toshok <toshok@ximian.com>
2218 * CompositeControl.cs (DataBind, Render, get_Controls): the MSDN
2219 docs says these methods/properties "ensure the child controls are
2220 created" -- so call EnsureChildControls() before invoking the base
2223 2005-08-12 Jackson Harper <jackson@ximian.com>
2225 * BoundColumn.cs: Set the controls text instead of adding a
2226 literal control. So it is saved in the controls viewstate.
2228 2005-08-11 Jackson Harper <jackson@ximian.com>
2230 * CheckBoxList.cs: Set the tabindex on the checkbox control and
2231 don't render it on the main table (Setting it to zero causes it to
2232 not be rendered). Also use the invariant culture on the id.
2234 2005-08-11 Dick Porter <dick@ximian.com>
2236 * CheckBox.cs: Let ViewState manage removals; apply styles and
2237 "style" attributes in a surrounding <span>. Fixes unit tests.
2239 2005-08-10 Chris Toshok <toshok@ximian.com>
2241 * Label.cs (LoadViewState): set the Text attribute from our
2242 ViewState (if it exists) to clear out any child controls. Fixes
2243 jsunit test label/label-child-control-postback.aspx.
2245 2005-08-10 Jackson Harper <jackson@ximian.com>
2247 * PagedDataSource.cs: Respect paging with all data source types.
2249 2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
2251 * BaseDataList.cs: Changed Controls property from "virtual new"
2252 (2.0 doc) to "override" (monop) to fix the Visible bug (see
2253 datalist-invisible.aspx). Fixed AddParsedSubObject not to accept
2254 any controls (required due to change to Controls). Implemented
2255 DataBind(bool) for 2.0.
2256 * DataListItem.cs: Fix the multiple table when extractRows is used.
2257 Removed extra span tags by rendering contents (not control). Added
2258 support for IDataItemContainer (2.0).
2260 2005-08-08 Jackson Harper <jackson@ximian.com>
2262 * DataGrid.cs: Apply the styles to each item type.
2264 2005-08-08 Jackson Harper <jackson@ximian.com>
2266 * PagedDataSource.cs: If paging is not enabled keep enumerating to
2267 the end of the list.
2269 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
2271 * BaseDataList.cs: Remove old compatibility stuff.
2272 * DataList.cs: Fix the edit|update for datalist-style-edit.aspx.
2273 * WebControl.cs: Always call CreateControlStyle to create the
2274 ControlStyle. Fix the exception for datalist-style-edit.aspx.
2276 2005-08-05 Jackson Harper <jackson@ximian.com>
2278 * DataGrid.cs: Don't make the current page index a link in the
2281 2005-08-05 Jackson Harper <jackson@ximian.com>
2283 * DataGrid.cs: Honour PagerPosition.
2285 2005-08-05 Jackson Harper <jackson@ximian.com>
2287 * PagedDataSource.cs: Round PageCount properly.
2289 2005-08-05 Dick Porter <dick@ximian.com>
2291 * CheckBox.cs: Shut corcompare up a bit more. Still need to
2292 figure out how to not use AddAttributesToRender to get it
2295 * ButtonColumn.cs: Implement Initialize() and InitializeCell()
2297 * DataGridColumn.cs: Added the duplicate viewstate manipulation
2300 2005-08-05 Chris Toshok <toshok@ximian.com>
2302 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): treat "" as
2303 null when it comes to the format string.
2304 (FormatDataTextValue): same.
2306 2005-08-04 Chris Toshok <toshok@ximian.com>
2308 * BaseValidator.cs (Validate): only test a validator if it's both
2309 enabled and visible.
2311 2005-08-04 Chris Toshok <toshok@ximian.com>
2313 * BaseValidator.cs (AddAttributesToRender): add "enabled" if
2316 2005-08-04 Jackson Harper <jackson@ximian.com>
2318 * DataGrid.cs: Add a new space control for each link. Also make
2319 the link's text 1 indexed. Don't add the space after the last
2322 2005-08-04 Ben Maurer <bmaurer@ximian.com>
2324 * LinkButton.cs: Fix up the test suite here.
2326 * Panel.cs: Fix up nowrap
2328 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
2330 * ListBox.cs: Use WriteXXXX to render HTML, this way it matches MS output
2331 * ListControl.cs: Clear item list before adding data (again)
2333 2005-08-04 Jordi Mas i Hernandez <jordi@ximian.com>
2335 * Calendar.cs: fixes issues with OnDayRender event and others
2337 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
2339 * DataGrid.cs(CreateControlHierarchy): Consider the EditItemIndex when
2341 * ListControl.cs(OnDataBinding): Only apply DataTextFormatString to text
2342 if DataTextField is bound
2343 * EditCommandColumn.cs(InitializeCell): MS inserts a between the
2344 two controls in edit mode, lets do the same
2346 2005-08-03 Jackson Harper <jackson@ximian.com>
2348 * BoundColumn.cs: Respek for the thisExpr when data binding.
2350 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
2352 * EditCommandColumn.cs: No need to offer edit when in edit mode.
2355 2005-08-04 Dick Porter <dick@ximian.com>
2357 * DataGridColumn.cs: New implementation
2360 * DataGridColumnCollection.cs: Set the DataGridColumn's owner
2362 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
2364 * WebControl.cs(CopyBaseAttributes): Use Enabled setter to also
2367 2005-08-03 Ben Maurer <bmaurer@ximian.com>
2369 * RepeatInfo.cs: Finally figured out how to use base control
2371 2005-08-03 Jackson Harper <jackson@ximian.com>
2373 * ButtonColumn.cs: Partial implementation.
2375 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
2377 * DataGridPagerStyle.cs(PageButtonCount): Throw exception on
2380 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
2382 * Calendar.cs: fixes Save/Load state
2384 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
2386 * Calendar.cs: bug fixes
2388 2005-08-03 Jackson Harper <jackson@ximian.com>
2390 * DataGrid.cs: Merge the table style with the render table. Some
2391 initial work on the numeric pager. Remove some debugging code.
2393 2005-08-03 Jackson Harper <jackson@ximian.com>
2395 * BoundColumn.cs: Implement Initialize and InitializeCell. When
2396 Data is formated it uses the DataFormatString that was set at the
2397 time Initialize was called (or null if initialize was never
2400 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
2402 * RadioButtonList.cs: bug fixes
2404 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
2406 * CheckBox.cs, RadioButton.cs: mecanism to avoid exposing
2407 AddAttributesToRender
2408 * RadioButtonList.cs: Implementation
2410 2005-08-01 Jackson Harper <jackson@ximian.com>
2412 * TableStyle.cs: Copy style bit when copying from another style.
2414 2005-08-01 Jackson Harper <jackson@ximian.com>
2416 * PagedDataSource.cs: Implement missing properties, use yield for
2417 the Enumerator methods. Only allow the enums to return one page at
2420 2005-08-01 Chris Toshok <toshok@ximian.com>
2422 * HyperLinkColumn.cs (ItemDataBinding): remove incorrect comment.
2424 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
2426 * WebControl.cs: Track enabled state across sessions
2428 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
2430 * ListControl.cs(OnDatabinding): Value is equivalent to text if
2433 2005-08-01 Jordi Mas i Hernandez <jordi@ximian.com>
2435 * ImageButton.cs: fixes, complete missing parts
2437 2005-07-31 Ben Maurer <bmaurer@ximian.com>
2439 * TextBox.cs: Html encode for multiline text boxes
2441 * HyperLink.cs: Resolve images
2443 2005-07-30 Chris Toshok <toshok@ximian.com>
2445 * BaseValidator.cs: initial version of 2.0 properties
2446 ValidationGroup and SetFocusOnError.
2448 2005-07-30 Chris Toshok <toshok@ximian.com>
2450 * HyperLinkColumn.cs (InitializeCell): clean this up.
2452 2005-07-30 Chris Toshok <toshok@ximian.com>
2454 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): just use
2455 DataBinder.FormatResult.
2456 (FormatDataTextValue): same.
2457 (Initialize): call base.Initialize.
2458 (ItemDataBinding): new function, get the text/navigateurl and set
2459 them on our HyperLink control.
2460 (InitializeCell): create a hyperlink control in the
2461 Item/EditItem/AlternatingItem case.
2463 2005-07-30 Ben Maurer <bmaurer@ximian.com>
2465 * RepeatInfo.cs: Handle 0 items situations correctly
2467 * HyperLink.cs: Resolve urls correctly
2469 * CheckBox.cs: use the correct ID for the label element.
2471 * Label.cs: Correct AddParsedSubObject impl. See FAQ
2473 2005-07-29 Chris Toshok <toshok@ximian.com>
2475 * BaseCompareValidator.cs (GetDateElementOrder): implement.
2477 2005-07-29 Chris Toshok <toshok@ximian.com>
2479 * BaseCompareValidator.cs (GetFullYear): implement two ways. The
2480 #if'ed out version follows microsoft's docs on msdn, but doesn't
2481 match ms's behavior. The other matches their behavior but not
2482 their docs. we use the latter. go figure.
2483 (get_CutoffYear): implement using
2484 CultureInfo.CurrentCulture.Calendar.TwoDigitYearMax.
2486 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
2489 - Name property now throws exception when set to null
2490 - Names now handles situation where our bit tells us we have
2491 a font, but it's not in the StateBag (null removal)
2492 * RangeValidator.cs: Removed unused vars
2494 2005-07-29 Ben Maurer <bmaurer@ximian.com>
2496 * Label.cs: ClientID should be used rather than UniqueID to get
2499 2005-07-29 Chris Toshok <toshok@ximian.com>
2501 * BaseValidator.cs (Validatate): not sure if this is entirely
2502 correct (some fairly deep testing required), but setting Enabled =
2503 false has the effect of setting IsValid = true.
2505 2005-07-29 Ben Maurer <bmaurer@ximian.com>
2507 * RadioButton.cs: The "remove from groupstate" isn't needed any
2508 more, now that statebag is correct.
2510 2005-07-29 Dick Porter <dick@ximian.com>
2512 * RadioButton.cs: Hide nonstandard API; remove GroupName from the
2513 ViewState when it is null.
2515 * CheckBox.cs: Hide nonstandard API
2517 2005-07-29 Jordi Mas i Hernandez <jordi@ximian.com>
2519 * Calendar.cs: fixes exceptions, bug fixes, new features
2520 * SelectedDatesCollection.cs: Fixes bugs discovered by the tests
2521 * CalendarDay.cs: fixes default value
2523 2005-07-28 Ben Maurer <bmaurer@ximian.com>
2525 * CompositeControl.cs: Stub
2527 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
2529 * EditCommandColumn.cs: Implemented
2531 2005-07-27 Chris Toshok <toshok@ximian.com>
2533 * RegularExpressionValidator.cs (EvaluateIsValid): "" is valid.
2535 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
2537 * CustomValidator.cs: Bug fixes (Thanks to Chris for creating the
2540 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
2542 * DataGrid.cs: DataGridPagerStyle does not need DataGrid as argument
2543 for it's constructor, so remove it
2544 * DataGridPagerStyle.cs: Removed DataGrid argument from constructor
2546 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
2548 * DataGridPagerStyle.cs: Implemented
2549 * TableItemStyle.cs (MergeWith): Now only sets style bits it owns
2550 * Style.cs: Added Styles enum values for DataGridPagerStyle
2552 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
2554 * Calendar.cs: get the styles right, honors more properties, fixes, fix
2557 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
2559 * DataGridItem.cs: Implemented
2561 2005-07-26 Chris Toshok <toshok@ximian.com>
2563 * LinkButton.cs (AddParsedSubObject): reversed the order of
2564 Controls.Add() and Text = null
2565 (set_Text): call Controls.Clear()
2566 (RenderContents): use HasControls() for the if test instead of
2569 * HyperLink.cs (AddParsedSubObject): reversed the order of
2570 Controls.Add () and Text = null;
2572 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
2574 * DataGridItemCollection.cs: Implemented
2576 2005-07-26 Chris Toshok <toshok@ximian.com>
2578 * LinkButton.cs (AddParsedSubObject): copy implementation from
2580 (RenderContents): only call writer.Write(Text) if Text != "".
2581 Otherwise default to base.RenderContents.
2583 2005-07-26 Chris Toshok <toshok@ximian.com>
2585 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
2586 ImageButton.cs, LinkButton.cs (AddAttributesToRender): add if
2587 (Page != null) around my last commit.
2589 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
2591 * FontInfo.cs, CheckBox.cs, RadioButton.cs, ListItemCollection.cs:
2592 Fixed use of literal strings, instead using Consts
2593 * Xml.cs, RegularExpressionValidator.cs, TemplateColumn.cs,
2594 TextBox.cs, RequiredFieldValidator.cs, Repeater.cs, RepeaterItem.cs,
2595 Panel.cs, Literal.cs: Added attributes
2596 * BaseValidator.cs: Added missing override
2598 2005-07-26 Chris Toshok <toshok@ximian.com>
2600 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
2601 ImageButton.cs, LinkButton.cs (AddAttributesToRender): call
2602 Page.VerifyRenderingInServerFormHere.
2604 2005-07-26 Chris Toshok <toshok@ximian.com>
2606 * BaseValidator.cs: remove some MonoTODO's about the client side
2609 2005-07-26 Jordi Mas i Hernandez <jordi@ximian.com>
2611 * Calendar.cs: selection of dates, state load, save, track, support
2612 for new properties, many fixes.
2614 2005-07-26 Miguel de Icaza <miguel@novell.com>
2616 * Style.cs: Temporary methods to help buliding .NET 2.x
2618 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
2620 * BaseValidator.cs: Added AssociateControlID (new in sp1), fixed
2622 * Xml.cs: Fixed base class, attributes
2623 * Button.cs, DataGridColumnCollection.cs, HyperLinkColumn.cs,
2624 Label.cs, ListItem.cs, ListControl.cs, CustomValidator.cs,
2625 CheckBoxList.cs, AdRotator.cs, DropDownList.cs, HyperLink.cs,
2626 DataGrid.cs, ButtonColumn.cs, CompareValidator.cs, Calendar.cs,
2627 ListBox.cs, ImageButton.cs, LinkButton.cs: Attribute fixes
2629 2005-07-25 Ben Maurer <bmaurer@ximian.com>
2631 * RepeatInfo.cs: WOOHOOO! all tests pass. Boy is this class
2634 2005-07-25 Ben Maurer <bmaurer@ximian.com>
2636 * RepeatInfo.cs: If the repeater has one column, the separators
2637 are rendered on a different line
2639 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
2641 * DataGridSortCommandEventArgs: Sealed class
2642 * ButtonColumn.cs, Calendar.cs: Added Attributes
2644 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
2646 * Button.cs, Style.cs, BaseCompareValidator.cs, RangeValidator.cs,
2647 BaseValidator.cs, AdRotator.cs, BoundColumn.cs: Added Attributes
2649 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
2651 * FontInfo.cs, Style.cs, RangeValidator.cs, ListItemCollection.cs,
2652 DropDownList.cs, WebControl.cs, ValidationSummary.cs: Added Attributes
2654 2005-07-25 Chris Toshok <toshok@ximian.com>
2656 * ValidationSummary.cs (AddAttributesToRender): add client side
2658 (OnPreRender): set the "been here" flag.
2659 (Render): add client side support.
2661 2005-07-25 Ben Maurer <bmaurer@ximian.com>
2663 * RepeatInfo.cs: Split the horiz and vertical cases, because this
2664 class has rules that are beyond strange. Continue working to make
2667 2005-07-25 Ben Maurer <bmaurer@ximian.com>
2669 * RepeatInfo.cs: Misc fixes for my test suite.
2671 2005-07-25 Jackson Harper <jackson@ximian.com>
2673 * DataGrid.cs: Set the command name and args on the link buttons.
2675 2005-07-25 Jackson Harper <jackson@ximian.com>
2677 * DataGrid.cs: Lots o implementation.
2679 2005-07-25 Jackson Harper <jackson@ximian.com>
2681 * BoundColumn.cs: Partial implementation to get the DataGrid tests
2684 2005-07-23 Jordi Mas i Hernandez <jordi@ximian.com>
2686 * Button.cs: fixes events, adds attributes
2688 2005-07-23 Chris Toshok <toshok@ximian.com>
2690 * BaseValidator.cs (GetControlValidateValue): handle ListItems as
2691 prop.GetValue results.
2692 (Render): fix the static non-uplevel case, so that we display text
2693 when there's an error.
2695 2005-07-22 Chris Toshok <toshok@ximian.com>
2697 * RegularExpressionValidator.cs (AddAttributesToRender): only
2698 output ValidationExpression if it's != null.
2700 2005-07-22 Chris Toshok <toshok@ximian.com>
2702 * BaseValidator.cs (AddAttributesToRender): fix up the Display
2703 rendering such it matches MS's output.
2704 (Render): stop using the huge complicated if's for each output
2705 stage and move to boolean flags, and fix the static-nonuplevel
2706 case, where a validator outputs as nothing but
2708 2005-07-22 Jordi Mas i Hernandez <jordi@ximian.com>
2709 * Calendar.cs: Initial implementation
2710 * CalendarSelectionMode.cs: fix enum order
2712 2005-07-22 Sebastien Pouliot <sebastien@ximian.com>
2714 * DataList.cs: Rewrote the IRepeatInfoUser.RenderItem to support all
2715 (or more?) specific cases - including correct support for separators.
2716 Added some (commented) debugging code.
2717 * HyperLink.cs: Only render href and target attributes if they're not
2718 empty. Add "border=0" when rendering <img> tag. Fix Target default
2721 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
2723 * Style.cs (CopyFrom): Reset must go, MS doesn't do it (See tests)
2725 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
2727 * Style.cs (CopyFrom): Reset our styles and don't set bits from
2728 target explicitly, properties will set them
2730 2005-07-22 Dick Porter <dick@ximian.com>
2733 * ButtonColumn.cs: Initial stubs
2735 2005-07-22 Dick Porter <dick@ximian.com>
2738 * CheckBox.cs: Add assembly attributes
2740 2005-07-22 Ben Maurer <bmaurer@ximian.com>
2742 * HyperLink.cs: Handle non-literal children.
2744 2005-07-21 Ben Maurer <bmaurer@ximian.com>
2746 * Label.cs: SP1 stuff
2748 2005-07-21 Chris Toshok <toshok@ximian.com>
2750 * BaseValidator.cs (RegisterValidatorCommonScript): remove the NS4
2751 stuff that I c&p'ed from elsewhere - NS4 doesn't support the DOM1
2752 stuff WebUIValidation.js uses, so we don't support it for uplevel
2755 2005-07-21 Chris Toshok <toshok@ximian.com>
2757 * BaseValidator.cs (DetermineRenderUplevel): include checks for
2758 the EcmaScriptVersion and W3CDomVersion.
2760 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
2762 * BaseDataList.cs: Support IEnumerable.
2763 * DataList.cs: Fix alternate items.
2764 * TableCell.cs: Fixed AddParsedSubObject to work nicely with existing
2765 controls and the Text property.
2767 2005-07-21 Ben Maurer <bmaurer@ximian.com>
2769 * TextBoxMode.cs: Wrong ordering of enum...
2771 2005-07-21 Chris Toshok <toshok@ximian.com>
2773 * BaseValidator.cs (OnPreRender): call DetermineRenderUplevel and
2776 2005-07-21 Chris Toshok <toshok@ximian.com>
2778 * BaseValidator.cs (get_PropertiesValid): use our containing
2779 NamingContainer, not ourselves, to look up controls.
2780 (CheckControlValidationProperty): same.
2781 (GetControlRenderID): same.
2782 (GetControlValidationValue): same.
2783 (AddAttributesToRender): add the display style attribute if
2784 Display != Static, and add the value of IsValid if it's false.
2785 (DetermineRenderUplevel): use a try block around (Page.Request)
2786 since that can raise an exception.
2787 (OnPreRender): set pre_render_called, so we can consult it in
2789 (Render): complicate this method more to handle more of the
2790 Display/pre_render_called permutations.
2792 2005-07-21 Peter Dennis Bartok <pbartok@novell.com>
2794 * CustomValidator.cs: Initial implementation, still work in progress
2796 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
2798 * DataList.cs: Fix rendering for special items (-1).
2800 2005-07-21 Ben Maurer <bmaurer@ximian.com>
2802 * RepeatInfo.cs: Fix most of the tests.
2804 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
2806 * Image.cs: Call ResolveUrl for ImageUrl and DescriptionUrl properties.
2807 Add a border=0 attribute if no style is defined.
2808 * TableCell.cs: Use HtmlTextWriterTag (not a string).
2809 * TableHeaderCell.cs: Use HtmlTextWriterTag (not a string).
2810 * TableRow.cs: Use HtmlTextWriterTag (not a string).
2812 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
2814 * BaseDataList.cs: Fix attributes.
2815 * HorizontalAlign.cs: Fix attributes.
2816 * Image.cs: Fix attributes and enums checks.
2817 * Table.cs: Fix attributes an enums checks.
2818 * TableCell.cs: Fix attributes.
2819 * TableCellCollection.cs: Fix attributes.
2820 * TableItemStyle.cs: Fix attributes and enums checks.
2821 * TableRowCollection.cs: Fix attributes.
2822 * TableRow.cs: Fix attributes.
2823 * TableStyle.cs: Fix attributes and enums checks.
2824 * VerticalAlign.cs: Fix attributes.
2826 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
2828 * BaseDataList.cs: Remove/#if-out useless/2.0 stuff.
2829 * DataList.cs: Added rendering support when ExtractTemplatesRows
2830 property is true (but RepeatInfo needs to be fixed to see it works).
2831 * DataListItem.cs: Added rendering support when extractRows parameter
2832 is true (but RepeatInfo still needs to be fixed ;-)
2834 2005-07-21 Duncan Mak <duncan@novell.com>
2836 * HyperLinkColumn.cs: Initial implementation.
2837 Todo: Figure out Initialize and InitializeCell.
2839 2005-07-20 Chris Toshok <toshok@ximian.com>
2841 * BaseValidator.cs: don't use Page.FindControl, use this Control's
2842 FindControl, so it'll use the same naming container.
2844 2005-07-21 Duncan Mak <duncan@novell.com>
2846 * DataGridCommandEventArgs.cs:
2847 * DataGridPageChangedEventArgs.cs:
2848 * RepeaterCommandEventArgs.cs: Fixed visibility.
2850 * DataGridPageChangedEventArgs.cs (CommandSource): Fixed typo.
2851 * DataGridSortCommandEventArgs.cs (CommandSource): Ditto..
2853 2005-07-20 Chris Toshok <toshok@ximian.com>
2855 * Button.cs: hook up the client side validation stuff.
2857 * ImageButton.cs: same.
2859 * LinkButton.cs: same, although it's a little more complicated
2862 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
2865 - Implemented RaisePostDataChangedEvent()
2866 - Spewing postback command if AutoPostBack is true
2868 2005-07-20 Chris Toshok <toshok@ximian.com>
2870 * BaseValidator.cs: another Page != null check when uplevel
2873 2005-07-20 Chris Toshok <toshok@ximian.com>
2875 * BaseValidator.cs: check Page != null when determining if we're
2876 rendering uplevel or not.
2878 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
2880 * ListItemCollection.cs: Removed obsolete method that's no longer
2883 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
2885 * DropDownList.cs: Oops. Forgot to implement LoadPostData
2886 * ListItemCollection.cs: Added convenience method to have faster
2889 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
2892 - Automatically select the first item if none are selected
2893 - Throw exception if more than one item is selected
2895 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
2897 * DataList.cs: Fix style handling for RepeatLayout.Flow (which isn't
2898 handled by RepeatInfo).
2900 2005-07-20 Jackson Harper <jackson@ximian.com>
2902 * DataGrid.cs: Store the data source created columns in a
2903 DataGridColumnCollection. This way they can be put in the
2904 view state more easily, and accessed without casting.
2906 2005-07-20 Chris Toshok <toshok@ximian.com>
2908 * BaseValidator.cs (AddAttributesToRender): render the client side
2909 attributes if we're in uplevel mode.
2910 (DetermineRenderUplevel): flesh out a bit - for now basically
2911 return true unless the control has it disabled.
2912 (OnInit): only add the validator to Page's list if there is, in
2914 (OnUnload): same for removal.
2915 (OnPreRender): hook up client scripting stuff here. Only the call
2916 to RegisterValidatorCommonScript is a for sure thing here, the
2917 registering of the submit statement and startup script should
2918 probably go elsewhere, but I don't know where.
2919 (RegisterValidatorCommonScript): register the <script
2920 src=".../WebUIValidation.js"> tag, if it's not already there.
2921 (RegisterValidatorDeclaration): add our span object to the
2922 Page_Validators JS array.
2923 (Render): always render the tags (although this is probably not
2924 right), and call RegisterValidatorDeclaration here.
2926 * BaseCompareValidator.cs (AddAttributesToRender): render the
2927 client side attributes if we're in uplevel mode.
2928 (DetermineRenderUplevel): add MonoTODO.. why override this? Just
2929 call base.DetermineRenderUplevel for now.
2931 * RegularExpressionValidator.cs (AddAttributesToRender): render
2932 the client side attributes if we're in uplevel mode.
2934 * RequiredFieldValidator.cs (AddAttributesToRender): same.
2936 * CompareValidator.cs (AddAttributesToRender): same.
2938 2005-07-20 Jackson Harper <jackson@ximian.com>
2940 * DataGrid.cs: Save the data source created column set in the
2943 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
2945 * DataList.cs: Fix events and properties exceptions. Give the right
2946 informations to RenderItem.
2948 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
2950 * ValidationSummary.cs: Implemented rendering
2952 2005-07-20 Jackson Harper <jackson@ximian.com>
2954 * DataGrid.cs: column names are cached and only regenerated if useDataSource
2955 is set to true. Otherwise they are just fetched from the last set that
2956 was generated from the source.
2958 2005-07-20 Jackson Harper <jackson@ximian.com>
2960 * DataGrid.cs: Assign some properties of newly created BoundColumns.
2962 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
2964 * DataList.cs: Fix viewstate ordering.
2966 2005-07-20 Ben Maurer <bmaurer@ximian.com>
2968 * SelectedDatesCollection.cs: Apprarently, I don't write code well
2971 * Repeater.cs: Uh, actually add stuff to the items collection
2974 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
2976 * BaseDataList.cs: EnsureChildControls on Controls property.
2977 * DataList.cs: Fix rendering and Controls/Items differences.
2978 * DataListItem.cs: Added rendering of controls.
2980 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
2982 * BaseDataList.cs: Don't call base.Render (or we'll get an extra span).
2984 2005-07-20 Jackson Harper <jackson@ximian.com>
2986 * DataGrid.cs: Add some of the collections. Implement
2989 2005-07-20 Jackson Harper <jackson@ximian.com>
2991 * PagedDataSource.cs: Implement GetItemProperties, this is
2992 needed for the datagrid.
2994 2005-07-20 Ben Maurer <bmaurer@ximian.com>
2996 * DataGridColumnCollection.cs: New impl
2998 * TemplateColumn.cs: New impl
3000 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
3002 * BaseDataList.cs: Call PrepareControlHierarchy from Render.
3003 * DataList.cs: Work in progress... Added attributes, proper
3004 IRepeatInfoUser support and cool things stolen from other classes.
3005 * DataListCommandEventArgs.cs: Class is sealed.
3006 * DataListItem.cs: RenderItem is public.
3008 2005-07-19 Jackson Harper <jackson@ximian.com>
3010 * ListControl.cs: Use Events Add/RemoveHandler. Don't create
3011 a viewstate object if all the viewstate stuff is null.
3013 2005-07-19 Jackson Harper <jackson@ximian.com>
3015 * DataGrid.cs: Implement style properties and viewstate
3016 saving/loading/tracking.
3018 2005-07-19 Chris Toshok <toshok@ximian.com>
3020 * BaseValidator.cs: more fixes from pdb.
3022 2005-07-19 Chris Toshok <toshok@ximian.com>
3024 * BaseValidator.cs: some test-driven fixes.
3026 2005-07-19 Chris Toshok <toshok@ximian.com>
3028 * BaseValidator.cs: Initial implementation.
3030 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
3032 * Repeater.cs: Fix small typo.
3034 2005-07-19 Peter Dennis Bartok <pbartok@novell.com>
3036 * ValidationSummaryTest.cs: Started implementation
3037 * RangeValidator.cs: Implemented
3038 * ValidatedControlConverter.cs: Implemented
3039 * DropDownList.cs: Implemented
3041 2005-07-19 Jackson Harper <jackson@ximian.com>
3043 * DataGrid.cs: Implement bubble event.
3045 2005-07-19 Jackson Harper <jackson@ximian.com>
3047 * DataGrid.cs: New implementation. Just properties and events for
3050 2005-07-18 Chris Toshok <toshok@ximian.com>
3052 * BaseCompareValidator.cs: Initial implementation, with some NYI.
3054 2005-07-19 Ben Maurer <bmaurer@ximian.com>
3056 * FontUnit.cs: Corcompare fixes
3058 * UnitConverter.cs: Fix api diffs
3060 2005-07-18 Ben Maurer <bmaurer@ximian.com>
3062 * ListControl.cs: Fix api differences
3064 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
3066 * Table.cs: Fix indentation for caption. Simplify check when adding
3068 * TableRow.cs: Simplify check when adding controls.
3070 2005-07-18 Chris Toshok <toshok@ximian.com>
3072 * CompareValidator.cs: wtf, just use the base class's methods.
3074 2005-07-18 Chris Toshok <toshok@ximian.com>
3076 * CompareValidator.cs: do comparisons based on
3077 BaseCompareValidator.Type.
3079 2005-07-18 Chris Toshok <toshok@ximian.com>
3081 * CompareValidator.cs: initial implementation.
3083 2005-07-18 Chris Toshok <toshok@ximian.com>
3085 * RegularExpressionValidator.cs: initial implementation.
3087 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
3089 * DataList.cs: Fixed to match 1.1 behaviour (and new unit tests).
3091 2005-07-18 Jackson Harper <jackson@ximian.com>
3093 * CheckBoxList.cs: Implement LoadPostBackData. Also register
3094 checkboxes for postback if they are checked so we can find
3095 out when they are unchecked. Copy the AutoPostBack variable
3096 to the to be rendered checkbox when rendering.
3098 2005-07-18 Ben Maurer <bmaurer@ximian.com>
3100 * TextBox.cs: Finish this up.
3102 * AdRotator.cs: Fix issues in the test suite. Minor style
3105 * Repeater.cs: Fix a bug where the datasource is null and we do
3108 * WebColorConverter.cs: Optimize by not doing a concat on a
3111 2005-07-17 Ben Maurer <bmaurer@ximian.com>
3113 * ListItemCollection.cs: Multiple uses of equals rather than
3114 string.compare as below. Remove unreachable code warning.
3116 * WebColorConverter.cs (ConvertTo): Use the == operator on string
3117 rather than an invariant non-case ignoring compare. They are
3118 exactly the same thing. Use proper coding style in this method.
3120 * WebControl.cs: Return null when saving the view state if there
3121 is no state in any of the things we save. This creates a fairly
3122 large savings, because we can avoid saving anything about many
3123 levels of deaply nested controls.
3125 2005-07-15 Jackson Harper <jackson@ximian.com>
3127 * CheckBoxList.cs: Use the index as the ID, the rest of the
3128 id is built by being in the NamingContainer.
3130 2005-07-15 Jackson Harper <jackson@ximian.com>
3132 * ListControl.cs: Use enum instead of string. Saves a lookup.
3134 2005-07-15 Jackson Harper <jackson@ximian.com>
3136 * CheckBoxList.cs: FindControl always returns 'this' according
3139 2005-07-15 Jackson Harper <jackson@ximian.com>
3141 * CheckBoxList.cs: New impl.
3143 2005-07-15 Jackson Harper <jackson@ximian.com>
3145 * WebControl.cs: Use the ClientID when rendering a controls ID
3146 attribute so that naming containers are honoured.
3148 2005-07-15 Jackson Harper <jackson@ximian.com>
3150 * ListControl.cs: use the state manager interface for tracking
3153 2005-07-15 Ben Maurer <bmaurer@ximian.com>
3155 * Repeater.cs (DoItem): Add the DataItem before we call user
3156 methods, as it seems to be there with msft.
3158 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
3160 * BaseDataList.cs: New. (mostly complete) implementation.
3161 * DataKeyCollection.cs: New. Implementation (complete).
3162 * DataList.cs: New. (mostly incomplete) implementation.
3163 * DataListItem.cs: New. (mostly complete) implementation.
3164 * DataListItemCollection.cs: New. Implementation (complete).
3166 2005-07-15 Ben Maurer <bmaurer@ximian.com>
3168 * Repeater.cs (DoItem): We need to .Add the control *before* we
3169 data bind it so that the state gets tracked correctly. Fixes the
3172 2005-07-15 Jackson Harper <jackson@ximian.com>
3174 * ListControl.cs: Simplify comparison.
3176 2005-07-15 Jackson Harper <jackson@ximian.com>
3179 * Repeater.cs: Use new utility class for resolving data sources.
3181 2005-07-15 Jackson Harper <jackson@ximian.com>
3183 * ListControl.cs: Add attributes so the sub items get parsed
3184 properly. Remove old unneeded code for resolving lists.
3186 2005-07-15 Jackson Harper <jackson@ximian.com>
3188 * ListControl.cs: Use the DataSourceHelper so DataMembers are
3191 2005-07-14 Ben Maurer <bmaurer@ximian.com>
3194 - Some optimizations
3195 * Don't use enum formatting stuff, it is 1) expensive 2) does
3196 allocations. Use a new method in HtmlControl to do the right
3198 * Don't use Enum.IsDefined but an explicit check.
3199 * (x == "" || x.Length < 2) is not needed since "".Length == 0 < 2
3200 - Use the correct coding style.
3202 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
3204 * WebColorConverter.cs:
3205 - Alpha of 255 is only set if the hex number is exactly 6 digits
3206 - Ben didn't like the catch { throw; } (even though MS documents to
3208 - Use Invariant Culture for parsing (thanks, Ben)
3210 2005-07-14 Jackson Harper <jackson@ximian.com>
3212 * ListControl.cs: Use DataBinder.Eval for data binding. This is more
3213 code-reuse-arific. Also use the IStateManager interface for loading
3214 data instead of the old internal method.
3216 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
3218 * WebColorConverter.cs: Implemented
3220 2005-07-14 Ben Maurer <bmaurer@ximian.com>
3222 * Repeater.cs: Cleanup; use the DataSourceHelper thingy.
3224 2005-07-14 Ben Maurer <bmaurer@ximian.com>
3226 * Repeater.cs: Get it working
3228 2005-07-14 Jackson Harper <jackson@ximian.com>
3230 * ListControl.cs: Initial implementation of Databinding. Make sure
3231 that the ListItemCollection is created when we load its ViewState.
3233 2005-07-14 Jackson Harper <jackson@ximian.com>
3235 * ListControl.cs: Fix typo.
3237 2005-07-14 Jackson Harper <jackson@ximian.com>
3239 * ListControl.cs: New Implementation. Lacks databinding support.
3241 2005-07-14 Ben Maurer <bmaurer@ximian.com>
3243 * Repeater.cs: The beginnings of this control
3245 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
3247 * TargetConverter.cs: Implemented
3249 2005-07-14 Duncan Mak <duncan@novell.com>
3251 * PagedDataSource.cs: Initial implementation.
3253 Methods that need to be figured out:
3254 CopyTo, GetItemProperties, PageCount, IsLastPage.
3256 To complete: CollectionEnumerator, ListEnumerator.
3258 2005-07-13 Duncan Mak <duncan@novell.com>
3260 * RepeatDirection.cs:
3262 * ValidationCompareOperator.cs:
3263 * ValidationDataType.cs:
3264 * ValidationSummaryDisplayMode.cs:
3265 * ValidatorDisplay.cs: Added remaining enumerations.
3267 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
3269 * FontNamesConverter.cs: Implemented
3271 2005-07-13 Ben Maurer <bmaurer@ximian.com>
3273 * RepeaterItem.cs: Compile fix
3275 * RepeaterItemCollection.cs: New file
3277 * RepeaterItem.cs: get OnBubbleEvent right.
3279 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
3281 * ListItemCollection.cs: Count can be derived from the array, which
3282 allows us to use a Pair instead of a Triplet and save some space
3284 2005-07-13 Ben Maurer <bmaurer@ximian.com>
3286 * RepeaterItem.cs: Stub
3288 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
3290 * ListItemCollection.cs: Implemented
3291 * WebControl.cs: Added check for enumeration validity (thanks Jackson)
3293 2005-07-13 Ben Maurer <bmaurer@ximian.com>
3295 * RepeatInfo.cs: Impl.
3297 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
3299 * FirstDayOfWeek.cs: Added
3301 2005-07-13 Jackson Harper <jackson@ximian.com>
3303 * ListBox.cs: Some parameter checking.
3305 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
3307 * Image.cs: Added support for DescriptionUrl as this property was
3308 added in Fx 1.1 SP1.
3310 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
3312 * Style.cs (AddAttributesToRender): Don't render attributes if they
3313 contain only their default value
3315 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
3317 * Table.cs: New. Initial re-implementation.
3318 * TableCell.cs: New. Initial re-implementation.
3319 * TableCellCollection.cs: New. Initial re-implementation.
3320 * TableHeaderCell.cs: New. Initial re-implementation.
3321 * TableItemStyle.cs: New. Initial re-implementation.
3322 * TableRow.cs: New. Initial re-implementation.
3323 * TableRowCollection.cs: New. Initial re-implementation.
3324 * TableStyle.cs: New. Initial re-implementation.
3326 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
3328 * Style.cs: Removed the call to Reset in CopyFrom. This fix the new
3329 unit tests (for Style) and more tests in Table* classes.
3331 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
3333 * Style.cs: TableStyle and TableItemStyle don't override IsEmpty,
3334 however IsEmpty returns false if any of their properties are set.
3335 Looks ugly but it's compatible with MS implementation (feature and
3338 2005-07-13 Dick Porter <dick@ximian.com>
3340 * CheckBox.cs: Reverted Ben's enum-to-int ViewState change, remove
3341 null Text properties from the ViewState, test for TextAlign being
3342 out of range. All to make tests pass on both mono and ms
3345 2005-07-13 Jackson Harper <jackson@ximian.com>
3347 * ListBox.cs: Use invariant culture when doing a ToString,
3348 set value to the item's value, not to its Text.
3350 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
3352 * WebControl.cs (AddAttributesToRender): Added ID to rendered
3355 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
3357 * Style.cs(MergeWith): Handle null styles
3359 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
3361 * TableCaptionAlign.cs: This enum was added in 1.1 SP1 so I removed
3362 the #if NET_2_0 on it.
3364 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
3366 * Style.cs: Only render font elements if fontinfo object exists
3368 - Implemented SaveViewState()
3369 - Added loading of Style to LoadViewState
3370 - Implemented IAttributeAccessor methods
3372 2005-07-12 Jackson Harper <jackson@ximian.com>
3374 * ListBox.cs: Even track default values in the viewstate. Call
3375 base's RenderContents.
3377 2005-07-12 Jackson Harper <jackson@ximian.com>
3379 * ListBox.cs: New impl.
3381 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
3384 - Implemented methods
3387 2005-07-12 Ben Maurer <bmaurer@ximian.com>
3389 * ListItem.cs: New impl.
3391 2005-07-12 Duncan Mak <duncan@novell.com>
3393 * DayNameFormat.cs: Added.
3395 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
3397 * WebControl.cs: Implemented properties
3399 2005-07-12 Ben Maurer <bmaurer@ximian.com>
3401 * TextBox.cs: Passwords seem 1) not to be rendered to the client
3402 if set, 2) not kept in view state (for security reasons...)
3405 * Button.cs: Page.Validate () if needed. Gets the validator tests
3408 * TextBox.cs: Properties to get the validator stuff to work.
3410 2005-07-12 Miguel de Icaza <miguel@novell.com>
3412 * Unit.cs: If the units are pixels, then truncate the value.
3414 2005-07-12 Dick Porter <dick@ximian.com>
3416 * RadioButton.cs: New implementation
3418 * CheckBox.cs: Rearrange the attributes rendering to allow
3419 RadioButton to derive from this
3421 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
3423 * TitleFormat.cs: Add attribute
3424 * TextBoxMode.cs: Add attribute
3425 * CalendarDay.cs: Initial implementation
3426 * ImageButton.cs: Initial implementation
3427 * CalendarSelectionMode.cs:Initial implementation
3429 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
3431 * TextBoxMode.cs: simple enum
3432 * TitleFormat.cs: simple enum
3434 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
3436 * FontInfo.cs: Now using BenM's fancy internal StateBag methods
3438 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
3440 * FontUnit.cs: Added TypeConverter attribute to class
3441 * FontUnitConverter.cs: Implemented
3443 2005-07-11 Ben Maurer <bmaurer@ximian.com>
3446 * Button.cs: Bubble the Command event.
3448 2005-07-11 Ben Maurer <bmaurer@ximian.com>
3451 - Clean up style (with my wonderful state bag hack!)
3452 - Fix a view state typo.
3453 - Use AddAttributesToRender
3454 - Don't add an extra <span>
3456 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
3458 * Style.cs: Handle null constructor argument for bag
3460 2005-07-11 Dick Porter <dick@ximian.com>
3462 * CheckBox.cs: New implementation
3464 * RadioButton.cs: Initial stubbed version that just compiles
3466 2005-07-10 Jordi Mas i Hernandez <jordi@ximian.com>
3468 * Button.cs: Initial Button implementation
3470 2005-07-10 Sebastien Pouliot <sebastien@ximian.com>
3472 * VerticalAlign.cs: Fixed enum name (copy/paste from HorizontalAlign).
3474 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
3476 * HorizontalAlign.cs: Typo in header.
3477 * VerticalAlign.cs: New. Required enum for TableRow control.
3479 2005-07-09 Ben Maurer <bmaurer@ximian.com>
3481 * TextBox.cs: More work on this
3483 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
3485 * GridLines.cs: New. Required enum for Table control.
3486 * HorizontalAlign.cs: New. Required enum for Table control.
3488 2005-07-09 Duncan Mak <duncan@novell.com>
3490 * CommandEventHandler.cs:
3491 * DataGridCommandEventHandler.cs:
3492 * DataGridItemEventHandler.cs:
3493 * DataGridPageChangedEventHandler.cs:
3494 * DataGridSortCommandEventHandler.cs:
3495 * DataListCommandEventHandler.cs:
3496 * DayRenderEventHandler.cs:
3497 * RepeaterCommandEventHandler.cs:
3498 * ServerValidateEventHandler.cs: Add delegates.
3501 * ListSelectionMode.cs:
3502 * NextPrevFormat.cs:
3504 * PagerPosition.cs: Add enums.
3506 2005-07-09 Ben Maurer <bmaurer@ximian.com>
3508 * TextBox.cs: Add the work I did on this today. It's not complete
3509 yet, but its a start!
3511 2005-07-09 Duncan Mak <duncan@novell.com>
3513 * CommandEventArgs.cs:
3514 * DataGridCommandEventArgs.cs:
3515 * DataGridItemEventArgs.cs:
3516 * DataGridPageChangedEventArgs.cs:
3517 * DataGridSortCommandEventArgs.cs:
3518 * DataListCommandEventArgs.cs:
3519 * DataListItemEventArgs.cs:
3520 * DayRenderEventArgs.cs:
3521 * RepeaterCommandEventArgs.cs:
3522 * RepeaterItemEventArgs.cs:
3523 * ServerValidateEventArgs.cs: Implemented.
3525 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
3527 * Image.cs: New. Image class implementation.
3528 * ImageAlign.cs: New. ImageAlign enum definitions.
3530 2005-07-08 Jackson Harper <jackson@ximian.com>
3532 * Literal.cs: New implentation.
3533 * MonthChangedEventArgs.cs: new
3534 * MonthChangedEventHandler.cs: new
3536 2005-07-08 Ben Maurer <bmaurer@ximian.com>
3538 * LinkButton.cs: Command impl
3540 2005-07-08 Ben Maurer <bmaurer@ximian.com>
3542 * LinkButton.cs: Initial impl
3544 2005-07-08 Jackson Harper <jackson@ximian.com>
3546 * AdCreatedeventArgs.cs: New implementation.
3548 2005-07-08 Dick Porter <dick@ximian.com>
3551 * BorderStyle.cs: Added
3553 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
3555 * FontInfo.cs: Fixed behaviour discrepancies showed by tests
3557 2005-07-07 Miguel de Icaza <miguel@novell.com>
3559 * Xml.cs: New implementation. R00lz.
3561 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
3563 * FontInfo.cs: Added and implemented.
3564 * Style.cs: Fixed behaviour discrepancies showed by tests
3566 2005-07-07 Ben Maurer <bmaurer@ximian.com>
3568 * PlaceHolderControlBuilder.cs: new file
3570 * LabelControlBuilder.cs: New file
3572 * HyperLink.cs: use control builder; fix parsing stuff
3574 * HyperLinkControlBuilder.cs: new file
3576 * Panel.cs: misc fixes
3578 2005-07-07 Miguel de Icaza <miguel@novell.com>
3580 * Unit.cs: Add TypeConverter, so that web_panel.aspx works again.
3582 * UnitConverter.cs: Add new file, learned from the
3583 System.Drawing.ColorConverter.
3585 2005-07-07 Ben Maurer <bmaurer@ximian.com>
3587 * PlaceHolder.cs: New file. Seems to do nothing
3589 * Label.cs: Use my new statebag trick to reduce typing
3591 * HyperLink.cs: New file
3593 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
3595 * Style.cs: Added and implemented.
3597 2005-07-06 Miguel de Icaza <miguel@novell.com>
3599 * FontUnit.cs: New file.
3601 * Unit.cs: New file.
3603 Added support for null and empty string constructors.
3605 2005-07-06 Ben Maurer <bmaurer@ximian.com>
3607 * Unit.cs: cctor not needed; static fields are 0 init'd by default
3609 * WebControl.cs: Kothari & Datye's book explains how these work.
3611 * IRepeatInfoUser.cs: Reimpl.
3613 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
3615 * WebControl.cs: Added stub
3617 2005-07-05 Miguel de Icaza <miguel@novell.com>
3619 * Label.cs: First control.
3621 2005-06-27 Lluis Sanchez Gual <lluis@novell.com>
3623 * DataControlField.cs: Ignore the ShowHeader property when
3624 building the control's content. It is the resposability of
3625 the field container to decide if the header should be shown
3628 2005-06-10 Lluis Sanchez Gual <lluis@novell.com>
3631 * ImageFieldMode.cs:
3632 * DynamicImageParameterMode.cs:
3633 * TableViewMode.cs: Removed.
3637 * TableRowSection.cs:
3638 * AutoCompleteType.cs:
3639 * DayNameFormat.cs: Track changes in 2.0 api.
3641 * StringArrayConverter.cs: This class is 2.0 only.
3643 2005-06-06 Lluis Sanchez Gual <lluis@novell.com>
3647 * DetailsView.cs: Bind the control after creating all child
3649 * DataBoundControl.cs: Call OnDataBinding and OnDataBound in
3650 the correct methods.
3651 * BaseDataBoundControl.cs: Don't call DataBind nor OnDataBound
3652 in this class. This is done in DataBoundControl. All this fixes
3655 2005-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3657 * ListItemCollection.cs: Patch from Curtis (eto@shaw.ca) that fixes
3658 FindByText. Closes bug #74205.
3660 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3662 * PagedDataSource.cs: patch by Suresh Kumar that makes PageCount return
3663 1 when there's a datasource and 0 pages. Closes bug #73864.
3665 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
3672 * MenuItemTemplateContainer.cs:
3673 * DetailsView.cs: Track changes in the IDataItemContainer interface.
3675 * CommandField.cs: Added CausesValidation property. Set that
3676 property value to all buttons of the field.
3678 * SqlDataSourceView.cs:
3679 * CollectionDataSource.cs:
3680 * XmlDataSourceView.cs: Properly initialize the base class.
3682 * SiteMapDataSource.cs:
3683 * SiteMapHierarchicalDataSourceView.cs:
3684 * SiteMapNodeItem.cs:
3685 * SiteMapDataSourceView.cs:
3686 * SiteMapPath.cs: Mostly implemented.
3688 * HierarchicalDataBoundControl.cs: Always bind the control when the
3689 page is loaded for the first time.
3691 * TreeView.cs: Properly bind the control when loaded from a callback.
3693 2005-05-21 Ben Maurer <bmaurer@ximian.com>
3695 * BaseDataList.cs: Caption is in 1.1 too, though not
3696 documented. Gonz owes me [more] ice cream. Yummmmm.
3698 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3700 * BaseDataList.cs: implemented 2.0 Caption property.
3702 2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
3704 * TreeView.cs: Always render the startup script. This fixes
3707 2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
3709 * WizardStepBase.cs:
3710 * WizardStep.cs: Added missing attributes.
3711 * Wizard.cs: Implemented missing methods and properties. It can now
3712 be considered feature complete.
3714 2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3716 * DataGrid.cs: cleanup in AutoCreateColumns. Don't throw at the end of
3717 the method if the data source was en empty IEnumerator. Fixes
3720 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
3724 * Menu.cs: Implemented some new properties from beta 2.
3726 * DataControlButton.cs: Render the ControlStyle if it
3730 * FontUnitConverter.cs: Improved the conversion to InstanceDescriptor.
3731 It will now generate an object creation, instead of a Parse call.
3733 * GridViewCommandEventArgs.cs: Added missing property.
3734 * SubMenuStyleCollection.cs: This class is not sealed.
3735 * MultiView.cs: Set Visible=false to all views that are not
3736 shown. This ensures that it's view state is saved.
3738 * BaseDataBoundControl.cs:
3739 * GridViewDeletedEventArgs.cs: Minor api fixes.
3741 * FormViewDeleteEventArgs.cs:
3742 * DetailsViewDeletedEventArgs.cs:
3743 * ListControl.cs: Fix warnings.
3747 * HotSpotCollection.cs
3750 * RectangleHotSpot.cs
3751 * WizardStepCollection.cs : Implemented.
3755 * Wizard.cs: Initial implementation.
3757 2005-05-04 Lluis Sanchez Gual <lluis@novell.com>
3759 * DataControlField.cs:
3763 * DataControlCommands.cs:
3764 * DetailsView.cs: Use constants to identify commands.
3766 * SubMenuStyle.cs: Use Unit instead of int for padding.
3767 * SubMenuStyleCollection.cs: Implemented.
3770 * Menu.cs: Added some missing methods and properties.
3773 * DataGridPagerStyle.cs: Fixed default value attributes.
3774 * ListControl.cs: Implemented IEditableTextControl interface.
3776 * MenuItemBinding.cs: Added Selectable property.
3777 * CustomValidator.cs: removed interface.
3779 * MenuItem.cs: Added support for custom binding.
3780 * DropDownList.cs: Moved text properties to base class.
3782 2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3784 * Calendar.cs: OnDayRender can toggle IsSelectable on our back.
3786 2005-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3788 * Calendar.cs: when the day is active, modify the text of the literal
3789 control that holds the number, not the text of the TableCell. Also call
3790 OnDayRender before updating that text. Fixes bug #74718.
3792 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
3794 * DataKey.cs: Added virtual TrackViewState and IsTrackingViewState
3796 * DataControlFieldHeaderCell.cs: Save Scope in view state.
3797 Added AbbreviatedText property.
3798 * AutoGeneratedField.cs: The constructor should actually be internal.
3799 * DataGridItem.cs: Added implemented interface in 2.0.
3800 * DataControlFieldCollection.cs: Implemented CloneFields and
3804 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3806 * StringArrayConverter.cs:
3807 * Calendar.cs: warnings.
3809 2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
3811 * FormViewDeleteEventArgs.cs:
3812 * FormViewInsertEventArgs.cs:
3813 * FormViewUpdateEventArgs.cs:
3814 * FormViewDeletedEventArgs.cs:
3815 * FormViewUpdatedEventArgs.cs:
3816 * FormViewInsertedEventArgs.cs: Implemented some missing properties.
3819 * IButtonControl.cs:
3820 * Button.cs: Removed SoftKey property.
3822 * CheckBox.cs: Don't try to load post back data if the control
3826 * AutoGeneratedField.cs:
3827 * DataControlField.cs:
3829 * ButtonFieldBase.cs:
3833 * ButtonField.cs: Don't bind fields in Insert state.
3834 Implemented CreateField and CopyProperties.
3837 * DetailsView.cs: Removed some unneeded interfaces. Don't
3838 generate the field rows if there are no items in the data source.
3839 Don't get the current keys until the whole control has been
3842 * DetailsViewInsertedEventArgs.cs:
3843 * DataBoundControl.cs:
3844 * ObjectDataSourceView.cs: Made some methods private.
3847 * Menu.cs: Changed some properties from int to Unit.
3849 * DataControlButton.cs: javascript prefix is needed when raising
3850 the postback event from a link.
3852 * PagedDataSource.cs: Some fixes in Count and IsLastPage properties.
3853 The result was wrong when the total data source count was 0.
3855 * FormView.cs: Implemented.
3856 * FormViewRow.cs: Implemented.
3859 * Localize.cs: Fixed base interface.
3861 * BaseDataBoundControl.cs: In DataBind() call the base class
3862 DataBind method, so the binding context is properly set.
3864 2005-04-15 Lluis Sanchez Gual <lluis@novell.com>
3866 * DetailsView.cs: Added some null checks.
3867 * TemplateField.cs: Implemented support for two-way bindings.
3869 2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
3871 * DetailsView.cs: Implemented support for Insert operation.
3872 Added header and footer templates. Added missing style
3874 * ObjectDataSourceView.cs: Use ParameterCollection.GetValues
3875 to get filter values. Other minor fixes.
3876 * CommandField.cs: Properly render the Insert and New buttons.
3877 * ObjectDataSource.cs: Update the parameter collections after
3878 the page is loaded. This will fire the ParameterChanged event
3880 * DataBoundControl.cs: The OnDataSourceViewChanged method
3881 is called when the view changes, not when the datasource
3884 * DetailsViewInsertedEventArgs.cs:
3885 * DetailsViewInsertEventArgs.cs: Implement Values property.
3888 * AutoGeneratedField.cs
3891 Take into account the Insert mode.
3893 * ParameterCollection.cs: Implemented UpdateValues and fixed
3894 GetValues (values can't be cached because can change).
3895 * Parameter.cs: Detect value changes in GetValue, and fire
3896 the change event if needed. Removed unused ParameterValue
3897 property. Other fixes.
3899 2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
3901 * DetailsView.cs: Initial implementation.
3902 * ObjectDataSourceView.cs: Notify changes in the parameters.
3903 * DetailsViewDeletedEventArgs.cs, DetailsViewUpdatedEventArgs.cs,
3904 DetailsViewDeleteEventArgs.cs, DetailsViewUpdateEventArgs.cs:
3905 Implemented some properties.
3906 * GridView.cs: Added null check in SelectedValue. Don't return null
3907 for empty DataKeyNames list.
3908 * DetailsViewRowCollection.cs: Implemented.
3909 * DetailsViewRow.cs: Implemented.
3910 * ButtonFieldBase.cs: By default button field don't have headers.
3911 * BoundField.cs: Don't bind header fields.
3913 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
3915 * ButtonField.cs: Get data item properties using TypeDescriptor.
3916 Made OnDataBindField private.
3917 * ObjectDataSourceView.cs: Implemented support for Delete and
3918 Insert operations, support for filtering and sorting,
3919 conflict detection, etc. It's now complete.
3920 * ObjectDataSource.cs: Completed most of functionality. Only
3921 caching support is missing.
3922 * ObjectDataSourceFilteringEventHandler.cs: New event handler.
3923 * TreeNode.cs: Get data item properties using TypeDescriptor.
3924 * PagerSettings.cs: Flush.
3925 * ObjectDataSourceFilteringEventArgs.cs: New event args.
3926 * GridView.cs: Get data item properties using TypeDescriptor
3927 and cache them. Properly set descending order in the sort
3928 expression. In UpdateRow, make sure we get the old values
3929 before the control is bound again.
3930 * ImageField.cs: Implemented.
3931 * AutoGeneratedField.cs: Initialize the field's sort
3932 expression in the constructor.
3933 * MenuItem.cs: Get data item properties using TypeDescriptor.
3934 * BoundField.cs: Get data item properties using TypeDescriptor.
3935 * CheckBoxField.cs: Added missing attributes.
3936 * TemplateField.cs: Implemented.
3938 2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3941 * FontUnitConverter.cs: fixed ConvertTo to work with target
3942 InstanceDescriptor and value as a string.
3944 * Unit.cs: culture might be null.
3948 2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
3950 * ButtonField.cs: Mostly implemented.
3951 * DataControlFieldHeaderCell.cs: Implemented.
3952 * ObjectDataSourceView.cs: Initial implementation.
3953 * DataControlButton.cs: Added support for real buttons.
3954 * Label.cs, DataControlField.cs: Flush.
3955 * ObjectDataSource.cs: Initial implementation.
3956 * HiddenField.cs: Added class stub.
3957 * GridView.cs: Load autogenerated field properties before
3958 creating the children, to make sure that column info is ready.
3959 * ControlParameter.cs: Implemented Evaluate method.
3960 * ImageField.cs: Added class stub.
3961 * BoundField.cs: Added HtmlEncode property.
3962 * DataControlFieldCell.cs: Moved AccessibleDataControlFieldCell
3964 * CheckBoxField.cs: Mostly implemented.
3965 * TemplateField.cs: Added class stub.
3966 * ObjectDataSourceSelectingEventArgs.cs: Added missing property.
3967 * ObjectDataSourceMethodEventArgs.cs: Fixed base class.
3968 * Parameter.cs: Added internal GetValue method (Evaluate is protected)
3970 2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
3972 * DataControlField.cs: Added missing InsertVisible property.
3973 * AutoGeneratedFieldProperties.cs: Implemented.
3974 * PagerSettings.cs: Minor fix.
3975 * GridView.cs: Implemented support for autogenerated fields, templates,
3976 accessible headers. Implemented paging using PagedDataSource.
3977 Implemented missing overridable methods.
3978 * AutoGeneratedField.cs: Initial implementation.
3979 * BoundField.cs: Added ReadOnly property.
3980 * PagedDataSource.cs: Implemented 2.0 api.
3981 * DataControlFieldCell.cs: Implemented AccessibleDataControlFieldCell
3982 cell class to be used by accessible headers.
3983 * TableCell.cs: Removed unneded constructor. If the cell is bound to
3984 a template, call the default RenderContents method.
3986 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
3988 * TreeNode.cs, TreeView.cs: Don't raise the SelectedNodeChanged
3989 event when loading the view state. Fixes #73746.
3991 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
3993 * ListControl.cs: Load selected indices in the right place. Fixes #73745.
3995 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
3997 * Button.cs, ImageButton.cs: Interpret PostBackOptions.ClientSubmit
3999 * CommandField.cs: Mostly implemented.
4000 * Menu.cs: Use callback methods moved to ClientScriptManager.
4001 * DataControlButton.cs: Internal control used to implement buttons
4002 for navigating in data bound controls.
4003 * DataControlField.cs, PagerSettings.cs: Use the new DataControlButton
4004 to render the column headers.
4005 * CheckBox.cs, RadioButton.cs, BulletedList.cs, TextBox.cs
4006 DropDownList.cs, Calendar.cs, ListBox.cs, LinkButton.cs, TreeView.cs:
4007 Don't use Page.GetPostBackClientEvent
4008 since it is deprecated in 2.0.
4009 * GridView.cs: Implemented some several interfaces.
4010 Implemented support client sorting and page navigation (using callbacks).
4011 Implemented the autogenerated command column using the new CommandField
4013 * ButtonFieldBase.cs: Implemented.
4014 * GridView.js: New helper script to support client side sorting and
4015 paging in the grid view.
4017 2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
4019 * DataKey.cs: Implemented.
4020 * XmlDataSourceView.cs: Implemented support for row pagging.
4021 * Table.cs: Fixed attribute value.
4022 * DataControlField.cs: Added support for sorting headers.
4023 * ChildTable.cs: Created.
4024 * ListControl.cs: Delay selection assignment, since control state
4025 is now loaded before view state.
4026 * GridViewDeleteEventArgs.cs, GridViewUpdateEventArgs.cs,
4027 GridViewDeletedEventArgs.cs, GridViewUpdatedEventArgs.cs: Implemented
4028 several missing properties.
4029 * PagerSettings.cs: Fully implemented.
4030 * BaseDataList.cs: Added null check.
4031 * GridView.cs: Implemented more functionality.
4032 * BoundField.cs: Added support for cell editing.
4033 * StringArrayConverter.cs: Implemented.
4034 * DataKeyArray.cs: Implemented.
4035 * BaseDataBoundControl.cs: Reset the requires binding flag before
4036 executing the query. This avoids recursive query calls.
4037 * GridViewRow.cs: Handler commands raised from row childs.
4039 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
4041 * XmlDataSourceView.cs: ExecuteSelect now returns a list of
4042 XmlDataSourceNodeDescriptor instead of a list of nodes. In this way
4043 it is possible to query for properties fore each data item.
4044 * Menu.cs, TreeView.cs: Make sure that objects are correctly created
4045 when loading its view state.
4046 * DataControlField.cs: Implement properties using a StateBag.
4047 * XmlDataSourcePropertyDescriptor.cs: Implemented.
4048 * PagerSettings.cs: Mostly implemented.
4049 * AccessDataSourceView.cs, AccessDataSource.cs: Added security attribute.
4050 * DataBoundControl.cs: Added null check.
4051 * GridView.cs: Initial implementation.
4052 * CompositeDataBoundControl.cs: Implemented.
4053 * BoundField.cs: Initial implementation.
4054 * GridViewRowCollection.cs: Initial implementation.
4055 * DataControlFieldCollection.cs: Initial implementation.
4056 * DataControlFieldCell.cs: Fixed control tag.
4057 * GridViewRow: Initial implementation.
4058 * XmlDataSourceNodeDescriptor.cs: Implemented.
4060 2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4062 * WebControl.cs: correctly use TagName in RenderBeginTag, ie, if TagKey
4063 is zero, use the TagName no matter its value. Fixes bug #72415.
4065 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
4067 * Style.cs: Method name fix.
4068 * HyperLinkColumn.cs, HyperLink.cs: Moved SoftkeyLabel to HyperLink.
4069 * BaseCompareValidator.cs: Method signature fix.
4070 * CollectionDataSource.cs: Implemented DataSource wrapper for collections.
4071 * BaseDataList.cs, Repeater.cs: Fixed data binding code.
4072 * BulletedList.cs: Added missing method.
4073 * DataBoundControl.cs, BaseDataBoundControl.cs: Made it behave like MS.NET.
4075 2005-02-16 Lluis Sanchez Gual <lluis@novell.com>
4077 * HyperLinkColumn.cs, Label.cs: Added missing 2.0 properties.
4078 * RadioButton.cs: Added missing 2.0 methods.
4079 * ListItem.cs: Added Enabled property.
4080 * MailMessageEventArgs.cs: Use the correct message class.
4081 * ListControl.cs: Implemented missing properties and support for
4082 control state. Implemented base RenderContents method.
4083 * Image.cs: Implemented DescriptionUrl and GenerateEmptyAlternateText
4085 * BaseCompareValidator.cs: Implemented methods that support conditional
4086 use of the invariant culture.
4087 * DataBoundControl.cs: Set RequiresDataBinding to true in OnLoad.
4088 * SqlDataSourceCommandEventArgs.cs, SqlDataSourceStatusEventArgs.cs:
4089 It takes a DbCommand instead of a IDbCommand.
4090 * GridViewSortEventArgs.cs: Added SortDirection property.
4091 * TextBox.cs, CheckBoxList.cs: Added protected version of
4092 IPostBackDataHandler methods.
4093 * RadioButtonList.cs: Added protected version of
4094 IPostBackDataHandler and IRepeatInfoUser methods.
4095 * Repeater.cs: Updated some method names.
4096 * DropDownList.cs: Added protected version of
4097 IPostBackDataHandler methods. Reuse RenderContents from base class.
4098 * RepeaterItem.cs, Localize.cs, Literal.cs: Fix inheritance.
4099 * GridViewUpdatedEventArgs.cs: Fix typo.
4100 * ListBox.cs: Added protected version of IPostBackDataHandler methods.
4101 Reuse RenderContents from base class.
4102 * BaseDataBoundControl.cs: Several fixes.
4103 * ImageButton.cs, LinkButton.cs: Implemented several 2.0 properties.
4105 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
4107 * CheckBoxList.cs: Fix build.
4109 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
4111 * Button.cs: Use validation group when validating page.
4112 * XmlDataSourceView.cs: Implemented ExecuteSelect.
4113 * Menu.cs: Minor fix.
4114 * CheckBox.cs: Added 2.0 properties and methods.
4115 * BaseDataList.cs: Always databind the control if view state
4117 * DataList.cs: In 2.0, use control state to save the selected index.
4118 * DetailsViewUpdatedEventArgs.cs: Fix typo.
4119 * CustomValidator.cs: Implement IStaticTextControl interface.
4120 * CheckBoxList.cs: Added missing 2.0 methods.
4121 * DropDownList.cs: Added missing 2.0 methods. Implemented ITextControl
4123 * XmlDataSource.cs: Return childs of DocumentElement, not the root
4125 * DayRenderEventArgs.cs, CompareValidator.cs, DataListItem.cs:
4126 Implemented 2.0 API.
4129 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
4131 * Button.cs: Implemented all missing 2.0 features.
4132 * Table.cs: Render the table caption, when specified.
4133 * Calendar.cs: Implemented most of missing 2.0 features.
4134 * TableCell.cs: Fixed attributes.
4136 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
4138 * ControlPropertyNameConverter.cs: Added file.
4140 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
4142 * Button.cs, MonthChangedEventArgs.cs, FontInfo.cs, Xml.cs, Style.cs,
4143 CookieParameter.cs, HyperLinkColumn.cs, Table.cs,
4144 RegularExpressionValidator.cs, WizardNavigationEventArgs.cs,
4145 ServerValidateEventArgs.cs, Menu.cs, DataControlField.cs,
4146 DataGridPagerStyle.cs, Label.cs, CheckBox.cs, ListItem.cs,
4147 RadioButton.cs, TableStyle.cs, ListControl.cs, Image.cs,
4148 BaseCompareValidator.cs, FontUnit.cs, DataListCommandEventArgs.cs,
4149 IButtonControl.cs, BaseDataList.cs, DataList.cs, BulletedList.cs,
4150 RangeValidator.cs, DataBoundControl.cs, ControlParameter.cs,
4151 RepeaterItemEventArgs.cs, SqlDataSource.cs, BaseValidator.cs,
4152 CustomValidator.cs, MenuItem.cs, SessionParameter.cs, TextBox.cs,
4153 QueryStringParameter.cs, Content.cs, ContentPlaceHolder.cs,
4154 CheckBoxList.cs, RepeaterCommandEventArgs.cs, RadioButtonList.cs,
4155 RequiredFieldValidator.cs, AdRotator.cs, DataListItemEventArgs.cs,
4156 DataGridSortCommandEventArgs.cs, Repeater.cs,
4157 MenuItemTemplateContainer.cs, HyperLink.cs, SqlDataSourceView.cs,
4158 XmlDataSource.cs, MultiView.cs, DataGridCommandEventArgs.cs,
4159 Panel.cs, CompositeControl.cs, DataGrid.cs, ButtonColumn.cs,
4160 CompareValidator.cs, HierarchicalDataBoundControl.cs,
4161 EditCommandColumn.cs, Calendar.cs, SiteMapDataSource.cs,
4162 ListBox.cs, TableCell.cs, ObjectDataSourceSelectingEventArgs.cs,
4163 ObjectDataSourceMethodEventArgs.cs,DataGridPageChangedEventArgs.cs,
4164 WebControl.cs, BaseDataBoundControl.cs, FormParameter.cs,
4165 ValidationSummary.cs, View.cs, ImageButton.cs, TableRow.cs,
4166 LinkButton.cs, DataGridColumn.cs, Parameter.cs, TableItemStyle.cs,
4167 AdCreatedEventArgs.cs:
4169 General 2.0 API fixes: missing attributes, incorrect inheritance,
4170 missing sealed keywords, wrong signatures, etc.
4172 2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
4174 * Table.cs: Added some 2.0 properties.
4175 * FontUnitConverter.cs, UnitConverter.cs: Implemented conversion to
4177 * BaseValidator.cs: Fix warning.
4178 * MultiView.cs, ViewCollection.cs, View.cs: Implemented.
4180 2005-01-26 Lluis Sanchez Gual <lluis@novell.com>
4182 * Menu.cs: Rendering fixes.
4184 2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
4186 * Content.cs, ContentPlaceHolder.cs, ContentControlBuilder.cs
4187 ContentPlaceHolderBuilder.cs: Implemented.
4189 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4191 * CheckBox.cs: when rendering the input tag inside a span tag, keep the
4192 attributes that are meant to be in the input tag in their place.
4194 2005-01-10 Juraj Skripsky <juraj@hotfeet.ch>
4196 * RepeatInfo.cs: fixed bug #68927 (DataList with RepeatLayout='Flow'
4197 generates invalid html).
4199 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
4201 * Menu.cs: Implemented most of missing properties. Added support for
4202 item templates. Implemented menu scrolling.
4203 * MenuItemBinding.cs: Implemented most of missing properties.
4204 * MenuItem.cs: Implemented most of missing properties.
4205 * Menu.js: Implemented scrolling and menu reposition into screen.
4206 * MenuItemTemplateContainer.cs: Implemented.
4207 * SubMenuStyle.cs: Implemented.
4209 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
4211 * Style.cs: Implemented RegisteredCssClass property. Added
4212 CopyTextStylesFrom method, which copies styles that only apply to text.
4213 * Menu.cs, Menu.js: Added hover style support. Define all menu styles
4214 in the page stylesheet. Added support for ItemSpacing property.
4215 * MenuItemStyle.cs: Implemented FillStyleAttributes method.
4217 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
4219 * Style.cs: Generate styles using a CssStyleCollection, so the code can
4220 be reused for the 2.0 FillStyleAttributes method.
4221 * Menu.cs: Implemented more properties and events. Rendering is very
4223 * MenuItem.cs: Added PopOutImageUrl property.
4224 * Menu.js: More work on submenu management.
4226 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
4228 * Menu.cs: Implemented basic rendering. Added some missing properties.
4229 * MenuItem.cs: Improved implementation of Depth.
4230 * Unit.cs: Added serializable attribute.
4231 * TreeView.cs: Moved GetScriptLiteral method to ClientScriptManager,
4232 so it can be reused.
4233 * Menu.js: New script to support he Menu control.
4235 2004-12-03 Lluis Sanchez Gual <lluis@novell.com>
4237 * MenuEventArgs.cs: Changed to sealed.
4238 * TreeView.cs: Minor fix.
4239 * Menu.cs, MenuItemBindingCollection.cs, MenuItemCollection.cs,
4240 MenuItemStyle.cs, MenuItemBinding.cs, MenuItem.cs,
4241 MenuItemStyleCollection.cs: Initial Menu code.
4243 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
4245 * TreeNodeBindingCollection.cs, TreeNodeStyleCollection.cs:
4246 Implemented SetDirtyObject.
4247 * Style.cs: Implemented SetDirty().
4248 * TreeNodeBinding.cs: Added missing attributes. Implemented SetDirty().
4249 * TreeNode.cs: Added missing attributes added support for
4250 PopulateOnDemand. Added some missing property bindings.
4251 * TreeNodeCollection.cs: Several minor fixes. SetDirty must be called
4252 to newly added elements to make sure al new data is saved.
4253 * TreeView.js: Implemented support for client population of nodes.
4254 * TreeNodeStyle.cs: Added missing attributes.
4255 * TreeView.cs: Implemented support for PopulateNodesFromClient and
4256 PopulateOnDemand. Improved rendering.
4258 2004-11-29 Sanjay Gupta <gsanjay@novell.com>
4260 * DataControlField.cs:
4261 * DataControlFieldCell.cs: Initial implementation.
4263 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
4265 * TreeNodeBindingCollection.cs: Implemented.
4266 * TreeNodeBinding.cs: Implemented.
4267 * TreeNode.cs: Added support for data binding.
4268 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif
4269 TreeView_Default_NoExpand.gif: Moved to resources directory.
4270 * ListControl.cs: Fixed api.
4271 * XmlHierarchicalEnumerable.cs: Made internal.
4272 * DataBoundControl.cs: Modified api to match latest ms.net.
4273 * TreeView.js: New javascript file to support TreeView in the client.
4274 * XmlDataSource.cs: Added missing attributes.
4275 * HierarchicalDataBoundControl.cs: Mostly implemented.
4276 * BaseDataBoundControl.cs: Mostly implemented.
4277 * XmlHierarchyData.cs: Made internal.
4278 * TreeView.cs: Mostly implemented. The major missing feature is
4279 client side tree population.
4281 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
4284 * DataBountControl.cs:
4285 * Repeater.cs: Added SelectArguments property and updated.
4286 * SiteMapDataSourceView.cs:
4287 * SqlDataSourceView.cs:
4288 * XmlDataSourceView.cs: Removed extra method, which was there to
4289 keep things compiling.
4291 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
4293 * TreeNodeBindingCollection.cs, TreeNodeBinding.cs, TreeNode.cs,
4294 TreeNodeCollection.cs, TreeNodeStyleCollection.cs, TreeNodeStyle.cs,
4295 TreeView.cs: Initial implementation.
4296 * DataBoundControl.cs: Set the correct base class.
4297 * HierarchicalDataBoundControl.cs, BaseDataBoundControl.cs: Created stub.
4298 * TreeNodeSelectAction.cs: Formatting.
4299 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif,
4300 TreeView_Default_NoExpand.gif: TreeView images.
4302 2004-11-22 Sanjay Gupta <gsanjay@novell.com>
4304 * SqlDataSourceView.cs: Updated methods and added one property.
4306 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
4308 * AccessDataSource.cs:
4309 * SqlDataSourceView.cs: Implemented CreateDataSourceView () method.
4310 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
4312 * SqlDataSource.cs: Updated call to constructor of SqlDataSourceView.cs.
4313 * SqlDataSourceView.cs: Updated constructor.
4315 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
4317 * AccessDataSourceView.cs: Added new class.
4319 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
4321 * SqlDataSourceView.cs: Corrected exception handling in
4322 ExecuteSelect method.
4324 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
4326 * SiteMapHierarchicalDataSourceView.cs, SiteMapDataSource.cs: New files.
4327 * SiteMapDataSourceView.cs: Minor fix.
4329 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
4331 * SqlDataSourceView.cs: Updated ExecuteSelect method.
4333 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
4335 * SqlDataSource.cs: Corrected Select method.
4337 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
4339 * SqlDataSource.cs: Updated Select method definition.
4340 * SqlDataSourceStatusEventArgs.cs: Updated class.
4342 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
4344 * SqlDataSourceView.cs: Removed implementation of Events (it is inherited
4345 from DataSourceView.cs).
4347 2004-11-10 Raja R Harinath <rharinath@novell.com>
4349 * SqlDataSourceView.cs (Select): Add 'override' to make it compile.
4351 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
4353 * SqlDataSource.cs: Corrected method calls.
4354 * SqlDataSourceView.cs: Partial implementation of few methods.
4356 2004-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4358 * ListItemCollection.cs: fixed bug when indexing changed elements in
4359 LoadViewState. Patch from Alois BĻlaška.
4361 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
4363 * SiteMapDataSourceView.cs:
4364 * SqlDataSourceView.cs:
4365 * XmlDataSourceView.cs: Cosmetic changes because of modifications in
4366 base class, DataSourceView. Changes are to keep things compiling.
4368 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
4370 * SiteMapDataSourceView.cs: Corrected class definition and updated.
4371 * XmlHierarchicalDataSourceView.cs: Modified according to changes in
4374 2004-10-14 Sanjay Gupta <gsanjay@novell.com>
4376 * AdRotator.cs: Updated.
4378 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
4380 * AccessDataSource.cs: Updated.
4382 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
4384 * ValidatedControlConverter.cs: Updated.
4386 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
4388 * AssociatedControlConverter.cs: Implemented.
4390 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
4392 * ControlIDConverter.cs: Initial implementation.
4394 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
4396 * IButtonControl.cs: Corrected property name.
4398 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
4400 * ParameterCollection.cs: Updated.
4402 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
4404 * Parameter.cs: Updated and completed implementation.
4406 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
4408 * ParameterCollection.cs: Resolved warnings, "Unreachable code detected"
4411 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
4413 * AccessDataSource.cs: Initial implementation.
4415 2004-09-30 Sanjay Gupta <gsanjay@novell.com>
4417 * DataControlRowState.cs:
4419 * TreeNodeTypes.cs: Added attribute.
4420 * DataControlRowType.cs:
4422 * SortDirection.cs: Corrected enumeration values.
4423 * TableRowSection.cs: Added new enumeration.
4424 * ObjectDataSourceStatusEventHandler.cs: Corrected method name.
4426 2004-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4428 * TableStyle.cs: don't render empty 'rules' attribute (again).
4430 2004-09-21 Sanjay Gupta <gsanjay@novell.com>
4432 * FormViewUpdatedEventArgs.cs: Spelling mistake.
4434 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
4436 * Literal.cs: Added new method Focus().
4438 2004-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4440 * RadioButton.cs: fix GroupName when the control is inside a
4441 NamingContainer different from Page. Closes bug #65586.
4443 2004-09-07 Sanjay Gupta <gsanjay@novell.com>
4445 * Localize.cs: Added new class.
4447 2004-09-03 Gaurav Vaish <gvaish_mono AT lycos.com>
4449 * CompositeControl.cs : Completed
4450 * Login.cs : Initial implementation.
4452 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4454 * Xml.cs: fixed get_DocumentContent (it was returning "" always!) and
4455 don't call MapPathSecure on the content itself.
4457 * XmlBuilder.cs: handle XML documents written inside asp:xml. The
4458 document is checked at parse time and will be checked again at run time.
4462 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
4464 * AuthenticateEventHandler.cs:
4465 * CreateUserErrorEventArgs.cs:
4466 * CreateUserErrorEventHandler.cs:
4467 * DetailsViewCommandEventHandler.cs:
4468 * DetailsViewDeleteEventArgs.cs:
4469 * DetailsViewDeleteEventHandler.cs:
4470 * DetailsViewDeletedEventArgs.cs:
4471 * DetailsViewDeletedEventHandler.cs:
4472 * DetailsViewInsertEventArgs.cs:
4473 * DetailsViewInsertEventHandler.cs:
4474 * DetailsViewInsertedEventArgs.cs:
4475 * DetailsViewInsertedEventHandler.cs:
4476 * DetailsViewModeEventArgs.cs:
4477 * DetailsViewModeEventHandler.cs:
4478 * DetailsViewPageEventHandler.cs:
4479 * DetailsViewUpdateEventArgs.cs:
4480 * DetailsViewUpdateEventHandler.cs:
4481 * DetailsViewUpdatedEventArgs.cs:
4482 * DetailsViewUpdatedEventHandler.cs:
4483 * FormViewCommandEventHandler.cs:
4484 * FormViewDeleteEventArgs.cs:
4485 * FormViewDeleteEventHandler.cs:
4486 * FormViewDeletedEventArgs.cs:
4487 * FormViewDeletedEventHandler.cs:
4488 * FormViewInsertEventArgs.cs:
4489 * FormViewInsertEventHandler.cs:
4490 * FormViewInsertedEventArgs.cs:
4491 * FormViewInsertedEventHandler.cs:
4492 * FormViewModeEventHandler.cs:
4493 * FormViewPageEventHandler.cs:
4494 * FormViewUpdateEventArgs.cs:
4495 * FormViewUpdateEventHandler.cs:
4496 * FormViewUpdatedEventArgs.cs:
4497 * FormViewUpdatedEventHandler.cs:
4498 * GridViewCancelEditEventArgs.cs:
4499 * GridViewCancelEditEventHandler.cs:
4500 * GridViewCommandEventHandler.cs:
4501 * GridViewDeleteEventArgs.cs:
4502 * GridViewDeleteEventHandler.cs:
4503 * GridViewDeletedEventArgs.cs:
4504 * GridViewDeletedEventHandler.cs:
4505 * GridViewEditEventHandler.cs:
4506 * GridViewPageEventHandler.cs:
4507 * GridViewRowEventHandler.cs:
4508 * GridViewSelectEventHandler.cs:
4509 * GridViewSortEventArgs.cs:
4510 * GridViewSortEventHandler.cs:
4511 * GridViewUpdateEventArgs.cs:
4512 * GridViewUpdateEventHandler.cs:
4513 * GridViewUpdatedEventArgs.cs:
4514 * GridViewUpdatedEventHandler.cs:
4515 * ImageMapEventHandler.cs:
4516 * MailMessageEventHandler.cs:
4517 * MenuEventHandler.cs:
4518 * ObjectDataSourceDisposingEventHandler.cs:
4519 * ObjectDataSourceEventHandler.cs:
4520 * ObjectDataSourceMethodEventArgs.cs:
4521 * ObjectDataSourceMethodEventHandler.cs:
4522 * ObjectDataSourceSelectingEventArgs.cs:
4523 * ObjectDataSourceSelectingEventHandler.cs:
4524 * ObjectDataSourceStatusEventArgs.cs:
4525 * ObjectDataSourceStatusEventHandler.cs:
4526 * SendMailErrorEventHandler.cs:
4527 * SiteMapNodeItemEventHandler.cs:
4528 * SqlDataSourceSelectingEventArgs.cs:
4529 * SqlDataSourceSelectingEventHandler.cs:
4530 * TreeNodeEventHandler.cs:
4531 * WizardNavigationEventArgs.cs:
4532 * WizardNavigationEventHandler.cs: Minor modifications, compiler error
4533 corrections and removing "sealed" access specifier from *EventHandler.cs
4535 2004-08-18 Sanjay Gupta <gsanjay@novell.com>
4537 * Literal.cs: Added new attributes and property for .Net 2.0
4539 2004-08-13 Sanjay Gupta <gsanjay@novell.com>
4541 * GridViewDeleteEventArgs.cs: Removed extra code.
4543 2004-08-12 Sanjay Gupta <gsanjay@novell.com>
4545 * SendMailErrorEventArgs.cs:
4546 * SendMailErrorEventHandler.cs:
4547 * SiteMapNodeItemEventArgs.cs:
4548 * SiteMapNodeItemEventHandler.cs:
4549 * SqlDataSourceSelectingEventArgs.cs:
4550 * SqlDataSourceSelectingEventHandler.cs:
4551 * TreeNodeEventArgs.cs:
4552 * TreeNodeEventHandler.cs:
4553 * WizardNavigationEventArgs.cs:
4554 * WizardNavigationEventHandler.cs: Added new delegates.
4556 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
4558 * ImageMapEventArgs.cs:
4559 * ImageMapEventHandler.cs:
4560 * MailMessageEventArgs.cs:
4561 * MailMessageEventHandler.cs:
4563 * MenuEventHandler.cs:
4564 * ObjectDataSourceDisposingEventArgs.cs:
4565 * ObjectDataSourceDisposingEventHandler.cs:
4566 * ObjectDataSourceEventArgs.cs:
4567 * ObjectDataSourceEventHandler.cs:
4568 * ObjectDataSourceMethodEventArgs.cs:
4569 * ObjectDataSourceMethodEventHandler.cs:
4570 * ObjectDataSourceSelectingEventArgs.cs:
4571 * ObjectDataSourceSelectingEventHandler.cs:
4572 * ObjectDataSourceStatusEventArgs.cs:
4573 * ObjectDataSourceStatusEventHandler.cs: Added new delegates.
4575 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
4577 * DetailsViewCommandEventArgs.cs:
4578 * FormViewCommandEventArgs.cs:
4579 * GridViewCommandEventArgs.cs: Corrected constructor.
4581 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
4583 * GridViewCancelEditEventArgs.cs:
4584 * GridViewCancelEditEventHandler.cs:
4585 * GridViewCommandEventArgs.cs:
4586 * GridViewCommandEventHandler.cs:
4587 * GridViewDeletedEventArgs.cs:
4588 * GridViewDeletedEventHandler.cs:
4589 * GridViewDeleteEventArgs.cs:
4590 * GridViewDeleteEventHandler.cs:
4591 * GridViewEditEventArgs.cs:
4592 * GridViewEditEventHandler.cs:
4593 * GridViewPageEventArgs.cs:
4594 * GridViewPageEventHandler.cs:
4595 * GridViewRowEventArgs.cs:
4596 * GridViewRowEventHandler.cs:
4597 * GridViewSelectEventArgs.cs:
4598 * GridViewSelectEventHandler.cs:
4599 * GridViewSortEventArgs.cs:
4600 * GridViewSortEventHandler.cs:
4601 * GridViewUpdatedEventArgs.cs:
4602 * GridViewUpdatedEventHandler.cs:
4603 * GridViewUpdateEventArgs.cs:
4604 * GridViewUpdateEventHandler.cs: Added new delegates.
4606 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
4608 * FormViewUpdatedEventArgs.cs: Corrected constructor.
4610 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
4612 * FormViewCommandEventArgs.cs: Corrected name of class.
4614 2004-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4616 * Xml.cs: use MapPath in DocumentSource and documentContent. Fixes
4619 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
4621 * FormViewCommandEventArgs.cs:
4622 * FormViewCommandEventHandler.cs:
4623 * FormViewDeletedEventArgs.cs:
4624 * FormViewDeletedEventHandler.cs:
4625 * FormViewDeleteEventArgs.cs:
4626 * FormViewDeleteEventHandler.cs:
4627 * FormViewInsertedEventArgs.cs:
4628 * FormViewInsertedEventHandler.cs:
4629 * FormViewInsertEventArgs.cs:
4630 * FormViewInsertEventHandler.cs:
4631 * FormViewModeEventArgs.cs:
4632 * FormViewModeEventHandler.cs:
4633 * FormViewPageEventArgs.cs:
4634 * FormViewPageEventHandler.cs:
4635 * FormViewUpdatedEventArgs.cs:
4636 * FormViewUpdatedEventHandler.cs:
4637 * FormViewUpdateEventArgs.cs:
4638 * FormViewUpdateEventHandler.cs: Added new delegates.
4640 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
4642 * DetailsViewCommandEventArgs.cs:
4643 * DetailsViewCommandEventHandler.cs:
4644 * DetailsViewDeletedEventArgs.cs:
4645 * DetailsViewDeletedEventHandler.cs:
4646 * DetailsViewDeleteEventArgs.cs:
4647 * DetailsViewDeleteEventHandler.cs:
4648 * DetailsViewInsertedEventArgs.cs:
4649 * DetailsViewInsertedEventHandler.cs:
4650 * DetailsViewInsertEventArgs.cs:
4651 * DetailsViewInsertEventHandler.cs:
4652 * DetailsViewModeEventArgs.cs:
4653 * DetailsViewModeEventHandler.cs:
4654 * DetailsViewPageEventArgs.cs:
4655 * DetailsViewPageEventHandler.cs:
4656 * DetailsViewUpdatedEventArgs.cs:
4657 * DetailsViewUpdatedEventHandler.cs:
4658 * DetailsViewUpdateEventArgs.cs:
4659 * DetailsViewUpdateEventHandler.cs: Added new delegates.
4661 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
4663 * AuthenticateEventArgs.cs:
4664 * AuthenticateEventHandler.cs:
4665 * CreateUserErrorEventArgs.cs:
4666 * CreateUserErrorEventHandler.cs: Added new delegates.
4668 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
4670 * IButtonControl.cs:
4671 * ICallbackContainer.cs:
4672 * ICompositeControlDesignerAccessor.cs:
4673 * IPostBackContainer.cs: Added new interfaces.
4675 2004-08-03 Sanjay Gupta <gsanjay@novell.com>
4678 * AutoCompleteType.cs:
4679 * ContentDirection.cs:
4680 * DataControlCellType.cs:
4681 * DataControlRowState.cs:
4682 * DataControlRowType.cs:
4683 * DetailsViewMode.cs:
4684 * DynamicImageParameterMode.cs:
4687 * ImageFieldMode.cs:
4694 * SiteMapNodeItemType.cs:
4695 * SiteMapNodeType.cs:
4696 * SiteMapViewType.cs:
4698 * TableCaptionAlign.cs:
4699 * TableHeaderScope.cs:
4701 * TreeNodeSelectAction.cs:
4703 * TreeViewImageSet.cs:
4704 * WizardStepType.cs: Added enumerations
4706 2004-08-02 Duncan Mak <duncan@ximian.com>
4709 * LoginFailureAction.cs:
4710 * LoginTextLayout.cs: Added enumerations.
4712 2004-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4714 * BaseValidator.cs: in Validate(), when the control is not visible or
4715 enabled, return inmediately after setting IsValid to true. Fixes bug
4718 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4720 * DataList.cs: s/HasChildren/HasControls()/.
4722 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4724 * DataList.cs: style.
4726 2004-07-27 Alon Gazit <along@mainsoft.com>
4727 * DataList.cs: Replaced foreach statement with for statement,
4728 in order to improve performence.
4730 2004-07-27 Alon Gazit <along@mainsoft.com>
4731 * WebControl.cs: changed RenderBeginTag()to use TagKey instead of
4733 * Unit.cs : changed GetTypeFromString() and GetStringFromPixel() to use
4734 switch statements in order to improve performance.
4736 2004-06-10 Alon Gazit <along@mainsoft.com>
4737 * WebControl.cs: fixed LoadViewState().
4738 Creates new attributes state bag only when the current is null.
4740 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4742 * Calendar.cs: implemented OnPreRender and HasWeekSelectors.
4744 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4746 * Calendar.cs: set the title class attribute if we have it. Fixes bug
4749 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4751 * Style.cs: added SetBit.
4753 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4756 * CompareValidator.cs:
4759 * WebControl.cs: Added protected missing members and attributes.
4761 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4763 * TextBox.cs: don't save the Text if in ViewState if it's a password.
4764 Save it if the control is not visible or not enabled. Fixes bug #58497.
4766 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4768 * Calendar.cs: fire OnDayRender after assigning the calendar cell text.
4771 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
4773 * SqlDataSourceCommandEventArgs:
4774 * XmlDataSource.cs : removed temporary workarounds for CLS
4775 compliance as System.Data is now CLS compliant
4777 2004-05-06 Alon Gazit <along@mainsoft.com>
4778 * WebControl.cs: fixed LoadViewState() and SaveViewState().
4779 Before the change the Enabled property wasn't updated when a postback
4781 * ListControl.cs: fixed SelectedIndex property implementation.
4782 Prevents throwing ArgumentOutOfRangeException (that should not be
4783 thrown), when the list is empty.
4785 2004-04-28 Alon Gazit <along@mainsoft.com>
4786 * WebControl.cs: fixed LoadViewState().
4787 Always loading the saved attributes collection.
4789 2004-04-18 Alon Gazit <along@mainsoft.com>
4790 * Repeater.cs: fixed InstantiateItem() and DataSource property.
4791 The change in DataSource prevents throwing ArgumentException while
4792 setting property value to null.
4793 The change in InstantiateItem() prevents NullReferenceException.
4795 2004-04-07 Lluis Sanchez Gual <lluis@ximian.com>
4797 * BaseValidator.cs: Store Display property in the correct ViewState
4798 property. Don't render anything if Display is ValidatorDisplay.None.
4800 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
4802 * Xml.cs: In LoadXpathDoc(), don't use MapPathSecure with documentSource,
4803 since it is already a physical path. Fixes bug #55334.
4805 2004-02-13 Jackson Harper <jackson@ximian.com>
4807 * Calendar.cs: Match MS postback data. This allows sites that
4808 parse the postback data manually to work.
4810 2004-02-04 Alon Gazit <along@mainsoft.com>
4811 * EditCommandColumn.cs: fixed InitializeCell().
4812 The rendered LiteralControl should contain " " and not " ".
4814 2004-02-01 Alon Gazit <along@mainsoft.com>
4816 * DataGrid.cs: fixed a problem in the paging mechanism in the method
4818 the problem was when (PagerStyle.Mode == PagerMode.NumericPages),
4819 while clicking the "..." link in the second page.
4821 2004-01-28 Alon Gazit <along@mainsoft.com>
4823 * Calendar.cs: prevent NullReferenceException in RenderAllDays().
4825 2004-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4827 * Calendar.cs: when rendering days, add a LiteralControl containing the
4828 day before OnDayRender is called. Only generate the default links for
4829 days when IsSelectable is true after OnDayRender. Fixes bug #53372.
4831 2004-01-21 Martin Baulig <martin@ximian.com>
4833 * XmlHierarchyData.cs: Make this compile with csc.
4835 * BulletedList.cs (BulletedList.SelectedItem): Removed the `set'
4836 accessor since the base class doesn't have one.
4838 2004-01-18 Alon Gazit <along@mainsoft.com>
4840 * CheckBoxList.cs: fix problem with negative TabIndex (wasn't rendered).
4842 2004-01-18 Alon Gazit <along@mainsoft.com>
4844 * Style.cs: CopyFrom method shouldn't copy a value that is equal to
4845 Property default value.
4846 * FontInfo.cs : CopyFrom method shouldn't copy a value that is equal to
4847 Property default value.
4849 2004-01-15 Alon Gazit <along@mainsoft.com>
4851 * RadioButtonList.cs: RepeatLayout property should affect the rendered
4854 2004-01-15 Alon Gazit <along@mainsoft.com>
4855 * FontInfo.cs: Add validation check to Size property.
4857 2004-01-07 Alon Gazit <along@mainsoft.com>
4858 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
4859 merge the column's style to the cell's style and not to
4860 the item's(row) style.
4862 2004-01-04 Alon Gazit <along@mainsoft.com>
4863 * RangeValidator.cs: Fixed ControlPropertiesValid().
4865 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4867 * Xml.cs: mono-stylized and removed warnings.
4869 2004-1-1 Alon Gazit <along@mainsoft.com>
4870 * RadioButtonList.cs: update RenderItem() so that each RadioButton
4871 is enabled or disabled like the RadioButtonList.
4872 * CheckBoxList.cs: update RenderItem() so that each CheckBox
4873 is enabled or disabled like the CheckBoxList.
4875 2004-1-1 Alon Gazit <along@mainsoft.com>
4876 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
4877 The Header or Footer Style shouldn't merge with the cells Style.
4879 2004-1-1 Alon Gazit <along@mainsoft.com>
4880 * DataGridColumn.cs: Headers and Footers are initialized
4881 with the relevant Style object.
4883 2003-12-30 Alon Gazit <along@mainsoft.com>
4884 * RepeatInfo.cs: Fixed DoVerticalRendering () and
4885 DoHorizontalRendering().
4886 Current implementation produces few extra html tags.
4888 2003-12-29 Alon Gazit <along@mainsoft.com>
4890 * CheckBox.cs: change the implementation of LoadPostData.
4891 Currently, while the AutoPostBack property equals true ,
4892 it isn't possible to perform uncheck.
4894 2003-12-19 Jackson Harper <jackson@ximian.com>
4896 * TableCell.cs: Setting a cells text should clear its control
4897 collection as per la specification. This fixes bug #51825.
4899 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4901 * DataGridColumn.cs: stylized LoadViewState.
4902 * DataGridColumnCollection.cs: when TrackViewState is called, also
4903 call it on all the existing columns. Fixes bug #52334.
4905 2003-12-18 Alon Gazit <along@mainsoft.com>
4907 * DataGridPagerStyle.cs: merge DataGridPagerStyle properties when Style
4910 2003-12-18 Alon Gazit <along@mainsoft.com>
4912 * TableStyle.cs: merge TableStyle properties when Style is empty.
4914 2003-12-16 Alon Gazit <along@mainsoft.com>
4916 * HyperLink.cs: Change Text property implementation. in MS when the Text
4917 property is set, all the controls in the HyperLink are being deleted.
4918 This fixes bug #52239.
4920 2003-12-15 Alon Gazit <along@mainsoft.com>
4921 * RepeatInfo.cs: Fixed DoVerticalRendering () and
4922 DoHorizontalRendering().
4923 Both methods add additional empty table row in the head of each item
4924 table when the variable named isTable equals true (happenes with the
4925 default instantiation of RepeatInfo). These additional rows should be
4926 added when isTable equals false.
4927 This fixes bug #52225.
4929 2003-12-15 Alon Gazit <along@mainsoft.com>
4931 * RepeatInfo.cs: Fixed DoVerticalRendering() and
4932 DoHorizontalRendering().
4933 Both methods add to rendered Header a colspan attribute according to the
4934 rows count. after the change the colspan is added according to the
4937 2003-12-15 Alon Gazit <along@mainsoft.com>
4938 * CheckBox.cs: Disabled CheckBox does not produce same HTML as .NET.
4939 In .NET if the checkbox is disabled ,its text appears disabled too.
4940 In Mono the text appears enabled. the fix is in Render().
4941 This fixes bug #52180.
4943 2003-12-15 Alon Gazit <along@mainsoft.com>
4944 * Repeater.cs: Change the implementation of CreateControlHierarchy().
4945 The current implementation renders extra Header and footer
4946 without Repeater.DataSource assign.
4947 This fixes bug #52179.
4949 2003-12-15 Alon Gazit <along@mainsoft.com>
4950 * DataGrid.cs: Change the implementation of the property
4951 BackImageUrl. The current implementation has no influence
4952 on the rendered Html.
4954 2003-12-15 Alon Gazit <along@mainsoft.com>
4955 * WebControl.cs: Change the implementation of the property
4956 Enabled. Before the change the WebControl also looked at
4957 parent.Enabled . fixed bug #52171.
4959 2003-12-11 Jackson Harper <jackson@ximian.com>
4961 * RepeatInfo.cs: When rendering vertically figure out how many
4962 colmns are not going to be filled in in the last row, and adjust
4963 things accordingly. This fixes bug #51863.
4965 2003-12-10 Alon Gazit <along@mainsoft.com>
4966 * TableRow.cs: Change the implementation of the properties
4967 HorizontalAlign and VerticalAlign. The current implementation
4968 has no influence on the rendered Html.
4970 2003-12-10 Alon Gazit <along@mainsoft.com>
4971 * TableItemStyle.cs: Add setting of The WRAP flag in the Wrap
4972 property's set method.
4974 2003-12-09 Jackson Harper <jackson@ximian.com>
4976 * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
4977 Increment counter when moving to start. Fixes bug #51926.
4979 2003-12-08 Jackson Harper <jackson@ximian.com>
4981 * HyperLinkColumn.cs: Fix navigate url rendering. Patch by
4982 Benjamin Jemlich. Fixes bug #51823.
4984 2003-12-07 Alon Gazit <along@mainsoft.com>
4985 * Panel.cs: Panel doesn't render nowrap attribute while the Wrap
4986 property is set to false. Fixes bug #58120.
4988 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4990 * TableItemStyle.cs: merge TableItemStyle properties when Style is
4991 empty. Fixes bug #51689. Patch by Alon Gazit <along@mainsoft.com>.
4993 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4995 * RadioButtonList.cs: render tabindex attribute if needed. Fixes bug
4998 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5000 * WebControl.cs: don't create the attributes when GetAttribute is
5003 2003-12-01 Jackson Harper <jackson@ximian.com>
5005 * WebControl.cs: Only allow access keys to be null or a single
5006 char. Patch by Alon Gazit <along@mainsoft.com>.
5008 2003-11-30 Jackson Harper <jackson@ximian.com>
5010 * CheckBoxList.cs: A checkbox will have null post data if it is
5011 unselected. This fixes bug #51516.
5013 2003-11-29 Jackson Harper <jackson@ximian.com>
5015 * DataGrid.cs: Display paging controls even when there is no
5016 data. Path by Mohammad DAMT. Fixes bug #51487.
5018 2003-11-29 Jackson Harper <jackson@ximian.com>
5020 * DataGrid.cs: Call TrackViewState when loading bound columns view
5021 state. So that their state is saved. This fixes bug #51424. Also
5024 2003-11-26 Jackson Harper <jackson@ximian.com>
5026 * BaseDataList.cs: Change && to || We will call that a typo so no
5027 one gets embarrased.
5029 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5031 * BaseDataList.cs: allow setting null as Datasource.
5033 * DataGrid.cs: keep autogenerated columns in the ViewState.
5035 Patches by Alon Gazit <along@mainsoft.com>.
5037 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
5039 * SqlDataSource*: Implement almost everything. Data access is
5042 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
5044 * Calendar.cs (SaveViewState):
5045 - We were allocating a 11 item array, we only used 10 items,
5046 so only allocate 10.
5047 - We only need to save the selected dates if there are any.
5048 * DataGrid.cs (SaveViewState):
5049 * DataGridColumn.cs (SaveViewState):
5050 * DataGridColumnCollection.cs (SaveViewState):
5051 - Only return the array if there is anything in it
5052 * Style.cs (SaveViewState):
5053 - Only save the bits if there were changes.
5054 * WebControl.cs (SaveViewState), (LoadViewState):
5055 - Don't save Enabled into the viewstate here, we already
5056 do it in the property. This just caused *EVERY* control
5057 to have a non-null state, taking up lots of extra room
5059 - The style will always be created with this control's
5060 viewstate, so the style will always return null for the
5061 viewstate. As such, we do not need to store it. We can
5062 also reduce the triplet to a pair because of this.
5064 2003-11-22 Jackson Harper <jackson@ximian.com>
5066 * ValidationSummary.cs: Fix number of messages and message array computation.
5068 2003-11-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5070 * Xml.cs: Corrected attribute
5071 * XmlBuilder.cs: Added
5073 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5075 * Xml.cs: class status based fixes.
5077 2003-11-19 Jackson Harper <jackson@ximian.com>
5079 * HyperLink.cs: Use ResolveUrl instead of ResolveBaseUrl.
5081 2003-11-19 Jackson Harper <jackson@ximian.com>
5083 * HyperLink.cs: Use ResolveBaseUrl so that ~/ is interpreted as
5084 teh applications base directory. This fixes bug #51092.
5086 2003-11-18 Todd Berman <tberman@gentoo.org>
5088 * ControlParameter.cs:
5089 * CookieParameter.cs:
5091 * QueryStringParameter.cs:
5092 * SessionParameter.cs: added public .ctor ()
5093 * Parameter.cs: added public .ctor (), internal SetOwnerCollection
5094 and handling, as well as internal ParameterValue for easy access.
5095 NOTE: ParameterValue doesnt respect TreatEmptyStringAsNull yet.
5096 * ParameterCollection.cs: implementation redux.
5098 2003-11-18 Todd Berman <tberman@gentoo.org>
5100 * ParameterCollection.cs: Implemented
5101 * Parameter.cs: Added _owner, SetOwnerCollection and proper handling.
5102 ToString () now matches asp.net
5104 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
5106 * ControlParameter.cs:
5107 * CookieParameter.cs:
5110 * QueryStringParameter.cs: New v2 files. Mostly
5111 implemented, still need a few methods.
5113 2003-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5115 * ListItem.cs: prevent nullrefs ni Get/SetAttribute. Thanks to Alon
5116 Gazit <along@mainsoft.com>.
5118 2003-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5120 * RadioButton.cs: fixed RenderInputTag for negative TabIndex values.
5121 Patch by Alon Gazit <along@mainsoft.com>.
5123 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
5125 * DataBoundControl.cs: Implement
5126 * ListControl.cs: inherit from the above.
5127 * Repeater.cs, BaseDataList.cs: should reset whenever we databind.
5129 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
5134 * Repeater.cs: add v2 databinding stuff
5135 * XmlDataSource.cs: make it load the xml.
5137 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
5140 * XmlDataSourceView.cs:
5141 * XmlHierarchicalDataSourceView.cs:
5142 * XmlHierarchicalEnumerable.cs:
5143 * XmlHierarchyData.cs: Implement
5145 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
5147 * SiteMapDataSourceView.cs: Implement.
5149 2003-11-07 Jackson Harper <jackson@ximian.com>
5151 * ImageButton.cs: This is a workaround for bug #49819. It appears
5152 that the .x and .y values are not being posted, and only the x
5153 value is being posted with the ctrl's id as the key.
5155 2003-11-07 Jackson Harper <jackson@ximian.com>
5157 * DataGrid.cs (CreateControlHierarchy): Current page index is
5158 alolowed to equal page count. This prevents an exception being
5159 thrown when both are zero.
5161 2003-11-06 Jackson Harper <jackson@ximian.com>
5163 * ValidationSummary.cs: Add Render method. Patch by Yaron Shkop.
5164 * BaseValidator.cs: Disable base control so the isValid flag is
5167 2003-11-03 Jackson Harper <jackson@ximian.com>
5169 * TemplateColumn.cs: Use the same renderer for selected items as
5170 normal items. This fixes bug #49744.
5172 2003-11-03 Jackson Harper <jackson@ximian.com>
5175 * WebControl.cs: Fix argument out of range exceptions on
5176 properties. Patch by Yaron Shkop.
5178 2003-11-03 Jackson Harper <jackson@ximian.com>
5180 * TemplateColumn.cs: If the item is selected but there is no
5181 editItemTemplate use the itemTemplate. This matches MS behvoir.
5183 2003-11-03 Jackson Harper <jackson@ximian.com>
5185 * Repeater.cs: Always set alternating items to the AlternatingItem
5186 type, when instantiating alternating items use the itemTemplate if
5187 the alternatingItem template is null. This matches MS behavoir and
5190 2003-11-03 Jackson Harper <jackson@ximian.com>
5192 * DataGridPagerStyle.cs: Name of view state attribute is
5193 PagerVisible not Visible. Call owner.OnPagerChanged when the pager
5194 visibility is changed. Patch by Yaron Shkop.
5196 2003-11-03 Jackson Harper <jackson@ximian.com>
5198 * RepeatInfo.cs: When doing horizontal rendering use the repeat
5199 columns as the number of columns in a row. This fixes bug #49016.
5201 2003-11-03 Jackson Harper <jackson@ximian.com>
5203 * PagedDataSource.cs (PageCount): Return page count of 1 if there
5204 paging is disabled. Patch by Yaron Shkop.
5205 * PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
5206 * TableStyle.cs (AddAttributesToRender): Render border style
5207 collapse. Patch by Yaron Shkop.
5209 * TableItemStyle.cs:
5210 * DataGridPagerStyle.cs: Call base copy and merge even if style is of
5211 the wrong type. Patch by Yaron Shkop.
5213 2003-11-03 Jackson Harper <jackson@ximian.com>
5215 * BoundColumn.cs: Render readonly columns. Patch by Mohammad DAMT.
5217 2003-11-02 Ben Maurer <bmaurer@users.sourceforge.net>
5220 * BulletedListDisplayMode.cs:
5221 * BulletedListEventHandler.cs:
5223 * BulletedListEventArgs.cs: V2 controls (yay!)
5225 2003-10-30 Jackson Harper <jackson@ximian.com>
5227 * Repeater.cs: Throw an exception if the datasource is set to
5228 something that does not implement either IListSource or
5229 IEnumerable. This fixes bug #50155.
5231 2003-10-30 Jackson Harper <jackson@ximian.com>
5233 * DataGridPagerStyle.cs: Do not allow page button counts to be set
5234 to less then 1. Patch by Yaron Shkop. This fixes bug #50236.
5236 2003-10-29 Jackson Harper <jackson@ximian.com>
5238 * ButtonColumn.cs: Format string and text to format were
5239 inversed. This fixes bug #50171.
5241 2003-10-29 Jackson Harper <jackson@ximian.com>
5243 * DataGridColumn.cs: If an item style is set apply it to the
5244 cell. This fixes bug #50173.
5246 2003-10-29 Ben Maurer <bmaurer@users.sourceforge.net>
5248 * HyperLinkColumn.cs: Patch by Yaron Shkop. Fixes #50234. Remove
5249 old debugging value.
5251 2003-10-29 Jackson Harper <jackson@ximian.com>
5253 * PagedDataSource.cs:
5254 * DataGrid.cs: Patch by Mohammad DAMT. Do not go past the
5255 end of the last page. Fixes bug #5085.
5257 2003-10-29 Jackson Harper <jackson@ximian.com>
5259 * CheckBox.cs: Do not change the status of a checkbox when there
5260 is no post data. This fixes bug #49091.
5261 * CheckBoxList.cs: Do not change the status of the checkboxes when
5262 there is no post data. This fixes bug #49093.
5264 2003-10-26 Ben Maurer <bmaurer@users.sourceforge.net>
5266 * RadioButton.cs: Patch by Yaron Shkop. Enables disabling a
5267 RadioButton. Fixes #50132
5269 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
5271 * PagedDataSource.cs: Patch by Ivo Haamer. Typo prevented
5272 paging from working. Fixes #48814.
5274 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
5276 * DataGrid.cs: A few typos kept us from viewing datagrids
5277 that were based on customized collections.
5279 2003-10-24 Ben Maurer <bmaurer@users.sourceforge.net>
5281 * DataGridCommandEventArgs.cs: typo, cmdSrc was becoming origionalArgs.
5283 2003-10-23 Ben Maurer <bmaurer@users.sourceforge.net>
5285 * Calendar.cs: render the next month button so that aligns to the
5288 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5290 * BaseCompareValidator.cs: splitted Convert. Fixed bug #49927. The fix
5291 was just changing && by || after the first Match.
5293 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5295 * Calendar.cs: apply header style in RenderHeader. Fixes bug #49144.
5296 Patch by Yaron Shkop.
5298 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5300 * DataGrid.cs: applied patch from Yaron Shkop (yaronsh@mainsoft.com)
5301 that fixes bug #49744. Now the selection doesn't lose its data.
5303 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
5305 * EditCommandColumn.cs: Implement; fix #49736
5307 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
5309 * ButtonColumn.cs: Use the DataGridLinkButton, so that we inherit
5310 the forground color. bug #49738
5312 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5314 * Calendar.cs: fixed bug #49727.
5316 2003-10-18 Ben Maurer <bmaurer@users.sourceforge.net>
5318 * TableStyle.cs: fix #49740.
5320 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5322 * SelectedDatesCollection.cs: fix by Yaron for bug #49698.
5323 * ValidationSummary.cs: fixes bug #49669.
5325 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5327 * Calendar.cs: apply the calendar style to the new Table, not to itself.
5330 * CheckBox.cs: render the hidden fields if AutoPostBack.
5332 * Style.cs: don't render empty width/height. Small improvement in
5335 * Table.cs: fixed condition for border width.
5338 (CopyFrom): always call the base class to copy other attributes. Fixes
5339 bug #49408. Don't render empty 'rules' attribute.
5341 * WebControl.cs: track viewstate when enabled. Don't overwrite source
5342 control attributes in CopyBaseAttributes.
5344 * ChangeLog: fixed dates.
5347 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
5349 * WebControl.cs : Attributes { get; } - Is Complete.
5350 * ValidationSummary.cs : AddAttributesToRender(HtmlTextWriter)
5353 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
5355 * BaseValidator.cs : DetermineRenderUplevel() - Completed.
5356 : RegisterValidatorCommonScript()
5357 - More code, I need HELP!
5358 : RegisterValidatorDeclaration()
5359 - More code, I need HELP!
5361 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5363 * CheckBoxList.cs: don't lose state when enabling/disabling. See bug
5366 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5368 * Repeater.cs: fixed bug #48807. It needed to use a DummyDataSource and
5369 ClearViewState only called when no items.
5371 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5373 * RadioButtonList.cs: fix for bug #48874 by Yaron Shkop.
5375 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5377 * RadioButtonList.cs: fix for bug #48870 by Yaron Shkop.
5379 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5381 * DataList.cs: fixed bug #48217. Patch by yaronsh@mainsoft.com (Yaron
5384 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5386 * AdRotator.cs: fixes bug #48691. Patch by yaronsh@mainsoft.com (Yaron
5389 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5391 * CheckBox.cs: render the 'disabled' attribute in the correct tag.
5392 * WebControl.cs: fixed Enabled property and save it in ViewState.
5396 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5398 * ListControl.cs: fixed bug #48668. Thanks to Yaron Shkop.
5400 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5402 * ListBox.cs: patch by yaronsh@mainsoft.com (Yaron Shkop) that fixes
5405 2003-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5407 * FontInfo.cs: fixed Name property as suggested by Rich Alimi
5408 <rich@velvetsea.net>.
5410 2003-09-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5412 * RegularExpressionValidator.cs: fix for EvaluateIsValid by Juraj
5413 Skripsky <juraj@hotfeet.ch>
5415 2003-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5417 * BaseValidator.cs: patch by Juraj Skripsky (juraj@hotfeet.ch) that
5418 fixes rendering of the end tag.
5420 2003-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5422 * Repeater.cs: fix for Items property provided by yaronsh@mainsoft.com
5423 (Yaron Shkop). Closes bug #48060.
5425 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5427 * CheckBox.cs: in LoadPostData, only return
5428 true when the new data is different from the one we had. Fixed
5429 conditions to save Checked state. Thanks to yaronshkop@hotmail.com
5432 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5434 * Style.cs: Font.Strikeout renders as 'line-through'. Fixes bug #47871.
5436 2003-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5438 * WebControl.cs: removed dangling ^M and unneeded fields. Keep track
5439 of Enable in ViewState. Fixes bug #47865.
5441 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5443 * Style.cs: the MARKED bit is not send set in ViewState unless something
5444 is changed. Fixed TrackViewState condition.
5446 * WebControl.cs: save the base ViewState *after* ControlStyle is done,
5447 because it uses the same ViewState as the control. Fixes bug #47725.
5449 2003-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5451 * HyperLinkColumn.cs: patch from David Pickens <dsp@rci.rutgers.edu>
5452 that fixes databinding when only DataTextField or DataNavigateUrlField
5455 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5457 * ListControl.cs: patch sent by Yaacov Akiba Slama <ya@slamail.org> on
5458 behalf of Yaron Shkop <yaronsh@mainsoft.com> that fixes selection of
5459 values before assigning a data source and other issues.
5461 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5463 * CheckBox.cs: save viewstate when needed and correctly handle post
5464 data. Fixes bug #47462.
5466 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5468 * ButtonColumn.cs: Removed additional attributes
5469 * CheckBox.cs: Added attribute
5470 * DataGrid.cs: Added attributes
5471 * HyperLinkColumn.cs: Changed attributes, added lamespec
5472 * Style.cs: Removed attributes
5473 * TextBox.cs: Added/ removed attributes
5475 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5477 * AdRotator.cs: Added all attributes
5478 * BaseDataList.cs: Added all attributes, added lamespec, removed additional attributes
5479 * BaseValidator.cs: Added all attributes
5480 * BoundColumn.cs: Added all attributes
5481 * Button.cs: Added all attributes
5482 * ButtonColumn.cs: Added all attributes, added lamespec
5483 * Calendar.cs: Added all attributes, added error checks, throws more exceptions
5484 * CheckBox.cs: Added all attributes
5485 * CheckBoxList.cs: Added all attributes
5486 * CompareValidator.cs: Added all attributes
5487 * CustomValidator.cs: Added all attributes
5488 * DataGrid.cs: Added all attributes, more verbose exceptions, fixed signature, removed additional attributes
5489 * DataGridColumn.cs: Added all attributes
5490 * DataGridColumnCollection.cs: Added all attributes
5491 * DataGridPagerStyle.cs: Added all attributes
5492 * DataGridTableInternal.cs: Made DataGridTableInternal internal
5493 * DataList.cs: Added all attributes, more verbose exceptions, removed non-existing member
5494 * DropDownList.cs: Added all attributes
5495 * FontInfo.cs: Added all attributes
5496 * HyperLink.cs: Added all attributes
5497 * HyperLinkColumn.cs: Added all attributes
5498 * Image.cs: Added all attributes
5499 * ImageButton.cs: Added all attributes
5500 * Label.cs: Added all attributes
5501 * LinkButton.cs: Added all attributes
5502 * ListBox.cs: Added all attributes, added error checks, throws more exceptions
5503 * ListControl.cs: Added all attributes
5504 * ListItem.cs: Added all attributes
5505 * ListItemCollection.cs: Added attribute
5506 * Literal.cs: Added all attributes
5507 * Panel.cs: Added all attributes
5508 * RadioButton.cs: Added all attributes
5509 * RadioButtonList.cs: Added all attributes, added error checks, throws more exceptions
5510 * RangeValidator.cs: Added all attributes
5511 * RegularExpressionValidator.cs: Added all attributes
5512 * Repeater.cs: Added all attributes
5514 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5516 * RequiredFieldValidator.cs: Added all attributes
5517 * Style.cs: Added all attributes
5518 * Table.cs: Added all attributes
5519 * TableCell.cs: Added all attributes, added error checks, throws more exceptions
5520 * TableCellCollection.cs: Added attribute
5521 * TableRow.cs: Added all attributes
5522 * TableRowCollection: Added attribute
5523 * TableStyle.cs: Added all attributes, improved error messages
5524 * TemplateColumn.cs: Added all attributes
5525 * TextBox.cs: Added all attributes, added error checks, throws more exceptions
5526 * ValidationSummary.cs: Added all attributes
5527 * WebControl.cs: Added all attributes
5528 * Xml.cs: Added all attributes
5530 2003-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5532 * DataGrid.cs: fixed signature of ItemCreated and PageIndexChanged.
5533 * DataList.cs: fixed signature of ItemCreated and ItemDataBound.
5535 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5537 * CheckBoxList.cs: fixes bug reported on the list about the state of
5538 the CheckButtons not being preserved across posts.
5540 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5542 * ListControl.cs: added SelectedValue property (1.1). Closes 46412.
5544 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5546 * AdRotator.cs: fixed bug #44271 and a few others bugs. Mono-stylized.
5548 2003-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5550 * ListControl.cs: save viewstate data when any of the 3 values is not
5551 null. Fixed condition to save selection indices. Closes bug #45493.
5553 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5555 * DataGrid.cs: fixed bug #43823.
5557 2003-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5559 * DataGrid.cs: fixed delegate type for SortCommand.
5561 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5563 * DataGridColumnCollection.cs: added missing return in RemoveAt.
5565 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5567 * DataGridColumnCollection.cs: fixed LoadViewState for the columns.
5568 Don't save ViewState is the number of columns is 0.
5570 2003-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5572 * DataGrid.cs: get the right item Type for the property we're reading
5573 fromt the data source.
5575 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5578 * TextBox.cs: added control builder attribute.
5580 2003-03-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5582 * DataGrid.cs: Fixed SaveViewState and type of ItemDataBound.
5584 2003-03-17 George Kodinov <gkodinov@openlinksw.co.uk>
5586 * Unit.cs: Called the correct method to get the Numeric locale for the
5589 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5591 * ButtonColumn.cs: fixed a couple of infinite loop problems and render
5592 correctly the header of the column.
5594 * DataGridTableInternal.cs: don't assign a default ID to this control.
5596 * LinkButton.cs: raise bubble event in OnCommand.
5598 * TableCellCollection.cs: fixed the index returned by Add.
5600 * TableRowCollection.cs: ditto.
5602 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5604 * Xml.cs: don't call MapPathSecure when setting DocumentSource.
5606 2003-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5608 * RangeValidator.cs: fixed bug #37577. Thanks to Stephane Tombeur
5609 for reporting the bug and providing the fix.
5611 2003-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5613 * DataGrid.cs: AutoGenerateColumns defaults to true. Fixed
5614 CreateColumnSet. Set the owner of the column when auto generated.
5615 In PrepareControlHierarchyForItem, fixed for loop bound.
5617 * LinkButtonInternal.cs: fixed infinite recursion bug.
5621 2003-01-22 Zdravko Tashev <ztashev@openlinksw.co.uk>
5623 * Xml.cs: a few fixes.
5625 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5627 * DataList.cs: handle the exception when adding new keys to
5630 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5632 * BaseDataList.cs: what can I say for this one? I spent so many time
5633 until I finally found this that I'm gonna miss this f....g bug... ;-).
5634 Farewell. Now we can get events from image buttons inside Data*.
5636 * DataList.cs: now the value stored in ViewState for item count is
5639 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5641 * DataGrid.cs: default value for ShowHeaders is true. Fixed style for
5643 * DataGridColumn.cs: added SetOwner method.
5644 * DataGridColumnCollection.cs: set the owner of the column when added.
5646 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5648 * BoundColumn.cs: typo.
5649 * DataGrid.cs: use 'as' instead of casting. Typo.
5650 * HyperLinkColumn.cs: call OnColumnChanged when any property change.
5653 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5655 * HyperLink.cs: fixes bug #36336.
5657 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5659 * DataList.cs: fixed IRepeatInfoUser.GetItemStyle.
5661 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5663 * BaseValidator.cs: return an empty string in GetControlValidationValue
5664 when GetValue returned null.
5666 * CompareValidator.cs: fixed EvaluateIsValid.
5668 * RegularExpressionValidator.cs: fixed EvaluateIsValid.
5670 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5672 * Xml.cs: use MapPathSecure to get the path of the document.
5674 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5676 * DataList.cs: fixed header & footer.
5678 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5680 * DataList.cs: for header and footer don't use data source.
5681 Instantiate in the DataListItem, not in the DataList.
5682 databind-template.aspx works now.
5684 2002-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5687 (Render): call RenderContents (), not base.RenderContents ().
5689 * DataList.cs: style.
5691 But I still haven't found what i'm looking for....
5693 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5695 * Calendar.cs: fixed loading/saving selected dates.
5696 * SelectedDatesCollection.cs: added internal function to get the
5697 underlying ArrayList.
5699 Calendar navigation works again. Selecting dates too.
5701 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5703 * DataList.cs: added a few attributes and fixed infinite recursion.
5705 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5707 * ListItemCollection.cs: fixed LoadViewState.
5709 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5711 * TableItemStyle.cs: TypeDescriptor.GetConverter seems to fail.
5712 Commented out some code until it works.
5714 2002-10-29 Gaurav Vaish <gvaish_mono@lycos.com>
5716 * BaseCompareValidator.cs - Fixed operator bug in
5717 Compare(string, string, ...)
5718 * CompareValidator.cs - EvaluateIsValid() : Implemented.
5720 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
5722 * BoundColumn.cs - InitializeCell(TableCell, int, ListItemType)
5724 - All Properties : Now make use of ViewState.
5726 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
5728 * BaseValidator.cs - Uncomment NotImplementedException.
5730 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
5732 * BaseValidator.cs - Minor changes in TODO comments.
5734 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
5736 * BaseValidator.cs - DetermineRenderUpLevel() : Uncomment
5737 the NotImplementedException being thrown.
5738 * DataGridPagerStyle.cs - Mode { set; } : Implemented.
5739 * DataGridLinkButton.cs - Added new class (private) : Implemented.
5740 * DataGrid.cs - InitializePager(DataGridItem, int,
5741 PagedDataSource) : Implemented.
5743 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
5745 * DataList.cs - PrepareControlHierarchy() : Implemented.
5747 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
5749 * DataList.cs - RenderContents(HtmlTextWriter) : Implemented.
5750 - GetItem(ListItemType, int) : Removed TODO.
5751 - CreateControlHierarchy(bool) : Implemented.
5752 - CreateItem(int, ListItemType) : Implemented.
5753 - CreateItem(int, ListItemType,
5754 bool, object) : Implemented.
5755 - InitializeItem(DataItem) : Implemented.
5756 * DataGrid.cs - CreateControlHierarchy(bool) : Bug fix.
5757 The ViewState["_!ItemCount"],
5758 ViewState["_!DataSource_ItemCount"]
5759 are shared by DataList and DataGrid, and hence
5760 should share the same name.
5761 - ResolveDataSource(object, string)
5762 : Removed. Use System.Web.UI.Utils.DataSourceHelper
5763 ::GetResolvedDataSource(object, string).
5766 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5768 * DataGrid.cs: fixed compilation
5770 2002-09-12 Gaurav Vaish <gvaish_mono@lycos.com>
5772 * PagedDataSource.cs - FirstIndexInPage : Fixed bug.
5773 * DataGrid.cs - CreateControlHierarchy(bool)
5774 : working towards completion.
5775 - ResolveDataSource(object, string)
5776 : stubbed new method
5778 : stubbed new method
5779 Well. It's almost done.
5780 * DataGridTableInternal.cs
5781 - Added new internal class.
5783 2002-08-28 Gaurav Vaish <gvaish_mono@lycos.com>
5785 * DataSourceInternal.cs - Added new class (internal).
5787 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5790 * HorizontalAlign.cs:
5792 * VerticalAlign.cs: fixes based on class status page.
5794 * HorizontalAlignConverter.cs: implemented.
5795 * VerticalAlignConverter.cs: implemented.
5797 * FontUnitConverter.cs: implemented GetStandardValues ().
5799 * WebColorConverter.cs: implemented ConvertFrom () and ConvertTo ().
5801 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
5803 * DataGrid.cs - AutoCreateColumns: Bug fixes.
5805 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
5807 * DataGrid.cs - AutoCreateColumns: completed, hopefully!
5809 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
5811 * DataGrid.cs - Working on the undocumented protected
5812 method CreateColumnSet. AutoCreateColumns method
5813 stubbed. Left CreateControlHierarchy for the time
5814 being, looks like I'm going insane. ;-)
5816 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
5818 * Button.cs - Steffen's OnCommand bug fix.
5820 2002-08-12 Gaurav Vaish <gvaish_mono@lycos.com>
5822 * DataGrid.cs - Added protected method (skeleton)
5823 CreateColumnSet(PagedDataSource, bool)
5824 Still trying to know how will it be used
5827 2002-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5829 * PagedDataSource.cs: fixed compilation.
5831 2002-08-08 Gaurav Vaish <gvaish_mono@lycos.com>
5833 * DataGrid.cs - Added private method
5834 CreatePagedDataSource
5836 CreateControlHierarchy(bool)
5837 * PagedDataSource.cs - Bug fixed.
5838 CurrentPageIndex is writable.
5840 2002-08-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5842 * DataGrid.cs: fixed typo.
5843 * DataGridPagerStyle.cs: added IsPagerOnTop and IsPagerOnBottom.
5845 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
5847 * DataGridColumn.cs - Added internal methods to get the
5848 various styles (needed in DataGrid.cs)
5849 * DataGrid.cs - Completed the method
5850 PrepareControlHierarchy()
5852 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
5854 * DataGrid.cs - Wokring on PrepareControlHierarchy()
5855 - Added private method
5856 PrepareControlHierarchyForItem()
5858 2002-08-05 Gaurav Vaish <gvaish_mono@lycos.com>
5860 * DataGrid.cs - Completed method
5861 OnBubbleEvent(object, EventArgs)
5863 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5865 * Xml.cs: implemented document/transform load.
5867 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5869 * Calendar.cs: added myself to the list of authors.
5870 * DropDownList.cs: fixed a few properties.
5871 * ListControl.cs: fixed SelectedIndex.
5873 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5875 * Calendar.cs: lots of fixes. Render days. Still left to persist
5876 selected days when changing month.
5878 * Unit.cs: fixed Percentage and Pixel.
5880 * WebControl.cs: a few properties are now using ControlStyle instead
5881 of ViewState to persist.
5883 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5885 * BaseValidator.cs: it works now.
5886 * DataGridColumn.cs: added attribute and made it abstract.
5887 * RequiredFieldValidator.cs: fixed return value in EvaluateIsValid.
5889 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5891 * TextBox.cs: default for Wrap is true.
5892 (OnPreRender): don't save Text if there are no listeners on TextChanged.
5894 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5900 (LoadViewState): fixed.
5902 * ListItemCollection.cs:
5903 (TrackViewState): use items instead of 'this' in foreach.
5906 (LoadViewState): more checking of parameters.
5908 * WebControl.cs: implemented LoadViewState and SaveViewState.
5911 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5913 * ListItem.cs: there was no code to unset the flags!!!
5915 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5917 * FontUnit.cs: use a hashtable for mapping size name to value.
5918 * HyperLink.cs: fixed a bug and a typo.
5919 * Unit.cs: some fixes to internal constructor.
5921 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5923 * ListControl.cs: fixed a couple of range checks.
5924 * WebControl.cs: MS lies! Not all WebControls must be rendered inside
5925 an HtmlForm (p.e., Label).
5927 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5937 * HyperLinkColumn.cs:
5946 * RadioButtonList.cs:
5950 * WebControl.cs: removed attributes added by mistake (i used
5951 GetCustomAttributes (true), d'oh!).
5953 * DataListItem.cs: implemented RenderItem.
5955 * Repeater.cs: implemented CreateItem and InitializeItem.
5957 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5959 * BaseDataList.cs: a couple of fiex and added attributes.
5960 * DataGrid.cs: little fixes.
5962 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5971 * RadioButtonList.cs:
5974 * Xml.cs: forgot to add using System.ComponentModel.
5976 * BaseValidator.cs: use explicitly
5977 System.ComponentModel.AttributeCollection as there is another class
5978 with the same name under System.Web.UI.
5980 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5999 * RadioButtonList.cs:
6004 * Xml.cs: added/fixed all attributes used by xsp.
6006 * BaseValidator.cs: some fixes.
6008 2002-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6011 (AddAttributesToRender): correctly default to border=1.
6013 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6016 (LoadAdFile): make the dictionary null after every iteration.
6020 * ListItem.cs: fixed warnings.
6022 Mon Jul 1 16:23:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
6024 * Style.cs, TableRow.cs, DataListItem.cs: fix compilation.
6026 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6028 * DataGridColumn.cs:
6029 * DataGridPagerStyle.cs:
6036 * ListItemCollection.cs:
6038 * ServerValidateEventArgs.cs:
6042 * Xml.cs: more class status page based changes.
6044 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6047 (.ctor): fixed to render the correct tag.
6048 (IPostBAckEventHandler.RaisePostBackEvent): fixed.
6050 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6053 (AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
6054 WebControl derived classes should be rendered inside a HtmlForm.
6056 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6058 * Repeater.cs: implemented CreateControlHierarchy. Fixed some event
6061 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6063 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
6064 * RepeatInfo.cs: implemented DoHorizontalRendering.
6066 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6068 * System.Web.UI.WebControls/Repeater.cs:
6070 (OnDataBinding): fixed stack overflow.
6072 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6074 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
6075 * RepeatInfo.cs: implemented DoHorizontalRendering.
6077 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6080 (CopyBaseAttributes): copy Attributes and don't throw exception.
6082 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6084 * ListBox.cs: mono-stylized.
6085 (AddAttributesToRender): call parent class method.
6087 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6089 * Style.cs: fixed IsEmpty and Width.
6091 * Table.cs: mono-stylized.
6092 (TableRowControlCollection.AddAt): fixed.
6093 (AddAttributesToRender): fixed.
6095 * TableCell.cs: mono-stylized.
6096 (.ctor): use PreventAutoID.
6097 (AddAttributesToRender): fixed.
6098 (AddParsedSubObject): fixed.
6100 * TableRow.cs: mono-stylized. Added
6101 ParseChildren attribute.
6104 (get_GridLine): fixed.
6106 2002-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6108 * Panel.cs: fixed stack overflow.
6109 * Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
6110 and SingleConverter.
6112 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6114 * RadioButton.cs: mono-stylized and some little fixes.
6116 * TextBox.cs: mono-stylized.
6117 (MaxLength): fixed typo.
6119 (AddAttributesToRender): don't render the text between the tags for
6120 SingleLine, use value attribute for it. Don't render the text for
6123 (OnPreRender): don't throw exception and call base.OnPreRender.
6125 (Render): for MultiLine, render the text between the opening and
6126 closing tags encoded as HTML.
6128 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6131 (AddAttributesToRender): fixer another stack overflow.
6134 (TagName): modified to use TagKey instead of tagKey as the property
6137 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6139 * LinkButton.cs: mono-stylized.
6140 (AddParsedSubObject):
6141 (RenderControls): little fixes.
6144 (AddAttributesToRender): fixed usage of IEnumerator.
6146 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6148 * Literal.cs: beautified.
6150 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6152 * Label.cs: beautified and fixed a couple of 'classic' bugs.
6154 * WebControl.cs: use Span as default tag when no other provided in
6155 constructor. That is what MS renders.
6157 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6160 (AddAttributesToRender): fixed (classic) stack overflow.
6162 * CheckBox.cs: mono-stylized.
6163 (AutoPostBack): fixed stack overflow.
6164 (Render): fixed alignment issues. Also set the For attribute always
6167 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6169 * AdRotator.cs: GetData does not work as it should, but now it returns
6170 useful data (only the first ad in the file). Set the NavigateUrl
6171 property in the hyperlink if available.
6173 * HyperLink.cs: fixed constructor and a couple of stack overflows.
6175 * Image.cs: added an attribute and fixed stack overflow.
6178 (RenderBeginTag): fixed.
6179 (TagName): don't call Enum.IsDefined twice.
6181 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6183 * WebControl.cs: added attributes PersistChildrenAttribute and
6184 ParseChildrenAttribute.
6186 2002-05-24 Duncan Mak <duncan@ximian.com>
6188 * DataGridItem.cs (SetItemType): Changed function signature to
6191 * ListItemCollection.cs (this): Changes the visibility level of
6194 * Repeater.cs (OnItemCommand):
6196 (OnItemDataBound): Added necessary casts.
6198 2002-05-07 Duncan Mak <duncan@ximian.com>
6200 * Button.cs (AddAttributesToRender):
6201 * ImageButton.cs (AddAttributesToRender): Added a missing argument to the
6202 GetClientValidatedEvent method.
6204 2002-03-27 Gaurav Vaish <gvaish@iitk.ac.in>
6206 * Removed extra methods, corrected access modifiers to several
6209 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
6211 * <SeveralFiles>.cs - Added some attributes
6212 * FontUnitConverter.cs - Added stubs for GetStandardValues*(..)
6213 methods. Will complete them later. Right now, busy with
6214 the attributes part.
6215 * RepeaterItem.cs - Completed.
6217 Oh God! Mercy! I will die applying attributes. I look at the missing
6218 part in the class-status - daemon! Kyrie eleison!
6220 2002-03-19 Gaurav Vaish <gvaish@iitk.ac.in>
6224 * AdRotator.cs - Added definition for Font.
6225 * BaseCompareValidator.cs - Added definition for Controls.
6226 * Calendar.cs - SelectMonthText definition corrected.
6227 * DataList.cs - Added definition for SeparatorTemplate.
6228 * BorderStyle.cs - Namespace correction. It belongs not to UI,
6229 but to UI.WebControls.
6231 2002-03-17 Gaurav Vaish <gvaish@iitk.ac.in>
6233 Finally, I have made it. Today I did a second build for the
6234 System.Web assembly. It compiled 195 classes today.
6235 I am waiting eagerly for the runtime to come up so that the objects
6236 may be tested to their last levels. Several of the methods are still
6237 under the tag of "TODO" throwing NotImplementedException. Well, I
6238 hope to remove them soon, but how far is this soon - even I don't
6239 know, though I am happy to make the build a success even before
6240 the vacations to come.
6242 2002-03-07 Gaurav Vaish <gvaish@iitk.ac.in>
6244 Yesterday and today I tried to do some building of the aseembly,
6245 but was dumped with uncoutably infinite errors. ;-)
6246 I have put the copies of the recent errors on my home page, want
6247 to have a look at them? See:
6248 http://mastergaurav.virtualave.net/mono/
6249 I don't know what to do with these errors. Oh! The buggy me! How
6250 will I overcome myself. Hopefully, by when my vacations over, I
6251 should have made a repository where the build will not fail.
6253 2002-03-05 Gaurav Vaish <gvaish@iitk.ac.in>
6255 I am now going to do a build that will include the
6256 System.Web.UI.WebControls namespace. Hoping that I will make it
6257 soon. My exams are coming near and I have to pack up soon.
6260 2002-03-04 Gaurav Vaish <gvaish@iitk.ac.in>
6263 And with this, ie, today's work, all the objects mentioned in the
6264 namespace appear in the implementation. But it may not be worth
6265 trying to go for a build because of dependence of several of the
6266 internal methods that may clash with already available assembly
6269 Also, the classes lack possible attributes, like those informing
6270 about child-controls etc. But I have to first create the attribute
6271 classes before I attach the attributes to the classes.
6273 * CustomValidator.cs - Completed. In process realized that
6274 I have to complete / rejuvinate BaseValidator class.
6275 * BaseValidator.cs - Complete rejuvination. Completed 80%
6276 of the job. All that is left is Render(HtmlTextWriter),
6277 DetermineRenderUplevel(), RegisterValidatorCommonScript()
6278 RegisterValidatorDeclaration()
6279 * DataGridPagerStyle.cs - Completed. That adds one more missle
6281 * DataKeyCollection.cs - Completed. Petty small.
6282 * Repeater.cs - Work started off. This is a quite
6284 * DataGridItemEventArgs.cs,
6285 * DataGridShortCommandEventArgs.cs,
6286 * DataListItemEventArgs.cs,
6287 * MonthChangedEventArgs.cs,
6288 * RepeaterItemEventArgs.cs,
6289 * ServerValidateEventArgs.cs,
6290 * DataGridPageChangedEventArgs.cs
6291 - Damn, I marked them "*", while they
6293 * Repeater.cs - Done all except for an undocumented
6294 method CreateControlHierarchy(bool). Though the method
6295 is quite clear by its name, but it will take some time
6296 for me to come with some material to flush in.
6298 2002-03-03 Gaurav Vaish <gvaish@iitk.ac.in>
6300 * SelectedDatesCollection.cs - Completed.
6301 * PagedDataSource.cs - Completed. Pathetically nice class.
6302 * RegularExpressionValidator.cs
6303 - Completed. Ridiculously small and
6304 annoyinglyc crazy-driving class, basically the method
6306 * RangeValidator.cs - Completed.
6307 * DataGridColumn.cs - Completed.
6308 * EditCommandColumn.cs - All is complete except for the
6309 InitializeCell(TableCell, int, ListItemType) method.
6310 * DataListItem.cs - All done except for a longish method
6311 RenderItem(HtmlTextWriter, bool, bool)
6313 2002-03-02 Gaurav Vaish <gvaish@iitk.ac.in>
6315 * RepeaterItemCollection.cs - Completed.
6316 I love *Collection classes. I am planning to make a
6317 program that will generate a *Collection class. It's so
6318 simple and the same. ;-)
6319 * DataGridColumnCollection.cs - Completed.
6320 ... except probably for *ColumnCollection classes, where
6321 you have to put in some more effort. Still, these class
6322 generation can be automated.
6323 * DataListItemCollection.cs - Completed.
6324 See, how easily, in less than a quarter of a minute, I
6325 completed this class - manually. Copy-Paste/Cut-Replace.
6327 2002-02-21 Gaurav Vaish <gvaish@iitk.ac.in>
6329 * DataGrid.cs - Following methods implemented:
6330 TrackViewState(), LoadViewState(object), SaveViewState(),
6331 On* -- The event raisers.
6332 OnBubbleEvent(object, EventArgs) is still incomplete.
6333 * DataGridItem.cs - Initial Implementation
6334 * DataGridItemCollection.cs - Completed.
6336 2002-02-08 Gaurav Vaish <gvaish@iitk.ac.in>
6338 * DataGrid.cs - Initial Implementation. Worked
6339 primarily with some properties.
6341 2002-02-07 Gaurav Vaish <gvaish@iitk.ac.in>
6343 * ListBox.cs - Completed. Implemented
6344 LoadPostData(string, NameValueCollection)
6345 * RequiredFieldValidator.cs - Completed. Pretty simple class.
6347 2002-02-06 Gaurav Vaish <gvaish@iitk.ac.in>
6349 * ListBox.cs - Implemented the following:
6350 RaisePostDataChangedEvent()
6352 2002-02-02 Gaurav Vaish <gvaish@iitk.ac.in>
6354 * ListBox.cs - Supports the following properties:
6355 BorderColor, BorderStyle, BorderWidth, Rows, SelectionMode,
6358 AddAttributesToRender(HtmlTextWriter), OnPreRender(EventArgs),
6359 RenderContents(HtmlTextWriter)
6362 2002-02-01 Gaurav Vaish <gvaish@iitk.ac.in>
6364 * TargetConverter.cs - Completed
6365 * TemplateColumn.cs - Completed
6366 * DataList.cs - Corrected the get-er methods for the
6367 *Style objects. Corrected the get/set-er methods for ViewState
6369 Addded support for properties:
6370 GridLines, HeaderStyle, HeaderTemplate, ItemStyle, ItemTemplate,
6371 RepeatColumns, RepeatDirection, RepeatLayout, SelectedIndex,
6372 SelectedItem, SelectedItemStyle, SelectedItemTemplate,
6373 SeparatorStyle, SeparatorItemTemplate.
6375 CancelCommand, DeleteCommand, EditCommand, ItemCommand,
6376 ItemCreated, ItemDataBound, UpdateCommand.
6378 CreateControlStyle(), LoadViewState(object),
6379 SaveViewState(), TrackViewState
6381 OnBubbleEvent, OnCancelCommand, OnDeleteCommand,
6382 OnEditCommand, OnItemCommand, OnItemCreated,
6383 OnItemDataBound, OnUpdateCommand
6384 Added dummy methods for some undocumented methods:
6385 CreateControlHierarchy(bool), CreateItem(int, ListItemType),
6386 CreateItem(int, ListItemType, bool, object),
6387 PrepareControlHierarchy(), InitializeItem(DataListItem)
6388 * ListBox.cs - Started working.
6392 2002-01-31 Gaurav Vaish <gvaish@iitk.ac.in>
6394 * RepeaterInfo.cs - Initial Implementation. Done all
6395 except for RepeatDirection.Vertical
6396 * TableStyle.cs - Completed
6398 2002-01-30 Gaurav Vaish <gvaish@iitk.ac.in>
6400 * DropDownList.cs - Completed
6401 * ListItemCollection.cs - Added method FindByValueInternal to
6402 assist in the derived classes.
6403 Discovered bug in FindByValue. Removed
6404 * UnitConverter.cs - Completed
6405 * PlaceHolder.cs - What can be simpler than this?
6406 * PlaceHolderControlBuilder.cs
6407 - Uh! Damn cool one.
6408 * RadioButtonList.cs - Initial Implementation. All is done
6409 except for the implementation of
6410 method IRepeatInfoUser.RenderItem(...)
6411 * ValidatedControlConverter.cs
6412 ^^^^^^^^^^^^^^^^^^^^^^^^^ - Looks complete. Doubtful though !!
6413 * ValidationSummary.cs - Initial Implementation.
6414 * WebColorConverter.cs - Initial Implementation
6416 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
6418 * FontNamesConverter.cs - Completed
6419 * FontUnitConverter.cs - Partial Implementation
6420 * ListItemControlBuilder.cs - Completed
6422 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
6424 * TextBox.cs - All done except *Render* methods
6425 * TextBoxControlBuilder.cs - Completed
6426 * Xml.cs - Partial Implementation
6428 2002-01-26 Gaurav Vaish <gvaish@iitk.ac.in>
6430 * RadioButton.cs - Completed
6431 * TextBox.cs - Partial Implementation
6433 2002-01-25 Gaurav Vaish <gvaish@iitk.ac.in>
6435 * Panel.cs - Completed
6436 * TableItemStyle.cs - Completed
6438 2002-01-18 Gaurav Vaish <gvaish@iitk.ac.in>
6440 * TableCellCollection.cs - Completed
6441 * TableRowCollection.cs - Completed
6442 * TableHeaderCell.cs - Completed
6443 * TableRow.cs - Completed
6445 2002-01-09 Gaurav Vaish <gvaish@iitk.ac.in>
6447 * TableCellControlBuilder.cs - Completed
6448 * Table.cs - Completed
6449 * TableCell.cs - Completed
6451 2002-01-07 Gaurav Vaish <gvaish@iitk.ac.in>
6453 * CheckBoxList.cs - Completed
6454 * ButtonColumn.cs - Completed
6455 * Button.cs - Completed
6457 2001-12-28 Gaurav Vaish <gvaish@iitk.ac.in>
6459 * HyperLink.cs - Completed
6460 * Image.cs - Completed
6461 * ImageButton.cs - Completed
6462 * Label.cs - Completed
6463 * LabelControlBuilder.cs - Completed
6464 * LinkButton.cs - Completed
6465 * LinkButtonControlBuilder.cs - Completed
6466 * Literal.cs - Completed
6467 * LieteralControlBuilder.cs - Completed
6468 * FontUnit.cs - Completed
6471 2001-12-27 Gaurav Vaish <gvaish@iitk.ac.in>
6473 * Calendar.cs - Completed the functions of Render*,
6474 ViewStates (Track/View/Save),
6476 Left: RenderAllDays (partially)
6478 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
6480 * Calendar.cs - Added some more functions
6481 * Style.cs - Completed
6482 * ListItem.cs - Completed
6483 * ListItemCollection.cs - Completed
6485 Made the first successful build of System.Web.dll that included
6486 System.Web.UI.WebControls!
6488 2001-12-20 Gaurav Vaish <gvaish@iitk.ac.in>
6490 FontInfo.cs - Complete revamp. Completed
6492 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
6494 ListItemCollection.cs - Completed
6495 ListItem.cs - Initial Implementation
6496 Style.cs - Initial Implementation
6498 Right now I am in a total mood to do a successful build. Creating so many
6499 classes, completing classes in System.Web System.Web.UI namespaces.
6501 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
6503 TODO - Properly added
6504 CheckBox.cs - Completed
6505 BaseDataList.cs - Completed
6506 DayRenderEventArgs.cs - Completed
6507 RepeaterItem.cs - Initial implementation
6509 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
6511 BaseCompareValidator.cs - Completed
6512 AdRotator.cs - Completed
6514 2001-12-15 Gaurav Vaish <gvaish@iitk.ac.in>
6516 CommandEventArgs.cs - Completed
6517 DataGridCommandEventArgs.cs - Completed
6518 RepeaterCommandEventArgs.cs - Completed
6519 DataListCommandEventArgs.cs - Completed
6520 CompareValidator.cs - Partial Implementation
6522 2001-12-02 Gaurav Vaish <gvaish@iitk.ac.in>
6524 CheckBoxList.cs - Partial Implementation.
6527 2001-12-01 Gaurav Vaish <gvaish@iitk.ac.in>
6529 ListControl.cs - Completed
6531 2001-11-30 Gaurav Vaish <gvaish@iitk.ac.in>
6533 CheckBox.cs - Completed
6534 ListControl.cs - Initial Implementation
6535 CheckBoxList.cs - Started with it, but first needed
6536 ListControl. Left it.
6538 2001-11-29 Gaurav Vaish <gvaish@iitk.ac.in>
6540 CalendarDay.cs - Making a note that this
6541 has been implemented
6542 Calendar.cs - Making a note that have made some changes.
6543 Unimplmented functions throw
6544 NotImplementedException
6545 CheckBox.cs - Can now "Render" and "LoadPostData"
6548 2001-11-08 Gaurav Vaish <gvaish@iitk.ac.in>
6549 WebControl.cs - Total Revamp, Partial Implementation
6550 AdRotator.cs - Able to load files
6551 AdCreatedEventArgs.cs - Implemented
6553 2001-11-05 Gaurav Vaish <gvaish@iitk.ac.in>
6554 Calendar.cs - Initial Implementation
6555 ButtonColumn.cs - Initial Implementation
6556 Button.cs - Initial Implementation
6557 BoundColumn.cs - Initial Implementation
6558 BaseCompareValidator.cs - Minor Changes
6559 DataList.cs, BaseValidator.cs, BaseDataList.cs
6560 - Added more functions, other changes
6562 2001-10-28 Gaurav Vaish <gvaish@iitk.ac.in>
6563 WebControl.cs - Initial Implementation
6564 DataList.cs - Initial Implementation
6565 BaseValidator.cs - Initial Implementation
6566 BaseDataList.cs - Initial Implementation
6568 2001-10-27 Gaurav Vaish <gvaish@iitk.ac.in>
6570 AdCreatedEventArgs.cs - Initial Implementation
6571 AdCratedEventHandler.cs - Implemented
6572 AdRotator.cs - Initial Implementation
6573 BorderStyle.cs - Implemented
6574 ButtonColumnStyle.cs - Implemented
6575 CalendarSelectionMode.cs - Implemented
6576 DayNameFormat.cs - Implemented
6577 FirstDayOfWeek - Implemented
6578 FontInfo.cs - Partial Implementation
6579 FontSize.cs - Implemented
6580 GridLines.cs - Implemented
6581 HorizontalAlign.cs - Implemented
6582 HyperLink.cs - Initial Implementation
6583 ImageAlign.cs - Implemented
6584 IRepeatInfoUser.cs - Implemented
6585 ListItemType.cs - Implemented
6586 ListSelectionMode.cs - Implemented
6587 NextPrevFormat.cs - Implemented
6588 PagerMode.cs - Implemented
6589 PagerPosition.cs - Implemented
6590 RepeatDirection.cs - Implemented
6591 RepeatLayout.cs - Implemented
6592 TextAlign.cs - Implemented
6593 TextBoxMode.cs - Implemented
6594 TitleFormat.cs - Implemented
6595 UnitType.cs - Implemented
6596 ValidationCompareOperator.cs
6598 ValidationDataType.cs - Implemented
6599 ValidationSummaryDisplayMode.cs
6601 ValidatorDisplay.cs - Implemented
6602 VerticalAlign.cs - Implemented
6606 i/ File Created 2001-11-13