1 2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8 * LinkButton.cs: implement GetPostBackOptions for the 2.0 controls that
9 support it. The GridView control will no longer throw an exception when
10 rendered in the paging mode. Patch by Marek Habersack. Fixes bug #78288.
12 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
14 * DetailsView.cs: many fixes: initialize PageCount with 0; initialize
15 Rows with empty collection; call EnsureChildControls from get Row;
16 NullReference in DeleteItem; fix RenderGrid (ideas from GridView);
17 implemented IPostBackContainer.GetPostBackOptions.
19 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
21 * DetailsView.cs: create HeaderRow and FooterRow even when HeaderText
22 and FooterText are empty, to match .NET. Otherwise we have NullReference
25 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
27 * DetailsView.cs: Render fix.
29 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
31 * BoundField.cs: don't call DataBinder.GetPropertyValue with empty
34 2006-07-20 Andrew Skiba <andrews@mainsoft.com>
36 * DetailsView.cs: NullReferenceException fix
38 2006-07-20 Vladimir Krasnov <vladimirk@mainsoft.com>
40 * PagerSettings.cs: implemented PropertyGhanged event
42 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
44 * DetailsView.cs: throw ArgumentOutOfRangeException for compatibility
45 with .Net; don't throw NotImplemented when base class implementation
48 2006-07-18 Andrew Skiba <andrews@mainsoft.com>
50 * DetailsViewPagerRow.cs: add a stub for this class
52 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
54 * GridView: fixed DataKeyNames property, moved to ControlState
55 fixed PageCount property, initial PageCount ahould be zero
56 fixed SelectedDataKey, should throw exception if not initialized
57 fixed CreateColumns, wrong order of columns
58 fixed CreateControlStyle,
59 fixed InitializePager, no columnspan attrib on only one column
60 fixed LoadControlState, SaveControlState added DataKeyNames
61 fixed Render, RenderGrid should render within div tag
62 implemented GetPostBackOptions
63 * DataControlButton.cs: fixed Render, fixed style for img button
65 2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
67 * CheckBoxField.cs: fixed InitializeDataCell, tooltip only in edit
70 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
72 * CommandField.cs: fixed ValidateSupportsCallback
74 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
76 * Image.cs: prepare to use HttpBrowserCapabilities. Does not
79 2006-07-17 Andrew Skiba <andrews@mainsoft.com>
81 * SiteMapPath.cs: fixes for SiteMapPathTest.Render_xxx tests.
83 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
85 * WebControl.cs: fix for AddAttributesToRender - add display
86 style when appropriate
88 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
90 * CommandField.cs: fixed InitializeCell, wrong order of command
92 * ImageField.cs: image field with null src and ConvertEmptyStringToNull
93 should be rendered as label
94 * BoundField.cs: empty null value should be rendered as nbsp
95 * GridViewRowCollection.cs: fixed SyncRoot
97 2006-07-16 Andrew Skiba <andrews@mainsoft.com>
99 * SiteMapPath.cs: create Literal instead of Label according to the
100 MSDN and test SiteMapPath_InitializeItem.
102 2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
104 * Style.cs: BorderStyle should be added if BorderWidth greater than 0
105 * Image.cs: in 2.0 there is no border attribute, but border-width
108 2006-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
110 * Button.cs: always render the 'name' attribute. Fixes bug #78746.
112 2006-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
114 * DataList.cs: correctly initialize editable items when there's an
115 EditItemTemplate. Patch by Jarosław Pawlak.
117 2006-07-13 Juraj Skripsky <js@hotfeet.ch>
119 * CheckBox.cs (LoadPostData): the value of a disabled checkbox remains
122 2006-07-13 Vladimir Krasnov <vladimirk@mainsoft.com>
124 * BulletedList.cs: fixed Render, RenderBulletText, various properties
125 * ListItem.cs, ListItemCollection.cs: added Enabled property that is
128 2006-07-12 Vladimir Krasnov <vladimirk@mainsoft.com>
130 * MultiView.cs: 'initied' state variable was changed to views count in
131 the views collection.
133 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
135 * AutoGeneratedField.cs: fixed InitializeDataCell, autogenerated
136 checkbox should have tooltip
137 * HyperLinkField.cs: fixed InitializeCell, should create link control
138 only in data cell (not in header or footer), initialization of
140 * ImageField.cs: fixed InitializeDataCell, initialization of
143 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
145 * MultiView.cs: removed exception throwing from ActiveViewIndex
147 2006-07-11 Konstantin Triger <kostat@mainsoft.com>
149 * DataControlFieldCollection.cs: added OnClearComplete override;
150 refactor to eliminate null reference exception.
152 2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
154 * MultiView.cs: fixed ActiveViewIndex, AddParsedSubObject
155 * View.cs: fixed Visible property
157 2006-07-09 Konstantin Triger <kostat@mainsoft.com>
159 * ImageField.cs: fixing .net compliancy.
161 2006-07-10 Andrew Skiba <andrews@mainsoft.com>
163 * SiteMapPath.cs: fix the default PathSeparator value.
165 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
167 * GridView.cs: always create Header/Fotter rows, but render only when
168 ShowHeader/Footer is true. Compute Header/Footer rows from rows
170 * CheckBoxField.cs: add override to ApplyFormatInEditMode,
171 add ToolTip and Text to the created CheckBox,
172 wrap exception thrown in OnDataBindField in httpException.
174 2006-07-06 Konstantin Triger <kostat@mainsoft.com>
176 * DataControlField.cs,BoundField.cs: bug fixes found by BoundFieldTest.
178 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
180 * DataControlField.cs: correct handling empty header/footer text.
181 * TemplateField.cs: correct initialization according to
184 2006-07-05 Vladimir Krasnov <vladimirk@mainsoft.com>
186 * Wizard.cs: added functionality for Templated WizardStep
188 * added CompleteWizardStep.cs, CreateUserWizard.cs,
189 CreateUserWizardStep.cs, TemplatedWizardStep.cs
191 2006-07-05 Konstantin Triger <kostat@mainsoft.com>
193 * AutoGeneratedField.cs: correcting default dataType.
195 2006-07-03 Vladimir Krasnov <vladimirk@mainsoft.com>
197 * DataControlField.cs: fixed Initialize, should always return false
199 2006-07-03 Lluis Sanchez <lluis@novell.com>
201 * BoundField.cs: Fix setter for HtmlEncode (it was setting always True).
203 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
205 * DataBoundControl.cs: implement MarkAsDataBound and consider it while
206 setting RequiresDataBinding in OnLoad event.
207 * GridView.cs: DataBind rows before other control can access the data.
208 * BoundField.cs: add unique ID to control for postback parameters.
210 2006-07-03 Konstantin Triger <kostat@mainsoft.com>
212 * WebControl.cs: fix typo in EnableTheming.
214 2006-07-02 Konstantin Triger <kostat@mainsoft.com>
216 * MenuItemCollection.cs: save items if the collection is dirty.
217 * MenuItem.cs: During data binding: initialize Text and invoke binding recoursively.
218 Add item to collection before binding to let the state be correctly tracked.
219 * Menu.cs: Add item to collection before binding to let the state be correctly
222 2006-06-28 Juraj Skripsky <js@hotfeet.ch>
224 * RegularExpressionValidator.cs (EvaluateIsValid): wrap regex to
225 test against with "^...$" if necessary. MS.NET does this too.
227 2006-06-28 Vladimir Krasnov <vladimirk@mainsoft.com>
229 * WizardStepCollection.cs: Fixed Add methods to initialize
230 WizardStep.Wizard property
231 * Wizard.cs: Fixed ActiveStepIndex, it should be -1 if there no steps
232 Fixed GetStepType, if only one step present, it should be FinishStep
233 Fixed styles of tables for more accurate rendering, fixed Wizard
236 2006-06-28 Konstantin Triger <kostat@mainsoft.com>
238 * FormView.cs: instantiate correct template when the bounding data source is
241 2006-06-25 Konstantin Triger <kostat@mainsoft.com>
243 * FormView.cs: disabling setting out of range FormView.PageIndex.
245 2006-06-21 Andrew Skiba <andrews@mainsoft.com>
247 * FileUpload.cs: added
249 2006-06-20 Andrew Skiba <andrews@mainsoft.com>
251 * FormView.cs: handle CssClass attribute
253 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
255 * Button.cs: do something in PostBackUrl.
256 * Repeater.cs: when creating the RepeaterItemCollection, initialize
257 'items' if it hasn't been done yet. Fixes bug #78417.
259 2006-06-14 Vladimir Krasnov <vladimirk@mainsoft.com>
261 * BaseDataList.cs: added ConnectToDataSource method that called from
262 OnLoad, fixed GetData method
263 * Wizard.cs: fixed bug when called MoveTo after that control hierarchy
266 2006-06-14 Andrew Skiba <andrews@mainsoft.com>
268 * Menu.cs: add CssStyle value to the rendered class attribute
270 2006-06-13 Juraj Skripsky <js@hotfeet.ch>
272 * Calendar.cs: Make sure WebControls.Enabled is respected.
273 * SelectedDatesCollection.cs: Set time for all DateTime object passed in
274 to 12:00am as MS.NET does the same.
277 2006-06-13 Vladimir Krasnov <vladimirk@mainsoft.com>
279 * Repeater.cs: fixed ConnectToDataSource method, subscribed to
280 DataSourceViewChanged, looks for a datasource in its parent control
281 fixed GetData method, should not get data if datasource is null
283 2006-06-13 Konstantin Triger <kostat@mainsoft.com>
285 * ObjectDataSourceView.cs: raise OnDataSourceViewChanged events when data changes.
287 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
289 * GridView.cs: set the row index from GridRowView if CommandArgument does not contain this information.
291 2006-06-11 Konstantin Triger <kostat@mainsoft.com>
293 * ObjectDataSourceViewTest.cs: return documented default for OldValuesParameterFormatString.
295 2006-05-24 Vladimir Krasnov <vladimirk@mainsoft.com>
297 * DataList.cs: Fixed LoadViewState method
299 2006-05-04 Lluis Sanchez <lluis@novell.com>
301 * BoundField.cs: Added missing throw kyword. Patch by Marek Habersack.
303 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
305 * BaseDataBoundControl.cs: ensure the control is bound if ViewState is disabled.
307 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
309 * FormView.cs: fix FormView.PageCount after data binding.
311 2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
313 * CheckBox.cs: certain attributes have to be rendered in the input tag,
314 not the <span>. Fixes bug #71251.
316 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
318 * BaseDataBoundControl.cs: RequiresDataBinding rebinds if the control prerendered.
321 ensure rebinding when FormView.PageIndex is called.
322 and bind to the correct PageIndex.
324 2006-04-20 Konstantin Triger <kostat@mainsoft.com>
326 * MenuItem.cs: when binding to IHierarchyData, check whether
327 it implements INavigateUIData and retrieve NavigateUrl.
328 * CompositeDataBoundControl.cs: ensures data is bound before creating child controls.
330 Enable DataBinding by not throwing NotImplementedException in OnDataBound event.
331 Provide basic CreateChildControls implementation by ensuring the control is bound.
332 Ensure the child controls are created when the postback event is raised.
333 Provide default implementation for SkipLinkText to let the default functionality to work.
335 2006-04-11 Lluis Sanchez <lluis@novell.com>
337 * TreeNodeBinding.cs: Added HasPropertyValue property
338 to check if some properties have a value in the
340 * TreeNode.cs: Lazily get the dataPath. Instead of getting
341 bound properties when they are requested, get all of
342 them when the node is bound and store their values in
343 the state bag. In this way it won't be necessary to
344 query every time the datasource to get the values.
345 * XmlHierarchyData.cs: Implemented IHierarchyData.Path.
346 * TreeView.cs: Call base in OnInit(). Bind nodes after
347 adding them to the list, to properly keep track of
348 changes. Don't databind in postbacks.
350 2006-04-11 Chris Toshok <toshok@ximian.com>
352 * Login.cs (OnLoggingIn): use Events[loggingInEvent].
354 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
356 * BaseDataList.cs: Fix searching control by DataSourceID.
357 * DataList.cs: Enable binding using DataSourceID for NET_2_0.
360 2006-04-06 Konstantin Triger <kostat@mainsoft.com>
362 * Login.cs: Added LayoutTemplate property support.
363 * LoginView.cs: Added LoggedInTemplate, AnonymousTemplate support.
364 DataBind: correctly bind child controls.
365 Implemented OnViewChanged, OnViewChanging, Render, Save/LoadControlState.
367 2006-03-29 Robert Jordan <robertj@gmx.net>
369 * DataGrid.cs: if custom paging is enabled the persisted item count
370 must be the count of the rendered items, otherwise paging from the
371 last to a previous page won't work correctly. Fixes bug #77556.
373 2006-03-29 Vladimir Krasnov <vladimirk@mainsoft.com>
375 * RepeatInfo.cs: fixed RenderBeginTag to set enabled value of table
376 when rendering disabled list control
378 2006-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
380 * Panel.cs: render the image url inside 'url()'. Fixes bug #77811.
382 2006-03-28 Alexandre Miguel Pedro Gomes <alexmipego@gmail.com>
384 * FontInfo.cs: Implemented ShouldSerializeNames
386 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
388 * DataGrid.cs, DataList.cs, RepeatInfo.cs: added accessablity features
390 2006-03-23 Vladimir Krasnov <vladimirk@mainsoft.com>
392 * DataGrid.cs: fixed CreateControlHierarchy, added CurrentPageIndex
394 in PrepareControlHierarchy fixed style applying to AlternatingItem
396 2006-03-22 Vladimir Krasnov <vladimirk@mainsoft.com>
398 * DataList.cs: fixed RepeatColumns property, added value validation
399 in PrepareControlHierarchy method fixed style applying for
400 AlternatingItem, EditItem and Separator item
401 fixed RenderContents method, if no items exist, no nned to
402 render emty table strructure.
404 2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
406 * CompareValidator.cs: when searching for the control to compare, use
407 NamingContainer instead of Page. Fixes bug #77793.
409 2006-03-15 Chris Toshok <toshok@ximian.com>
411 * SiteMapPath.cs (InitializeItem): in the Current and Root node
412 cases, apply the NodeTemplate if it exists and there isn't a
413 CurrentNodeTemplate or RootNodeTemplate, respectively.
415 2006-03-15 Chris Toshok <toshok@ximian.com>
417 * SiteMapDataSourceView.cs (OnDataSourceViewChanged): override.
419 * SiteMapDataSource.cs (StartingNodeOffset): new property.
420 (GetStartNode): add code to handle StartNodeOffset < 0.
422 * CompositeControl.cs
423 (ICompositeControlDesignerAccessor.RecreateChildControls): just
424 call the non-iface method.
426 * DataBoundControl.cs (GetDataSource): this is likely wrong, but
427 traverse up the naming container tree looking for our datasource
428 if we're bound using a DataSourceID. This fixes things in the
429 sitemap1 test, which uses a mixture of templates and
430 ContentPlaceholders with the sitemapdatasource and sitemappath at
431 different levels in the naming container tree (let along the
434 * SiteMapPath.cs (DataBind): implement this by chaining up to
435 base.DataBind, then by looping over our children, emitting
436 OnItemDataBound for each SiteMapNodeItem.
437 (AddAttributesToRender): remove.
438 (CreateChildControls): call DataBind as the final step here.. I
439 have, of course, no idea if this is right.
440 (CreateControlHierarchy): don't databind our children here, as
441 they need to be in the Controls collection before we do.
442 (RenderContents): render our accessibility/screenreader stuff
443 here, if SkipLinkText != "".
445 2006-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
447 * DataGridPagerStyle.cs: fixed PrevPageText property
449 2006-03-13 Chris Toshok <toshok@ximian.com>
451 * BaseCompareValidator.cs (Convert): make the
452 ValidationDataType.String case a bit more compact.
454 2006-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
457 (RenderContents): don't call base.RenderContents. Fixes bug #77740.
458 Patch by Hubert Fongarnand.
460 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
462 * FontInfo.cs: fixed CopyFrom, this method should not reset the
463 received fontinfo if it is the same instance
464 fixed ToString, corrected output where only font size specified
466 2006-03-13 Vladimir Krasnov <vladimirk@mainsoft.com>
468 * Style.cs: fixed WriteStyleAttributes to set border style to solid,
469 if it not set but the border has width
470 fixes in CopyFrom, MergeWith correct unit compare when it has zero
473 2006-03-12 Vladimir Krasnov <vladimirk@mainsoft.com>
475 * DataGrid.cs: in AddColumnsFromSource method fixed columns from
476 properties of custom class
477 fixed InitializeNumericPager, pager numbers should be a Label control
478 fixed CreateControlHierarchy, corrected dataset index of items if
481 2006-03-09 Vladimir Krasnov <vladimirk@mainsoft.com>
483 * DataList.cs: fixed DoItemInLoop method that fixes itemIndex
485 fixed CreateControlStyle to set correct cellspacing of table style
486 fixed InitializeItem to correct applying template to selected and
489 2006-03-08 Chris Toshok <toshok@ximian.com>
491 * SiteMapNodeType.cs: nuke.
493 * BorderStyle.cs, ButtonColumnType.cs, CalendarSelectionMode.cs,
494 DayNameFormat.cs, ListItemType.cs, ListSelectionMode.cs,
495 NextPrevFormat.cs, PagerMode.cs, PagerPosition.cs,
496 RepeatDirection.cs, RepeatLayout.cs, TableRowSection.cs,
497 TextAlign.cs, TextBoxMode.cs, TitleFormat.cs,
498 ValidationCompareOperator.cs, ValidationDataType.cs,
499 ValidationSummaryDisplayMode.cs, ValidatorDisplay.cs: remove
500 [Serializable] in 2.0.
502 * DayNameFormat.cs: add "Shortest".
504 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
506 * LinkButton.cs: fixed AddAttributesToRender, removed not needed
509 2006-03-08 Vladimir Krasnov <vladimirk@mainsoft.com>
511 * TextBox.cs: fixed missing value validations, fixed rendering
512 of empty value attribute
514 2006-03-07 Chris Toshok <toshok@ximian.com>
516 * WebControl.cs (EnableTheming): leave the MonoTODO, but implement
517 by chaining up to base.EnableTheming.
519 2006-03-07 Vladimir Krasnov <vladimirk@mainsoft.com>
521 * DataList.cs: fixed CreateControlHierarchy, fixes 77693
523 2006-03-06 Vladimir Krasnov <vladimirk@mainsoft.com>
525 * RadioButton.cs: added ValueAttribute property to store the button
527 * RadioButtonList.cs: fixed tab index when rendering.
529 2006-03-02 Chris Toshok <toshok@ximian.com>
531 * WebControl.cs (SkinID): implement setter/getter, and have them
532 just chain up to base.SkinID.
534 2006-02-27 Chris Toshok <toshok@ximian.com>
536 * SqlDataSource.cs: track change to DataSourceControl's protected
539 * AccessDataSource.cs: same.
541 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
543 * ListControl.cs: fixed SelectedIndex property, fixed selection
544 reset on incorrect value
546 2006-02-27 Vladimir Krasnov <vladimirk@mainsoft.com>
548 * TableStyle.cs: fixed AddAttributesToRender function, style
549 BorderCollapse:Collapse was added if table's CellSpacing is zero
551 2006-02-23 Chris Toshok <toshok@ximian.com>
553 * CheckBox.cs, ContentControlBuilderInternal.cs, Content.cs,
554 ContentPlaceHolderBuilder.cs, ContentPlaceHolder.cs,
555 DataControlFieldHeaderCell.cs, DataGridColumn.cs,
556 HierarchicalDataBoundControl.cs, HyperLinkField.cs,
557 ImageButton.cs, ImageField.cs, Literal.cs,
558 ObjectDataSourceView.cs, TextBox.cs: more corcompare work.
560 * BaseCompareValidator.cs, BaseValidator.cs, Button.cs,
561 DataControlField.cs, DetailsView.cs, FormView.cs, GridView.cs,
562 HotSpot.cs, LinkButton.cs, Login.cs, SiteMapDataSource.cs,
563 SqlDataSourceCommandType.cs, TableSectionStyle.cs,
564 TemplateField.cs, TreeNodeCollection.cs, TreeNode.cs, TreeView.cs,
565 ValidationSummary.cs, WizardStepBase.cs: fix tons of corcompare
566 errors. most were caused by a property/method being virtual when
567 it shouldn't be, or vice versa.
569 2006-02-22 Chris Toshok <toshok@ximian.com>
571 * ObjectDataSource.cs: corcompare work.
573 2006-02-22 Chris Toshok <toshok@ximian.com>
575 * ParameterCollection.cs: add an EditorAttribute to the class.
577 * Parameter.cs: cleanup, fix the Value property, and implement the
580 * SqlDataSourceView.cs: clean things up a bit, and add handling
583 2006-02-22 Chris Toshok <toshok@ximian.com>
585 * SqlDataSourceFilteringEventArgs.cs: formatting.
587 * SqlDataSourceSelectingEventArgs.cs: remove ExecutingSelectCount,
588 both the property and ctor arg.
590 * AccessDataSourceView.cs (ExecuteSelect): use SelectingEventArgs,
591 not CommandEventArgs. Also, cast the return value of
592 oleCommand.ExecuteReader.
594 * AccessDataSource.cs (.ctor): fix the ctors and remove FIXME
596 (GetDbProviderFactory): implement naively, and leave a MonoTODO.
597 (GetPhysicalDataFilePath): implement, again naively. this is
598 where the NRE is generated when we access ConnectionString in a
600 (ConnectionString): dynamically generate this based on our
602 (DataFile): clear the ConnectionString in the setter so we'll
604 (ProviderName): use base.ProviderName in the getter, not
605 this.ProviderName, so we don't recurse infinitely.
607 * SqlDataSourceView.cs: start reworking this class.
609 * SqlDataSource.cs (GetDbProviderFactory): implement this,
610 following the MS docs on the matter (if ProviderName is null/"",
611 return SqlClientFactory.Instance.)
612 (GetDbProviderFactoryInternal): add an internal method for use by
614 (TrackViewState): don't invoke View.TrackViewState unless we have
616 (Selecting): change event handler type to match MS.
617 (Filtering): add missing event.
618 (View): call CreateDataSourceView, don't just create an
621 2006-02-21 Chris Toshok <toshok@ximian.com>
623 * BoundField.cs: ues the ViewState.Get* pattern with default
624 instead of the explicit ViewState lookup + null check, and fix the
625 scope of InitializeDataCell.
627 * ButtonField.cs: ues the ViewState.Get* pattern with default
628 instead of the explicit ViewState lookup + null check.
630 * CommandField.cs: same.
634 * AutoGeneratedFieldProperties.cs: same.
636 * BaseDataList.cs: same.
638 * CircleHotSpot.cs: same.
640 * BulletedList.cs: same.
642 * DataBoundControl.cs: same.
644 * CookieParameter.cs: same.
646 * ControlParameter.cs: same.
648 * CustomValidator.cs: same.
650 * ButtonFieldBase.cs: same.
652 * CheckBoxField.cs: same, and fix the scope of InitializeDataCell.
654 * AutoGeneratedField.cs: fix scope of InitializeDataCell.
656 * BaseValidator.cs: same, and clean up the getter/setter formatting.
658 * CompareValidator.cs: same.
660 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
662 * ListControl.cs: fixed DataSource property, to throw
663 ArgumentException on incorrect value
665 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
667 * Image.cs: fixed missing border="0" attribute, when image has style,
668 but border width is not specified.
670 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
672 * CheckBox.cs: fixed InternalAddAttributesToRender, Render to
673 correct the "disabled" attribute in CheckBoxList
674 * CheckBoxList.cs: fixed RenderItem, to correct the "disabled"
675 attribute in CheckBoxList
677 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
679 * CheckBox.cs: fixed Render function, removed rendering of empty
680 <span> element if ControlStyleCreated but it's empty.
681 fixed "disabled" attribute, it should be placed into span element
683 2006-02-20 Vladimir Krasnov <vladimirk@mainsoft.com>
685 * BoundColumn.cs: fixed InitializeCell function, if DataField is
686 null or empty string, the cell should not be bound.
688 2006-02-08 Chris Toshok <toshok@ximian.com>
690 * ListControl.cs (OnDataBinding): in 2.0, only clear our items if
691 AppendDataBoundItems != false. Also, split all the databinding
692 logic out to DoDataBinding, which we call from here only if
694 (DoDataBinding): new function. actually perform the binding.
695 (PerformDataBinding): implement.
696 (PerformSelect): chain up to base class.
698 2006-02-07 Chris Toshok <toshok@ximian.com>
700 * ContentPlaceHolder.cs: fix ToolboxDataAttribute.
702 * Content.cs: use ContentControlBuilderInternal, and add a bunch
703 of unused (for now) EventHandler's here.
705 * ContentControlBuilderInternal.cs: rename ContentControlBuilder
708 2006-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
710 * ListControl.cs: bound checking for Items when loading the control
711 state, as the number might have been changed on the fly. Patch by
714 2006-01-22 Chris Toshok <toshok@ximian.com>
716 * CheckBox.cs: s/GetPostBackClientEvent/GetPostBackEventReference.
718 * MultiView.cs (OnBubbleEvent): case the rhs to a string to get
719 the intended comparison right and quiet mcs.
721 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
723 * Button.cs: Add semicolon after client script if does not exist.
725 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
727 * Button.cs: preserve user logic when adding client validation.
729 2006-01-15 Konstantin Triger <kostat@mainsoft.com>
731 * BaseValidator.cs: fixing visibility bahavior
733 2006-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
735 * RangeValidator.cs: allow empty data from the control. Patch from Marek
736 Habersack that fixes bug #77239.
738 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
740 * Calendar.cs: use the DateTimeFormatInfo from the current thread. Patch
741 by Cyrille Colin. Closes bug #77184.
743 2006-01-08 Konstantin Triger <kostat@mainsoft.com>
745 * PagedDataSource.cs, DataGrid.cs: TARGET_JVM changes to let the
746 compilation pass with csc 1.1.
748 2005-12-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
750 * DropDownList.cs: HtmlEncode the item text. Fixes bug #76949.
752 2005-12-07 Chris Toshok <toshok@ximian.com>
754 * BaseValidator.cs: in the uplevel rendering case, don't render
755 the text if the validator's Display attribute is "None". Should
758 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
760 * RadioButton.cs: if the 'value' attribute is set explicitly (as
761 RadioButtonList does now), use that as the 'name' attribute.
762 * RadioButtonList.cs: set the AutoPostBack and Enabled properties of
767 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
769 * CheckBox.cs: add possible 'internal' attributes to the input tag. Fix
770 the 'name' attribute when not aligninng to the right.
771 * RadioButton.cs: use NameAttribute instead of GroupName when indexing
772 the collection. Raise the OnCheckedChanged event. Fixes bug #76710.
774 2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
776 * DataGrid.cs: clear the control collection on every call to
777 CreateControlHierarchy. Fixes bug #76732.
779 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
781 * ListBox.cs: Rows and SelectionMode are virtual in 1.1
783 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
785 * CheckBox.cs: use the NameAttribute property for setting 'name'.
786 * RadioButton.cs: get a UniqueID based identifier for 'name'.
789 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
791 * LinkButton.cs: don't output any javascript when the linkbutton is
792 disabled. Fixes bug #76713.
794 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
796 * DataGrid.cs: use TableHeaderCell instead of TableCell for headers when
797 UseAccesibleHeader property is true. Patch by Robert Jordan.
799 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
801 * BaseValidator.cs: 'controltovalidate' must be the ClientID of the
802 control to validate. Fixes bug #76641.
804 2005-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
806 * BoundColumn.cs: when the column is readonly and we're in edit mode,
807 keep it as a TextBox. Fixes bug #76714.
809 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
811 * ListBox.cs: render the 'onchange' attribute when AutoPostback is
812 enabled. Fixes bug #76608.
814 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
816 * CheckBox.cs: AddAttributesToRender was extra in 1.1, so moved all
817 the logic to Render and make it render the ID, which fixes bug #76596.
819 2005-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
821 * Repeater.cs: someone forgot the curly brackets. Fixes bug 76537.
823 2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
825 * Literal.cs: allow LiteralControl as child, but instead of adding it
826 to the control collection, it just gets the Text out of it.
828 2005-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
830 * PagedDataSource.cs: fix range when we're at the last page.
831 * DataGrid.cs: only need to keep the item count in the viewstate.
834 2005-10-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
836 * ListControl.cs: made GetSelectedIndices() internal.
837 * ListBox.cs: html-encode the item text. Fixed single and multiple
838 selection handling. All the tests pass now. Closes bug #76478.
840 2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
842 * ListControl.cs: throw when the selected value is not in the
843 items collection. Fixes bug #76415.
845 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
847 * BaseDataList.cs: Type.GetTypeCode was fixed and now does not
848 throw a nullref, so we have to do it by ourselves here to make
851 * BaseValidator.cs: render the text of the error message even if
852 we set IsValid programatically. Don't use 'valid' directly, as
857 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
859 * CustomValidator.cs: an empty ControlToValidate is valid.
861 2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
863 * RequiredFieldValidator.cs: Added missing permissions.
865 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
867 * DataList.cs: copied and adapted PrepareControlHierarchy from DataGrid.
868 Now the items get the attributes from the styles in datalist. Add the
869 separators after each item, not before. GetItemStyle returns the actual
870 item style, not the styles in the datalist. Fixes bug #76384 and all
873 2005-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
875 * Style.cs: add a 'border-style: solid' to make IE happy. Fixes bug
878 2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
880 * TemplateColumn.cs: SelectedItem was missing from the select (). Fixes
883 2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
885 * FontInfo.cs: Gendarme strikes again. Sealed class have no need for
887 * FontUnit.cs: Structs are sealed so there's no need for inheritance
889 * Unit.cs: Structs are sealed so there's no need for inheritance
892 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
894 * PagedDataSource.cs: fix the upper bound for collection and ilist
897 2005-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
899 * DataGrid.cs: change the ListItemType for the item selected, set
900 SelectedIndex before calling OnSelectedIndexChanged and set the selected
901 item type correctly when creating the columns. Fixes bug #76334.
904 * EditCommandColumn.cs: use a ForeColorLinkbutton, otherwise when
905 selecting the row, the button keep the regular link color.
907 * DataGridColumn.cs: made the class internal.
909 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
911 * DataGrid.cs: fix breakaga of alternating item style in one of my
914 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
916 * Calendar.cs: remove Console.
917 * ListBox.cs: the name is the UniqueID, not the ClientID.
918 * WebControl.cs: Attributes is case insensitive.
920 2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
922 * ImageButton.cs: use UniqueID in LoadPostData and also try just the
923 UniqueID without appending a ".x" or ".y". Fixes several issues in
924 mojoPortal. Thanks to Joe Audetter for his patience.
926 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
928 * ButtonColumn.cs: it was lacking databinding, so copied most of it
931 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
933 * FontInfo.cs: removed useless ctor.
934 * Style.cs: keep here some commented out debugging code.
935 * DataGrid.cs: the Items property does not create a new arraylist if
936 the items_list was already initialized. Add case for Separator.
937 * DataGridColumn.cs: when sorting is enabled, the linkbutton rendered
938 in the header columns has a special ForeColor handling.
940 2005-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
942 * DataGrid.cs: PageCount must persist in ViewState too and returns the
943 number of pages in the paged data source once we set that. Fix checks
944 for visibility of the pager: no more 2 pagers when custom paging is
947 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
949 * ImageButton.cs: fix a bug reported on the list. We were triggering the
950 command event on every POST. And the 'name' attribute was not being
951 rendered, so the 'x,y' coordinates didn't have 'uniqueid.' prepended
952 and we couldn't find the values.
954 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
956 * DataGrid.cs: fix the links for the numeric pager.
958 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
960 * DataGrid.cs: when paging is enable, the actual number of items is not
961 the number of items rendered before the postback, but that number times
962 the number of pages. Now we store the page count in the viewstate. Also,
963 as the number might be big, don't allocate an array of objects to fake
964 the collection for the PagedDataSource, but use the new NCollection
965 class instead, which provides cheap (memory wise) enumerator for an
966 arbitrary number of items. Thanks to "Adriano" for the test case.
968 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
970 * Xml.cs: the show must go on. Removed a few NotImplemented.
972 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
974 * Button.cs: implemented 2.0 RaisePostBackEvent in terms of the
975 existing code in 1.1 (or viceversa). RenderContents() does nothing.
977 * DataGrid.cs: changed autoid api.
979 * EditCommandColumn.cs: only 'Update' causes validation.
981 * TableCell.cs: changed autoid api. RenderContents checks the number
982 of controls to decide what to do, not the value of Text in the
985 * TableRow.cs: changed autoid api.
987 * BoundColumn.cs: SelectedItem was missing when attaching a DataBind
988 event. When we get an EditItem, we need a TextBox to be created and
989 this one will be the one that gets the event. Changed
990 ItemDataBinding to deal with a TextBox too.
992 2005-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
994 * PagedDataSource.cs: fix IsLastPage. All tests pass.
995 * DataGrid.cs: InitializePager always add a cell and it's brand new. No
996 need to keep the old one in a field. Now all tests pass here too.
998 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1000 * PagedDataSource.cs: don't use the properties when they just return a
1001 field. Fixed Count when paging is enabled. In GetEnumerator, IList goes
1002 before ICollection (otherwise, an IList will always fall under the
1003 ICollection case). The enumerator for lists will be empty if 'start'
1004 is beyond the list size. All existing tests pass, but one in
1005 DataGridTest that fails because of some problem with the paging.
1007 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1009 * Style.cs: fix the 2.0 build.
1011 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1013 * Style.cs: avoid unnecesary creation of a CssStyleCollection and
1014 instead write the style attributes directly to the HtmlTextWriter.
1016 * CheckBox.cs: adapted to new API.
1018 * DataGrid.cs: handle null data sources. Fixed the contions that make
1019 the table to be added to the Controls collection.
1021 * Calendar.cs: the table needed an ID and the attributes from the
1022 parent. Also don't create the ControlStyleCollection if it has not
1023 already been created.
1025 2005-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1027 * DataGrid.cs: handle null data sources. Fixed the contions that make
1028 the table to be added to the Controls collection.
1030 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1032 * Calendar.cs: TrackViewState should be called upon creation, not on
1033 every get_XXX call. Cleanup.
1035 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1037 * DataGrid.cs: fix another test. The ID of the table generated by the
1038 datagrid is set to the one on the datagrid if no one set the ID for the
1041 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1043 * ListControl.cs: this fixes TestValueFieldAndTextFormat from
1046 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1048 * FontUnit.cs: use a table for FontSize names, as the X{1,2}.* ones are
1049 converted to string as X{1,2}-.*. All FontUnitTests pass now.
1050 * Unit.cs: throw a format exception when there's not number or minus
1051 sign in the first non-whitespace character.
1053 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1055 * ListControl.cs: SelectedIndex/SelectedValue can be set before
1056 DataBinding () is called on the control, so we have to keep this values
1057 around and use them after the data is read. If both properties are
1058 used, they must refer to the same item.
1060 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1062 * DataList.cs: fill in the data keys from BaseDataList so that the
1063 events can see them. Only assign DataItem when using data binding and
1064 nullify it after all events are raised.
1066 2005-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1068 * DataList.cs: OnItemCommand() is raised any time OnBubbleEvent is
1071 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
1073 * Button.cs: For 2.0 don't add the "name" attribute unless there's an
1075 * DataGrid.cs: Fix TagKey (table) for 2.0.
1076 * DataList.cs: Revert 2.0 specific stuff that was changed in RC.
1077 * DropDownList.cs: For 2.0 don't add the "name" attribute unless
1079 * ListBox.cs: For 2.0 don't add the "name" attribute unless there's an
1081 * RoleGroupCollection.cs: Fix "extra" exception in Remove method.
1082 * Style.cs: Fixed (2.0) RegisteredCssClass to returns String.Empty
1084 * TextBox.cs: For 2.0 don't add the "name" attribute unless there's an
1086 * TreeView.cs: Added declarative security (Link and Inheritance
1087 demands) for Minimal.
1088 * XmlDataSource.cs: Added declarative security (Link and Inheritance
1089 demands) for Minimal.
1091 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
1093 * FontUnit.cs: Added, but only for 1.x, declarative security (Link and
1094 Inheritance demands) for Minimal.
1095 * Label.cs: Added declarative security (Link and Inheritance demands)
1097 * ListItem.cs: Added declarative security (LinkDemands) for Minimal.
1098 * ListItemCollection.cs: Added declarative security (LinkDemands) for
1100 * MonthChangedEventArgs.cs: Added declarative security (Link and, for
1101 2.0, Inheritance demands) for Minimal.
1102 * PagedDataSource.cs: Added declarative security (LinkDemands) for
1104 * Panel.cs: Added declarative security (Link and Inheritance demands)
1106 * Repeater.cs: Added declarative security (Link and Inheritance
1107 demands) for Minimal.
1108 * RepeatInfo.cs: Added declarative security (LinkDemands) for Minimal.
1109 * SelectedDatesCollection.cs: Added declarative security (LinkDemands)
1111 * TargetConverter.cs: Added declarative security (Link and Inheritance
1112 demands) for Minimal.
1113 * Unit.cs: Added, but only for 1.x, declarative security (Link and
1114 Inheritance demands) for Minimal.
1115 * ValidatedControlConverter.cs: Added declarative security (Link and
1116 Inheritance demands) for Minimal.
1117 * WebColorConverter.cs: Added declarative security (Link and
1118 Inheritance demands) for Minimal.
1119 * Xml.cs: Added declarative security (Link and Inheritance demands)
1121 * ValidationSummary.cs: Added declarative security (Link and
1122 Inheritance demands) for Minimal.
1124 2005-09-23 Sebastien Pouliot <sebastien@ximian.com>
1126 * UnitConverter.cs: Remove conversion from Unit (see unit tests).
1128 2005-09-22 Ben Maurer <bmaurer@ximian.com>
1130 * BulletedList.cs: Remove the cacheEnabled thing. I was thinking
1131 it took O(height) time, not O(1).
1133 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
1135 * CheckBoxList.cs: Fix unit test failure (which matched bug #48802).
1137 2005-09-21 Sebastien Pouliot <sebastien@ximian.com>
1139 * AdCreatedEventArgs.cs: Added declarative security (Link and, for
1140 2.0, Inheritance demands) for Minimal.
1141 * BaseCompareValidator.cs: Added declarative security (Link and
1142 Inheritance demands) for Minimal.
1143 * BaseDataBoundControl.cs: Added declarative security (Link and
1144 Inheritance demands) for Minimal.
1145 * BaseValidator.cs: Added declarative security (Link and Inheritance
1146 demands) for Minimal.
1147 * BoundColumn.cs: Added declarative security (Link and Inheritance
1148 demands) for Minimal.
1149 * ButtonColumn.cs: Added declarative security (Link and Inheritance
1150 demands) for Minimal.
1151 * CalendarDay.cs: Added declarative security (Link and Inheritance
1152 demands) for Minimal.
1153 * CheckBoxList.cs: Added declarative security (Link and Inheritance
1154 demands) for Minimal.
1155 * CompareValidator.cs: Added declarative security (Link and
1156 Inheritance demands) for Minimal.
1157 * CustomValidator.cs: Added declarative security (Link and Inheritance
1158 demands) for Minimal.
1159 * DataBoundControl.cs: Added declarative security (Link and
1160 Inheritance demands) for Minimal.
1161 * DataGridItemCollection.cs: Added declarative security (Link and
1162 Inheritance demands) for Minimal.
1163 * DataKeyCollection.cs: Added declarative security (LinkDemands) for
1165 * DataListItemCollection.cs: Added declarative security (LinkDemands)
1167 * DataListItem.cs: Added declarative security (Link and Inheritance
1168 demands) for Minimal.
1169 * FontNamesConverter.cs: Added declarative security (Link and
1170 Inheritance demands) for Minimal.
1171 * HyperLink.cs: Added declarative security (Link and Inheritance
1172 demands) for Minimal.
1173 * HyperLinkColumn.cs: Added declarative security (Link and Inheritance
1174 demands) for Minimal.
1175 * Image.cs: Added declarative security (Link and Inheritance demands)
1178 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1180 * BaseDataList.cs: it's the DataKeysArray what is stored in "DataKeys",
1182 * DataGrid.cs: add the keys to BaseDataList.DataKeysArray. When using
1183 a data source, first try reflection, then componentmodel. If we get
1184 an enumerator, keep it around, as MS only calls GetEnumerator once.
1185 Throw an exception if no columns can be created from the given data
1186 source. Tested with DbDataRecord, DataTable, ArrayList and
1187 ICustomTypeDescriptor.
1189 2005-09-20 Sebastien Pouliot <sebastien@ximian.com>
1191 * AccessDataSource.cs: Added declarative security (Link and Inheritance
1192 demands) for Minimal. Added [ToolboxBitmap] on class.
1193 * AdRotator.cs: Added declarative security (Link and Inheritance
1194 demands) for Minimal. Removed extra Page and ViewState properties.
1195 * BulletedList.cs: Added declarative security (Link and Inheritance
1196 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1197 * Button.cs: Added declarative security (Link and Inheritance demands)
1198 for Minimal. Added [SupportsEventValidation] on class (2.0).
1199 * Calendar.cs: Added declarative security (Link and Inheritance
1200 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1201 * CheckBox.cs: Added declarative security (Link and Inheritance
1202 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1203 * CompositeControl.cs: Added declarative security (Link and Inheritance
1204 demands) for Minimal. Added new protected RecreateChildControls method.
1205 * DataControlCommands.cs: Added declarative security (LinkDemands) for
1206 Minimal. Added private ctor.
1207 * DataGrid.cs: Added declarative security (Link and Inheritance
1208 demands) for Minimal. Fixed properties for 2.0 (mostly removing
1209 [Bindable]). Added override for TagKey property.
1210 * DataGridColumn.cs: Added declarative security (Link and Inheritance
1211 demands) for Minimal. Added [UrlProperty] on HeaderImageUrl (2.0).
1212 * DataGridItem.cs: Added declarative security (Link and Inheritance
1213 demands) for Minimal. Added IDataItemContainer interface for 2.0.
1214 * DataGridPagerStyle.cs: Added declarative security (LinkDemands) for
1215 Minimal. Remove [Bindable] from 2.0 and add [Localizable].
1216 * DataList.cs: Removed [Load|Save]ControlState methods.
1217 * DropDownList.cs: Added declarative security (Link and Inheritance
1218 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1219 * EditCommandColumn.cs: Added declarative security (Link and
1220 Inheritance demands) for Minimal. Added missing attributes,
1221 [DefaultValue] and [Localize] for 2.0.
1222 * FontInfo.cs: Added declarative security (Link and Inheritance
1223 demands) for Minimal. Remove [Bindable] and added [RefreshProperties]
1225 * Login.cs: Added declarative security (Link and Inheritance demands)
1226 for Minimal. Fixed IsStyleEmpty. Removed extra [Themeable] attributes.
1227 * ImageButton.cs: Added declarative security (Link and Inheritance
1228 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1229 * LinkButton.cs: Added declarative security (Link and Inheritance
1230 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1231 * ListBox.cs: Added declarative security (Link and Inheritance demands)
1232 for Minimal. Added [SupportsEventValidation] on class (2.0).
1233 * Literal.cs: Added declarative security (Link and Inheritance demands)
1234 for Minimal. Removed [EditorBrowsable] on CreateControlCollection method.
1235 * LoginStatus.cs: Added missing [Themeable] attributes on properties.
1236 * MenuItemStyle.cs: Changed IsEmpty to public (required to compile -
1237 but will be shown as extra).
1238 * RadioButton.cs: Added declarative security (Link and Inheritance
1239 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1240 * RadioButtonList.cs: Added declarative security (Link and Inheritance
1241 demands) for Minimal. Added [SupportsEventValidation] on class (2.0).
1242 * RangeValidator.cs: Added declarative security (Link and Inheritance
1243 demands) for Minimal. Added missing [Themeable] attributes.
1244 * RegularExpressionValidator.cs: Added declarative security (Link and
1245 Inheritance demands) for Minimal. Remove [Bindable] from 2.0 and add
1247 * RoleGroupCollection.cs: Added declarative security (Link and
1248 Inheritance demands) for Minimal. Fixed base class (changed in RC).
1249 Re-implemented CopyTo. Removed some methods.
1250 * Style.cs: Added declarative security (Link and Inheritance demands)
1251 for Minimal. Remove static IsStyleEmpty and ToString (from 2.0). IsEmpty
1252 is now public in 2.0.
1253 * Table.cs: Added declarative security (Link and Inheritance demands)
1254 for Minimal. Added [SupportsEventValidation] on class (2.0).
1255 * TableCell.cs: Fixed PersistenceMode for 2.0.
1256 * TextBox.cs: Added declarative security (Link and Inheritance demands)
1257 for Minimal. Added [SupportsEventValidation] on class (2.0).
1258 * TreeNodeStyle.cs: Changed IsEmpty to public (required to compile -
1259 but will be shown as extra).
1260 * WebControl.cs: Added declarative security (Link and Inheritance
1261 demands) for Minimal. Removed [EditorBrowsable] on ControlStyleCreated
1264 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1266 * TableStyle.cs: fixed typo that prevented restoring GridLines from
1269 * DataGrid.cs: the table does not get an auto ID. When restoring from
1270 viewstate, use all the saved columns, not just that data bound ones. Set
1271 the owner of the BoundColumns created. Save/restore columns.
1272 OnItemCreated happens after the item is initialized and the data item is
1273 set before the event and nullified after OnItemDataBound.
1274 Add the render_table to the Controls immediately, otherwise we might get
1275 errors from child controls such as "must be rendered inside a form".
1276 Keep the items created in the list waiting for them.
1277 The table uses the attributes from the DataGrid and ControlStyle.
1278 Raise OnItemCommand on all bubble events and don't propagate bubble
1279 event up in the hierarchy
1281 * TableCell.cs: it does not get an automatic ID.
1282 * BoundColumn.cs: FormatDataValue returns an empty string on null input
1283 (there was already a test for this).
1287 2005-09-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1289 * DataGridColumnCollection.cs: track the view state in the newly added
1292 2005-09-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1294 * DataGrid.cs: merge column styles too. Fixes bug #76106.
1295 * DataGridColumn.cs: new internal method to retrieve the styles without
1296 creating an instance for them.
1298 2005-09-15 Sebastien Pouliot <sebastien@ximian.com>
1300 * DataControlField.cs, HotSpot.cs, MenuItem.cs, Parameter.cs,
1301 Style.cs, TreeNode.cs: Replace _empty_ StateBag.SetDirty () with
1302 StateBag.SetDirty (true).
1304 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
1306 * Menu.cs: Fixed parameter orders for CreateStyleRule.
1308 2005-09-13 Chris Toshok <toshok@ximian.com>
1310 * Style.cs: corcompare stuff.
1312 * RequiredFieldValidator.cs: more corcompare stuff.
1314 * CheckBoxList.cs: clean up some of the interface methods vs
1315 protected virtual 2.0 calls.
1317 * SubMenuStyle.cs: corcompare says this should implement
1318 ICustomTypeDescriptor... sooo, make it.
1320 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1322 * TableCell.cs: do the same as HyperLink and others in
1323 AddParsedSubobject so that adding a literal control does not remove the
1324 existing controls if any. Fixes bug #76078.
1326 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1328 * GridView.cs: don't duplicate class attribute. Fixes bug #75936.
1330 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1332 * ImageButton.cs: fix invalid cast exception.
1334 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1336 * ListItem.cs: throw in AddParsedSubObject if the object is not a
1338 * RadioButtonList.cs: implemented LoadPostData and
1339 RaisePostDataChangedEvent.
1341 2005-09-09 Chris Toshok <toshok@ximian.com>
1343 * CheckBox.cs, CheckBoxList.cs, DropDownList.cs, ImageButton.cs,
1344 ListBox.cs, RadioButton.cs, RadioButtonList.cs, TextBox.cs: fix up
1345 LoadPostData/RaisePostDataChangedEvent.
1347 2005-09-09 Chris Toshok <toshok@ximian.com>
1349 * FontInfo.cs (IsEmpty): new internal property, used by
1352 * Style.cs (IsEmpty): make sure the fontinfo is null or empty as
1355 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1357 * ListItemCollection.cs: remove obsoleted methods.
1358 * ListBox.cs: use IStateManager on the item collection.
1360 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
1362 * Use C# 1.0 style of delegate instantiating. Needed to compile
1363 Grasshopper (TARGET_J2EE) which uses MS C# 1.0 compiler and not msc.
1365 2005-09-07 Chris Toshok <toshok@ximian.com>
1367 * Calendar.cs (WriteDay): always add BackColor=Silver,
1368 ForeColor=White to selected day cells, before copying over the
1369 selectedDayStyle, if it exists.
1370 (WriteDays): fix nunit test - if the first day of the month falls
1371 on the first day of the week, go back one week (effectively adding
1372 a row of dates from the previous month.)
1373 (WriteTitle): don't copy the control style to the tableTitle,
1374 since it might have height specifications, which would make the
1375 title look rather off.
1377 2005-09-07 Chris Toshok <toshok@ximian.com>
1379 * ValidationSummary.cs (AddAttributesToRender): we only set
1380 display=none if there are no errors.
1382 * BaseValidator.cs (OnPreRender): fix a JS error - on submit we
1383 call ValidatorOnSubmit, not ValidatorCommonOnSubmit.
1385 2005-09-07 Chris Toshok <toshok@ximian.com>
1387 * ListControl.cs (SelectedIndex): add comment about how you'd
1388 think OnSelectedIndexChanged would be called.. and you'd be wrong.
1389 (Text): implement in terms of SelectedValue.
1390 (TagKey): do the HAVE_CONTROL_ADAPTERS two-step.
1391 (LoadControlState): implement - this is where the selected index
1392 ArrayList gets stuffed in 2.0.
1393 (OnInit): call Page.RegisterRequiresControlState.
1394 (OnTextChanged): implement.
1395 (RenderContents): for now just chain up to base.RenderContents.
1396 (SaveControlState): save our control state properly.
1397 (GetSelectedIndices): split this out from SaveViewState to it can
1398 be used by both that and SaveControlState.
1399 (SaveViewState): mangle this function so it works in both 2.0 and
1401 (LoadViewState): same.
1403 2005-09-06 Chris Toshok <toshok@ximian.com>
1405 * BaseValidator.cs (AddAttributesToRender): render our ClientID if
1406 we weren't assigned an ID.
1408 * ValidationSummary.cs (AddAttributesToRender): same.
1410 2005-09-06 Chris Toshok <toshok@ximian.com>
1412 * WebControl.cs: revert the last change.
1414 2005-09-06 Chris Toshok <toshok@ximian.com>
1416 * WebControl.cs (AddAttributesToRender): always render ClientID.
1418 * ValidationSummary.cs (Render): same.
1420 * BaseValidator.cs (RegisterValidatorDeclaration): use ClientID
1423 2005-09-06 Chris Toshok <toshok@ximian.com>
1425 * ValidationSummary.cs (Render): only do the JS stuff when the
1426 validators on the page are uplevel.
1428 * BaseValidator.cs (Render): remove unnecessary comment.
1430 2005-09-05 Chris Toshok <toshok@ximian.com>
1432 * BaseDataBoundControl.cs (DataSourceID): testing reveals this is
1433 stored in the ViewState.
1435 2005-09-02 Chris Toshok <toshok@ximian.com>
1437 * Repeater.cs (GetData): change this slightly so the Repeater
1438 doesn't keep a ref to the return value of GetData.
1440 2005-09-01 Chris Toshok <toshok@ximian.com>
1442 * ListControl.cs (AppendDataBoundItems): implement (2.0)
1445 2005-09-01 Chris Toshok <toshok@ximian.com>
1447 * System.Web.UI.WebControls/MonthChangedEventArgs.cs,
1448 System.Web.UI.WebControls/ValidatedControlConverter.cs,
1449 System.Web.UI.WebControls/Xml.cs,
1450 System.Web.UI.WebControls/RegularExpressionValidator.cs,
1451 System.Web.UI.WebControls/ServerValidateEventArgs.cs,
1452 System.Web.UI.WebControls/Menu.cs,
1453 System.Web.UI.WebControls/MailMessageEventArgs.cs,
1454 System.Web.UI.WebControls/MenuItemStyle.cs,
1455 System.Web.UI.WebControls/RangeValidator.cs,
1456 System.Web.UI.WebControls/RepeaterItemEventArgs.cs,
1457 System.Web.UI.WebControls/MenuItem.cs,
1458 System.Web.UI.WebControls/RepeaterCommandEventArgs.cs,
1459 System.Web.UI.WebControls/DataGridSortCommandEventArgs.cs,
1460 System.Web.UI.WebControls/DataGridCommandEventArgs.cs,
1461 System.Web.UI.WebControls/DataGridPageChangedEventArgs.cs,
1462 System.Web.UI.WebControls/XmlBuilder.cs,
1463 System.Web.UI.WebControls/ImageButton.cs: someone stop me. more
1466 2005-09-01 Chris Toshok <toshok@ximian.com>
1468 * System.Web.UI.WebControls/Button.cs,
1469 System.Web.UI.WebControls/ButtonField.cs,
1470 System.Web.UI.WebControls/DataControlField.cs,
1471 System.Web.UI.WebControls/BaseCompareValidator.cs,
1472 System.Web.UI.WebControls/AutoGeneratedField.cs,
1473 System.Web.UI.WebControls/CustomValidator.cs,
1474 System.Web.UI.WebControls/Content.cs,
1475 System.Web.UI.WebControls/BoundField.cs,
1476 System.Web.UI.WebControls/AdRotator.cs,
1477 System.Web.UI.WebControls/ButtonColumn.cs,
1478 System.Web.UI.WebControls/CompareValidator.cs,
1479 System.Web.UI.WebControls/AdCreatedEventArgs.cs: More corcompare
1480 work. Stub things out, and add attributes.
1482 2005-09-01 Chris Toshok <toshok@ximian.com>
1484 * Button.cs, ButtonField.cs, FontInfo.cs, Style.cs, Xml.cs,
1485 CommandField.cs, HyperLinkColumn.cs, Table.cs,
1486 RegularExpressionValidator.cs, DataGridPagerStyle.cs, Label.cs,
1487 CheckBox.cs, RadioButton.cs, TableStyle.cs, ListControl.cs,
1488 Image.cs, BaseCompareValidator.cs, BaseDataList.cs, DataList.cs,
1489 TemplateColumn.cs, RangeValidator.cs, ImageField.cs,
1490 BaseValidator.cs, CustomValidator.cs, TextBox.cs,
1491 ButtonFieldBase.cs, BoundField.cs, CheckBoxList.cs,
1492 RadioButtonList.cs, RequiredFieldValidator.cs, AdRotator.cs,
1493 Repeater.cs, DropDownList.cs, CheckBoxField.cs, HyperLink.cs,
1494 XmlDataSource.cs, Panel.cs, DataGrid.cs, ButtonColumn.cs,
1495 CompareValidator.cs, Calendar.cs, ListBox.cs, TableCell.cs,
1496 WebControl.cs, Literal.cs, ValidationSummary.cs, ImageButton.cs,
1497 TableRow.cs, LinkButton.cs, DataGridColumn.cs, BoundColumn.cs,
1498 TableItemStyle.cs: Add some WebCategory and WebSysDescription
1501 2005-09-01 Chris Toshok <toshok@ximian.com>
1503 * AccessDataSource.cs: corcompare work.
1505 * SqlDataSource.cs: same.
1507 2005-09-01 Miguel de Icaza <miguel@novell.com>
1509 * Various places: make sure that the DefaultValue matches the
1510 type. Thanks to Michael for pointing this out.
1512 In future audits, you might want to use the following awk command:
1514 awk '/DefaultValue/ { v=$0; looking = 1; } /public/ && looking &&
1515 !/string/ && !/ int / && !/ bool / { print FILENAME; print v;
1516 print $0; looking = 0; } /public/ && looking { looking = 0; } '
1519 The above skips bools, strings and ints as those were fine as we
1520 set them. The bug was on the other ones.
1522 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1524 * Repeater.cs: fix the build.
1526 2005-08-31 Chris Toshok <toshok@ximian.com>
1528 * Repeater.cs: lots of 2.0 work, much of it c&p'ed from
1529 {Base}DataList, and also from debug spew garnered from some
1530 Repeater subclass tests on MS.
1531 (CreateControlHierarchy): in 2.0 if IsBonudUsingDataSourceID get
1532 the IEnumerable by calling GetData().
1533 (DataBind): reset RequiresDataBinding to false (2.0).
1534 (DataMember): copy the set implementation from DataList, and add
1535 2.0 code to call OnDataPropertyChanged if we're !Initialiezd.
1536 (DataSource): more c&p.
1537 (DataSourceID); implement (2.0)
1538 (Initialized): implement (2.0)
1539 (IsBoundUsingDataSource): implement (2.0)
1540 (RequiresDataBinding): implement (2.0)
1541 (SelectArguments): implement (2.0)
1542 (CreateDataSourceSelectArguments): implement (2.0)
1543 (EnsureDataBound): implement (2.0)
1544 (GetData): implement.
1545 (OnDataPropertyChanged): remove the NIE, but leave the MonoTODO
1547 (OnDataSourceViewChanged): set RequiresDataBinding to true, but
1548 leave the MonoTODO. (2.0)
1549 (OnInit): call base.OnInit instead of throwing NIE, but leave the
1551 (OnLoad): implement.
1552 (OnPreRender): implement.
1553 (ConnectToDataSource): new method - look for the right control.
1555 2005-08-31 Chris Toshok <toshok@ximian.com>
1557 * XmlDataSourceView.cs: fix the scope of our select. Don't use
1558 call SelectNodes on the XmlDocument, not on
1559 XmlDocument.DocumentElement.
1561 2005-08-31 Chris Toshok <toshok@ximian.com>
1563 * XmlDataSourceView.cs (.ctor): remove the nodelist parameter.
1564 (DoXPathSelect): put the xpath selection stuff here.
1565 (ExecuteSelect): call DoXPathSelect if we need to (if nodes ==
1568 * XmlDataSource.cs (IDataSource.GetView): don't do the XPath
1569 select here, the view does it.
1571 2005-08-31 Jackson Harper <jackson@ximian.com>
1573 * DataList.cs: Remove some debugging code that was starting to bug
1576 2005-08-31 Chris Toshok <toshok@ximian.com>
1578 * XmlDataSourceNodeDescriptor.cs: implement IXPathNavigable, and
1579 create our Navigator by calling node.CreateNavigator().
1581 2005-08-31 Chris Toshok <toshok@ximian.com>
1583 * XmlDataSource.cs (GetXmlDataDocument): rename this to
1584 GetXmlDocument, and change the return value from XmlDataDocument
1586 (LoadXmlDataDocument): similar change.
1587 (Save): xmlDataDocument -> xmlDocument.
1588 (CanBeSaved): there's no ReadOnly attribute.
1589 (LoadViewState, SaveViewState, TrackViewState): nuke.
1590 (GetHierarchicalView): xmlDataDocument -> xmlDocument.
1591 (CacheDuration): stub out with NIE.
1592 (CacheExpirationPolocy): same.
1593 (CacheKeyDependency): same.
1594 (EnableCaching): same.
1596 (Data, DataFile): xmlDataDocument -> xmlDocument.
1597 (Schema, SchemaFile): nuke.
1598 (Transform, TransformFile): xmlDataDocument -> xmlDocument.
1600 2005-08-30 Lluis Sanchez Gual <lluis@novell.com>
1602 * SubMenuStyle.cs, MenuItemStyle.cs, TreeNodeStyle.cs:
1603 Don't use the obsolete IsSet method.
1604 * Menu.cs: Implement IPostBackEventHandler.RaisePostBackEvent.
1605 * CheckBox.cs: Implement some 2.0 methods.
1606 * GridView.cs: Removed some "throw new NotImplementedException"
1608 2005-08-29 Chris Toshok <toshok@ximian.com>
1610 * TreeView.cs: Use the StateBag accessors Ben added, and implement
1611 SkipLinkText and Visible.
1613 2005-08-29 Chris Toshok <toshok@ximian.com>
1615 * TreeView.cs: fix typo in an attribute.
1617 2005-08-29 Jackson Harper <jackson@ximian.com>
1619 * PagedDataSource.cs: If it's not a list or collection we don't
1620 use a bounded enumerator.
1622 2005-08-29 Chris Toshok <toshok@ximian.com>
1624 * LinkButton.cs: fix some 2.0 Page/ClientScript obsolete warnings.
1626 * CheckBox.cs: same.
1628 * BaseValidator.cs: same.
1630 * DropDownList.cs: same.
1632 * ValidationSummary.cs: same.
1634 2005-08-28 Chris Toshok <toshok@ximian.com>
1636 * XmlHierarchyData.cs: fix IHierarchyData.GetParent.
1638 2005-08-26 Chris Toshok <toshok@ximian.com>
1640 * TextBox.cs: implement ValidationGroup and CausesValidation
1643 2005-08-26 Lluis Sanchez Gual <lluis@novell.com>
1645 * Style.cs: Implemented FillStyleAttributes, GetStyleAttributes and
1648 2005-08-26 Chris Toshok <toshok@ximian.com>
1650 * Unit.cs: implement the 2.0 ToString(IFormatProvider) method.
1652 * FontUnit.cs: add two 2.0 ctors, and the 2.0
1653 ToString(IFormatProvider) method.
1655 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
1657 * CheckListBox.cs: Nothing is rendered (i.e. no empty table) in 2.0 if
1658 no items are present in the list.
1659 * RoleGroup.cs: Added missing attributes.
1660 * RoleGroupCollection.cs: Added missing attributes and some (yet-to-be-
1661 documented) methods.
1662 * TableStyle.cs: *for 2.0* adding a "url({0})" to background image
1663 must be done in the HtmlTextWriter (not in the TableStyle).
1665 2005-08-26 Chris Toshok <toshok@ximian.com>
1667 * Calendar.cs (UseAccessibleHeader): implement.
1668 (RaisePostBackEvent): some #ifdef ugliness to get this all working
1669 propertly between 1.x and 2.0
1670 (WriteDayHeader): if UseAccessibleHeader == true, render header
1671 cells as th's, not td's, and add abbr and scope attributes.
1673 2005-08-25 Chris Toshok <toshok@ximian.com>
1675 * Calendar.cs (Caption, CaptionAlign): implement these properties.
1676 (Render): if we have a non-empty caption, show it.
1677 (WriteCaption): new method, output the caption.
1679 2005-08-25 Chris Toshok <toshok@ximian.com>
1681 * Calendar.cs (Render): Copy the entire style from the Calendar to
1682 the Table, not just the font.
1683 (WriteDay): don't just write the link/text/etc. Create a
1684 LiteralControl as a child of the cell, before the call to
1685 OnDayRender, with its text set to the day number. After
1686 OnDayRender, set the literal's text to either the number again (if
1687 it's not selectable) or the full text of the js __doPostBack
1688 hyperlink (if it is.) Also, use cell.RenderControl here so we can
1689 render child controls with the id's listed properly (and arguably
1691 (ApplyTitleStyleCell): remove.
1692 (WriteTitle): apply the titleStyle to the enclosing table, not the
1693 table cell containing the month name. Also, copy from the
1694 Calendar's ControlStyle to populate tableTitle's style initially.
1695 We end up with more (superfluous) style attributes than MS, but
1696 it's better than having less.
1698 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
1700 * HyperLink.cs: Fixed 2.0 rendering for Alt and Border|BorderWidth when
1703 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
1705 * Style.cs: Implemented 2.0 CopyTextStylesFrom(), SetRegisteredCssClass()
1706 and RegisteredCssClass property
1708 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
1710 * LoginView.cs: Fixed attributes.
1711 * Style.cs: Change SetRegisteredCssClass to internal and not to throw
1712 an exception to allow pages to work on 2.x.
1714 2005-08-25 Chris Toshok <toshok@ximian.com>
1716 * LinkButton.cs (PostBackUrl): correct the UrlProperty attribute.
1718 * Unit.cs: add [Serializable] and the 2.0 specific ToString(), not
1721 * HiddenField.cs: stub out this class and label everything
1724 2005-08-25 Jackson Harper <jackson@ximian.com>
1726 * DataGrid.cs: Disable the pager row if there no paging enabled
1729 2005-08-25 Chris Toshok <toshok@ximian.com>
1731 * SqlDataSourceFilteringEventArgs.cs: add some usings, and fix a
1734 * SqlDataSourceSelectingEventArgs.cs: IDbCommand -> DbCommand, and
1735 add a using statement.
1737 2005-08-25 Chris Toshok <toshok@ximian.com>
1739 * SqlDataSourceFilteringEventArgs.cs: new 2.0 class, as per
1742 * SqlDataSourceFilteringEventHandler.cs: new 2.0 delegate, as per
1745 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
1747 * Login.cs: Added rendering and fixed parts of the authentication.
1748 Now using IStateManager to allow compilation in another assembly (e.g.
1749 to test the control under IIS). Needs more tests (error conditions)
1750 once we get a "real" Membership provider running.
1751 * Style.cs: Fixed IsStyleEmpty (name ;-) and when null is provided
1754 2005-08-25 Chris Toshok <toshok@ximian.com>
1756 * SqlDataSourceCommandType.cs: new 2.0 enum, as per corcompare.
1758 2005-08-25 Chris Toshok <toshok@ximian.com>
1760 * AdRotator.cs: stub out enough of the 2.0 methods/properties by
1761 calling base.Foo to get the standalone adrotator (1.0) tests to
1762 run without throwing exceptions.
1764 2005-08-25 Chris Toshok <toshok@ximian.com>
1766 * ValidationSummary.cs (ValidationGroup): implement.
1767 (Render): use Page.GetValidators in .net 2.0, so we can support
1768 ValidationGroups. Also, <br>'s get rendered as <br /> in .net
1771 2005-08-25 Chris Toshok <toshok@ximian.com>
1773 * ImageButton.cs (TagKey): disable (but flag) the "virtual new"
1774 2.0 attribute modifiers, and revert back to "override".
1776 * ListBox.cs (BorderColor): disable (but flag) the "virtual new"
1777 2.0 attribute modifiers, and revert back to "override".
1778 (BorderStyle): same.
1779 (BorderWidth): same.
1781 * TextBox.cs (SaveViewState): implement naively, calling
1783 (TagKey): disable (but flag) the "virtual new" 2.0 attribute
1784 modifiers, and revert back to "override".
1786 2005-08-25 Peter Dennis Bartok <pbartok@novell.com>
1788 * Style.cs, TableStyle.cs, TableItemStyle.cs, DataGridPagerStyle.cs:
1789 Load ViewState for derived classes; no public LoadViewState override
1790 exists in those classes
1791 * Style.cs: Added 2.0 IsStyleEmpty method
1793 2005-08-25 Jackson Harper <jackson@ximian.com>
1795 * DataGrid.cs: The number of pages set in the pager is specified
1798 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
1800 * LoginView.cs: New (2.0). Work in progress.
1802 2005-08-24 Chris Toshok <toshok@ximian.com>
1804 * Button.cs, DetailsView.cs, FontInfo.cs, Style.cs, Xml.cs,
1805 Menu.cs, ObjectDataSource.cs, CheckBox.cs, RadioButton.cs,
1806 ListControl.cs, SiteMapPath.cs, BulletedList.cs,
1807 DataBoundControl.cs, ListItemCollection.cs, GridView.cs,
1808 Wizard.cs, TextBox.cs, CheckBoxList.cs, RadioButtonList.cs,
1809 PagedDataSource.cs, FormView.cs, AdRotator.cs, Repeater.cs,
1810 DropDownList.cs, MultiView.cs, HierarchicalDataBoundControl.cs,
1811 Calendar.cs, ListBox.cs, WebControl.cs, Literal.cs,
1812 ValidationSummary.cs, ImageButton.cs, LinkButton.cs, TreeView.cs:
1813 Add MonoTODO's for all things that throw NotImplementException.
1815 2005-08-24 Sebastien Pouliot <sebastien@ximian.com>
1817 * RoleGroup.cs: New (2.0). Complete implementation.
1818 * RoleGroupCollection.cs: New (2.0). Mostly complete implementation.
1820 2005-08-23 Chris Toshok <toshok@ximian.com>
1822 * BaseCompareValidator.cs (GetFullYear): it turns out the docs up
1823 on msdn.microsoft.com tell exactly how the .net 2.0 stuff works,
1824 even though they were written for the 1.0 stuff.
1826 2005-08-23 Chris Toshok <toshok@ximian.com>
1828 * RepeatInfo.cs: some massaging to support both the 1.x and 2.0
1829 output. Our tests now pass on both mono and ms, with both 1.x and
1832 2005-08-23 Sebastien Pouliot <sebastien@ximian.com>
1834 * Login.cs: Throw exception if the specified provider doesn't exists.
1835 * LoginStatus.cs: Complete events.
1837 2005-08-22 Jackson Harper <jackson@ximian.com>
1839 * DataGrid.cs (CreateControlHierarchy): Clear out the old pager after creating the
1841 (InitializeNumericPager): Now that the pager actually renders
1842 properly I can see that I was computing it incorrectly.
1844 2005-08-22 Jackson Harper <jackson@ximian.com>
1846 * DataGrid.cs (RenderTable): Make sure the new table gets the
1848 (CreateColumnSet): Clear the data source columnbs before adding
1849 new ones regardless of whether or not a property descriptor was
1851 (InitializePager): pager_cell needs to be a member so it isn't
1852 created more then once per a render.
1853 (InitializeNumericPager): Compute start and end more
1855 - Link commands are 1 indexed.
1856 (CreateControlHierarchy): Clear the table before we begin
1858 - Revert patch that made adding the pagers conditional. This is
1859 incorrect, the pagers are always added. Only their visibility is
1860 affected by the pager style.
1861 - Save the entire count in the viewstate, not just the rendered
1862 count. So when paging is enabled the pager's count isn't broken by
1865 2005-08-22 Chris Toshok <toshok@ximian.com>
1867 * LinkButton.cs (ValidationGroup): implement.
1868 (IPostBackEventHandler.RaisePostBackEvent): in the 2.0 profile,
1869 pass ValidationGroup to Page.Validate.
1871 2005-08-22 Chris Toshok <toshok@ximian.com>
1873 * ImageButton.cs (ValidationGroup): implement.
1874 (IPostBackEventHandler.RaisePostBackEvent): if we cause
1875 validation, call Page.Validate properly (in both profiles).
1877 2005-08-22 Chris Toshok <toshok@ximian.com>
1879 * Button.cs (IPostBackEventHandler.RaisePostBackEvent): in the 2.0
1880 case, pass ValidationGroup to Page.Validate.
1881 (ValidationGroup): implement using ViewState.
1883 2005-08-22 Chris Toshok <toshok@ximian.com>
1885 * BaseValidator.cs (Text): 2.0 only. implement naively, just
1887 (OnInit): add 2.0 support for validation groups.
1890 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
1892 * LoginName.cs: New (2.0) web control.
1893 * LoginStatus.cs: New (2.0) web control.
1895 2005-08-19 Chris Toshok <toshok@ximian.com>
1897 * LinkButton.cs (ValidationGroup): implement getter/setter.
1898 (RaisePostBackEvent): implement naively, by c&p'ing the old
1899 implementation of IPostBackEventHandler.RaisePostBackEvent, but
1900 making use of the ValidationGroup in the call to Page.Validate.
1904 * Style.cs (LoadViewState): set our style flags for all the things
1905 we have flags for. Seems like the subclass flags should be
1906 handled in overridden LoadViewState methods, but none of the Style
1907 subclasses seem to override this method.
1909 2005-08-19 Chris Toshok <toshok@ximian.com>
1911 * TableStyle.cs (Merge, MergeWith): make these look a bit more
1912 like Copy/CopyFrom, with the styles checks instead of just
1915 * TableItemStyle.cs: same, only also make Copy/CopyFrom work as in
1918 2005-08-19 Chris Toshok <toshok@ximian.com>
1920 * DataGrid.cs (InitializePager): don't unconditionally set
1921 pager_cell to the numeric pager (especially after setting it
1922 conditionally to the nextprev pager.)
1923 (InitializeNumericPager): the link buttons don't participate in
1925 (InitializeNextPrevPager): same.
1926 (CreateControlHierarchy): create the top/bottom pagers only if the
1927 PagerStyle says too.
1929 2005-08-19 Sebastien Pouliot <sebastien@ximian.com>
1931 * TableCell.cs: Added AssociatedHeaderCellID property for 2.0.
1933 2005-08-18 Chris Toshok <toshok@ximian.com>
1935 * DataList.cs (CreateControlHierarchy): Call Controls.Clear() at
1936 the start of this method so templates are created properly.
1938 2005-08-18 Dick Porter <dick@ximian.com>
1940 * Button.cs, DetailsView.cs, Xml.cs, Table.cs, Menu.cs,
1941 DataControlButton.cs, Label.cs, ObjectDataSource.cs, CheckBox.cs,
1942 RadioButton.cs, ListControl.cs, Image.cs, SiteMapPath.cs,
1943 BaseDataList.cs, DataList.cs, BulletedList.cs,
1944 DataBoundControl.cs, Login.cs, GridView.cs,
1945 CompositeDataBoundControl.cs, Wizard.cs, BaseValidator.cs,
1946 TextBox.cs, CheckBoxList.cs, RadioButtonList.cs, FormView.cs,
1947 AdRotator.cs, Repeater.cs, MenuItemTemplateContainer.cs,
1948 DropDownList.cs, HyperLink.cs, ImageMap.cs, MultiView.cs,
1949 CompositeControl.cs, HierarchicalDataBoundControl.cs, Calendar.cs,
1950 ListBox.cs, TableCell.cs, WebControl.cs, Literal.cs,
1951 BaseDataBoundControl.cs, ValidationSummary.cs, ImageButton.cs,
1952 LinkButton.cs, TreeView.cs: 2.0 API fixes and stubs, and attribute
1955 2005-08-18 Sebastien Pouliot <sebastien@ximian.com>
1957 * BaseDataList.cs: Added a TODO for DataKeyField as we're not using it
1959 * DataList.cs: Reworked CreateControlHierarchy to avoid allocating an
1960 empty array of objects just to get the number of items.
1961 * Login.cs: Implemented OnBubbleEvent and parts of the authentication
1962 but we're missing some bits from the class lib to complete all this...
1964 2005-08-17 Jackson Harper <jackson@ximian.com>
1966 * DataGrid.cs: Only create one pager and add it to both the top
1967 and bottom of the grid, this way all the id numbers stay the same
1968 and we save a bunch of cycles.
1970 2005-08-17 Jackson Harper <jackson@ximian.com>
1972 * DataGrid.cs: The top and bottom pagers are always created. Just
1973 the visibility is changed by the PagerStyle::Position.
1975 2005-08-17 Chris Toshok <toshok@ximian.com>
1977 * CompositeControl.cs (RecreateChildControls): implement naively -
1978 just call CreateChildControls. We might need to call
1979 Controls.Clear() as well, but for the time being, this is ok.
1981 2005-08-17 Sebastien Pouliot <sebastien@ximian.com>
1983 * BaseDataList.cs: Completed implementation for 2.0.
1985 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
1987 * BaseDataList.cs: Added missing properties/methods/attributes for 2.0.
1988 * DataList.cs: Added missing [Browseable] attribute on SelectedValue.
1990 2005-08-16 Sebastien Pouliot <sebastien@ximian.com>
1992 * BaseDataList.cs: Removed old internal ctor as DataList TagKey was
1994 * DataList.cs: Implemented {Load|Save}ControlState and OnInit (2.0).
1995 Adjusted size and ordering of the ViewState (new element #0 is still
1996 unknown). Properly fixed the TagKey in 2.0.
1997 * Login.cs: Implemented {Load|Save|Track}ViewState. Added checks for
1998 all properties using enums.
1999 * Panel.cs: Fixed NoWrap rendering unit test (for 2.0).
2000 * TableItemStyle.cs: Fixed attribute rendering to use style to render
2001 "nowrap" in 2.0 (it used the HTML nowrap attribute in 1.x).
2003 2005-08-15 Jackson Harper <jackson@ximian.com>
2005 * EditCommandColumn.cs: Use a normal LinkButton.
2007 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
2009 * Image.cs: Don't remove GenerateEmptyAlternateText (2.0) from the
2010 viewstate (even if assigned to the default value).
2011 * TableRow.cs: Implement TableSection property (2.0). It has no effect
2012 on the rendering of the table row.
2014 2005-08-15 Sebastien Pouliot <sebastien@ximian.com>
2016 * BaseDataList.cs: Added new [Themeable] and [Localizable] attributes
2017 and removed [Bindable] attributes for 2.0.
2018 * DataList.cs: Added new 2.0 attributes on class and removed [Bindable]
2019 attributes (for 2.0).
2020 * DataListCommandEventArgs.cs: Not sealed in 2.0.
2021 * DataListItemEventArgs.cs: Not sealed in 2.0.
2022 * Image.cs: Fixed [Designer] attribute on class and all [Editor]
2023 attributes for URLs.
2024 * Login.cs: Fixed [Designer] attribute on class and all [Editor]
2025 attributes for URLs.
2026 * Table.cs: Fixed [Editor] attribute for 2.0.
2027 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
2028 * TableCell.cs: Fixed [Designer] attribute. Fixed property name for
2029 AssociatedHeaderCellID and it's [DefaultValue] attribute.
2030 * TableHeaderCell.cs: Fix [DefaultValue] attributes for CategoryText
2031 and Scope attributes.
2032 * TableRow.cs: Fixed [Designer] attribute. Added missing [DefaultValue]
2033 on TableSection attribute.
2034 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
2036 2005-08-14 Sebastien Pouliot <sebastien@ximian.com>
2038 * Image.cs: Fixed attributes for 2.0 profile.
2039 * Login.cs: Fixed some attributes and default values.
2040 * Table.cs: Fixed attributes for 2.0 profile. Added protected method
2041 RaisePostBackEvent (TODO) in 2.0 profile.
2042 * TableCell.cs: Fix properties (Bindable, Localizable, Designer...)
2043 and added AssociateHeaderCellID property (TODO).
2044 * TableCellCollection.cs: Fixed [Editor] attribute for 2.0.
2045 * TableFooterRow.cs: New (2.0). TableRow that always shows on each
2046 page (if the device requires to breaks the table into multiple pages).
2047 This seems to be a "flag" class, the real work will be in Table.
2048 * TableHeaderCell.cs: Added CategoryText and Scope properties for 2.0.
2049 * TableHeaderRow.cs: New (2.0). TableRow that always shows on each
2050 page (if the device requires to breaks the table into multiple pages).
2051 This seems to be a "flag" class, the real work will be in Table.
2052 * TableItemStyle.cs: Remove [Bindable (true)] from 2.0 profile.
2053 * TableRow.cs: Remove [Bindable (true)] from properties and add
2054 [Bindable (false)] and [Designer] on class. Added new TableSection
2056 * TableRowCollection.cs: Fixed [Editor] attribute for 2.0.
2057 * TableSectionStyle.cs: New (2.0). Add Visible to Style - but it's
2058 broken (int beta2) for IsEmpty, CopyFrom, MergeWith...
2059 * TableStyle.cs: Fixed attributes for 2.0 profile. Added new
2060 FillStyleAttributes method (2.0).
2062 2005-08-13 Sebastien Pouliot <sebastien@ximian.com>
2064 * Login.cs: New (2.0). Mostly a stub with copy-n-pasted code and
2065 attributes from existing controls.
2066 * LoginCancelEventArgs.cs: New (2.0). Required to build Login.
2067 * LoginCancelEventHandler.cs: New (2.0). Required to build Login.
2069 2005-08-12 Jackson Harper <jackson@ximian.com>
2071 * TableRow.cs: No AutoID for TableRows.
2073 2005-08-12 Jackson Harper <jackson@ximian.com>
2075 * DataGrid.cs (CreateRenderColumns): If we aren't using data
2076 binding grab the rendercols from the data source columns.
2077 (LoadViewState): Restore the bound columns when reloading the
2079 (InitializeNumericPager): Create elipsised pagers.
2080 (CreateItem): Don't set the item's ID.
2081 (CreateItem): Add the control to the table before it is databound
2082 so that it's value is saved in the viewstate.
2083 (CreateControlHierarchy): Create a fake data source when not using
2084 databinding. Don't add controls to the table as they are added in
2086 (PrepareControlHierarchy): Make footers and header non visible if
2087 they aren't enabled.
2089 2005-08-12 Chris Toshok <toshok@ximian.com>
2091 * CompositeControl.cs (DataBind, Render, get_Controls): the MSDN
2092 docs says these methods/properties "ensure the child controls are
2093 created" -- so call EnsureChildControls() before invoking the base
2096 2005-08-12 Jackson Harper <jackson@ximian.com>
2098 * BoundColumn.cs: Set the controls text instead of adding a
2099 literal control. So it is saved in the controls viewstate.
2101 2005-08-11 Jackson Harper <jackson@ximian.com>
2103 * CheckBoxList.cs: Set the tabindex on the checkbox control and
2104 don't render it on the main table (Setting it to zero causes it to
2105 not be rendered). Also use the invariant culture on the id.
2107 2005-08-11 Dick Porter <dick@ximian.com>
2109 * CheckBox.cs: Let ViewState manage removals; apply styles and
2110 "style" attributes in a surrounding <span>. Fixes unit tests.
2112 2005-08-10 Chris Toshok <toshok@ximian.com>
2114 * Label.cs (LoadViewState): set the Text attribute from our
2115 ViewState (if it exists) to clear out any child controls. Fixes
2116 jsunit test label/label-child-control-postback.aspx.
2118 2005-08-10 Jackson Harper <jackson@ximian.com>
2120 * PagedDataSource.cs: Respect paging with all data source types.
2122 2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
2124 * BaseDataList.cs: Changed Controls property from "virtual new"
2125 (2.0 doc) to "override" (monop) to fix the Visible bug (see
2126 datalist-invisible.aspx). Fixed AddParsedSubObject not to accept
2127 any controls (required due to change to Controls). Implemented
2128 DataBind(bool) for 2.0.
2129 * DataListItem.cs: Fix the multiple table when extractRows is used.
2130 Removed extra span tags by rendering contents (not control). Added
2131 support for IDataItemContainer (2.0).
2133 2005-08-08 Jackson Harper <jackson@ximian.com>
2135 * DataGrid.cs: Apply the styles to each item type.
2137 2005-08-08 Jackson Harper <jackson@ximian.com>
2139 * PagedDataSource.cs: If paging is not enabled keep enumerating to
2140 the end of the list.
2142 2005-08-08 Sebastien Pouliot <sebastien@ximian.com>
2144 * BaseDataList.cs: Remove old compatibility stuff.
2145 * DataList.cs: Fix the edit|update for datalist-style-edit.aspx.
2146 * WebControl.cs: Always call CreateControlStyle to create the
2147 ControlStyle. Fix the exception for datalist-style-edit.aspx.
2149 2005-08-05 Jackson Harper <jackson@ximian.com>
2151 * DataGrid.cs: Don't make the current page index a link in the
2154 2005-08-05 Jackson Harper <jackson@ximian.com>
2156 * DataGrid.cs: Honour PagerPosition.
2158 2005-08-05 Jackson Harper <jackson@ximian.com>
2160 * PagedDataSource.cs: Round PageCount properly.
2162 2005-08-05 Dick Porter <dick@ximian.com>
2164 * CheckBox.cs: Shut corcompare up a bit more. Still need to
2165 figure out how to not use AddAttributesToRender to get it
2168 * ButtonColumn.cs: Implement Initialize() and InitializeCell()
2170 * DataGridColumn.cs: Added the duplicate viewstate manipulation
2173 2005-08-05 Chris Toshok <toshok@ximian.com>
2175 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): treat "" as
2176 null when it comes to the format string.
2177 (FormatDataTextValue): same.
2179 2005-08-04 Chris Toshok <toshok@ximian.com>
2181 * BaseValidator.cs (Validate): only test a validator if it's both
2182 enabled and visible.
2184 2005-08-04 Chris Toshok <toshok@ximian.com>
2186 * BaseValidator.cs (AddAttributesToRender): add "enabled" if
2189 2005-08-04 Jackson Harper <jackson@ximian.com>
2191 * DataGrid.cs: Add a new space control for each link. Also make
2192 the link's text 1 indexed. Don't add the space after the last
2195 2005-08-04 Ben Maurer <bmaurer@ximian.com>
2197 * LinkButton.cs: Fix up the test suite here.
2199 * Panel.cs: Fix up nowrap
2201 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
2203 * ListBox.cs: Use WriteXXXX to render HTML, this way it matches MS output
2204 * ListControl.cs: Clear item list before adding data (again)
2206 2005-08-04 Jordi Mas i Hernandez <jordi@ximian.com>
2208 * Calendar.cs: fixes issues with OnDayRender event and others
2210 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
2212 * DataGrid.cs(CreateControlHierarchy): Consider the EditItemIndex when
2214 * ListControl.cs(OnDataBinding): Only apply DataTextFormatString to text
2215 if DataTextField is bound
2216 * EditCommandColumn.cs(InitializeCell): MS inserts a between the
2217 two controls in edit mode, lets do the same
2219 2005-08-03 Jackson Harper <jackson@ximian.com>
2221 * BoundColumn.cs: Respek for the thisExpr when data binding.
2223 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
2225 * EditCommandColumn.cs: No need to offer edit when in edit mode.
2228 2005-08-04 Dick Porter <dick@ximian.com>
2230 * DataGridColumn.cs: New implementation
2233 * DataGridColumnCollection.cs: Set the DataGridColumn's owner
2235 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
2237 * WebControl.cs(CopyBaseAttributes): Use Enabled setter to also
2240 2005-08-03 Ben Maurer <bmaurer@ximian.com>
2242 * RepeatInfo.cs: Finally figured out how to use base control
2244 2005-08-03 Jackson Harper <jackson@ximian.com>
2246 * ButtonColumn.cs: Partial implementation.
2248 2005-08-03 Peter Dennis Bartok <pbartok@novell.com>
2250 * DataGridPagerStyle.cs(PageButtonCount): Throw exception on
2253 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
2255 * Calendar.cs: fixes Save/Load state
2257 2005-08-03 Jordi Mas i Hernandez <jordi@ximian.com>
2259 * Calendar.cs: bug fixes
2261 2005-08-03 Jackson Harper <jackson@ximian.com>
2263 * DataGrid.cs: Merge the table style with the render table. Some
2264 initial work on the numeric pager. Remove some debugging code.
2266 2005-08-03 Jackson Harper <jackson@ximian.com>
2268 * BoundColumn.cs: Implement Initialize and InitializeCell. When
2269 Data is formated it uses the DataFormatString that was set at the
2270 time Initialize was called (or null if initialize was never
2273 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
2275 * RadioButtonList.cs: bug fixes
2277 2005-08-02 Jordi Mas i Hernandez <jordi@ximian.com>
2279 * CheckBox.cs, RadioButton.cs: mecanism to avoid exposing
2280 AddAttributesToRender
2281 * RadioButtonList.cs: Implementation
2283 2005-08-01 Jackson Harper <jackson@ximian.com>
2285 * TableStyle.cs: Copy style bit when copying from another style.
2287 2005-08-01 Jackson Harper <jackson@ximian.com>
2289 * PagedDataSource.cs: Implement missing properties, use yield for
2290 the Enumerator methods. Only allow the enums to return one page at
2293 2005-08-01 Chris Toshok <toshok@ximian.com>
2295 * HyperLinkColumn.cs (ItemDataBinding): remove incorrect comment.
2297 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
2299 * WebControl.cs: Track enabled state across sessions
2301 2005-08-01 Peter Dennis Bartok <pbartok@novell.com>
2303 * ListControl.cs(OnDatabinding): Value is equivalent to text if
2306 2005-08-01 Jordi Mas i Hernandez <jordi@ximian.com>
2308 * ImageButton.cs: fixes, complete missing parts
2310 2005-07-31 Ben Maurer <bmaurer@ximian.com>
2312 * TextBox.cs: Html encode for multiline text boxes
2314 * HyperLink.cs: Resolve images
2316 2005-07-30 Chris Toshok <toshok@ximian.com>
2318 * BaseValidator.cs: initial version of 2.0 properties
2319 ValidationGroup and SetFocusOnError.
2321 2005-07-30 Chris Toshok <toshok@ximian.com>
2323 * HyperLinkColumn.cs (InitializeCell): clean this up.
2325 2005-07-30 Chris Toshok <toshok@ximian.com>
2327 * HyperLinkColumn.cs (FormatDataNavigateUrlValue): just use
2328 DataBinder.FormatResult.
2329 (FormatDataTextValue): same.
2330 (Initialize): call base.Initialize.
2331 (ItemDataBinding): new function, get the text/navigateurl and set
2332 them on our HyperLink control.
2333 (InitializeCell): create a hyperlink control in the
2334 Item/EditItem/AlternatingItem case.
2336 2005-07-30 Ben Maurer <bmaurer@ximian.com>
2338 * RepeatInfo.cs: Handle 0 items situations correctly
2340 * HyperLink.cs: Resolve urls correctly
2342 * CheckBox.cs: use the correct ID for the label element.
2344 * Label.cs: Correct AddParsedSubObject impl. See FAQ
2346 2005-07-29 Chris Toshok <toshok@ximian.com>
2348 * BaseCompareValidator.cs (GetDateElementOrder): implement.
2350 2005-07-29 Chris Toshok <toshok@ximian.com>
2352 * BaseCompareValidator.cs (GetFullYear): implement two ways. The
2353 #if'ed out version follows microsoft's docs on msdn, but doesn't
2354 match ms's behavior. The other matches their behavior but not
2355 their docs. we use the latter. go figure.
2356 (get_CutoffYear): implement using
2357 CultureInfo.CurrentCulture.Calendar.TwoDigitYearMax.
2359 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
2362 - Name property now throws exception when set to null
2363 - Names now handles situation where our bit tells us we have
2364 a font, but it's not in the StateBag (null removal)
2365 * RangeValidator.cs: Removed unused vars
2367 2005-07-29 Ben Maurer <bmaurer@ximian.com>
2369 * Label.cs: ClientID should be used rather than UniqueID to get
2372 2005-07-29 Chris Toshok <toshok@ximian.com>
2374 * BaseValidator.cs (Validatate): not sure if this is entirely
2375 correct (some fairly deep testing required), but setting Enabled =
2376 false has the effect of setting IsValid = true.
2378 2005-07-29 Ben Maurer <bmaurer@ximian.com>
2380 * RadioButton.cs: The "remove from groupstate" isn't needed any
2381 more, now that statebag is correct.
2383 2005-07-29 Dick Porter <dick@ximian.com>
2385 * RadioButton.cs: Hide nonstandard API; remove GroupName from the
2386 ViewState when it is null.
2388 * CheckBox.cs: Hide nonstandard API
2390 2005-07-29 Jordi Mas i Hernandez <jordi@ximian.com>
2392 * Calendar.cs: fixes exceptions, bug fixes, new features
2393 * SelectedDatesCollection.cs: Fixes bugs discovered by the tests
2394 * CalendarDay.cs: fixes default value
2396 2005-07-28 Ben Maurer <bmaurer@ximian.com>
2398 * CompositeControl.cs: Stub
2400 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
2402 * EditCommandColumn.cs: Implemented
2404 2005-07-27 Chris Toshok <toshok@ximian.com>
2406 * RegularExpressionValidator.cs (EvaluateIsValid): "" is valid.
2408 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
2410 * CustomValidator.cs: Bug fixes (Thanks to Chris for creating the
2413 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
2415 * DataGrid.cs: DataGridPagerStyle does not need DataGrid as argument
2416 for it's constructor, so remove it
2417 * DataGridPagerStyle.cs: Removed DataGrid argument from constructor
2419 2005-07-27 Peter Dennis Bartok <pbartok@novell.com>
2421 * DataGridPagerStyle.cs: Implemented
2422 * TableItemStyle.cs (MergeWith): Now only sets style bits it owns
2423 * Style.cs: Added Styles enum values for DataGridPagerStyle
2425 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
2427 * Calendar.cs: get the styles right, honors more properties, fixes, fix
2430 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
2432 * DataGridItem.cs: Implemented
2434 2005-07-26 Chris Toshok <toshok@ximian.com>
2436 * LinkButton.cs (AddParsedSubObject): reversed the order of
2437 Controls.Add() and Text = null
2438 (set_Text): call Controls.Clear()
2439 (RenderContents): use HasControls() for the if test instead of
2442 * HyperLink.cs (AddParsedSubObject): reversed the order of
2443 Controls.Add () and Text = null;
2445 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
2447 * DataGridItemCollection.cs: Implemented
2449 2005-07-26 Chris Toshok <toshok@ximian.com>
2451 * LinkButton.cs (AddParsedSubObject): copy implementation from
2453 (RenderContents): only call writer.Write(Text) if Text != "".
2454 Otherwise default to base.RenderContents.
2456 2005-07-26 Chris Toshok <toshok@ximian.com>
2458 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
2459 ImageButton.cs, LinkButton.cs (AddAttributesToRender): add if
2460 (Page != null) around my last commit.
2462 2005-07-26 Peter Dennis Bartok <pbartok@novell.com>
2464 * FontInfo.cs, CheckBox.cs, RadioButton.cs, ListItemCollection.cs:
2465 Fixed use of literal strings, instead using Consts
2466 * Xml.cs, RegularExpressionValidator.cs, TemplateColumn.cs,
2467 TextBox.cs, RequiredFieldValidator.cs, Repeater.cs, RepeaterItem.cs,
2468 Panel.cs, Literal.cs: Added attributes
2469 * BaseValidator.cs: Added missing override
2471 2005-07-26 Chris Toshok <toshok@ximian.com>
2473 * Button.cs, CheckBox.cs, TextBox.cs, DropDownList.cs, ListBox.cs,
2474 ImageButton.cs, LinkButton.cs (AddAttributesToRender): call
2475 Page.VerifyRenderingInServerFormHere.
2477 2005-07-26 Chris Toshok <toshok@ximian.com>
2479 * BaseValidator.cs: remove some MonoTODO's about the client side
2482 2005-07-26 Jordi Mas i Hernandez <jordi@ximian.com>
2484 * Calendar.cs: selection of dates, state load, save, track, support
2485 for new properties, many fixes.
2487 2005-07-26 Miguel de Icaza <miguel@novell.com>
2489 * Style.cs: Temporary methods to help buliding .NET 2.x
2491 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
2493 * BaseValidator.cs: Added AssociateControlID (new in sp1), fixed
2495 * Xml.cs: Fixed base class, attributes
2496 * Button.cs, DataGridColumnCollection.cs, HyperLinkColumn.cs,
2497 Label.cs, ListItem.cs, ListControl.cs, CustomValidator.cs,
2498 CheckBoxList.cs, AdRotator.cs, DropDownList.cs, HyperLink.cs,
2499 DataGrid.cs, ButtonColumn.cs, CompareValidator.cs, Calendar.cs,
2500 ListBox.cs, ImageButton.cs, LinkButton.cs: Attribute fixes
2502 2005-07-25 Ben Maurer <bmaurer@ximian.com>
2504 * RepeatInfo.cs: WOOHOOO! all tests pass. Boy is this class
2507 2005-07-25 Ben Maurer <bmaurer@ximian.com>
2509 * RepeatInfo.cs: If the repeater has one column, the separators
2510 are rendered on a different line
2512 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
2514 * DataGridSortCommandEventArgs: Sealed class
2515 * ButtonColumn.cs, Calendar.cs: Added Attributes
2517 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
2519 * Button.cs, Style.cs, BaseCompareValidator.cs, RangeValidator.cs,
2520 BaseValidator.cs, AdRotator.cs, BoundColumn.cs: Added Attributes
2522 2005-07-25 Peter Dennis Bartok <pbartok@novell.com>
2524 * FontInfo.cs, Style.cs, RangeValidator.cs, ListItemCollection.cs,
2525 DropDownList.cs, WebControl.cs, ValidationSummary.cs: Added Attributes
2527 2005-07-25 Chris Toshok <toshok@ximian.com>
2529 * ValidationSummary.cs (AddAttributesToRender): add client side
2531 (OnPreRender): set the "been here" flag.
2532 (Render): add client side support.
2534 2005-07-25 Ben Maurer <bmaurer@ximian.com>
2536 * RepeatInfo.cs: Split the horiz and vertical cases, because this
2537 class has rules that are beyond strange. Continue working to make
2540 2005-07-25 Ben Maurer <bmaurer@ximian.com>
2542 * RepeatInfo.cs: Misc fixes for my test suite.
2544 2005-07-25 Jackson Harper <jackson@ximian.com>
2546 * DataGrid.cs: Set the command name and args on the link buttons.
2548 2005-07-25 Jackson Harper <jackson@ximian.com>
2550 * DataGrid.cs: Lots o implementation.
2552 2005-07-25 Jackson Harper <jackson@ximian.com>
2554 * BoundColumn.cs: Partial implementation to get the DataGrid tests
2557 2005-07-23 Jordi Mas i Hernandez <jordi@ximian.com>
2559 * Button.cs: fixes events, adds attributes
2561 2005-07-23 Chris Toshok <toshok@ximian.com>
2563 * BaseValidator.cs (GetControlValidateValue): handle ListItems as
2564 prop.GetValue results.
2565 (Render): fix the static non-uplevel case, so that we display text
2566 when there's an error.
2568 2005-07-22 Chris Toshok <toshok@ximian.com>
2570 * RegularExpressionValidator.cs (AddAttributesToRender): only
2571 output ValidationExpression if it's != null.
2573 2005-07-22 Chris Toshok <toshok@ximian.com>
2575 * BaseValidator.cs (AddAttributesToRender): fix up the Display
2576 rendering such it matches MS's output.
2577 (Render): stop using the huge complicated if's for each output
2578 stage and move to boolean flags, and fix the static-nonuplevel
2579 case, where a validator outputs as nothing but
2581 2005-07-22 Jordi Mas i Hernandez <jordi@ximian.com>
2582 * Calendar.cs: Initial implementation
2583 * CalendarSelectionMode.cs: fix enum order
2585 2005-07-22 Sebastien Pouliot <sebastien@ximian.com>
2587 * DataList.cs: Rewrote the IRepeatInfoUser.RenderItem to support all
2588 (or more?) specific cases - including correct support for separators.
2589 Added some (commented) debugging code.
2590 * HyperLink.cs: Only render href and target attributes if they're not
2591 empty. Add "border=0" when rendering <img> tag. Fix Target default
2594 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
2596 * Style.cs (CopyFrom): Reset must go, MS doesn't do it (See tests)
2598 2005-07-22 Peter Dennis Bartok <pbartok@novell.com>
2600 * Style.cs (CopyFrom): Reset our styles and don't set bits from
2601 target explicitly, properties will set them
2603 2005-07-22 Dick Porter <dick@ximian.com>
2606 * ButtonColumn.cs: Initial stubs
2608 2005-07-22 Dick Porter <dick@ximian.com>
2611 * CheckBox.cs: Add assembly attributes
2613 2005-07-22 Ben Maurer <bmaurer@ximian.com>
2615 * HyperLink.cs: Handle non-literal children.
2617 2005-07-21 Ben Maurer <bmaurer@ximian.com>
2619 * Label.cs: SP1 stuff
2621 2005-07-21 Chris Toshok <toshok@ximian.com>
2623 * BaseValidator.cs (RegisterValidatorCommonScript): remove the NS4
2624 stuff that I c&p'ed from elsewhere - NS4 doesn't support the DOM1
2625 stuff WebUIValidation.js uses, so we don't support it for uplevel
2628 2005-07-21 Chris Toshok <toshok@ximian.com>
2630 * BaseValidator.cs (DetermineRenderUplevel): include checks for
2631 the EcmaScriptVersion and W3CDomVersion.
2633 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
2635 * BaseDataList.cs: Support IEnumerable.
2636 * DataList.cs: Fix alternate items.
2637 * TableCell.cs: Fixed AddParsedSubObject to work nicely with existing
2638 controls and the Text property.
2640 2005-07-21 Ben Maurer <bmaurer@ximian.com>
2642 * TextBoxMode.cs: Wrong ordering of enum...
2644 2005-07-21 Chris Toshok <toshok@ximian.com>
2646 * BaseValidator.cs (OnPreRender): call DetermineRenderUplevel and
2649 2005-07-21 Chris Toshok <toshok@ximian.com>
2651 * BaseValidator.cs (get_PropertiesValid): use our containing
2652 NamingContainer, not ourselves, to look up controls.
2653 (CheckControlValidationProperty): same.
2654 (GetControlRenderID): same.
2655 (GetControlValidationValue): same.
2656 (AddAttributesToRender): add the display style attribute if
2657 Display != Static, and add the value of IsValid if it's false.
2658 (DetermineRenderUplevel): use a try block around (Page.Request)
2659 since that can raise an exception.
2660 (OnPreRender): set pre_render_called, so we can consult it in
2662 (Render): complicate this method more to handle more of the
2663 Display/pre_render_called permutations.
2665 2005-07-21 Peter Dennis Bartok <pbartok@novell.com>
2667 * CustomValidator.cs: Initial implementation, still work in progress
2669 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
2671 * DataList.cs: Fix rendering for special items (-1).
2673 2005-07-21 Ben Maurer <bmaurer@ximian.com>
2675 * RepeatInfo.cs: Fix most of the tests.
2677 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
2679 * Image.cs: Call ResolveUrl for ImageUrl and DescriptionUrl properties.
2680 Add a border=0 attribute if no style is defined.
2681 * TableCell.cs: Use HtmlTextWriterTag (not a string).
2682 * TableHeaderCell.cs: Use HtmlTextWriterTag (not a string).
2683 * TableRow.cs: Use HtmlTextWriterTag (not a string).
2685 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
2687 * BaseDataList.cs: Fix attributes.
2688 * HorizontalAlign.cs: Fix attributes.
2689 * Image.cs: Fix attributes and enums checks.
2690 * Table.cs: Fix attributes an enums checks.
2691 * TableCell.cs: Fix attributes.
2692 * TableCellCollection.cs: Fix attributes.
2693 * TableItemStyle.cs: Fix attributes and enums checks.
2694 * TableRowCollection.cs: Fix attributes.
2695 * TableRow.cs: Fix attributes.
2696 * TableStyle.cs: Fix attributes and enums checks.
2697 * VerticalAlign.cs: Fix attributes.
2699 2005-07-21 Sebastien Pouliot <sebastien@ximian.com>
2701 * BaseDataList.cs: Remove/#if-out useless/2.0 stuff.
2702 * DataList.cs: Added rendering support when ExtractTemplatesRows
2703 property is true (but RepeatInfo needs to be fixed to see it works).
2704 * DataListItem.cs: Added rendering support when extractRows parameter
2705 is true (but RepeatInfo still needs to be fixed ;-)
2707 2005-07-21 Duncan Mak <duncan@novell.com>
2709 * HyperLinkColumn.cs: Initial implementation.
2710 Todo: Figure out Initialize and InitializeCell.
2712 2005-07-20 Chris Toshok <toshok@ximian.com>
2714 * BaseValidator.cs: don't use Page.FindControl, use this Control's
2715 FindControl, so it'll use the same naming container.
2717 2005-07-21 Duncan Mak <duncan@novell.com>
2719 * DataGridCommandEventArgs.cs:
2720 * DataGridPageChangedEventArgs.cs:
2721 * RepeaterCommandEventArgs.cs: Fixed visibility.
2723 * DataGridPageChangedEventArgs.cs (CommandSource): Fixed typo.
2724 * DataGridSortCommandEventArgs.cs (CommandSource): Ditto..
2726 2005-07-20 Chris Toshok <toshok@ximian.com>
2728 * Button.cs: hook up the client side validation stuff.
2730 * ImageButton.cs: same.
2732 * LinkButton.cs: same, although it's a little more complicated
2735 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
2738 - Implemented RaisePostDataChangedEvent()
2739 - Spewing postback command if AutoPostBack is true
2741 2005-07-20 Chris Toshok <toshok@ximian.com>
2743 * BaseValidator.cs: another Page != null check when uplevel
2746 2005-07-20 Chris Toshok <toshok@ximian.com>
2748 * BaseValidator.cs: check Page != null when determining if we're
2749 rendering uplevel or not.
2751 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
2753 * ListItemCollection.cs: Removed obsolete method that's no longer
2756 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
2758 * DropDownList.cs: Oops. Forgot to implement LoadPostData
2759 * ListItemCollection.cs: Added convenience method to have faster
2762 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
2765 - Automatically select the first item if none are selected
2766 - Throw exception if more than one item is selected
2768 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
2770 * DataList.cs: Fix style handling for RepeatLayout.Flow (which isn't
2771 handled by RepeatInfo).
2773 2005-07-20 Jackson Harper <jackson@ximian.com>
2775 * DataGrid.cs: Store the data source created columns in a
2776 DataGridColumnCollection. This way they can be put in the
2777 view state more easily, and accessed without casting.
2779 2005-07-20 Chris Toshok <toshok@ximian.com>
2781 * BaseValidator.cs (AddAttributesToRender): render the client side
2782 attributes if we're in uplevel mode.
2783 (DetermineRenderUplevel): flesh out a bit - for now basically
2784 return true unless the control has it disabled.
2785 (OnInit): only add the validator to Page's list if there is, in
2787 (OnUnload): same for removal.
2788 (OnPreRender): hook up client scripting stuff here. Only the call
2789 to RegisterValidatorCommonScript is a for sure thing here, the
2790 registering of the submit statement and startup script should
2791 probably go elsewhere, but I don't know where.
2792 (RegisterValidatorCommonScript): register the <script
2793 src=".../WebUIValidation.js"> tag, if it's not already there.
2794 (RegisterValidatorDeclaration): add our span object to the
2795 Page_Validators JS array.
2796 (Render): always render the tags (although this is probably not
2797 right), and call RegisterValidatorDeclaration here.
2799 * BaseCompareValidator.cs (AddAttributesToRender): render the
2800 client side attributes if we're in uplevel mode.
2801 (DetermineRenderUplevel): add MonoTODO.. why override this? Just
2802 call base.DetermineRenderUplevel for now.
2804 * RegularExpressionValidator.cs (AddAttributesToRender): render
2805 the client side attributes if we're in uplevel mode.
2807 * RequiredFieldValidator.cs (AddAttributesToRender): same.
2809 * CompareValidator.cs (AddAttributesToRender): same.
2811 2005-07-20 Jackson Harper <jackson@ximian.com>
2813 * DataGrid.cs: Save the data source created column set in the
2816 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
2818 * DataList.cs: Fix events and properties exceptions. Give the right
2819 informations to RenderItem.
2821 2005-07-20 Peter Dennis Bartok <pbartok@novell.com>
2823 * ValidationSummary.cs: Implemented rendering
2825 2005-07-20 Jackson Harper <jackson@ximian.com>
2827 * DataGrid.cs: column names are cached and only regenerated if useDataSource
2828 is set to true. Otherwise they are just fetched from the last set that
2829 was generated from the source.
2831 2005-07-20 Jackson Harper <jackson@ximian.com>
2833 * DataGrid.cs: Assign some properties of newly created BoundColumns.
2835 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
2837 * DataList.cs: Fix viewstate ordering.
2839 2005-07-20 Ben Maurer <bmaurer@ximian.com>
2841 * SelectedDatesCollection.cs: Apprarently, I don't write code well
2844 * Repeater.cs: Uh, actually add stuff to the items collection
2847 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
2849 * BaseDataList.cs: EnsureChildControls on Controls property.
2850 * DataList.cs: Fix rendering and Controls/Items differences.
2851 * DataListItem.cs: Added rendering of controls.
2853 2005-07-20 Sebastien Pouliot <sebastien@ximian.com>
2855 * BaseDataList.cs: Don't call base.Render (or we'll get an extra span).
2857 2005-07-20 Jackson Harper <jackson@ximian.com>
2859 * DataGrid.cs: Add some of the collections. Implement
2862 2005-07-20 Jackson Harper <jackson@ximian.com>
2864 * PagedDataSource.cs: Implement GetItemProperties, this is
2865 needed for the datagrid.
2867 2005-07-20 Ben Maurer <bmaurer@ximian.com>
2869 * DataGridColumnCollection.cs: New impl
2871 * TemplateColumn.cs: New impl
2873 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
2875 * BaseDataList.cs: Call PrepareControlHierarchy from Render.
2876 * DataList.cs: Work in progress... Added attributes, proper
2877 IRepeatInfoUser support and cool things stolen from other classes.
2878 * DataListCommandEventArgs.cs: Class is sealed.
2879 * DataListItem.cs: RenderItem is public.
2881 2005-07-19 Jackson Harper <jackson@ximian.com>
2883 * ListControl.cs: Use Events Add/RemoveHandler. Don't create
2884 a viewstate object if all the viewstate stuff is null.
2886 2005-07-19 Jackson Harper <jackson@ximian.com>
2888 * DataGrid.cs: Implement style properties and viewstate
2889 saving/loading/tracking.
2891 2005-07-19 Chris Toshok <toshok@ximian.com>
2893 * BaseValidator.cs: more fixes from pdb.
2895 2005-07-19 Chris Toshok <toshok@ximian.com>
2897 * BaseValidator.cs: some test-driven fixes.
2899 2005-07-19 Chris Toshok <toshok@ximian.com>
2901 * BaseValidator.cs: Initial implementation.
2903 2005-07-19 Sebastien Pouliot <sebastien@ximian.com>
2905 * Repeater.cs: Fix small typo.
2907 2005-07-19 Peter Dennis Bartok <pbartok@novell.com>
2909 * ValidationSummaryTest.cs: Started implementation
2910 * RangeValidator.cs: Implemented
2911 * ValidatedControlConverter.cs: Implemented
2912 * DropDownList.cs: Implemented
2914 2005-07-19 Jackson Harper <jackson@ximian.com>
2916 * DataGrid.cs: Implement bubble event.
2918 2005-07-19 Jackson Harper <jackson@ximian.com>
2920 * DataGrid.cs: New implementation. Just properties and events for
2923 2005-07-18 Chris Toshok <toshok@ximian.com>
2925 * BaseCompareValidator.cs: Initial implementation, with some NYI.
2927 2005-07-19 Ben Maurer <bmaurer@ximian.com>
2929 * FontUnit.cs: Corcompare fixes
2931 * UnitConverter.cs: Fix api diffs
2933 2005-07-18 Ben Maurer <bmaurer@ximian.com>
2935 * ListControl.cs: Fix api differences
2937 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
2939 * Table.cs: Fix indentation for caption. Simplify check when adding
2941 * TableRow.cs: Simplify check when adding controls.
2943 2005-07-18 Chris Toshok <toshok@ximian.com>
2945 * CompareValidator.cs: wtf, just use the base class's methods.
2947 2005-07-18 Chris Toshok <toshok@ximian.com>
2949 * CompareValidator.cs: do comparisons based on
2950 BaseCompareValidator.Type.
2952 2005-07-18 Chris Toshok <toshok@ximian.com>
2954 * CompareValidator.cs: initial implementation.
2956 2005-07-18 Chris Toshok <toshok@ximian.com>
2958 * RegularExpressionValidator.cs: initial implementation.
2960 2005-07-18 Sebastien Pouliot <sebastien@ximian.com>
2962 * DataList.cs: Fixed to match 1.1 behaviour (and new unit tests).
2964 2005-07-18 Jackson Harper <jackson@ximian.com>
2966 * CheckBoxList.cs: Implement LoadPostBackData. Also register
2967 checkboxes for postback if they are checked so we can find
2968 out when they are unchecked. Copy the AutoPostBack variable
2969 to the to be rendered checkbox when rendering.
2971 2005-07-18 Ben Maurer <bmaurer@ximian.com>
2973 * TextBox.cs: Finish this up.
2975 * AdRotator.cs: Fix issues in the test suite. Minor style
2978 * Repeater.cs: Fix a bug where the datasource is null and we do
2981 * WebColorConverter.cs: Optimize by not doing a concat on a
2984 2005-07-17 Ben Maurer <bmaurer@ximian.com>
2986 * ListItemCollection.cs: Multiple uses of equals rather than
2987 string.compare as below. Remove unreachable code warning.
2989 * WebColorConverter.cs (ConvertTo): Use the == operator on string
2990 rather than an invariant non-case ignoring compare. They are
2991 exactly the same thing. Use proper coding style in this method.
2993 * WebControl.cs: Return null when saving the view state if there
2994 is no state in any of the things we save. This creates a fairly
2995 large savings, because we can avoid saving anything about many
2996 levels of deaply nested controls.
2998 2005-07-15 Jackson Harper <jackson@ximian.com>
3000 * CheckBoxList.cs: Use the index as the ID, the rest of the
3001 id is built by being in the NamingContainer.
3003 2005-07-15 Jackson Harper <jackson@ximian.com>
3005 * ListControl.cs: Use enum instead of string. Saves a lookup.
3007 2005-07-15 Jackson Harper <jackson@ximian.com>
3009 * CheckBoxList.cs: FindControl always returns 'this' according
3012 2005-07-15 Jackson Harper <jackson@ximian.com>
3014 * CheckBoxList.cs: New impl.
3016 2005-07-15 Jackson Harper <jackson@ximian.com>
3018 * WebControl.cs: Use the ClientID when rendering a controls ID
3019 attribute so that naming containers are honoured.
3021 2005-07-15 Jackson Harper <jackson@ximian.com>
3023 * ListControl.cs: use the state manager interface for tracking
3026 2005-07-15 Ben Maurer <bmaurer@ximian.com>
3028 * Repeater.cs (DoItem): Add the DataItem before we call user
3029 methods, as it seems to be there with msft.
3031 2005-07-15 Sebastien Pouliot <sebastien@ximian.com>
3033 * BaseDataList.cs: New. (mostly complete) implementation.
3034 * DataKeyCollection.cs: New. Implementation (complete).
3035 * DataList.cs: New. (mostly incomplete) implementation.
3036 * DataListItem.cs: New. (mostly complete) implementation.
3037 * DataListItemCollection.cs: New. Implementation (complete).
3039 2005-07-15 Ben Maurer <bmaurer@ximian.com>
3041 * Repeater.cs (DoItem): We need to .Add the control *before* we
3042 data bind it so that the state gets tracked correctly. Fixes the
3045 2005-07-15 Jackson Harper <jackson@ximian.com>
3047 * ListControl.cs: Simplify comparison.
3049 2005-07-15 Jackson Harper <jackson@ximian.com>
3052 * Repeater.cs: Use new utility class for resolving data sources.
3054 2005-07-15 Jackson Harper <jackson@ximian.com>
3056 * ListControl.cs: Add attributes so the sub items get parsed
3057 properly. Remove old unneeded code for resolving lists.
3059 2005-07-15 Jackson Harper <jackson@ximian.com>
3061 * ListControl.cs: Use the DataSourceHelper so DataMembers are
3064 2005-07-14 Ben Maurer <bmaurer@ximian.com>
3067 - Some optimizations
3068 * Don't use enum formatting stuff, it is 1) expensive 2) does
3069 allocations. Use a new method in HtmlControl to do the right
3071 * Don't use Enum.IsDefined but an explicit check.
3072 * (x == "" || x.Length < 2) is not needed since "".Length == 0 < 2
3073 - Use the correct coding style.
3075 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
3077 * WebColorConverter.cs:
3078 - Alpha of 255 is only set if the hex number is exactly 6 digits
3079 - Ben didn't like the catch { throw; } (even though MS documents to
3081 - Use Invariant Culture for parsing (thanks, Ben)
3083 2005-07-14 Jackson Harper <jackson@ximian.com>
3085 * ListControl.cs: Use DataBinder.Eval for data binding. This is more
3086 code-reuse-arific. Also use the IStateManager interface for loading
3087 data instead of the old internal method.
3089 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
3091 * WebColorConverter.cs: Implemented
3093 2005-07-14 Ben Maurer <bmaurer@ximian.com>
3095 * Repeater.cs: Cleanup; use the DataSourceHelper thingy.
3097 2005-07-14 Ben Maurer <bmaurer@ximian.com>
3099 * Repeater.cs: Get it working
3101 2005-07-14 Jackson Harper <jackson@ximian.com>
3103 * ListControl.cs: Initial implementation of Databinding. Make sure
3104 that the ListItemCollection is created when we load its ViewState.
3106 2005-07-14 Jackson Harper <jackson@ximian.com>
3108 * ListControl.cs: Fix typo.
3110 2005-07-14 Jackson Harper <jackson@ximian.com>
3112 * ListControl.cs: New Implementation. Lacks databinding support.
3114 2005-07-14 Ben Maurer <bmaurer@ximian.com>
3116 * Repeater.cs: The beginnings of this control
3118 2005-07-14 Peter Dennis Bartok <pbartok@novell.com>
3120 * TargetConverter.cs: Implemented
3122 2005-07-14 Duncan Mak <duncan@novell.com>
3124 * PagedDataSource.cs: Initial implementation.
3126 Methods that need to be figured out:
3127 CopyTo, GetItemProperties, PageCount, IsLastPage.
3129 To complete: CollectionEnumerator, ListEnumerator.
3131 2005-07-13 Duncan Mak <duncan@novell.com>
3133 * RepeatDirection.cs:
3135 * ValidationCompareOperator.cs:
3136 * ValidationDataType.cs:
3137 * ValidationSummaryDisplayMode.cs:
3138 * ValidatorDisplay.cs: Added remaining enumerations.
3140 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
3142 * FontNamesConverter.cs: Implemented
3144 2005-07-13 Ben Maurer <bmaurer@ximian.com>
3146 * RepeaterItem.cs: Compile fix
3148 * RepeaterItemCollection.cs: New file
3150 * RepeaterItem.cs: get OnBubbleEvent right.
3152 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
3154 * ListItemCollection.cs: Count can be derived from the array, which
3155 allows us to use a Pair instead of a Triplet and save some space
3157 2005-07-13 Ben Maurer <bmaurer@ximian.com>
3159 * RepeaterItem.cs: Stub
3161 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
3163 * ListItemCollection.cs: Implemented
3164 * WebControl.cs: Added check for enumeration validity (thanks Jackson)
3166 2005-07-13 Ben Maurer <bmaurer@ximian.com>
3168 * RepeatInfo.cs: Impl.
3170 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
3172 * FirstDayOfWeek.cs: Added
3174 2005-07-13 Jackson Harper <jackson@ximian.com>
3176 * ListBox.cs: Some parameter checking.
3178 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
3180 * Image.cs: Added support for DescriptionUrl as this property was
3181 added in Fx 1.1 SP1.
3183 2005-07-13 Peter Dennis Bartok <pbartok@novell.com>
3185 * Style.cs (AddAttributesToRender): Don't render attributes if they
3186 contain only their default value
3188 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
3190 * Table.cs: New. Initial re-implementation.
3191 * TableCell.cs: New. Initial re-implementation.
3192 * TableCellCollection.cs: New. Initial re-implementation.
3193 * TableHeaderCell.cs: New. Initial re-implementation.
3194 * TableItemStyle.cs: New. Initial re-implementation.
3195 * TableRow.cs: New. Initial re-implementation.
3196 * TableRowCollection.cs: New. Initial re-implementation.
3197 * TableStyle.cs: New. Initial re-implementation.
3199 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
3201 * Style.cs: Removed the call to Reset in CopyFrom. This fix the new
3202 unit tests (for Style) and more tests in Table* classes.
3204 2005-07-13 Sebastien Pouliot <sebastien@ximian.com>
3206 * Style.cs: TableStyle and TableItemStyle don't override IsEmpty,
3207 however IsEmpty returns false if any of their properties are set.
3208 Looks ugly but it's compatible with MS implementation (feature and
3211 2005-07-13 Dick Porter <dick@ximian.com>
3213 * CheckBox.cs: Reverted Ben's enum-to-int ViewState change, remove
3214 null Text properties from the ViewState, test for TextAlign being
3215 out of range. All to make tests pass on both mono and ms
3218 2005-07-13 Jackson Harper <jackson@ximian.com>
3220 * ListBox.cs: Use invariant culture when doing a ToString,
3221 set value to the item's value, not to its Text.
3223 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
3225 * WebControl.cs (AddAttributesToRender): Added ID to rendered
3228 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
3230 * Style.cs(MergeWith): Handle null styles
3232 2005-07-12 Sebastien Pouliot <sebastien@ximian.com>
3234 * TableCaptionAlign.cs: This enum was added in 1.1 SP1 so I removed
3235 the #if NET_2_0 on it.
3237 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
3239 * Style.cs: Only render font elements if fontinfo object exists
3241 - Implemented SaveViewState()
3242 - Added loading of Style to LoadViewState
3243 - Implemented IAttributeAccessor methods
3245 2005-07-12 Jackson Harper <jackson@ximian.com>
3247 * ListBox.cs: Even track default values in the viewstate. Call
3248 base's RenderContents.
3250 2005-07-12 Jackson Harper <jackson@ximian.com>
3252 * ListBox.cs: New impl.
3254 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
3257 - Implemented methods
3260 2005-07-12 Ben Maurer <bmaurer@ximian.com>
3262 * ListItem.cs: New impl.
3264 2005-07-12 Duncan Mak <duncan@novell.com>
3266 * DayNameFormat.cs: Added.
3268 2005-07-12 Peter Dennis Bartok <pbartok@novell.com>
3270 * WebControl.cs: Implemented properties
3272 2005-07-12 Ben Maurer <bmaurer@ximian.com>
3274 * TextBox.cs: Passwords seem 1) not to be rendered to the client
3275 if set, 2) not kept in view state (for security reasons...)
3278 * Button.cs: Page.Validate () if needed. Gets the validator tests
3281 * TextBox.cs: Properties to get the validator stuff to work.
3283 2005-07-12 Miguel de Icaza <miguel@novell.com>
3285 * Unit.cs: If the units are pixels, then truncate the value.
3287 2005-07-12 Dick Porter <dick@ximian.com>
3289 * RadioButton.cs: New implementation
3291 * CheckBox.cs: Rearrange the attributes rendering to allow
3292 RadioButton to derive from this
3294 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
3296 * TitleFormat.cs: Add attribute
3297 * TextBoxMode.cs: Add attribute
3298 * CalendarDay.cs: Initial implementation
3299 * ImageButton.cs: Initial implementation
3300 * CalendarSelectionMode.cs:Initial implementation
3302 2005-07-12 Jordi Mas i Hernandez <jordi@ximian.com>
3304 * TextBoxMode.cs: simple enum
3305 * TitleFormat.cs: simple enum
3307 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
3309 * FontInfo.cs: Now using BenM's fancy internal StateBag methods
3311 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
3313 * FontUnit.cs: Added TypeConverter attribute to class
3314 * FontUnitConverter.cs: Implemented
3316 2005-07-11 Ben Maurer <bmaurer@ximian.com>
3319 * Button.cs: Bubble the Command event.
3321 2005-07-11 Ben Maurer <bmaurer@ximian.com>
3324 - Clean up style (with my wonderful state bag hack!)
3325 - Fix a view state typo.
3326 - Use AddAttributesToRender
3327 - Don't add an extra <span>
3329 2005-07-11 Peter Dennis Bartok <pbartok@novell.com>
3331 * Style.cs: Handle null constructor argument for bag
3333 2005-07-11 Dick Porter <dick@ximian.com>
3335 * CheckBox.cs: New implementation
3337 * RadioButton.cs: Initial stubbed version that just compiles
3339 2005-07-10 Jordi Mas i Hernandez <jordi@ximian.com>
3341 * Button.cs: Initial Button implementation
3343 2005-07-10 Sebastien Pouliot <sebastien@ximian.com>
3345 * VerticalAlign.cs: Fixed enum name (copy/paste from HorizontalAlign).
3347 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
3349 * HorizontalAlign.cs: Typo in header.
3350 * VerticalAlign.cs: New. Required enum for TableRow control.
3352 2005-07-09 Ben Maurer <bmaurer@ximian.com>
3354 * TextBox.cs: More work on this
3356 2005-07-09 Sebastien Pouliot <sebastien@ximian.com>
3358 * GridLines.cs: New. Required enum for Table control.
3359 * HorizontalAlign.cs: New. Required enum for Table control.
3361 2005-07-09 Duncan Mak <duncan@novell.com>
3363 * CommandEventHandler.cs:
3364 * DataGridCommandEventHandler.cs:
3365 * DataGridItemEventHandler.cs:
3366 * DataGridPageChangedEventHandler.cs:
3367 * DataGridSortCommandEventHandler.cs:
3368 * DataListCommandEventHandler.cs:
3369 * DayRenderEventHandler.cs:
3370 * RepeaterCommandEventHandler.cs:
3371 * ServerValidateEventHandler.cs: Add delegates.
3374 * ListSelectionMode.cs:
3375 * NextPrevFormat.cs:
3377 * PagerPosition.cs: Add enums.
3379 2005-07-09 Ben Maurer <bmaurer@ximian.com>
3381 * TextBox.cs: Add the work I did on this today. It's not complete
3382 yet, but its a start!
3384 2005-07-09 Duncan Mak <duncan@novell.com>
3386 * CommandEventArgs.cs:
3387 * DataGridCommandEventArgs.cs:
3388 * DataGridItemEventArgs.cs:
3389 * DataGridPageChangedEventArgs.cs:
3390 * DataGridSortCommandEventArgs.cs:
3391 * DataListCommandEventArgs.cs:
3392 * DataListItemEventArgs.cs:
3393 * DayRenderEventArgs.cs:
3394 * RepeaterCommandEventArgs.cs:
3395 * RepeaterItemEventArgs.cs:
3396 * ServerValidateEventArgs.cs: Implemented.
3398 2005-07-08 Sebastien Pouliot <sebastien@ximian.com>
3400 * Image.cs: New. Image class implementation.
3401 * ImageAlign.cs: New. ImageAlign enum definitions.
3403 2005-07-08 Jackson Harper <jackson@ximian.com>
3405 * Literal.cs: New implentation.
3406 * MonthChangedEventArgs.cs: new
3407 * MonthChangedEventHandler.cs: new
3409 2005-07-08 Ben Maurer <bmaurer@ximian.com>
3411 * LinkButton.cs: Command impl
3413 2005-07-08 Ben Maurer <bmaurer@ximian.com>
3415 * LinkButton.cs: Initial impl
3417 2005-07-08 Jackson Harper <jackson@ximian.com>
3419 * AdCreatedeventArgs.cs: New implementation.
3421 2005-07-08 Dick Porter <dick@ximian.com>
3424 * BorderStyle.cs: Added
3426 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
3428 * FontInfo.cs: Fixed behaviour discrepancies showed by tests
3430 2005-07-07 Miguel de Icaza <miguel@novell.com>
3432 * Xml.cs: New implementation. R00lz.
3434 2005-07-07 Peter Dennis Bartok <pbartok@novell.com>
3436 * FontInfo.cs: Added and implemented.
3437 * Style.cs: Fixed behaviour discrepancies showed by tests
3439 2005-07-07 Ben Maurer <bmaurer@ximian.com>
3441 * PlaceHolderControlBuilder.cs: new file
3443 * LabelControlBuilder.cs: New file
3445 * HyperLink.cs: use control builder; fix parsing stuff
3447 * HyperLinkControlBuilder.cs: new file
3449 * Panel.cs: misc fixes
3451 2005-07-07 Miguel de Icaza <miguel@novell.com>
3453 * Unit.cs: Add TypeConverter, so that web_panel.aspx works again.
3455 * UnitConverter.cs: Add new file, learned from the
3456 System.Drawing.ColorConverter.
3458 2005-07-07 Ben Maurer <bmaurer@ximian.com>
3460 * PlaceHolder.cs: New file. Seems to do nothing
3462 * Label.cs: Use my new statebag trick to reduce typing
3464 * HyperLink.cs: New file
3466 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
3468 * Style.cs: Added and implemented.
3470 2005-07-06 Miguel de Icaza <miguel@novell.com>
3472 * FontUnit.cs: New file.
3474 * Unit.cs: New file.
3476 Added support for null and empty string constructors.
3478 2005-07-06 Ben Maurer <bmaurer@ximian.com>
3480 * Unit.cs: cctor not needed; static fields are 0 init'd by default
3482 * WebControl.cs: Kothari & Datye's book explains how these work.
3484 * IRepeatInfoUser.cs: Reimpl.
3486 2005-07-06 Peter Dennis Bartok <pbartok@novell.com>
3488 * WebControl.cs: Added stub
3490 2005-07-05 Miguel de Icaza <miguel@novell.com>
3492 * Label.cs: First control.
3494 2005-06-27 Lluis Sanchez Gual <lluis@novell.com>
3496 * DataControlField.cs: Ignore the ShowHeader property when
3497 building the control's content. It is the resposability of
3498 the field container to decide if the header should be shown
3501 2005-06-10 Lluis Sanchez Gual <lluis@novell.com>
3504 * ImageFieldMode.cs:
3505 * DynamicImageParameterMode.cs:
3506 * TableViewMode.cs: Removed.
3510 * TableRowSection.cs:
3511 * AutoCompleteType.cs:
3512 * DayNameFormat.cs: Track changes in 2.0 api.
3514 * StringArrayConverter.cs: This class is 2.0 only.
3516 2005-06-06 Lluis Sanchez Gual <lluis@novell.com>
3520 * DetailsView.cs: Bind the control after creating all child
3522 * DataBoundControl.cs: Call OnDataBinding and OnDataBound in
3523 the correct methods.
3524 * BaseDataBoundControl.cs: Don't call DataBind nor OnDataBound
3525 in this class. This is done in DataBoundControl. All this fixes
3528 2005-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3530 * ListItemCollection.cs: Patch from Curtis (eto@shaw.ca) that fixes
3531 FindByText. Closes bug #74205.
3533 2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3535 * PagedDataSource.cs: patch by Suresh Kumar that makes PageCount return
3536 1 when there's a datasource and 0 pages. Closes bug #73864.
3538 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
3545 * MenuItemTemplateContainer.cs:
3546 * DetailsView.cs: Track changes in the IDataItemContainer interface.
3548 * CommandField.cs: Added CausesValidation property. Set that
3549 property value to all buttons of the field.
3551 * SqlDataSourceView.cs:
3552 * CollectionDataSource.cs:
3553 * XmlDataSourceView.cs: Properly initialize the base class.
3555 * SiteMapDataSource.cs:
3556 * SiteMapHierarchicalDataSourceView.cs:
3557 * SiteMapNodeItem.cs:
3558 * SiteMapDataSourceView.cs:
3559 * SiteMapPath.cs: Mostly implemented.
3561 * HierarchicalDataBoundControl.cs: Always bind the control when the
3562 page is loaded for the first time.
3564 * TreeView.cs: Properly bind the control when loaded from a callback.
3566 2005-05-21 Ben Maurer <bmaurer@ximian.com>
3568 * BaseDataList.cs: Caption is in 1.1 too, though not
3569 documented. Gonz owes me [more] ice cream. Yummmmm.
3571 2005-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3573 * BaseDataList.cs: implemented 2.0 Caption property.
3575 2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
3577 * TreeView.cs: Always render the startup script. This fixes
3580 2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
3582 * WizardStepBase.cs:
3583 * WizardStep.cs: Added missing attributes.
3584 * Wizard.cs: Implemented missing methods and properties. It can now
3585 be considered feature complete.
3587 2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3589 * DataGrid.cs: cleanup in AutoCreateColumns. Don't throw at the end of
3590 the method if the data source was en empty IEnumerator. Fixes
3593 2005-05-06 Lluis Sanchez Gual <lluis@novell.com>
3597 * Menu.cs: Implemented some new properties from beta 2.
3599 * DataControlButton.cs: Render the ControlStyle if it
3603 * FontUnitConverter.cs: Improved the conversion to InstanceDescriptor.
3604 It will now generate an object creation, instead of a Parse call.
3606 * GridViewCommandEventArgs.cs: Added missing property.
3607 * SubMenuStyleCollection.cs: This class is not sealed.
3608 * MultiView.cs: Set Visible=false to all views that are not
3609 shown. This ensures that it's view state is saved.
3611 * BaseDataBoundControl.cs:
3612 * GridViewDeletedEventArgs.cs: Minor api fixes.
3614 * FormViewDeleteEventArgs.cs:
3615 * DetailsViewDeletedEventArgs.cs:
3616 * ListControl.cs: Fix warnings.
3620 * HotSpotCollection.cs
3623 * RectangleHotSpot.cs
3624 * WizardStepCollection.cs : Implemented.
3628 * Wizard.cs: Initial implementation.
3630 2005-05-04 Lluis Sanchez Gual <lluis@novell.com>
3632 * DataControlField.cs:
3636 * DataControlCommands.cs:
3637 * DetailsView.cs: Use constants to identify commands.
3639 * SubMenuStyle.cs: Use Unit instead of int for padding.
3640 * SubMenuStyleCollection.cs: Implemented.
3643 * Menu.cs: Added some missing methods and properties.
3646 * DataGridPagerStyle.cs: Fixed default value attributes.
3647 * ListControl.cs: Implemented IEditableTextControl interface.
3649 * MenuItemBinding.cs: Added Selectable property.
3650 * CustomValidator.cs: removed interface.
3652 * MenuItem.cs: Added support for custom binding.
3653 * DropDownList.cs: Moved text properties to base class.
3655 2005-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3657 * Calendar.cs: OnDayRender can toggle IsSelectable on our back.
3659 2005-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3661 * Calendar.cs: when the day is active, modify the text of the literal
3662 control that holds the number, not the text of the TableCell. Also call
3663 OnDayRender before updating that text. Fixes bug #74718.
3665 2005-04-22 Lluis Sanchez Gual <lluis@novell.com>
3667 * DataKey.cs: Added virtual TrackViewState and IsTrackingViewState
3669 * DataControlFieldHeaderCell.cs: Save Scope in view state.
3670 Added AbbreviatedText property.
3671 * AutoGeneratedField.cs: The constructor should actually be internal.
3672 * DataGridItem.cs: Added implemented interface in 2.0.
3673 * DataControlFieldCollection.cs: Implemented CloneFields and
3677 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3679 * StringArrayConverter.cs:
3680 * Calendar.cs: warnings.
3682 2005-04-21 Lluis Sanchez Gual <lluis@novell.com>
3684 * FormViewDeleteEventArgs.cs:
3685 * FormViewInsertEventArgs.cs:
3686 * FormViewUpdateEventArgs.cs:
3687 * FormViewDeletedEventArgs.cs:
3688 * FormViewUpdatedEventArgs.cs:
3689 * FormViewInsertedEventArgs.cs: Implemented some missing properties.
3692 * IButtonControl.cs:
3693 * Button.cs: Removed SoftKey property.
3695 * CheckBox.cs: Don't try to load post back data if the control
3699 * AutoGeneratedField.cs:
3700 * DataControlField.cs:
3702 * ButtonFieldBase.cs:
3706 * ButtonField.cs: Don't bind fields in Insert state.
3707 Implemented CreateField and CopyProperties.
3710 * DetailsView.cs: Removed some unneeded interfaces. Don't
3711 generate the field rows if there are no items in the data source.
3712 Don't get the current keys until the whole control has been
3715 * DetailsViewInsertedEventArgs.cs:
3716 * DataBoundControl.cs:
3717 * ObjectDataSourceView.cs: Made some methods private.
3720 * Menu.cs: Changed some properties from int to Unit.
3722 * DataControlButton.cs: javascript prefix is needed when raising
3723 the postback event from a link.
3725 * PagedDataSource.cs: Some fixes in Count and IsLastPage properties.
3726 The result was wrong when the total data source count was 0.
3728 * FormView.cs: Implemented.
3729 * FormViewRow.cs: Implemented.
3732 * Localize.cs: Fixed base interface.
3734 * BaseDataBoundControl.cs: In DataBind() call the base class
3735 DataBind method, so the binding context is properly set.
3737 2005-04-15 Lluis Sanchez Gual <lluis@novell.com>
3739 * DetailsView.cs: Added some null checks.
3740 * TemplateField.cs: Implemented support for two-way bindings.
3742 2005-04-14 Lluis Sanchez Gual <lluis@novell.com>
3744 * DetailsView.cs: Implemented support for Insert operation.
3745 Added header and footer templates. Added missing style
3747 * ObjectDataSourceView.cs: Use ParameterCollection.GetValues
3748 to get filter values. Other minor fixes.
3749 * CommandField.cs: Properly render the Insert and New buttons.
3750 * ObjectDataSource.cs: Update the parameter collections after
3751 the page is loaded. This will fire the ParameterChanged event
3753 * DataBoundControl.cs: The OnDataSourceViewChanged method
3754 is called when the view changes, not when the datasource
3757 * DetailsViewInsertedEventArgs.cs:
3758 * DetailsViewInsertEventArgs.cs: Implement Values property.
3761 * AutoGeneratedField.cs
3764 Take into account the Insert mode.
3766 * ParameterCollection.cs: Implemented UpdateValues and fixed
3767 GetValues (values can't be cached because can change).
3768 * Parameter.cs: Detect value changes in GetValue, and fire
3769 the change event if needed. Removed unused ParameterValue
3770 property. Other fixes.
3772 2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
3774 * DetailsView.cs: Initial implementation.
3775 * ObjectDataSourceView.cs: Notify changes in the parameters.
3776 * DetailsViewDeletedEventArgs.cs, DetailsViewUpdatedEventArgs.cs,
3777 DetailsViewDeleteEventArgs.cs, DetailsViewUpdateEventArgs.cs:
3778 Implemented some properties.
3779 * GridView.cs: Added null check in SelectedValue. Don't return null
3780 for empty DataKeyNames list.
3781 * DetailsViewRowCollection.cs: Implemented.
3782 * DetailsViewRow.cs: Implemented.
3783 * ButtonFieldBase.cs: By default button field don't have headers.
3784 * BoundField.cs: Don't bind header fields.
3786 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
3788 * ButtonField.cs: Get data item properties using TypeDescriptor.
3789 Made OnDataBindField private.
3790 * ObjectDataSourceView.cs: Implemented support for Delete and
3791 Insert operations, support for filtering and sorting,
3792 conflict detection, etc. It's now complete.
3793 * ObjectDataSource.cs: Completed most of functionality. Only
3794 caching support is missing.
3795 * ObjectDataSourceFilteringEventHandler.cs: New event handler.
3796 * TreeNode.cs: Get data item properties using TypeDescriptor.
3797 * PagerSettings.cs: Flush.
3798 * ObjectDataSourceFilteringEventArgs.cs: New event args.
3799 * GridView.cs: Get data item properties using TypeDescriptor
3800 and cache them. Properly set descending order in the sort
3801 expression. In UpdateRow, make sure we get the old values
3802 before the control is bound again.
3803 * ImageField.cs: Implemented.
3804 * AutoGeneratedField.cs: Initialize the field's sort
3805 expression in the constructor.
3806 * MenuItem.cs: Get data item properties using TypeDescriptor.
3807 * BoundField.cs: Get data item properties using TypeDescriptor.
3808 * CheckBoxField.cs: Added missing attributes.
3809 * TemplateField.cs: Implemented.
3811 2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3814 * FontUnitConverter.cs: fixed ConvertTo to work with target
3815 InstanceDescriptor and value as a string.
3817 * Unit.cs: culture might be null.
3821 2005-04-01 Lluis Sanchez Gual <lluis@novell.com>
3823 * ButtonField.cs: Mostly implemented.
3824 * DataControlFieldHeaderCell.cs: Implemented.
3825 * ObjectDataSourceView.cs: Initial implementation.
3826 * DataControlButton.cs: Added support for real buttons.
3827 * Label.cs, DataControlField.cs: Flush.
3828 * ObjectDataSource.cs: Initial implementation.
3829 * HiddenField.cs: Added class stub.
3830 * GridView.cs: Load autogenerated field properties before
3831 creating the children, to make sure that column info is ready.
3832 * ControlParameter.cs: Implemented Evaluate method.
3833 * ImageField.cs: Added class stub.
3834 * BoundField.cs: Added HtmlEncode property.
3835 * DataControlFieldCell.cs: Moved AccessibleDataControlFieldCell
3837 * CheckBoxField.cs: Mostly implemented.
3838 * TemplateField.cs: Added class stub.
3839 * ObjectDataSourceSelectingEventArgs.cs: Added missing property.
3840 * ObjectDataSourceMethodEventArgs.cs: Fixed base class.
3841 * Parameter.cs: Added internal GetValue method (Evaluate is protected)
3843 2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
3845 * DataControlField.cs: Added missing InsertVisible property.
3846 * AutoGeneratedFieldProperties.cs: Implemented.
3847 * PagerSettings.cs: Minor fix.
3848 * GridView.cs: Implemented support for autogenerated fields, templates,
3849 accessible headers. Implemented paging using PagedDataSource.
3850 Implemented missing overridable methods.
3851 * AutoGeneratedField.cs: Initial implementation.
3852 * BoundField.cs: Added ReadOnly property.
3853 * PagedDataSource.cs: Implemented 2.0 api.
3854 * DataControlFieldCell.cs: Implemented AccessibleDataControlFieldCell
3855 cell class to be used by accessible headers.
3856 * TableCell.cs: Removed unneded constructor. If the cell is bound to
3857 a template, call the default RenderContents method.
3859 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
3861 * TreeNode.cs, TreeView.cs: Don't raise the SelectedNodeChanged
3862 event when loading the view state. Fixes #73746.
3864 2005-03-16 Lluis Sanchez Gual <lluis@novell.com>
3866 * ListControl.cs: Load selected indices in the right place. Fixes #73745.
3868 2005-03-11 Lluis Sanchez Gual <lluis@novell.com>
3870 * Button.cs, ImageButton.cs: Interpret PostBackOptions.ClientSubmit
3872 * CommandField.cs: Mostly implemented.
3873 * Menu.cs: Use callback methods moved to ClientScriptManager.
3874 * DataControlButton.cs: Internal control used to implement buttons
3875 for navigating in data bound controls.
3876 * DataControlField.cs, PagerSettings.cs: Use the new DataControlButton
3877 to render the column headers.
3878 * CheckBox.cs, RadioButton.cs, BulletedList.cs, TextBox.cs
3879 DropDownList.cs, Calendar.cs, ListBox.cs, LinkButton.cs, TreeView.cs:
3880 Don't use Page.GetPostBackClientEvent
3881 since it is deprecated in 2.0.
3882 * GridView.cs: Implemented some several interfaces.
3883 Implemented support client sorting and page navigation (using callbacks).
3884 Implemented the autogenerated command column using the new CommandField
3886 * ButtonFieldBase.cs: Implemented.
3887 * GridView.js: New helper script to support client side sorting and
3888 paging in the grid view.
3890 2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
3892 * DataKey.cs: Implemented.
3893 * XmlDataSourceView.cs: Implemented support for row pagging.
3894 * Table.cs: Fixed attribute value.
3895 * DataControlField.cs: Added support for sorting headers.
3896 * ChildTable.cs: Created.
3897 * ListControl.cs: Delay selection assignment, since control state
3898 is now loaded before view state.
3899 * GridViewDeleteEventArgs.cs, GridViewUpdateEventArgs.cs,
3900 GridViewDeletedEventArgs.cs, GridViewUpdatedEventArgs.cs: Implemented
3901 several missing properties.
3902 * PagerSettings.cs: Fully implemented.
3903 * BaseDataList.cs: Added null check.
3904 * GridView.cs: Implemented more functionality.
3905 * BoundField.cs: Added support for cell editing.
3906 * StringArrayConverter.cs: Implemented.
3907 * DataKeyArray.cs: Implemented.
3908 * BaseDataBoundControl.cs: Reset the requires binding flag before
3909 executing the query. This avoids recursive query calls.
3910 * GridViewRow.cs: Handler commands raised from row childs.
3912 2005-02-25 Lluis Sanchez Gual <lluis@novell.com>
3914 * XmlDataSourceView.cs: ExecuteSelect now returns a list of
3915 XmlDataSourceNodeDescriptor instead of a list of nodes. In this way
3916 it is possible to query for properties fore each data item.
3917 * Menu.cs, TreeView.cs: Make sure that objects are correctly created
3918 when loading its view state.
3919 * DataControlField.cs: Implement properties using a StateBag.
3920 * XmlDataSourcePropertyDescriptor.cs: Implemented.
3921 * PagerSettings.cs: Mostly implemented.
3922 * AccessDataSourceView.cs, AccessDataSource.cs: Added security attribute.
3923 * DataBoundControl.cs: Added null check.
3924 * GridView.cs: Initial implementation.
3925 * CompositeDataBoundControl.cs: Implemented.
3926 * BoundField.cs: Initial implementation.
3927 * GridViewRowCollection.cs: Initial implementation.
3928 * DataControlFieldCollection.cs: Initial implementation.
3929 * DataControlFieldCell.cs: Fixed control tag.
3930 * GridViewRow: Initial implementation.
3931 * XmlDataSourceNodeDescriptor.cs: Implemented.
3933 2005-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3935 * WebControl.cs: correctly use TagName in RenderBeginTag, ie, if TagKey
3936 is zero, use the TagName no matter its value. Fixes bug #72415.
3938 2005-02-18 Lluis Sanchez Gual <lluis@novell.com>
3940 * Style.cs: Method name fix.
3941 * HyperLinkColumn.cs, HyperLink.cs: Moved SoftkeyLabel to HyperLink.
3942 * BaseCompareValidator.cs: Method signature fix.
3943 * CollectionDataSource.cs: Implemented DataSource wrapper for collections.
3944 * BaseDataList.cs, Repeater.cs: Fixed data binding code.
3945 * BulletedList.cs: Added missing method.
3946 * DataBoundControl.cs, BaseDataBoundControl.cs: Made it behave like MS.NET.
3948 2005-02-16 Lluis Sanchez Gual <lluis@novell.com>
3950 * HyperLinkColumn.cs, Label.cs: Added missing 2.0 properties.
3951 * RadioButton.cs: Added missing 2.0 methods.
3952 * ListItem.cs: Added Enabled property.
3953 * MailMessageEventArgs.cs: Use the correct message class.
3954 * ListControl.cs: Implemented missing properties and support for
3955 control state. Implemented base RenderContents method.
3956 * Image.cs: Implemented DescriptionUrl and GenerateEmptyAlternateText
3958 * BaseCompareValidator.cs: Implemented methods that support conditional
3959 use of the invariant culture.
3960 * DataBoundControl.cs: Set RequiresDataBinding to true in OnLoad.
3961 * SqlDataSourceCommandEventArgs.cs, SqlDataSourceStatusEventArgs.cs:
3962 It takes a DbCommand instead of a IDbCommand.
3963 * GridViewSortEventArgs.cs: Added SortDirection property.
3964 * TextBox.cs, CheckBoxList.cs: Added protected version of
3965 IPostBackDataHandler methods.
3966 * RadioButtonList.cs: Added protected version of
3967 IPostBackDataHandler and IRepeatInfoUser methods.
3968 * Repeater.cs: Updated some method names.
3969 * DropDownList.cs: Added protected version of
3970 IPostBackDataHandler methods. Reuse RenderContents from base class.
3971 * RepeaterItem.cs, Localize.cs, Literal.cs: Fix inheritance.
3972 * GridViewUpdatedEventArgs.cs: Fix typo.
3973 * ListBox.cs: Added protected version of IPostBackDataHandler methods.
3974 Reuse RenderContents from base class.
3975 * BaseDataBoundControl.cs: Several fixes.
3976 * ImageButton.cs, LinkButton.cs: Implemented several 2.0 properties.
3978 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
3980 * CheckBoxList.cs: Fix build.
3982 2005-02-10 Lluis Sanchez Gual <lluis@novell.com>
3984 * Button.cs: Use validation group when validating page.
3985 * XmlDataSourceView.cs: Implemented ExecuteSelect.
3986 * Menu.cs: Minor fix.
3987 * CheckBox.cs: Added 2.0 properties and methods.
3988 * BaseDataList.cs: Always databind the control if view state
3990 * DataList.cs: In 2.0, use control state to save the selected index.
3991 * DetailsViewUpdatedEventArgs.cs: Fix typo.
3992 * CustomValidator.cs: Implement IStaticTextControl interface.
3993 * CheckBoxList.cs: Added missing 2.0 methods.
3994 * DropDownList.cs: Added missing 2.0 methods. Implemented ITextControl
3996 * XmlDataSource.cs: Return childs of DocumentElement, not the root
3998 * DayRenderEventArgs.cs, CompareValidator.cs, DataListItem.cs:
3999 Implemented 2.0 API.
4002 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
4004 * Button.cs: Implemented all missing 2.0 features.
4005 * Table.cs: Render the table caption, when specified.
4006 * Calendar.cs: Implemented most of missing 2.0 features.
4007 * TableCell.cs: Fixed attributes.
4009 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
4011 * ControlPropertyNameConverter.cs: Added file.
4013 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
4015 * Button.cs, MonthChangedEventArgs.cs, FontInfo.cs, Xml.cs, Style.cs,
4016 CookieParameter.cs, HyperLinkColumn.cs, Table.cs,
4017 RegularExpressionValidator.cs, WizardNavigationEventArgs.cs,
4018 ServerValidateEventArgs.cs, Menu.cs, DataControlField.cs,
4019 DataGridPagerStyle.cs, Label.cs, CheckBox.cs, ListItem.cs,
4020 RadioButton.cs, TableStyle.cs, ListControl.cs, Image.cs,
4021 BaseCompareValidator.cs, FontUnit.cs, DataListCommandEventArgs.cs,
4022 IButtonControl.cs, BaseDataList.cs, DataList.cs, BulletedList.cs,
4023 RangeValidator.cs, DataBoundControl.cs, ControlParameter.cs,
4024 RepeaterItemEventArgs.cs, SqlDataSource.cs, BaseValidator.cs,
4025 CustomValidator.cs, MenuItem.cs, SessionParameter.cs, TextBox.cs,
4026 QueryStringParameter.cs, Content.cs, ContentPlaceHolder.cs,
4027 CheckBoxList.cs, RepeaterCommandEventArgs.cs, RadioButtonList.cs,
4028 RequiredFieldValidator.cs, AdRotator.cs, DataListItemEventArgs.cs,
4029 DataGridSortCommandEventArgs.cs, Repeater.cs,
4030 MenuItemTemplateContainer.cs, HyperLink.cs, SqlDataSourceView.cs,
4031 XmlDataSource.cs, MultiView.cs, DataGridCommandEventArgs.cs,
4032 Panel.cs, CompositeControl.cs, DataGrid.cs, ButtonColumn.cs,
4033 CompareValidator.cs, HierarchicalDataBoundControl.cs,
4034 EditCommandColumn.cs, Calendar.cs, SiteMapDataSource.cs,
4035 ListBox.cs, TableCell.cs, ObjectDataSourceSelectingEventArgs.cs,
4036 ObjectDataSourceMethodEventArgs.cs,DataGridPageChangedEventArgs.cs,
4037 WebControl.cs, BaseDataBoundControl.cs, FormParameter.cs,
4038 ValidationSummary.cs, View.cs, ImageButton.cs, TableRow.cs,
4039 LinkButton.cs, DataGridColumn.cs, Parameter.cs, TableItemStyle.cs,
4040 AdCreatedEventArgs.cs:
4042 General 2.0 API fixes: missing attributes, incorrect inheritance,
4043 missing sealed keywords, wrong signatures, etc.
4045 2005-01-28 Lluis Sanchez Gual <lluis@novell.com>
4047 * Table.cs: Added some 2.0 properties.
4048 * FontUnitConverter.cs, UnitConverter.cs: Implemented conversion to
4050 * BaseValidator.cs: Fix warning.
4051 * MultiView.cs, ViewCollection.cs, View.cs: Implemented.
4053 2005-01-26 Lluis Sanchez Gual <lluis@novell.com>
4055 * Menu.cs: Rendering fixes.
4057 2005-01-21 Lluis Sanchez Gual <lluis@novell.com>
4059 * Content.cs, ContentPlaceHolder.cs, ContentControlBuilder.cs
4060 ContentPlaceHolderBuilder.cs: Implemented.
4062 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4064 * CheckBox.cs: when rendering the input tag inside a span tag, keep the
4065 attributes that are meant to be in the input tag in their place.
4067 2005-01-10 Juraj Skripsky <juraj@hotfeet.ch>
4069 * RepeatInfo.cs: fixed bug #68927 (DataList with RepeatLayout='Flow'
4070 generates invalid html).
4072 2005-01-10 Lluis Sanchez Gual <lluis@novell.com>
4074 * Menu.cs: Implemented most of missing properties. Added support for
4075 item templates. Implemented menu scrolling.
4076 * MenuItemBinding.cs: Implemented most of missing properties.
4077 * MenuItem.cs: Implemented most of missing properties.
4078 * Menu.js: Implemented scrolling and menu reposition into screen.
4079 * MenuItemTemplateContainer.cs: Implemented.
4080 * SubMenuStyle.cs: Implemented.
4082 2004-12-20 Lluis Sanchez Gual <lluis@novell.com>
4084 * Style.cs: Implemented RegisteredCssClass property. Added
4085 CopyTextStylesFrom method, which copies styles that only apply to text.
4086 * Menu.cs, Menu.js: Added hover style support. Define all menu styles
4087 in the page stylesheet. Added support for ItemSpacing property.
4088 * MenuItemStyle.cs: Implemented FillStyleAttributes method.
4090 2004-12-17 Lluis Sanchez Gual <lluis@novell.com>
4092 * Style.cs: Generate styles using a CssStyleCollection, so the code can
4093 be reused for the 2.0 FillStyleAttributes method.
4094 * Menu.cs: Implemented more properties and events. Rendering is very
4096 * MenuItem.cs: Added PopOutImageUrl property.
4097 * Menu.js: More work on submenu management.
4099 2004-12-10 Lluis Sanchez Gual <lluis@novell.com>
4101 * Menu.cs: Implemented basic rendering. Added some missing properties.
4102 * MenuItem.cs: Improved implementation of Depth.
4103 * Unit.cs: Added serializable attribute.
4104 * TreeView.cs: Moved GetScriptLiteral method to ClientScriptManager,
4105 so it can be reused.
4106 * Menu.js: New script to support he Menu control.
4108 2004-12-03 Lluis Sanchez Gual <lluis@novell.com>
4110 * MenuEventArgs.cs: Changed to sealed.
4111 * TreeView.cs: Minor fix.
4112 * Menu.cs, MenuItemBindingCollection.cs, MenuItemCollection.cs,
4113 MenuItemStyle.cs, MenuItemBinding.cs, MenuItem.cs,
4114 MenuItemStyleCollection.cs: Initial Menu code.
4116 2004-12-02 Lluis Sanchez Gual <lluis@novell.com>
4118 * TreeNodeBindingCollection.cs, TreeNodeStyleCollection.cs:
4119 Implemented SetDirtyObject.
4120 * Style.cs: Implemented SetDirty().
4121 * TreeNodeBinding.cs: Added missing attributes. Implemented SetDirty().
4122 * TreeNode.cs: Added missing attributes added support for
4123 PopulateOnDemand. Added some missing property bindings.
4124 * TreeNodeCollection.cs: Several minor fixes. SetDirty must be called
4125 to newly added elements to make sure al new data is saved.
4126 * TreeView.js: Implemented support for client population of nodes.
4127 * TreeNodeStyle.cs: Added missing attributes.
4128 * TreeView.cs: Implemented support for PopulateNodesFromClient and
4129 PopulateOnDemand. Improved rendering.
4131 2004-11-29 Sanjay Gupta <gsanjay@novell.com>
4133 * DataControlField.cs:
4134 * DataControlFieldCell.cs: Initial implementation.
4136 2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
4138 * TreeNodeBindingCollection.cs: Implemented.
4139 * TreeNodeBinding.cs: Implemented.
4140 * TreeNode.cs: Added support for data binding.
4141 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif
4142 TreeView_Default_NoExpand.gif: Moved to resources directory.
4143 * ListControl.cs: Fixed api.
4144 * XmlHierarchicalEnumerable.cs: Made internal.
4145 * DataBoundControl.cs: Modified api to match latest ms.net.
4146 * TreeView.js: New javascript file to support TreeView in the client.
4147 * XmlDataSource.cs: Added missing attributes.
4148 * HierarchicalDataBoundControl.cs: Mostly implemented.
4149 * BaseDataBoundControl.cs: Mostly implemented.
4150 * XmlHierarchyData.cs: Made internal.
4151 * TreeView.cs: Mostly implemented. The major missing feature is
4152 client side tree population.
4154 2004-11-25 Sanjay Gupta <gsanjay@novell.com>
4157 * DataBountControl.cs:
4158 * Repeater.cs: Added SelectArguments property and updated.
4159 * SiteMapDataSourceView.cs:
4160 * SqlDataSourceView.cs:
4161 * XmlDataSourceView.cs: Removed extra method, which was there to
4162 keep things compiling.
4164 2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
4166 * TreeNodeBindingCollection.cs, TreeNodeBinding.cs, TreeNode.cs,
4167 TreeNodeCollection.cs, TreeNodeStyleCollection.cs, TreeNodeStyle.cs,
4168 TreeView.cs: Initial implementation.
4169 * DataBoundControl.cs: Set the correct base class.
4170 * HierarchicalDataBoundControl.cs, BaseDataBoundControl.cs: Created stub.
4171 * TreeNodeSelectAction.cs: Formatting.
4172 * TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif,
4173 TreeView_Default_NoExpand.gif: TreeView images.
4175 2004-11-22 Sanjay Gupta <gsanjay@novell.com>
4177 * SqlDataSourceView.cs: Updated methods and added one property.
4179 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
4181 * AccessDataSource.cs:
4182 * SqlDataSourceView.cs: Implemented CreateDataSourceView () method.
4183 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
4185 * SqlDataSource.cs: Updated call to constructor of SqlDataSourceView.cs.
4186 * SqlDataSourceView.cs: Updated constructor.
4188 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
4190 * AccessDataSourceView.cs: Added new class.
4192 2004-11-19 Sanjay Gupta <gsanjay@novell.com>
4194 * SqlDataSourceView.cs: Corrected exception handling in
4195 ExecuteSelect method.
4197 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
4199 * SiteMapHierarchicalDataSourceView.cs, SiteMapDataSource.cs: New files.
4200 * SiteMapDataSourceView.cs: Minor fix.
4202 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
4204 * SqlDataSourceView.cs: Updated ExecuteSelect method.
4206 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
4208 * SqlDataSource.cs: Corrected Select method.
4210 2004-11-18 Sanjay Gupta <gsanjay@novell.com>
4212 * SqlDataSource.cs: Updated Select method definition.
4213 * SqlDataSourceStatusEventArgs.cs: Updated class.
4215 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
4217 * SqlDataSourceView.cs: Removed implementation of Events (it is inherited
4218 from DataSourceView.cs).
4220 2004-11-10 Raja R Harinath <rharinath@novell.com>
4222 * SqlDataSourceView.cs (Select): Add 'override' to make it compile.
4224 2004-11-05 Sanjay Gupta <gsanjay@novell.com>
4226 * SqlDataSource.cs: Corrected method calls.
4227 * SqlDataSourceView.cs: Partial implementation of few methods.
4229 2004-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4231 * ListItemCollection.cs: fixed bug when indexing changed elements in
4232 LoadViewState. Patch from Alois BĻlaška.
4234 2004-10-20 Sanjay Gupta <gsanjay@novell.com>
4236 * SiteMapDataSourceView.cs:
4237 * SqlDataSourceView.cs:
4238 * XmlDataSourceView.cs: Cosmetic changes because of modifications in
4239 base class, DataSourceView. Changes are to keep things compiling.
4241 2004-10-19 Sanjay Gupta <gsanjay@novell.com>
4243 * SiteMapDataSourceView.cs: Corrected class definition and updated.
4244 * XmlHierarchicalDataSourceView.cs: Modified according to changes in
4247 2004-10-14 Sanjay Gupta <gsanjay@novell.com>
4249 * AdRotator.cs: Updated.
4251 2004-10-12 Sanjay Gupta <gsanjay@novell.com>
4253 * AccessDataSource.cs: Updated.
4255 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
4257 * ValidatedControlConverter.cs: Updated.
4259 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
4261 * AssociatedControlConverter.cs: Implemented.
4263 2004-10-08 Sanjay Gupta <gsanjay@novell.com>
4265 * ControlIDConverter.cs: Initial implementation.
4267 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
4269 * IButtonControl.cs: Corrected property name.
4271 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
4273 * ParameterCollection.cs: Updated.
4275 2004-10-04 Sanjay Gupta <gsanjay@novell.com>
4277 * Parameter.cs: Updated and completed implementation.
4279 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
4281 * ParameterCollection.cs: Resolved warnings, "Unreachable code detected"
4284 2004-10-01 Sanjay Gupta <gsanjay@novell.com>
4286 * AccessDataSource.cs: Initial implementation.
4288 2004-09-30 Sanjay Gupta <gsanjay@novell.com>
4290 * DataControlRowState.cs:
4292 * TreeNodeTypes.cs: Added attribute.
4293 * DataControlRowType.cs:
4295 * SortDirection.cs: Corrected enumeration values.
4296 * TableRowSection.cs: Added new enumeration.
4297 * ObjectDataSourceStatusEventHandler.cs: Corrected method name.
4299 2004-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4301 * TableStyle.cs: don't render empty 'rules' attribute (again).
4303 2004-09-21 Sanjay Gupta <gsanjay@novell.com>
4305 * FormViewUpdatedEventArgs.cs: Spelling mistake.
4307 2004-09-14 Sanjay Gupta <gsanjay@novell.com>
4309 * Literal.cs: Added new method Focus().
4311 2004-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4313 * RadioButton.cs: fix GroupName when the control is inside a
4314 NamingContainer different from Page. Closes bug #65586.
4316 2004-09-07 Sanjay Gupta <gsanjay@novell.com>
4318 * Localize.cs: Added new class.
4320 2004-09-03 Gaurav Vaish <gvaish_mono AT lycos.com>
4322 * CompositeControl.cs : Completed
4323 * Login.cs : Initial implementation.
4325 2004-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4327 * Xml.cs: fixed get_DocumentContent (it was returning "" always!) and
4328 don't call MapPathSecure on the content itself.
4330 * XmlBuilder.cs: handle XML documents written inside asp:xml. The
4331 document is checked at parse time and will be checked again at run time.
4335 2004-08-31 Sanjay Gupta <gsanjay@novell.com>
4337 * AuthenticateEventHandler.cs:
4338 * CreateUserErrorEventArgs.cs:
4339 * CreateUserErrorEventHandler.cs:
4340 * DetailsViewCommandEventHandler.cs:
4341 * DetailsViewDeleteEventArgs.cs:
4342 * DetailsViewDeleteEventHandler.cs:
4343 * DetailsViewDeletedEventArgs.cs:
4344 * DetailsViewDeletedEventHandler.cs:
4345 * DetailsViewInsertEventArgs.cs:
4346 * DetailsViewInsertEventHandler.cs:
4347 * DetailsViewInsertedEventArgs.cs:
4348 * DetailsViewInsertedEventHandler.cs:
4349 * DetailsViewModeEventArgs.cs:
4350 * DetailsViewModeEventHandler.cs:
4351 * DetailsViewPageEventHandler.cs:
4352 * DetailsViewUpdateEventArgs.cs:
4353 * DetailsViewUpdateEventHandler.cs:
4354 * DetailsViewUpdatedEventArgs.cs:
4355 * DetailsViewUpdatedEventHandler.cs:
4356 * FormViewCommandEventHandler.cs:
4357 * FormViewDeleteEventArgs.cs:
4358 * FormViewDeleteEventHandler.cs:
4359 * FormViewDeletedEventArgs.cs:
4360 * FormViewDeletedEventHandler.cs:
4361 * FormViewInsertEventArgs.cs:
4362 * FormViewInsertEventHandler.cs:
4363 * FormViewInsertedEventArgs.cs:
4364 * FormViewInsertedEventHandler.cs:
4365 * FormViewModeEventHandler.cs:
4366 * FormViewPageEventHandler.cs:
4367 * FormViewUpdateEventArgs.cs:
4368 * FormViewUpdateEventHandler.cs:
4369 * FormViewUpdatedEventArgs.cs:
4370 * FormViewUpdatedEventHandler.cs:
4371 * GridViewCancelEditEventArgs.cs:
4372 * GridViewCancelEditEventHandler.cs:
4373 * GridViewCommandEventHandler.cs:
4374 * GridViewDeleteEventArgs.cs:
4375 * GridViewDeleteEventHandler.cs:
4376 * GridViewDeletedEventArgs.cs:
4377 * GridViewDeletedEventHandler.cs:
4378 * GridViewEditEventHandler.cs:
4379 * GridViewPageEventHandler.cs:
4380 * GridViewRowEventHandler.cs:
4381 * GridViewSelectEventHandler.cs:
4382 * GridViewSortEventArgs.cs:
4383 * GridViewSortEventHandler.cs:
4384 * GridViewUpdateEventArgs.cs:
4385 * GridViewUpdateEventHandler.cs:
4386 * GridViewUpdatedEventArgs.cs:
4387 * GridViewUpdatedEventHandler.cs:
4388 * ImageMapEventHandler.cs:
4389 * MailMessageEventHandler.cs:
4390 * MenuEventHandler.cs:
4391 * ObjectDataSourceDisposingEventHandler.cs:
4392 * ObjectDataSourceEventHandler.cs:
4393 * ObjectDataSourceMethodEventArgs.cs:
4394 * ObjectDataSourceMethodEventHandler.cs:
4395 * ObjectDataSourceSelectingEventArgs.cs:
4396 * ObjectDataSourceSelectingEventHandler.cs:
4397 * ObjectDataSourceStatusEventArgs.cs:
4398 * ObjectDataSourceStatusEventHandler.cs:
4399 * SendMailErrorEventHandler.cs:
4400 * SiteMapNodeItemEventHandler.cs:
4401 * SqlDataSourceSelectingEventArgs.cs:
4402 * SqlDataSourceSelectingEventHandler.cs:
4403 * TreeNodeEventHandler.cs:
4404 * WizardNavigationEventArgs.cs:
4405 * WizardNavigationEventHandler.cs: Minor modifications, compiler error
4406 corrections and removing "sealed" access specifier from *EventHandler.cs
4408 2004-08-18 Sanjay Gupta <gsanjay@novell.com>
4410 * Literal.cs: Added new attributes and property for .Net 2.0
4412 2004-08-13 Sanjay Gupta <gsanjay@novell.com>
4414 * GridViewDeleteEventArgs.cs: Removed extra code.
4416 2004-08-12 Sanjay Gupta <gsanjay@novell.com>
4418 * SendMailErrorEventArgs.cs:
4419 * SendMailErrorEventHandler.cs:
4420 * SiteMapNodeItemEventArgs.cs:
4421 * SiteMapNodeItemEventHandler.cs:
4422 * SqlDataSourceSelectingEventArgs.cs:
4423 * SqlDataSourceSelectingEventHandler.cs:
4424 * TreeNodeEventArgs.cs:
4425 * TreeNodeEventHandler.cs:
4426 * WizardNavigationEventArgs.cs:
4427 * WizardNavigationEventHandler.cs: Added new delegates.
4429 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
4431 * ImageMapEventArgs.cs:
4432 * ImageMapEventHandler.cs:
4433 * MailMessageEventArgs.cs:
4434 * MailMessageEventHandler.cs:
4436 * MenuEventHandler.cs:
4437 * ObjectDataSourceDisposingEventArgs.cs:
4438 * ObjectDataSourceDisposingEventHandler.cs:
4439 * ObjectDataSourceEventArgs.cs:
4440 * ObjectDataSourceEventHandler.cs:
4441 * ObjectDataSourceMethodEventArgs.cs:
4442 * ObjectDataSourceMethodEventHandler.cs:
4443 * ObjectDataSourceSelectingEventArgs.cs:
4444 * ObjectDataSourceSelectingEventHandler.cs:
4445 * ObjectDataSourceStatusEventArgs.cs:
4446 * ObjectDataSourceStatusEventHandler.cs: Added new delegates.
4448 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
4450 * DetailsViewCommandEventArgs.cs:
4451 * FormViewCommandEventArgs.cs:
4452 * GridViewCommandEventArgs.cs: Corrected constructor.
4454 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
4456 * GridViewCancelEditEventArgs.cs:
4457 * GridViewCancelEditEventHandler.cs:
4458 * GridViewCommandEventArgs.cs:
4459 * GridViewCommandEventHandler.cs:
4460 * GridViewDeletedEventArgs.cs:
4461 * GridViewDeletedEventHandler.cs:
4462 * GridViewDeleteEventArgs.cs:
4463 * GridViewDeleteEventHandler.cs:
4464 * GridViewEditEventArgs.cs:
4465 * GridViewEditEventHandler.cs:
4466 * GridViewPageEventArgs.cs:
4467 * GridViewPageEventHandler.cs:
4468 * GridViewRowEventArgs.cs:
4469 * GridViewRowEventHandler.cs:
4470 * GridViewSelectEventArgs.cs:
4471 * GridViewSelectEventHandler.cs:
4472 * GridViewSortEventArgs.cs:
4473 * GridViewSortEventHandler.cs:
4474 * GridViewUpdatedEventArgs.cs:
4475 * GridViewUpdatedEventHandler.cs:
4476 * GridViewUpdateEventArgs.cs:
4477 * GridViewUpdateEventHandler.cs: Added new delegates.
4479 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
4481 * FormViewUpdatedEventArgs.cs: Corrected constructor.
4483 2004-08-11 Sanjay Gupta <gsanjay@novell.com>
4485 * FormViewCommandEventArgs.cs: Corrected name of class.
4487 2004-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4489 * Xml.cs: use MapPath in DocumentSource and documentContent. Fixes
4492 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
4494 * FormViewCommandEventArgs.cs:
4495 * FormViewCommandEventHandler.cs:
4496 * FormViewDeletedEventArgs.cs:
4497 * FormViewDeletedEventHandler.cs:
4498 * FormViewDeleteEventArgs.cs:
4499 * FormViewDeleteEventHandler.cs:
4500 * FormViewInsertedEventArgs.cs:
4501 * FormViewInsertedEventHandler.cs:
4502 * FormViewInsertEventArgs.cs:
4503 * FormViewInsertEventHandler.cs:
4504 * FormViewModeEventArgs.cs:
4505 * FormViewModeEventHandler.cs:
4506 * FormViewPageEventArgs.cs:
4507 * FormViewPageEventHandler.cs:
4508 * FormViewUpdatedEventArgs.cs:
4509 * FormViewUpdatedEventHandler.cs:
4510 * FormViewUpdateEventArgs.cs:
4511 * FormViewUpdateEventHandler.cs: Added new delegates.
4513 2004-08-10 Sanjay Gupta <gsanjay@novell.com>
4515 * DetailsViewCommandEventArgs.cs:
4516 * DetailsViewCommandEventHandler.cs:
4517 * DetailsViewDeletedEventArgs.cs:
4518 * DetailsViewDeletedEventHandler.cs:
4519 * DetailsViewDeleteEventArgs.cs:
4520 * DetailsViewDeleteEventHandler.cs:
4521 * DetailsViewInsertedEventArgs.cs:
4522 * DetailsViewInsertedEventHandler.cs:
4523 * DetailsViewInsertEventArgs.cs:
4524 * DetailsViewInsertEventHandler.cs:
4525 * DetailsViewModeEventArgs.cs:
4526 * DetailsViewModeEventHandler.cs:
4527 * DetailsViewPageEventArgs.cs:
4528 * DetailsViewPageEventHandler.cs:
4529 * DetailsViewUpdatedEventArgs.cs:
4530 * DetailsViewUpdatedEventHandler.cs:
4531 * DetailsViewUpdateEventArgs.cs:
4532 * DetailsViewUpdateEventHandler.cs: Added new delegates.
4534 2004-08-09 Sanjay Gupta <gsanjay@novell.com>
4536 * AuthenticateEventArgs.cs:
4537 * AuthenticateEventHandler.cs:
4538 * CreateUserErrorEventArgs.cs:
4539 * CreateUserErrorEventHandler.cs: Added new delegates.
4541 2004-08-05 Sanjay Gupta <gsanjay@novell.com>
4543 * IButtonControl.cs:
4544 * ICallbackContainer.cs:
4545 * ICompositeControlDesignerAccessor.cs:
4546 * IPostBackContainer.cs: Added new interfaces.
4548 2004-08-03 Sanjay Gupta <gsanjay@novell.com>
4551 * AutoCompleteType.cs:
4552 * ContentDirection.cs:
4553 * DataControlCellType.cs:
4554 * DataControlRowState.cs:
4555 * DataControlRowType.cs:
4556 * DetailsViewMode.cs:
4557 * DynamicImageParameterMode.cs:
4560 * ImageFieldMode.cs:
4567 * SiteMapNodeItemType.cs:
4568 * SiteMapNodeType.cs:
4569 * SiteMapViewType.cs:
4571 * TableCaptionAlign.cs:
4572 * TableHeaderScope.cs:
4574 * TreeNodeSelectAction.cs:
4576 * TreeViewImageSet.cs:
4577 * WizardStepType.cs: Added enumerations
4579 2004-08-02 Duncan Mak <duncan@ximian.com>
4582 * LoginFailureAction.cs:
4583 * LoginTextLayout.cs: Added enumerations.
4585 2004-07-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4587 * BaseValidator.cs: in Validate(), when the control is not visible or
4588 enabled, return inmediately after setting IsValid to true. Fixes bug
4591 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4593 * DataList.cs: s/HasChildren/HasControls()/.
4595 2004-07-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4597 * DataList.cs: style.
4599 2004-07-27 Alon Gazit <along@mainsoft.com>
4600 * DataList.cs: Replaced foreach statement with for statement,
4601 in order to improve performence.
4603 2004-07-27 Alon Gazit <along@mainsoft.com>
4604 * WebControl.cs: changed RenderBeginTag()to use TagKey instead of
4606 * Unit.cs : changed GetTypeFromString() and GetStringFromPixel() to use
4607 switch statements in order to improve performance.
4609 2004-06-10 Alon Gazit <along@mainsoft.com>
4610 * WebControl.cs: fixed LoadViewState().
4611 Creates new attributes state bag only when the current is null.
4613 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4615 * Calendar.cs: implemented OnPreRender and HasWeekSelectors.
4617 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4619 * Calendar.cs: set the title class attribute if we have it. Fixes bug
4622 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4624 * Style.cs: added SetBit.
4626 2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4629 * CompareValidator.cs:
4632 * WebControl.cs: Added protected missing members and attributes.
4634 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4636 * TextBox.cs: don't save the Text if in ViewState if it's a password.
4637 Save it if the control is not visible or not enabled. Fixes bug #58497.
4639 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4641 * Calendar.cs: fire OnDayRender after assigning the calendar cell text.
4644 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
4646 * SqlDataSourceCommandEventArgs:
4647 * XmlDataSource.cs : removed temporary workarounds for CLS
4648 compliance as System.Data is now CLS compliant
4650 2004-05-06 Alon Gazit <along@mainsoft.com>
4651 * WebControl.cs: fixed LoadViewState() and SaveViewState().
4652 Before the change the Enabled property wasn't updated when a postback
4654 * ListControl.cs: fixed SelectedIndex property implementation.
4655 Prevents throwing ArgumentOutOfRangeException (that should not be
4656 thrown), when the list is empty.
4658 2004-04-28 Alon Gazit <along@mainsoft.com>
4659 * WebControl.cs: fixed LoadViewState().
4660 Always loading the saved attributes collection.
4662 2004-04-18 Alon Gazit <along@mainsoft.com>
4663 * Repeater.cs: fixed InstantiateItem() and DataSource property.
4664 The change in DataSource prevents throwing ArgumentException while
4665 setting property value to null.
4666 The change in InstantiateItem() prevents NullReferenceException.
4668 2004-04-07 Lluis Sanchez Gual <lluis@ximian.com>
4670 * BaseValidator.cs: Store Display property in the correct ViewState
4671 property. Don't render anything if Display is ValidatorDisplay.None.
4673 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
4675 * Xml.cs: In LoadXpathDoc(), don't use MapPathSecure with documentSource,
4676 since it is already a physical path. Fixes bug #55334.
4678 2004-02-13 Jackson Harper <jackson@ximian.com>
4680 * Calendar.cs: Match MS postback data. This allows sites that
4681 parse the postback data manually to work.
4683 2004-02-04 Alon Gazit <along@mainsoft.com>
4684 * EditCommandColumn.cs: fixed InitializeCell().
4685 The rendered LiteralControl should contain " " and not " ".
4687 2004-02-01 Alon Gazit <along@mainsoft.com>
4689 * DataGrid.cs: fixed a problem in the paging mechanism in the method
4691 the problem was when (PagerStyle.Mode == PagerMode.NumericPages),
4692 while clicking the "..." link in the second page.
4694 2004-01-28 Alon Gazit <along@mainsoft.com>
4696 * Calendar.cs: prevent NullReferenceException in RenderAllDays().
4698 2004-01-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4700 * Calendar.cs: when rendering days, add a LiteralControl containing the
4701 day before OnDayRender is called. Only generate the default links for
4702 days when IsSelectable is true after OnDayRender. Fixes bug #53372.
4704 2004-01-21 Martin Baulig <martin@ximian.com>
4706 * XmlHierarchyData.cs: Make this compile with csc.
4708 * BulletedList.cs (BulletedList.SelectedItem): Removed the `set'
4709 accessor since the base class doesn't have one.
4711 2004-01-18 Alon Gazit <along@mainsoft.com>
4713 * CheckBoxList.cs: fix problem with negative TabIndex (wasn't rendered).
4715 2004-01-18 Alon Gazit <along@mainsoft.com>
4717 * Style.cs: CopyFrom method shouldn't copy a value that is equal to
4718 Property default value.
4719 * FontInfo.cs : CopyFrom method shouldn't copy a value that is equal to
4720 Property default value.
4722 2004-01-15 Alon Gazit <along@mainsoft.com>
4724 * RadioButtonList.cs: RepeatLayout property should affect the rendered
4727 2004-01-15 Alon Gazit <along@mainsoft.com>
4728 * FontInfo.cs: Add validation check to Size property.
4730 2004-01-07 Alon Gazit <along@mainsoft.com>
4731 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
4732 merge the column's style to the cell's style and not to
4733 the item's(row) style.
4735 2004-01-04 Alon Gazit <along@mainsoft.com>
4736 * RangeValidator.cs: Fixed ControlPropertiesValid().
4738 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4740 * Xml.cs: mono-stylized and removed warnings.
4742 2004-1-1 Alon Gazit <along@mainsoft.com>
4743 * RadioButtonList.cs: update RenderItem() so that each RadioButton
4744 is enabled or disabled like the RadioButtonList.
4745 * CheckBoxList.cs: update RenderItem() so that each CheckBox
4746 is enabled or disabled like the CheckBoxList.
4748 2004-1-1 Alon Gazit <along@mainsoft.com>
4749 * DataGrid.cs: Fixed PrepareControlHierarchyForItem().
4750 The Header or Footer Style shouldn't merge with the cells Style.
4752 2004-1-1 Alon Gazit <along@mainsoft.com>
4753 * DataGridColumn.cs: Headers and Footers are initialized
4754 with the relevant Style object.
4756 2003-12-30 Alon Gazit <along@mainsoft.com>
4757 * RepeatInfo.cs: Fixed DoVerticalRendering () and
4758 DoHorizontalRendering().
4759 Current implementation produces few extra html tags.
4761 2003-12-29 Alon Gazit <along@mainsoft.com>
4763 * CheckBox.cs: change the implementation of LoadPostData.
4764 Currently, while the AutoPostBack property equals true ,
4765 it isn't possible to perform uncheck.
4767 2003-12-19 Jackson Harper <jackson@ximian.com>
4769 * TableCell.cs: Setting a cells text should clear its control
4770 collection as per la specification. This fixes bug #51825.
4772 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4774 * DataGridColumn.cs: stylized LoadViewState.
4775 * DataGridColumnCollection.cs: when TrackViewState is called, also
4776 call it on all the existing columns. Fixes bug #52334.
4778 2003-12-18 Alon Gazit <along@mainsoft.com>
4780 * DataGridPagerStyle.cs: merge DataGridPagerStyle properties when Style
4783 2003-12-18 Alon Gazit <along@mainsoft.com>
4785 * TableStyle.cs: merge TableStyle properties when Style is empty.
4787 2003-12-16 Alon Gazit <along@mainsoft.com>
4789 * HyperLink.cs: Change Text property implementation. in MS when the Text
4790 property is set, all the controls in the HyperLink are being deleted.
4791 This fixes bug #52239.
4793 2003-12-15 Alon Gazit <along@mainsoft.com>
4794 * RepeatInfo.cs: Fixed DoVerticalRendering () and
4795 DoHorizontalRendering().
4796 Both methods add additional empty table row in the head of each item
4797 table when the variable named isTable equals true (happenes with the
4798 default instantiation of RepeatInfo). These additional rows should be
4799 added when isTable equals false.
4800 This fixes bug #52225.
4802 2003-12-15 Alon Gazit <along@mainsoft.com>
4804 * RepeatInfo.cs: Fixed DoVerticalRendering() and
4805 DoHorizontalRendering().
4806 Both methods add to rendered Header a colspan attribute according to the
4807 rows count. after the change the colspan is added according to the
4810 2003-12-15 Alon Gazit <along@mainsoft.com>
4811 * CheckBox.cs: Disabled CheckBox does not produce same HTML as .NET.
4812 In .NET if the checkbox is disabled ,its text appears disabled too.
4813 In Mono the text appears enabled. the fix is in Render().
4814 This fixes bug #52180.
4816 2003-12-15 Alon Gazit <along@mainsoft.com>
4817 * Repeater.cs: Change the implementation of CreateControlHierarchy().
4818 The current implementation renders extra Header and footer
4819 without Repeater.DataSource assign.
4820 This fixes bug #52179.
4822 2003-12-15 Alon Gazit <along@mainsoft.com>
4823 * DataGrid.cs: Change the implementation of the property
4824 BackImageUrl. The current implementation has no influence
4825 on the rendered Html.
4827 2003-12-15 Alon Gazit <along@mainsoft.com>
4828 * WebControl.cs: Change the implementation of the property
4829 Enabled. Before the change the WebControl also looked at
4830 parent.Enabled . fixed bug #52171.
4832 2003-12-11 Jackson Harper <jackson@ximian.com>
4834 * RepeatInfo.cs: When rendering vertically figure out how many
4835 colmns are not going to be filled in in the last row, and adjust
4836 things accordingly. This fixes bug #51863.
4838 2003-12-10 Alon Gazit <along@mainsoft.com>
4839 * TableRow.cs: Change the implementation of the properties
4840 HorizontalAlign and VerticalAlign. The current implementation
4841 has no influence on the rendered Html.
4843 2003-12-10 Alon Gazit <along@mainsoft.com>
4844 * TableItemStyle.cs: Add setting of The WRAP flag in the Wrap
4845 property's set method.
4847 2003-12-09 Jackson Harper <jackson@ximian.com>
4849 * PagedDataSource.cs (PrivateICollectionEnumerator.MoveNext):
4850 Increment counter when moving to start. Fixes bug #51926.
4852 2003-12-08 Jackson Harper <jackson@ximian.com>
4854 * HyperLinkColumn.cs: Fix navigate url rendering. Patch by
4855 Benjamin Jemlich. Fixes bug #51823.
4857 2003-12-07 Alon Gazit <along@mainsoft.com>
4858 * Panel.cs: Panel doesn't render nowrap attribute while the Wrap
4859 property is set to false. Fixes bug #58120.
4861 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4863 * TableItemStyle.cs: merge TableItemStyle properties when Style is
4864 empty. Fixes bug #51689. Patch by Alon Gazit <along@mainsoft.com>.
4866 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4868 * RadioButtonList.cs: render tabindex attribute if needed. Fixes bug
4871 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4873 * WebControl.cs: don't create the attributes when GetAttribute is
4876 2003-12-01 Jackson Harper <jackson@ximian.com>
4878 * WebControl.cs: Only allow access keys to be null or a single
4879 char. Patch by Alon Gazit <along@mainsoft.com>.
4881 2003-11-30 Jackson Harper <jackson@ximian.com>
4883 * CheckBoxList.cs: A checkbox will have null post data if it is
4884 unselected. This fixes bug #51516.
4886 2003-11-29 Jackson Harper <jackson@ximian.com>
4888 * DataGrid.cs: Display paging controls even when there is no
4889 data. Path by Mohammad DAMT. Fixes bug #51487.
4891 2003-11-29 Jackson Harper <jackson@ximian.com>
4893 * DataGrid.cs: Call TrackViewState when loading bound columns view
4894 state. So that their state is saved. This fixes bug #51424. Also
4897 2003-11-26 Jackson Harper <jackson@ximian.com>
4899 * BaseDataList.cs: Change && to || We will call that a typo so no
4900 one gets embarrased.
4902 2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4904 * BaseDataList.cs: allow setting null as Datasource.
4906 * DataGrid.cs: keep autogenerated columns in the ViewState.
4908 Patches by Alon Gazit <along@mainsoft.com>.
4910 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
4912 * SqlDataSource*: Implement almost everything. Data access is
4915 2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
4917 * Calendar.cs (SaveViewState):
4918 - We were allocating a 11 item array, we only used 10 items,
4919 so only allocate 10.
4920 - We only need to save the selected dates if there are any.
4921 * DataGrid.cs (SaveViewState):
4922 * DataGridColumn.cs (SaveViewState):
4923 * DataGridColumnCollection.cs (SaveViewState):
4924 - Only return the array if there is anything in it
4925 * Style.cs (SaveViewState):
4926 - Only save the bits if there were changes.
4927 * WebControl.cs (SaveViewState), (LoadViewState):
4928 - Don't save Enabled into the viewstate here, we already
4929 do it in the property. This just caused *EVERY* control
4930 to have a non-null state, taking up lots of extra room
4932 - The style will always be created with this control's
4933 viewstate, so the style will always return null for the
4934 viewstate. As such, we do not need to store it. We can
4935 also reduce the triplet to a pair because of this.
4937 2003-11-22 Jackson Harper <jackson@ximian.com>
4939 * ValidationSummary.cs: Fix number of messages and message array computation.
4941 2003-11-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
4943 * Xml.cs: Corrected attribute
4944 * XmlBuilder.cs: Added
4946 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4948 * Xml.cs: class status based fixes.
4950 2003-11-19 Jackson Harper <jackson@ximian.com>
4952 * HyperLink.cs: Use ResolveUrl instead of ResolveBaseUrl.
4954 2003-11-19 Jackson Harper <jackson@ximian.com>
4956 * HyperLink.cs: Use ResolveBaseUrl so that ~/ is interpreted as
4957 teh applications base directory. This fixes bug #51092.
4959 2003-11-18 Todd Berman <tberman@gentoo.org>
4961 * ControlParameter.cs:
4962 * CookieParameter.cs:
4964 * QueryStringParameter.cs:
4965 * SessionParameter.cs: added public .ctor ()
4966 * Parameter.cs: added public .ctor (), internal SetOwnerCollection
4967 and handling, as well as internal ParameterValue for easy access.
4968 NOTE: ParameterValue doesnt respect TreatEmptyStringAsNull yet.
4969 * ParameterCollection.cs: implementation redux.
4971 2003-11-18 Todd Berman <tberman@gentoo.org>
4973 * ParameterCollection.cs: Implemented
4974 * Parameter.cs: Added _owner, SetOwnerCollection and proper handling.
4975 ToString () now matches asp.net
4977 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
4979 * ControlParameter.cs:
4980 * CookieParameter.cs:
4983 * QueryStringParameter.cs: New v2 files. Mostly
4984 implemented, still need a few methods.
4986 2003-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4988 * ListItem.cs: prevent nullrefs ni Get/SetAttribute. Thanks to Alon
4989 Gazit <along@mainsoft.com>.
4991 2003-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4993 * RadioButton.cs: fixed RenderInputTag for negative TabIndex values.
4994 Patch by Alon Gazit <along@mainsoft.com>.
4996 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
4998 * DataBoundControl.cs: Implement
4999 * ListControl.cs: inherit from the above.
5000 * Repeater.cs, BaseDataList.cs: should reset whenever we databind.
5002 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
5007 * Repeater.cs: add v2 databinding stuff
5008 * XmlDataSource.cs: make it load the xml.
5010 2003-11-09 Ben Maurer <bmaurer@users.sourceforge.net>
5013 * XmlDataSourceView.cs:
5014 * XmlHierarchicalDataSourceView.cs:
5015 * XmlHierarchicalEnumerable.cs:
5016 * XmlHierarchyData.cs: Implement
5018 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
5020 * SiteMapDataSourceView.cs: Implement.
5022 2003-11-07 Jackson Harper <jackson@ximian.com>
5024 * ImageButton.cs: This is a workaround for bug #49819. It appears
5025 that the .x and .y values are not being posted, and only the x
5026 value is being posted with the ctrl's id as the key.
5028 2003-11-07 Jackson Harper <jackson@ximian.com>
5030 * DataGrid.cs (CreateControlHierarchy): Current page index is
5031 alolowed to equal page count. This prevents an exception being
5032 thrown when both are zero.
5034 2003-11-06 Jackson Harper <jackson@ximian.com>
5036 * ValidationSummary.cs: Add Render method. Patch by Yaron Shkop.
5037 * BaseValidator.cs: Disable base control so the isValid flag is
5040 2003-11-03 Jackson Harper <jackson@ximian.com>
5042 * TemplateColumn.cs: Use the same renderer for selected items as
5043 normal items. This fixes bug #49744.
5045 2003-11-03 Jackson Harper <jackson@ximian.com>
5048 * WebControl.cs: Fix argument out of range exceptions on
5049 properties. Patch by Yaron Shkop.
5051 2003-11-03 Jackson Harper <jackson@ximian.com>
5053 * TemplateColumn.cs: If the item is selected but there is no
5054 editItemTemplate use the itemTemplate. This matches MS behvoir.
5056 2003-11-03 Jackson Harper <jackson@ximian.com>
5058 * Repeater.cs: Always set alternating items to the AlternatingItem
5059 type, when instantiating alternating items use the itemTemplate if
5060 the alternatingItem template is null. This matches MS behavoir and
5063 2003-11-03 Jackson Harper <jackson@ximian.com>
5065 * DataGridPagerStyle.cs: Name of view state attribute is
5066 PagerVisible not Visible. Call owner.OnPagerChanged when the pager
5067 visibility is changed. Patch by Yaron Shkop.
5069 2003-11-03 Jackson Harper <jackson@ximian.com>
5071 * RepeatInfo.cs: When doing horizontal rendering use the repeat
5072 columns as the number of columns in a row. This fixes bug #49016.
5074 2003-11-03 Jackson Harper <jackson@ximian.com>
5076 * PagedDataSource.cs (PageCount): Return page count of 1 if there
5077 paging is disabled. Patch by Yaron Shkop.
5078 * PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
5079 * TableStyle.cs (AddAttributesToRender): Render border style
5080 collapse. Patch by Yaron Shkop.
5082 * TableItemStyle.cs:
5083 * DataGridPagerStyle.cs: Call base copy and merge even if style is of
5084 the wrong type. Patch by Yaron Shkop.
5086 2003-11-03 Jackson Harper <jackson@ximian.com>
5088 * BoundColumn.cs: Render readonly columns. Patch by Mohammad DAMT.
5090 2003-11-02 Ben Maurer <bmaurer@users.sourceforge.net>
5093 * BulletedListDisplayMode.cs:
5094 * BulletedListEventHandler.cs:
5096 * BulletedListEventArgs.cs: V2 controls (yay!)
5098 2003-10-30 Jackson Harper <jackson@ximian.com>
5100 * Repeater.cs: Throw an exception if the datasource is set to
5101 something that does not implement either IListSource or
5102 IEnumerable. This fixes bug #50155.
5104 2003-10-30 Jackson Harper <jackson@ximian.com>
5106 * DataGridPagerStyle.cs: Do not allow page button counts to be set
5107 to less then 1. Patch by Yaron Shkop. This fixes bug #50236.
5109 2003-10-29 Jackson Harper <jackson@ximian.com>
5111 * ButtonColumn.cs: Format string and text to format were
5112 inversed. This fixes bug #50171.
5114 2003-10-29 Jackson Harper <jackson@ximian.com>
5116 * DataGridColumn.cs: If an item style is set apply it to the
5117 cell. This fixes bug #50173.
5119 2003-10-29 Ben Maurer <bmaurer@users.sourceforge.net>
5121 * HyperLinkColumn.cs: Patch by Yaron Shkop. Fixes #50234. Remove
5122 old debugging value.
5124 2003-10-29 Jackson Harper <jackson@ximian.com>
5126 * PagedDataSource.cs:
5127 * DataGrid.cs: Patch by Mohammad DAMT. Do not go past the
5128 end of the last page. Fixes bug #5085.
5130 2003-10-29 Jackson Harper <jackson@ximian.com>
5132 * CheckBox.cs: Do not change the status of a checkbox when there
5133 is no post data. This fixes bug #49091.
5134 * CheckBoxList.cs: Do not change the status of the checkboxes when
5135 there is no post data. This fixes bug #49093.
5137 2003-10-26 Ben Maurer <bmaurer@users.sourceforge.net>
5139 * RadioButton.cs: Patch by Yaron Shkop. Enables disabling a
5140 RadioButton. Fixes #50132
5142 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
5144 * PagedDataSource.cs: Patch by Ivo Haamer. Typo prevented
5145 paging from working. Fixes #48814.
5147 2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
5149 * DataGrid.cs: A few typos kept us from viewing datagrids
5150 that were based on customized collections.
5152 2003-10-24 Ben Maurer <bmaurer@users.sourceforge.net>
5154 * DataGridCommandEventArgs.cs: typo, cmdSrc was becoming origionalArgs.
5156 2003-10-23 Ben Maurer <bmaurer@users.sourceforge.net>
5158 * Calendar.cs: render the next month button so that aligns to the
5161 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5163 * BaseCompareValidator.cs: splitted Convert. Fixed bug #49927. The fix
5164 was just changing && by || after the first Match.
5166 2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5168 * Calendar.cs: apply header style in RenderHeader. Fixes bug #49144.
5169 Patch by Yaron Shkop.
5171 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5173 * DataGrid.cs: applied patch from Yaron Shkop (yaronsh@mainsoft.com)
5174 that fixes bug #49744. Now the selection doesn't lose its data.
5176 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
5178 * EditCommandColumn.cs: Implement; fix #49736
5180 2003-10-21 Ben Maurer <bmaurer@users.sourceforge.net>
5182 * ButtonColumn.cs: Use the DataGridLinkButton, so that we inherit
5183 the forground color. bug #49738
5185 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5187 * Calendar.cs: fixed bug #49727.
5189 2003-10-18 Ben Maurer <bmaurer@users.sourceforge.net>
5191 * TableStyle.cs: fix #49740.
5193 2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5195 * SelectedDatesCollection.cs: fix by Yaron for bug #49698.
5196 * ValidationSummary.cs: fixes bug #49669.
5198 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5200 * Calendar.cs: apply the calendar style to the new Table, not to itself.
5203 * CheckBox.cs: render the hidden fields if AutoPostBack.
5205 * Style.cs: don't render empty width/height. Small improvement in
5208 * Table.cs: fixed condition for border width.
5211 (CopyFrom): always call the base class to copy other attributes. Fixes
5212 bug #49408. Don't render empty 'rules' attribute.
5214 * WebControl.cs: track viewstate when enabled. Don't overwrite source
5215 control attributes in CopyBaseAttributes.
5217 * ChangeLog: fixed dates.
5220 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
5222 * WebControl.cs : Attributes { get; } - Is Complete.
5223 * ValidationSummary.cs : AddAttributesToRender(HtmlTextWriter)
5226 2003-10-08 Gaurav Vaish <gvaish_mono AT lycos.com>
5228 * BaseValidator.cs : DetermineRenderUplevel() - Completed.
5229 : RegisterValidatorCommonScript()
5230 - More code, I need HELP!
5231 : RegisterValidatorDeclaration()
5232 - More code, I need HELP!
5234 2003-09-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5236 * CheckBoxList.cs: don't lose state when enabling/disabling. See bug
5239 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5241 * Repeater.cs: fixed bug #48807. It needed to use a DummyDataSource and
5242 ClearViewState only called when no items.
5244 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5246 * RadioButtonList.cs: fix for bug #48874 by Yaron Shkop.
5248 2003-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5250 * RadioButtonList.cs: fix for bug #48870 by Yaron Shkop.
5252 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5254 * DataList.cs: fixed bug #48217. Patch by yaronsh@mainsoft.com (Yaron
5257 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5259 * AdRotator.cs: fixes bug #48691. Patch by yaronsh@mainsoft.com (Yaron
5262 2003-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5264 * CheckBox.cs: render the 'disabled' attribute in the correct tag.
5265 * WebControl.cs: fixed Enabled property and save it in ViewState.
5269 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5271 * ListControl.cs: fixed bug #48668. Thanks to Yaron Shkop.
5273 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5275 * ListBox.cs: patch by yaronsh@mainsoft.com (Yaron Shkop) that fixes
5278 2003-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5280 * FontInfo.cs: fixed Name property as suggested by Rich Alimi
5281 <rich@velvetsea.net>.
5283 2003-09-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5285 * RegularExpressionValidator.cs: fix for EvaluateIsValid by Juraj
5286 Skripsky <juraj@hotfeet.ch>
5288 2003-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5290 * BaseValidator.cs: patch by Juraj Skripsky (juraj@hotfeet.ch) that
5291 fixes rendering of the end tag.
5293 2003-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5295 * Repeater.cs: fix for Items property provided by yaronsh@mainsoft.com
5296 (Yaron Shkop). Closes bug #48060.
5298 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5300 * CheckBox.cs: in LoadPostData, only return
5301 true when the new data is different from the one we had. Fixed
5302 conditions to save Checked state. Thanks to yaronshkop@hotmail.com
5305 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5307 * Style.cs: Font.Strikeout renders as 'line-through'. Fixes bug #47871.
5309 2003-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5311 * WebControl.cs: removed dangling ^M and unneeded fields. Keep track
5312 of Enable in ViewState. Fixes bug #47865.
5314 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5316 * Style.cs: the MARKED bit is not send set in ViewState unless something
5317 is changed. Fixed TrackViewState condition.
5319 * WebControl.cs: save the base ViewState *after* ControlStyle is done,
5320 because it uses the same ViewState as the control. Fixes bug #47725.
5322 2003-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5324 * HyperLinkColumn.cs: patch from David Pickens <dsp@rci.rutgers.edu>
5325 that fixes databinding when only DataTextField or DataNavigateUrlField
5328 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5330 * ListControl.cs: patch sent by Yaacov Akiba Slama <ya@slamail.org> on
5331 behalf of Yaron Shkop <yaronsh@mainsoft.com> that fixes selection of
5332 values before assigning a data source and other issues.
5334 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5336 * CheckBox.cs: save viewstate when needed and correctly handle post
5337 data. Fixes bug #47462.
5339 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5341 * ButtonColumn.cs: Removed additional attributes
5342 * CheckBox.cs: Added attribute
5343 * DataGrid.cs: Added attributes
5344 * HyperLinkColumn.cs: Changed attributes, added lamespec
5345 * Style.cs: Removed attributes
5346 * TextBox.cs: Added/ removed attributes
5348 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5350 * AdRotator.cs: Added all attributes
5351 * BaseDataList.cs: Added all attributes, added lamespec, removed additional attributes
5352 * BaseValidator.cs: Added all attributes
5353 * BoundColumn.cs: Added all attributes
5354 * Button.cs: Added all attributes
5355 * ButtonColumn.cs: Added all attributes, added lamespec
5356 * Calendar.cs: Added all attributes, added error checks, throws more exceptions
5357 * CheckBox.cs: Added all attributes
5358 * CheckBoxList.cs: Added all attributes
5359 * CompareValidator.cs: Added all attributes
5360 * CustomValidator.cs: Added all attributes
5361 * DataGrid.cs: Added all attributes, more verbose exceptions, fixed signature, removed additional attributes
5362 * DataGridColumn.cs: Added all attributes
5363 * DataGridColumnCollection.cs: Added all attributes
5364 * DataGridPagerStyle.cs: Added all attributes
5365 * DataGridTableInternal.cs: Made DataGridTableInternal internal
5366 * DataList.cs: Added all attributes, more verbose exceptions, removed non-existing member
5367 * DropDownList.cs: Added all attributes
5368 * FontInfo.cs: Added all attributes
5369 * HyperLink.cs: Added all attributes
5370 * HyperLinkColumn.cs: Added all attributes
5371 * Image.cs: Added all attributes
5372 * ImageButton.cs: Added all attributes
5373 * Label.cs: Added all attributes
5374 * LinkButton.cs: Added all attributes
5375 * ListBox.cs: Added all attributes, added error checks, throws more exceptions
5376 * ListControl.cs: Added all attributes
5377 * ListItem.cs: Added all attributes
5378 * ListItemCollection.cs: Added attribute
5379 * Literal.cs: Added all attributes
5380 * Panel.cs: Added all attributes
5381 * RadioButton.cs: Added all attributes
5382 * RadioButtonList.cs: Added all attributes, added error checks, throws more exceptions
5383 * RangeValidator.cs: Added all attributes
5384 * RegularExpressionValidator.cs: Added all attributes
5385 * Repeater.cs: Added all attributes
5387 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
5389 * RequiredFieldValidator.cs: Added all attributes
5390 * Style.cs: Added all attributes
5391 * Table.cs: Added all attributes
5392 * TableCell.cs: Added all attributes, added error checks, throws more exceptions
5393 * TableCellCollection.cs: Added attribute
5394 * TableRow.cs: Added all attributes
5395 * TableRowCollection: Added attribute
5396 * TableStyle.cs: Added all attributes, improved error messages
5397 * TemplateColumn.cs: Added all attributes
5398 * TextBox.cs: Added all attributes, added error checks, throws more exceptions
5399 * ValidationSummary.cs: Added all attributes
5400 * WebControl.cs: Added all attributes
5401 * Xml.cs: Added all attributes
5403 2003-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5405 * DataGrid.cs: fixed signature of ItemCreated and PageIndexChanged.
5406 * DataList.cs: fixed signature of ItemCreated and ItemDataBound.
5408 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5410 * CheckBoxList.cs: fixes bug reported on the list about the state of
5411 the CheckButtons not being preserved across posts.
5413 2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5415 * ListControl.cs: added SelectedValue property (1.1). Closes 46412.
5417 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5419 * AdRotator.cs: fixed bug #44271 and a few others bugs. Mono-stylized.
5421 2003-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5423 * ListControl.cs: save viewstate data when any of the 3 values is not
5424 null. Fixed condition to save selection indices. Closes bug #45493.
5426 2003-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5428 * DataGrid.cs: fixed bug #43823.
5430 2003-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5432 * DataGrid.cs: fixed delegate type for SortCommand.
5434 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5436 * DataGridColumnCollection.cs: added missing return in RemoveAt.
5438 2003-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5440 * DataGridColumnCollection.cs: fixed LoadViewState for the columns.
5441 Don't save ViewState is the number of columns is 0.
5443 2003-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5445 * DataGrid.cs: get the right item Type for the property we're reading
5446 fromt the data source.
5448 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5451 * TextBox.cs: added control builder attribute.
5453 2003-03-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5455 * DataGrid.cs: Fixed SaveViewState and type of ItemDataBound.
5457 2003-03-17 George Kodinov <gkodinov@openlinksw.co.uk>
5459 * Unit.cs: Called the correct method to get the Numeric locale for the
5462 2003-02-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5464 * ButtonColumn.cs: fixed a couple of infinite loop problems and render
5465 correctly the header of the column.
5467 * DataGridTableInternal.cs: don't assign a default ID to this control.
5469 * LinkButton.cs: raise bubble event in OnCommand.
5471 * TableCellCollection.cs: fixed the index returned by Add.
5473 * TableRowCollection.cs: ditto.
5475 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5477 * Xml.cs: don't call MapPathSecure when setting DocumentSource.
5479 2003-02-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5481 * RangeValidator.cs: fixed bug #37577. Thanks to Stephane Tombeur
5482 for reporting the bug and providing the fix.
5484 2003-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5486 * DataGrid.cs: AutoGenerateColumns defaults to true. Fixed
5487 CreateColumnSet. Set the owner of the column when auto generated.
5488 In PrepareControlHierarchyForItem, fixed for loop bound.
5490 * LinkButtonInternal.cs: fixed infinite recursion bug.
5494 2003-01-22 Zdravko Tashev <ztashev@openlinksw.co.uk>
5496 * Xml.cs: a few fixes.
5498 2003-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5500 * DataList.cs: handle the exception when adding new keys to
5503 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5505 * BaseDataList.cs: what can I say for this one? I spent so many time
5506 until I finally found this that I'm gonna miss this f....g bug... ;-).
5507 Farewell. Now we can get events from image buttons inside Data*.
5509 * DataList.cs: now the value stored in ViewState for item count is
5512 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5514 * DataGrid.cs: default value for ShowHeaders is true. Fixed style for
5516 * DataGridColumn.cs: added SetOwner method.
5517 * DataGridColumnCollection.cs: set the owner of the column when added.
5519 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5521 * BoundColumn.cs: typo.
5522 * DataGrid.cs: use 'as' instead of casting. Typo.
5523 * HyperLinkColumn.cs: call OnColumnChanged when any property change.
5526 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5528 * HyperLink.cs: fixes bug #36336.
5530 2003-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5532 * DataList.cs: fixed IRepeatInfoUser.GetItemStyle.
5534 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5536 * BaseValidator.cs: return an empty string in GetControlValidationValue
5537 when GetValue returned null.
5539 * CompareValidator.cs: fixed EvaluateIsValid.
5541 * RegularExpressionValidator.cs: fixed EvaluateIsValid.
5543 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5545 * Xml.cs: use MapPathSecure to get the path of the document.
5547 2002-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5549 * DataList.cs: fixed header & footer.
5551 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5553 * DataList.cs: for header and footer don't use data source.
5554 Instantiate in the DataListItem, not in the DataList.
5555 databind-template.aspx works now.
5557 2002-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5560 (Render): call RenderContents (), not base.RenderContents ().
5562 * DataList.cs: style.
5564 But I still haven't found what i'm looking for....
5566 2002-11-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5568 * Calendar.cs: fixed loading/saving selected dates.
5569 * SelectedDatesCollection.cs: added internal function to get the
5570 underlying ArrayList.
5572 Calendar navigation works again. Selecting dates too.
5574 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5576 * DataList.cs: added a few attributes and fixed infinite recursion.
5578 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5580 * ListItemCollection.cs: fixed LoadViewState.
5582 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5584 * TableItemStyle.cs: TypeDescriptor.GetConverter seems to fail.
5585 Commented out some code until it works.
5587 2002-10-29 Gaurav Vaish <gvaish_mono@lycos.com>
5589 * BaseCompareValidator.cs - Fixed operator bug in
5590 Compare(string, string, ...)
5591 * CompareValidator.cs - EvaluateIsValid() : Implemented.
5593 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
5595 * BoundColumn.cs - InitializeCell(TableCell, int, ListItemType)
5597 - All Properties : Now make use of ViewState.
5599 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
5601 * BaseValidator.cs - Uncomment NotImplementedException.
5603 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
5605 * BaseValidator.cs - Minor changes in TODO comments.
5607 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
5609 * BaseValidator.cs - DetermineRenderUpLevel() : Uncomment
5610 the NotImplementedException being thrown.
5611 * DataGridPagerStyle.cs - Mode { set; } : Implemented.
5612 * DataGridLinkButton.cs - Added new class (private) : Implemented.
5613 * DataGrid.cs - InitializePager(DataGridItem, int,
5614 PagedDataSource) : Implemented.
5616 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
5618 * DataList.cs - PrepareControlHierarchy() : Implemented.
5620 2002-10-28 Gaurav Vaish <gvaish_mono@lycos.com>
5622 * DataList.cs - RenderContents(HtmlTextWriter) : Implemented.
5623 - GetItem(ListItemType, int) : Removed TODO.
5624 - CreateControlHierarchy(bool) : Implemented.
5625 - CreateItem(int, ListItemType) : Implemented.
5626 - CreateItem(int, ListItemType,
5627 bool, object) : Implemented.
5628 - InitializeItem(DataItem) : Implemented.
5629 * DataGrid.cs - CreateControlHierarchy(bool) : Bug fix.
5630 The ViewState["_!ItemCount"],
5631 ViewState["_!DataSource_ItemCount"]
5632 are shared by DataList and DataGrid, and hence
5633 should share the same name.
5634 - ResolveDataSource(object, string)
5635 : Removed. Use System.Web.UI.Utils.DataSourceHelper
5636 ::GetResolvedDataSource(object, string).
5639 2002-09-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5641 * DataGrid.cs: fixed compilation
5643 2002-09-12 Gaurav Vaish <gvaish_mono@lycos.com>
5645 * PagedDataSource.cs - FirstIndexInPage : Fixed bug.
5646 * DataGrid.cs - CreateControlHierarchy(bool)
5647 : working towards completion.
5648 - ResolveDataSource(object, string)
5649 : stubbed new method
5651 : stubbed new method
5652 Well. It's almost done.
5653 * DataGridTableInternal.cs
5654 - Added new internal class.
5656 2002-08-28 Gaurav Vaish <gvaish_mono@lycos.com>
5658 * DataSourceInternal.cs - Added new class (internal).
5660 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5663 * HorizontalAlign.cs:
5665 * VerticalAlign.cs: fixes based on class status page.
5667 * HorizontalAlignConverter.cs: implemented.
5668 * VerticalAlignConverter.cs: implemented.
5670 * FontUnitConverter.cs: implemented GetStandardValues ().
5672 * WebColorConverter.cs: implemented ConvertFrom () and ConvertTo ().
5674 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
5676 * DataGrid.cs - AutoCreateColumns: Bug fixes.
5678 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
5680 * DataGrid.cs - AutoCreateColumns: completed, hopefully!
5682 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
5684 * DataGrid.cs - Working on the undocumented protected
5685 method CreateColumnSet. AutoCreateColumns method
5686 stubbed. Left CreateControlHierarchy for the time
5687 being, looks like I'm going insane. ;-)
5689 2002-08-19 Gaurav Vaish <gvaish_mono@lycos.com>
5691 * Button.cs - Steffen's OnCommand bug fix.
5693 2002-08-12 Gaurav Vaish <gvaish_mono@lycos.com>
5695 * DataGrid.cs - Added protected method (skeleton)
5696 CreateColumnSet(PagedDataSource, bool)
5697 Still trying to know how will it be used
5700 2002-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5702 * PagedDataSource.cs: fixed compilation.
5704 2002-08-08 Gaurav Vaish <gvaish_mono@lycos.com>
5706 * DataGrid.cs - Added private method
5707 CreatePagedDataSource
5709 CreateControlHierarchy(bool)
5710 * PagedDataSource.cs - Bug fixed.
5711 CurrentPageIndex is writable.
5713 2002-08-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5715 * DataGrid.cs: fixed typo.
5716 * DataGridPagerStyle.cs: added IsPagerOnTop and IsPagerOnBottom.
5718 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
5720 * DataGridColumn.cs - Added internal methods to get the
5721 various styles (needed in DataGrid.cs)
5722 * DataGrid.cs - Completed the method
5723 PrepareControlHierarchy()
5725 2002-08-06 Gaurav Vaish <gvaish_mono@lycos.com>
5727 * DataGrid.cs - Wokring on PrepareControlHierarchy()
5728 - Added private method
5729 PrepareControlHierarchyForItem()
5731 2002-08-05 Gaurav Vaish <gvaish_mono@lycos.com>
5733 * DataGrid.cs - Completed method
5734 OnBubbleEvent(object, EventArgs)
5736 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5738 * Xml.cs: implemented document/transform load.
5740 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5742 * Calendar.cs: added myself to the list of authors.
5743 * DropDownList.cs: fixed a few properties.
5744 * ListControl.cs: fixed SelectedIndex.
5746 2002-07-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5748 * Calendar.cs: lots of fixes. Render days. Still left to persist
5749 selected days when changing month.
5751 * Unit.cs: fixed Percentage and Pixel.
5753 * WebControl.cs: a few properties are now using ControlStyle instead
5754 of ViewState to persist.
5756 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5758 * BaseValidator.cs: it works now.
5759 * DataGridColumn.cs: added attribute and made it abstract.
5760 * RequiredFieldValidator.cs: fixed return value in EvaluateIsValid.
5762 2002-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5764 * TextBox.cs: default for Wrap is true.
5765 (OnPreRender): don't save Text if there are no listeners on TextChanged.
5767 2002-07-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5773 (LoadViewState): fixed.
5775 * ListItemCollection.cs:
5776 (TrackViewState): use items instead of 'this' in foreach.
5779 (LoadViewState): more checking of parameters.
5781 * WebControl.cs: implemented LoadViewState and SaveViewState.
5784 2002-07-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5786 * ListItem.cs: there was no code to unset the flags!!!
5788 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5790 * FontUnit.cs: use a hashtable for mapping size name to value.
5791 * HyperLink.cs: fixed a bug and a typo.
5792 * Unit.cs: some fixes to internal constructor.
5794 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5796 * ListControl.cs: fixed a couple of range checks.
5797 * WebControl.cs: MS lies! Not all WebControls must be rendered inside
5798 an HtmlForm (p.e., Label).
5800 2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5810 * HyperLinkColumn.cs:
5819 * RadioButtonList.cs:
5823 * WebControl.cs: removed attributes added by mistake (i used
5824 GetCustomAttributes (true), d'oh!).
5826 * DataListItem.cs: implemented RenderItem.
5828 * Repeater.cs: implemented CreateItem and InitializeItem.
5830 2002-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5832 * BaseDataList.cs: a couple of fiex and added attributes.
5833 * DataGrid.cs: little fixes.
5835 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5844 * RadioButtonList.cs:
5847 * Xml.cs: forgot to add using System.ComponentModel.
5849 * BaseValidator.cs: use explicitly
5850 System.ComponentModel.AttributeCollection as there is another class
5851 with the same name under System.Web.UI.
5853 2002-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5872 * RadioButtonList.cs:
5877 * Xml.cs: added/fixed all attributes used by xsp.
5879 * BaseValidator.cs: some fixes.
5881 2002-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5884 (AddAttributesToRender): correctly default to border=1.
5886 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5889 (LoadAdFile): make the dictionary null after every iteration.
5893 * ListItem.cs: fixed warnings.
5895 Mon Jul 1 16:23:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
5897 * Style.cs, TableRow.cs, DataListItem.cs: fix compilation.
5899 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5901 * DataGridColumn.cs:
5902 * DataGridPagerStyle.cs:
5909 * ListItemCollection.cs:
5911 * ServerValidateEventArgs.cs:
5915 * Xml.cs: more class status page based changes.
5917 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5920 (.ctor): fixed to render the correct tag.
5921 (IPostBAckEventHandler.RaisePostBackEvent): fixed.
5923 2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5926 (AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
5927 WebControl derived classes should be rendered inside a HtmlForm.
5929 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5931 * Repeater.cs: implemented CreateControlHierarchy. Fixed some event
5934 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5936 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
5937 * RepeatInfo.cs: implemented DoHorizontalRendering.
5939 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5941 * System.Web.UI.WebControls/Repeater.cs:
5943 (OnDataBinding): fixed stack overflow.
5945 2002-06-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5947 * RadioButtonList.cs: implemented IRepeatInfoUser.RenderItem.
5948 * RepeatInfo.cs: implemented DoHorizontalRendering.
5950 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5953 (CopyBaseAttributes): copy Attributes and don't throw exception.
5955 2002-06-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5957 * ListBox.cs: mono-stylized.
5958 (AddAttributesToRender): call parent class method.
5960 2002-06-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5962 * Style.cs: fixed IsEmpty and Width.
5964 * Table.cs: mono-stylized.
5965 (TableRowControlCollection.AddAt): fixed.
5966 (AddAttributesToRender): fixed.
5968 * TableCell.cs: mono-stylized.
5969 (.ctor): use PreventAutoID.
5970 (AddAttributesToRender): fixed.
5971 (AddParsedSubObject): fixed.
5973 * TableRow.cs: mono-stylized. Added
5974 ParseChildren attribute.
5977 (get_GridLine): fixed.
5979 2002-06-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5981 * Panel.cs: fixed stack overflow.
5982 * Unit.cs: use Int32.Parse and Single.Parse instead of Int32Converter
5983 and SingleConverter.
5985 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
5987 * RadioButton.cs: mono-stylized and some little fixes.
5989 * TextBox.cs: mono-stylized.
5990 (MaxLength): fixed typo.
5992 (AddAttributesToRender): don't render the text between the tags for
5993 SingleLine, use value attribute for it. Don't render the text for
5996 (OnPreRender): don't throw exception and call base.OnPreRender.
5998 (Render): for MultiLine, render the text between the opening and
5999 closing tags encoded as HTML.
6001 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6004 (AddAttributesToRender): fixer another stack overflow.
6007 (TagName): modified to use TagKey instead of tagKey as the property
6010 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6012 * LinkButton.cs: mono-stylized.
6013 (AddParsedSubObject):
6014 (RenderControls): little fixes.
6017 (AddAttributesToRender): fixed usage of IEnumerator.
6019 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6021 * Literal.cs: beautified.
6023 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6025 * Label.cs: beautified and fixed a couple of 'classic' bugs.
6027 * WebControl.cs: use Span as default tag when no other provided in
6028 constructor. That is what MS renders.
6030 2002-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6033 (AddAttributesToRender): fixed (classic) stack overflow.
6035 * CheckBox.cs: mono-stylized.
6036 (AutoPostBack): fixed stack overflow.
6037 (Render): fixed alignment issues. Also set the For attribute always
6040 2002-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6042 * AdRotator.cs: GetData does not work as it should, but now it returns
6043 useful data (only the first ad in the file). Set the NavigateUrl
6044 property in the hyperlink if available.
6046 * HyperLink.cs: fixed constructor and a couple of stack overflows.
6048 * Image.cs: added an attribute and fixed stack overflow.
6051 (RenderBeginTag): fixed.
6052 (TagName): don't call Enum.IsDefined twice.
6054 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6056 * WebControl.cs: added attributes PersistChildrenAttribute and
6057 ParseChildrenAttribute.
6059 2002-05-24 Duncan Mak <duncan@ximian.com>
6061 * DataGridItem.cs (SetItemType): Changed function signature to
6064 * ListItemCollection.cs (this): Changes the visibility level of
6067 * Repeater.cs (OnItemCommand):
6069 (OnItemDataBound): Added necessary casts.
6071 2002-05-07 Duncan Mak <duncan@ximian.com>
6073 * Button.cs (AddAttributesToRender):
6074 * ImageButton.cs (AddAttributesToRender): Added a missing argument to the
6075 GetClientValidatedEvent method.
6077 2002-03-27 Gaurav Vaish <gvaish@iitk.ac.in>
6079 * Removed extra methods, corrected access modifiers to several
6082 2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
6084 * <SeveralFiles>.cs - Added some attributes
6085 * FontUnitConverter.cs - Added stubs for GetStandardValues*(..)
6086 methods. Will complete them later. Right now, busy with
6087 the attributes part.
6088 * RepeaterItem.cs - Completed.
6090 Oh God! Mercy! I will die applying attributes. I look at the missing
6091 part in the class-status - daemon! Kyrie eleison!
6093 2002-03-19 Gaurav Vaish <gvaish@iitk.ac.in>
6097 * AdRotator.cs - Added definition for Font.
6098 * BaseCompareValidator.cs - Added definition for Controls.
6099 * Calendar.cs - SelectMonthText definition corrected.
6100 * DataList.cs - Added definition for SeparatorTemplate.
6101 * BorderStyle.cs - Namespace correction. It belongs not to UI,
6102 but to UI.WebControls.
6104 2002-03-17 Gaurav Vaish <gvaish@iitk.ac.in>
6106 Finally, I have made it. Today I did a second build for the
6107 System.Web assembly. It compiled 195 classes today.
6108 I am waiting eagerly for the runtime to come up so that the objects
6109 may be tested to their last levels. Several of the methods are still
6110 under the tag of "TODO" throwing NotImplementedException. Well, I
6111 hope to remove them soon, but how far is this soon - even I don't
6112 know, though I am happy to make the build a success even before
6113 the vacations to come.
6115 2002-03-07 Gaurav Vaish <gvaish@iitk.ac.in>
6117 Yesterday and today I tried to do some building of the aseembly,
6118 but was dumped with uncoutably infinite errors. ;-)
6119 I have put the copies of the recent errors on my home page, want
6120 to have a look at them? See:
6121 http://mastergaurav.virtualave.net/mono/
6122 I don't know what to do with these errors. Oh! The buggy me! How
6123 will I overcome myself. Hopefully, by when my vacations over, I
6124 should have made a repository where the build will not fail.
6126 2002-03-05 Gaurav Vaish <gvaish@iitk.ac.in>
6128 I am now going to do a build that will include the
6129 System.Web.UI.WebControls namespace. Hoping that I will make it
6130 soon. My exams are coming near and I have to pack up soon.
6133 2002-03-04 Gaurav Vaish <gvaish@iitk.ac.in>
6136 And with this, ie, today's work, all the objects mentioned in the
6137 namespace appear in the implementation. But it may not be worth
6138 trying to go for a build because of dependence of several of the
6139 internal methods that may clash with already available assembly
6142 Also, the classes lack possible attributes, like those informing
6143 about child-controls etc. But I have to first create the attribute
6144 classes before I attach the attributes to the classes.
6146 * CustomValidator.cs - Completed. In process realized that
6147 I have to complete / rejuvinate BaseValidator class.
6148 * BaseValidator.cs - Complete rejuvination. Completed 80%
6149 of the job. All that is left is Render(HtmlTextWriter),
6150 DetermineRenderUplevel(), RegisterValidatorCommonScript()
6151 RegisterValidatorDeclaration()
6152 * DataGridPagerStyle.cs - Completed. That adds one more missle
6154 * DataKeyCollection.cs - Completed. Petty small.
6155 * Repeater.cs - Work started off. This is a quite
6157 * DataGridItemEventArgs.cs,
6158 * DataGridShortCommandEventArgs.cs,
6159 * DataListItemEventArgs.cs,
6160 * MonthChangedEventArgs.cs,
6161 * RepeaterItemEventArgs.cs,
6162 * ServerValidateEventArgs.cs,
6163 * DataGridPageChangedEventArgs.cs
6164 - Damn, I marked them "*", while they
6166 * Repeater.cs - Done all except for an undocumented
6167 method CreateControlHierarchy(bool). Though the method
6168 is quite clear by its name, but it will take some time
6169 for me to come with some material to flush in.
6171 2002-03-03 Gaurav Vaish <gvaish@iitk.ac.in>
6173 * SelectedDatesCollection.cs - Completed.
6174 * PagedDataSource.cs - Completed. Pathetically nice class.
6175 * RegularExpressionValidator.cs
6176 - Completed. Ridiculously small and
6177 annoyinglyc crazy-driving class, basically the method
6179 * RangeValidator.cs - Completed.
6180 * DataGridColumn.cs - Completed.
6181 * EditCommandColumn.cs - All is complete except for the
6182 InitializeCell(TableCell, int, ListItemType) method.
6183 * DataListItem.cs - All done except for a longish method
6184 RenderItem(HtmlTextWriter, bool, bool)
6186 2002-03-02 Gaurav Vaish <gvaish@iitk.ac.in>
6188 * RepeaterItemCollection.cs - Completed.
6189 I love *Collection classes. I am planning to make a
6190 program that will generate a *Collection class. It's so
6191 simple and the same. ;-)
6192 * DataGridColumnCollection.cs - Completed.
6193 ... except probably for *ColumnCollection classes, where
6194 you have to put in some more effort. Still, these class
6195 generation can be automated.
6196 * DataListItemCollection.cs - Completed.
6197 See, how easily, in less than a quarter of a minute, I
6198 completed this class - manually. Copy-Paste/Cut-Replace.
6200 2002-02-21 Gaurav Vaish <gvaish@iitk.ac.in>
6202 * DataGrid.cs - Following methods implemented:
6203 TrackViewState(), LoadViewState(object), SaveViewState(),
6204 On* -- The event raisers.
6205 OnBubbleEvent(object, EventArgs) is still incomplete.
6206 * DataGridItem.cs - Initial Implementation
6207 * DataGridItemCollection.cs - Completed.
6209 2002-02-08 Gaurav Vaish <gvaish@iitk.ac.in>
6211 * DataGrid.cs - Initial Implementation. Worked
6212 primarily with some properties.
6214 2002-02-07 Gaurav Vaish <gvaish@iitk.ac.in>
6216 * ListBox.cs - Completed. Implemented
6217 LoadPostData(string, NameValueCollection)
6218 * RequiredFieldValidator.cs - Completed. Pretty simple class.
6220 2002-02-06 Gaurav Vaish <gvaish@iitk.ac.in>
6222 * ListBox.cs - Implemented the following:
6223 RaisePostDataChangedEvent()
6225 2002-02-02 Gaurav Vaish <gvaish@iitk.ac.in>
6227 * ListBox.cs - Supports the following properties:
6228 BorderColor, BorderStyle, BorderWidth, Rows, SelectionMode,
6231 AddAttributesToRender(HtmlTextWriter), OnPreRender(EventArgs),
6232 RenderContents(HtmlTextWriter)
6235 2002-02-01 Gaurav Vaish <gvaish@iitk.ac.in>
6237 * TargetConverter.cs - Completed
6238 * TemplateColumn.cs - Completed
6239 * DataList.cs - Corrected the get-er methods for the
6240 *Style objects. Corrected the get/set-er methods for ViewState
6242 Addded support for properties:
6243 GridLines, HeaderStyle, HeaderTemplate, ItemStyle, ItemTemplate,
6244 RepeatColumns, RepeatDirection, RepeatLayout, SelectedIndex,
6245 SelectedItem, SelectedItemStyle, SelectedItemTemplate,
6246 SeparatorStyle, SeparatorItemTemplate.
6248 CancelCommand, DeleteCommand, EditCommand, ItemCommand,
6249 ItemCreated, ItemDataBound, UpdateCommand.
6251 CreateControlStyle(), LoadViewState(object),
6252 SaveViewState(), TrackViewState
6254 OnBubbleEvent, OnCancelCommand, OnDeleteCommand,
6255 OnEditCommand, OnItemCommand, OnItemCreated,
6256 OnItemDataBound, OnUpdateCommand
6257 Added dummy methods for some undocumented methods:
6258 CreateControlHierarchy(bool), CreateItem(int, ListItemType),
6259 CreateItem(int, ListItemType, bool, object),
6260 PrepareControlHierarchy(), InitializeItem(DataListItem)
6261 * ListBox.cs - Started working.
6265 2002-01-31 Gaurav Vaish <gvaish@iitk.ac.in>
6267 * RepeaterInfo.cs - Initial Implementation. Done all
6268 except for RepeatDirection.Vertical
6269 * TableStyle.cs - Completed
6271 2002-01-30 Gaurav Vaish <gvaish@iitk.ac.in>
6273 * DropDownList.cs - Completed
6274 * ListItemCollection.cs - Added method FindByValueInternal to
6275 assist in the derived classes.
6276 Discovered bug in FindByValue. Removed
6277 * UnitConverter.cs - Completed
6278 * PlaceHolder.cs - What can be simpler than this?
6279 * PlaceHolderControlBuilder.cs
6280 - Uh! Damn cool one.
6281 * RadioButtonList.cs - Initial Implementation. All is done
6282 except for the implementation of
6283 method IRepeatInfoUser.RenderItem(...)
6284 * ValidatedControlConverter.cs
6285 ^^^^^^^^^^^^^^^^^^^^^^^^^ - Looks complete. Doubtful though !!
6286 * ValidationSummary.cs - Initial Implementation.
6287 * WebColorConverter.cs - Initial Implementation
6289 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
6291 * FontNamesConverter.cs - Completed
6292 * FontUnitConverter.cs - Partial Implementation
6293 * ListItemControlBuilder.cs - Completed
6295 2002-01-27 Gaurav Vaish <gvaish@iitk.ac.in>
6297 * TextBox.cs - All done except *Render* methods
6298 * TextBoxControlBuilder.cs - Completed
6299 * Xml.cs - Partial Implementation
6301 2002-01-26 Gaurav Vaish <gvaish@iitk.ac.in>
6303 * RadioButton.cs - Completed
6304 * TextBox.cs - Partial Implementation
6306 2002-01-25 Gaurav Vaish <gvaish@iitk.ac.in>
6308 * Panel.cs - Completed
6309 * TableItemStyle.cs - Completed
6311 2002-01-18 Gaurav Vaish <gvaish@iitk.ac.in>
6313 * TableCellCollection.cs - Completed
6314 * TableRowCollection.cs - Completed
6315 * TableHeaderCell.cs - Completed
6316 * TableRow.cs - Completed
6318 2002-01-09 Gaurav Vaish <gvaish@iitk.ac.in>
6320 * TableCellControlBuilder.cs - Completed
6321 * Table.cs - Completed
6322 * TableCell.cs - Completed
6324 2002-01-07 Gaurav Vaish <gvaish@iitk.ac.in>
6326 * CheckBoxList.cs - Completed
6327 * ButtonColumn.cs - Completed
6328 * Button.cs - Completed
6330 2001-12-28 Gaurav Vaish <gvaish@iitk.ac.in>
6332 * HyperLink.cs - Completed
6333 * Image.cs - Completed
6334 * ImageButton.cs - Completed
6335 * Label.cs - Completed
6336 * LabelControlBuilder.cs - Completed
6337 * LinkButton.cs - Completed
6338 * LinkButtonControlBuilder.cs - Completed
6339 * Literal.cs - Completed
6340 * LieteralControlBuilder.cs - Completed
6341 * FontUnit.cs - Completed
6344 2001-12-27 Gaurav Vaish <gvaish@iitk.ac.in>
6346 * Calendar.cs - Completed the functions of Render*,
6347 ViewStates (Track/View/Save),
6349 Left: RenderAllDays (partially)
6351 2001-12-21 Gaurav Vaish <gvaish@iitk.ac.in>
6353 * Calendar.cs - Added some more functions
6354 * Style.cs - Completed
6355 * ListItem.cs - Completed
6356 * ListItemCollection.cs - Completed
6358 Made the first successful build of System.Web.dll that included
6359 System.Web.UI.WebControls!
6361 2001-12-20 Gaurav Vaish <gvaish@iitk.ac.in>
6363 FontInfo.cs - Complete revamp. Completed
6365 2001-12-19 Gaurav Vaish <gvaish@iitk.ac.in>
6367 ListItemCollection.cs - Completed
6368 ListItem.cs - Initial Implementation
6369 Style.cs - Initial Implementation
6371 Right now I am in a total mood to do a successful build. Creating so many
6372 classes, completing classes in System.Web System.Web.UI namespaces.
6374 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
6376 TODO - Properly added
6377 CheckBox.cs - Completed
6378 BaseDataList.cs - Completed
6379 DayRenderEventArgs.cs - Completed
6380 RepeaterItem.cs - Initial implementation
6382 2001-12-17 Gaurav Vaish <gvaish@iitk.ac.in>
6384 BaseCompareValidator.cs - Completed
6385 AdRotator.cs - Completed
6387 2001-12-15 Gaurav Vaish <gvaish@iitk.ac.in>
6389 CommandEventArgs.cs - Completed
6390 DataGridCommandEventArgs.cs - Completed
6391 RepeaterCommandEventArgs.cs - Completed
6392 DataListCommandEventArgs.cs - Completed
6393 CompareValidator.cs - Partial Implementation
6395 2001-12-02 Gaurav Vaish <gvaish@iitk.ac.in>
6397 CheckBoxList.cs - Partial Implementation.
6400 2001-12-01 Gaurav Vaish <gvaish@iitk.ac.in>
6402 ListControl.cs - Completed
6404 2001-11-30 Gaurav Vaish <gvaish@iitk.ac.in>
6406 CheckBox.cs - Completed
6407 ListControl.cs - Initial Implementation
6408 CheckBoxList.cs - Started with it, but first needed
6409 ListControl. Left it.
6411 2001-11-29 Gaurav Vaish <gvaish@iitk.ac.in>
6413 CalendarDay.cs - Making a note that this
6414 has been implemented
6415 Calendar.cs - Making a note that have made some changes.
6416 Unimplmented functions throw
6417 NotImplementedException
6418 CheckBox.cs - Can now "Render" and "LoadPostData"
6421 2001-11-08 Gaurav Vaish <gvaish@iitk.ac.in>
6422 WebControl.cs - Total Revamp, Partial Implementation
6423 AdRotator.cs - Able to load files
6424 AdCreatedEventArgs.cs - Implemented
6426 2001-11-05 Gaurav Vaish <gvaish@iitk.ac.in>
6427 Calendar.cs - Initial Implementation
6428 ButtonColumn.cs - Initial Implementation
6429 Button.cs - Initial Implementation
6430 BoundColumn.cs - Initial Implementation
6431 BaseCompareValidator.cs - Minor Changes
6432 DataList.cs, BaseValidator.cs, BaseDataList.cs
6433 - Added more functions, other changes
6435 2001-10-28 Gaurav Vaish <gvaish@iitk.ac.in>
6436 WebControl.cs - Initial Implementation
6437 DataList.cs - Initial Implementation
6438 BaseValidator.cs - Initial Implementation
6439 BaseDataList.cs - Initial Implementation
6441 2001-10-27 Gaurav Vaish <gvaish@iitk.ac.in>
6443 AdCreatedEventArgs.cs - Initial Implementation
6444 AdCratedEventHandler.cs - Implemented
6445 AdRotator.cs - Initial Implementation
6446 BorderStyle.cs - Implemented
6447 ButtonColumnStyle.cs - Implemented
6448 CalendarSelectionMode.cs - Implemented
6449 DayNameFormat.cs - Implemented
6450 FirstDayOfWeek - Implemented
6451 FontInfo.cs - Partial Implementation
6452 FontSize.cs - Implemented
6453 GridLines.cs - Implemented
6454 HorizontalAlign.cs - Implemented
6455 HyperLink.cs - Initial Implementation
6456 ImageAlign.cs - Implemented
6457 IRepeatInfoUser.cs - Implemented
6458 ListItemType.cs - Implemented
6459 ListSelectionMode.cs - Implemented
6460 NextPrevFormat.cs - Implemented
6461 PagerMode.cs - Implemented
6462 PagerPosition.cs - Implemented
6463 RepeatDirection.cs - Implemented
6464 RepeatLayout.cs - Implemented
6465 TextAlign.cs - Implemented
6466 TextBoxMode.cs - Implemented
6467 TitleFormat.cs - Implemented
6468 UnitType.cs - Implemented
6469 ValidationCompareOperator.cs
6471 ValidationDataType.cs - Implemented
6472 ValidationSummaryDisplayMode.cs
6474 ValidatorDisplay.cs - Implemented
6475 VerticalAlign.cs - Implemented
6479 i/ File Created 2001-11-13