* UI/ParseChildrenAttribute.cs: fixed ChildControlType property to compliant to .net
[mono.git] / mcs / class / System.Web / System.Web.UI.WebControls / ChangeLog
index e6373d887e4e7ae8d2c6a0d91f72a65678b9543a..ba5be49b14350066dad4a3c4ac5e9981f08cb3b3 100644 (file)
@@ -1,3 +1,463 @@
+2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
+
+       * Content.cs:
+       * Label.cs:
+       * ListControl.cs:
+       * MultiView.cs:
+       * WebControl.cs: fixed ParseChildren attribute to be compliant
+       to .net
+
+2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
+
+       * MultiView.cs: fixed: EnableTheming property
+
+2006-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Style.cs:
+       * Label.cs:
+       * TreeView.cs: Patch by Marek Habersack that fixes bug #78968 take 2.
+
+2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
+
+       * Style.cs: fixed restoring FontInfo from ViewState
+
+2006-08-03 Vladimir Krasnov <vladimirk@mainsoft.com>
+
+       * XmlDataSource.cs: implemented caching functionality
+
+2006-07-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * PagerSettings.cs: Fixed the pager range calculation formula. The old
+       one didn't work with more than 20 pages. Patch by Marek Habersack that
+       closes bug #78328.
+
+2006-07-30 Andrew Skiba <andrews@mainsoft.com>
+
+       * FormView.cs: fixes to make Render more similar to dotnet.
+
+2006-07-30 Vladimir Krasnov <vladimirk@mainsoft.com>
+
+       * Wizard.cs: fixed return value of OnBubbleEvent
+
+2006-07-30 Andrew Skiba <andrews@mainsoft.com>
+
+       * FormView.cs: init BottomPagerRow.ItemIndex with 0; gracefully
+       handle null result of GetData().
+
+2006-07-30 Andrew Skiba <andrews@mainsoft.com>
+
+       * FormView.cs: use TableStyle for ControlStyle.
+
+2006-07-30 Andrew Skiba <andrews@mainsoft.com>
+
+       * FormView.cs: save DataKeyNames and DefaultMode in ControlState.
+
+2006-07-30 Andrew Skiba <andrews@mainsoft.com>
+
+       * FormView.cs: init DataKeys and fix null reference.
+
+2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * TreeView.cs: several changes to improve compatibility with MS.
+       Patch by Marek Habersack that fixes bug #77551.
+
+2006-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Style.cs: output the text-decoration value even when it is 'none'.
+       Patch by Marek Habersack that fixes bug #78968.
+
+2006-07-27 Andrew Skiba <andrews@mainsoft.com>
+
+       * FormView.cs: initialize PageCount with 0; fix IsBindableType to
+       include Decimal.
+
+2006-07-27 Andrew Skiba <andrews@mainsoft.com>
+
+       * DetailsViewRowCollection.cs: returns this in SyncRoot.
+
+2006-07-27 Andrew Skiba <andrews@mainsoft.com>
+
+       * FormView.cs: throw ArgumentOutOfRange exception on bad CellSpacing
+       and CellPadding.
+
+2006-07-27 Andrew Skiba <andrews@mainsoft.com>
+
+       * ObjectDataSource.cs: add doc and fix usage of MergeParameterValues
+
+2006-07-27 Andrew Skiba <andrews@mainsoft.com>
+
+       * AutoGeneratedField.cs: fix the internal constructor according to test
+       DetailsView_CreateAutoGenerateRow.
+
+2006-07-26 Vladimir Krasnov <vladimirk@mainsoft.com>
+
+       * XmlDataSource.cs: implemented XSLT, removed properties from
+       view state
+       * XmlDataSourceView.cs: fixed default xpath
+
+2006-07-26 Andrew Skiba <andrews@mainsoft.com>
+
+       * DetailsView.cs: fix IsBindableType in accordance with MSDN and tests.
+
+2006-07-25 Vladimir Krasnov <vladimirk@mainsoft.com>
+
+       * Wizard.cs: fixed ActiveStep property
+       fixed templated side bar
+
+2006-07-25 Andrew Skiba <andrews@mainsoft.com>
+
+       * ImageField.cs: fix null reference bug.
+
+2006-07-25 Andrew Skiba <andrews@mainsoft.com>
+
+       * DetailsView.cs: init DataKey property with empty collection.
+       * DataKey.cs: fix unexpected exception bug.
+       * DataControlField.cs: override ToString according to MSDN.
+
+2006-07-24 Andrew Skiba <andrews@mainsoft.com>
+
+       * DetailsView.cs: create table style in CreateControlStyle.
+
+2006-07-24 Andrew Skiba <andrews@mainsoft.com>
+
+       * DetailsView.cs: don't throw the exception which .Net does not throw.
+
+2006-07-24 Andrew Skiba <andrews@mainsoft.com>
+
+       * DetailsView.cs: save DefaultMode and DataKeyNames in control state,
+       to match .Net; fix PageCount to match record count.
+
+2006-07-24 Vladimir Krasnov <vladimirk@mainsoft.com>
+
+       * Menu.cs: fixed properties default values, fixed rendering
+       SkipLinkText
+
+2006-07-23 Vladimir Krasnov <vladimirk@mainsoft.com>
+
+       * Wizard.cs: implemented SkipLinkText, TagKey
+       fixed rendering bugs, fixed templated button bar rendering
+       fixed side bar rendering
+       * WizardStepBase.cs: fixed Name property
+
+2006-07-23 Andrew Skiba <andrews@mainsoft.com>
+
+       * DetailsView.cs: fix the regressions, caused by the previous commit.
+
+2006-07-23 Andrew Skiba <andrews@mainsoft.com>
+
+       * DetailsView.cs: correct handling the different default values of
+       DetailsView.CellSpacing and Table.CellSpacing.
+
+2006-07-23 Andrew Skiba <andrews@mainsoft.com>
+
+       * DetailsView.cs: create a pager row when needed.
+
+2006-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * DetailsView.cs:
+       * GridView.cs:
+       * PagedDataSource.cs:
+       * FormView.cs:
+       * ImageButton.cs:
+       * LinkButton.cs: implement GetPostBackOptions for the 2.0 controls that
+       support it. The GridView control will no longer throw an exception when
+       rendered in the paging mode. Patch by Marek Habersack. Fixes bug #78288.
+
+2006-07-20 Andrew Skiba <andrews@mainsoft.com>
+
+       * DetailsView.cs: many fixes: initialize PageCount with 0; initialize
+       Rows with empty collection; call EnsureChildControls from get Row;
+       NullReference in DeleteItem; fix RenderGrid (ideas from GridView);
+       implemented IPostBackContainer.GetPostBackOptions.
+
+2006-07-20 Andrew Skiba <andrews@mainsoft.com>
+
+       * DetailsView.cs: create HeaderRow and FooterRow even when HeaderText
+       and FooterText are empty, to match .NET. Otherwise we have NullReference
+       when .NET does not.
+
+2006-07-20 Andrew Skiba <andrews@mainsoft.com>
+
+       * DetailsView.cs: Render fix.
+
+2006-07-20 Andrew Skiba <andrews@mainsoft.com>
+
+       * BoundField.cs: don't call DataBinder.GetPropertyValue with empty
+       property name.
+
+2006-07-20 Andrew Skiba <andrews@mainsoft.com>
+
+       * DetailsView.cs: NullReferenceException fix
+
+2006-07-20 Vladimir Krasnov <vladimirk@mainsoft.com>
+
+       * PagerSettings.cs: implemented PropertyGhanged event
+
+2006-07-18 Andrew Skiba <andrews@mainsoft.com>
+
+       * DetailsView.cs: throw ArgumentOutOfRangeException for compatibility
+       with .Net; don't throw NotImplemented when base class implementation
+       is available.
+
+2006-07-18 Andrew Skiba <andrews@mainsoft.com>
+
+       * DetailsViewPagerRow.cs: add a stub for this class
+
+2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
+
+       * GridView: fixed DataKeyNames property, moved to ControlState
+       fixed PageCount property, initial PageCount ahould be zero
+       fixed SelectedDataKey, should throw exception if not initialized
+       fixed CreateColumns, wrong order of columns
+       fixed CreateControlStyle,
+       fixed InitializePager, no columnspan attrib on only one column
+       fixed LoadControlState, SaveControlState added DataKeyNames
+       fixed Render, RenderGrid should render within div tag
+       implemented GetPostBackOptions
+       * DataControlButton.cs: fixed Render, fixed style for img button
+
+2006-07-17 Vladimir Krasnov <vladimirk@mainsoft.com>
+
+       * CheckBoxField.cs: fixed InitializeDataCell, tooltip only in edit
+       mode
+
+2006-07-17 Andrew Skiba <andrews@mainsoft.com>
+
+       * CommandField.cs: fixed ValidateSupportsCallback
+
+2006-07-17 Andrew Skiba <andrews@mainsoft.com>
+
+       * Image.cs: prepare to use HttpBrowserCapabilities. Does not
+       affect the flow yet.
+
+2006-07-17 Andrew Skiba <andrews@mainsoft.com>
+
+       * SiteMapPath.cs: fixes for SiteMapPathTest.Render_xxx tests.
+
+2006-07-16 Andrew Skiba <andrews@mainsoft.com>
+
+       * WebControl.cs: fix for AddAttributesToRender - add display
+       style when appropriate
+
+2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
+
+       * CommandField.cs: fixed InitializeCell, wrong order of command 
+       buttons
+       * ImageField.cs: image field with null src and ConvertEmptyStringToNull
+       should be rendered as label
+       * BoundField.cs: empty null value should be rendered as nbsp
+       * GridViewRowCollection.cs: fixed SyncRoot
+
+2006-07-16 Andrew Skiba <andrews@mainsoft.com>
+
+       * SiteMapPath.cs: create Literal instead of Label according to the
+       MSDN and test SiteMapPath_InitializeItem.
+
+2006-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
+
+       * Style.cs: BorderStyle should be added if BorderWidth greater than 0
+       * Image.cs: in 2.0 there is no border attribute, but border-width
+       style attribute
+
+2006-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Button.cs: always render the 'name' attribute. Fixes bug #78746.
+
+2006-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * DataList.cs: correctly initialize editable items when there's an
+       EditItemTemplate. Patch by JarosÅ‚aw Pawlak.
+
+2006-07-13  Juraj Skripsky <js@hotfeet.ch>
+
+       * CheckBox.cs (LoadPostData): the value of a disabled checkbox remains
+       unchanged.
+
+2006-07-13 Vladimir Krasnov <vladimirk@mainsoft.com>
+
+       * BulletedList.cs: fixed Render, RenderBulletText, various properties
+       * ListItem.cs, ListItemCollection.cs: added Enabled property that is 
+       new in 2.0
+
+2006-07-12 Vladimir Krasnov <vladimirk@mainsoft.com>
+
+       * MultiView.cs: 'initied' state variable was changed to views count in
+       the views collection.
+
+2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
+
+       * AutoGeneratedField.cs: fixed InitializeDataCell, autogenerated
+       checkbox should have tooltip
+       * HyperLinkField.cs: fixed InitializeCell, should create link control
+       only in data cell (not in header or footer), initialization of 
+       ControlStyle
+       * ImageField.cs: fixed InitializeDataCell, initialization of 
+       ControlStyle
+
+2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
+
+       * MultiView.cs: removed exception throwing from ActiveViewIndex
+
+2006-07-11 Konstantin Triger <kostat@mainsoft.com>
+
+       * DataControlFieldCollection.cs: added OnClearComplete override;
+               refactor to eliminate null reference exception.
+
+2006-07-11 Vladimir Krasnov <vladimirk@mainsoft.com>
+
+       * MultiView.cs: fixed ActiveViewIndex, AddParsedSubObject
+       * View.cs: fixed Visible property
+
+2006-07-09 Konstantin Triger <kostat@mainsoft.com>
+
+       * ImageField.cs: fixing .net compliancy.
+
+2006-07-10 Andrew Skiba <andrews@mainsoft.com>
+
+       * SiteMapPath.cs: fix the default PathSeparator value.
+
+2006-07-06 Konstantin Triger <kostat@mainsoft.com>
+
+       * GridView.cs: always create Header/Fotter rows, but render only when
+       ShowHeader/Footer is true. Compute Header/Footer rows from rows
+       collection.
+       * CheckBoxField.cs: add override to ApplyFormatInEditMode,
+       add ToolTip and Text to the created CheckBox,
+       wrap exception thrown in OnDataBindField in httpException.
+
+2006-07-06 Konstantin Triger <kostat@mainsoft.com>
+
+       * DataControlField.cs,BoundField.cs: bug fixes found by BoundFieldTest.
+
+2006-07-05 Konstantin Triger <kostat@mainsoft.com>
+
+       * DataControlField.cs: correct handling empty header/footer text.
+       * TemplateField.cs: correct initialization according to
+       DataControlRowState.
+
+2006-07-05  Vladimir Krasnov  <vladimirk@mainsoft.com>
+
+       * Wizard.cs: added functionality for Templated WizardStep
+       and CreateUserWizard
+       * added CompleteWizardStep.cs,  CreateUserWizard.cs, 
+       CreateUserWizardStep.cs, TemplatedWizardStep.cs
+
+2006-07-05 Konstantin Triger <kostat@mainsoft.com>
+
+       * AutoGeneratedField.cs: correcting default dataType.
+
+2006-07-03  Vladimir Krasnov  <vladimirk@mainsoft.com>
+
+       * DataControlField.cs: fixed Initialize, should always return false
+
+2006-07-03  Lluis Sanchez  <lluis@novell.com>
+
+       * BoundField.cs: Fix setter for HtmlEncode (it was setting always True).
+
+2006-07-03 Konstantin Triger <kostat@mainsoft.com>
+
+       * DataBoundControl.cs: implement MarkAsDataBound and consider it while
+       setting RequiresDataBinding in OnLoad event.
+       * GridView.cs: DataBind rows before other control can access the data.
+       * BoundField.cs: add unique ID to control for postback parameters.
+
+2006-07-03 Konstantin Triger <kostat@mainsoft.com>
+
+       * WebControl.cs: fix typo in EnableTheming.
+
+2006-07-02 Konstantin Triger <kostat@mainsoft.com>
+
+       * MenuItemCollection.cs: save items if the collection is dirty.
+       * MenuItem.cs: During data binding: initialize Text and invoke binding recoursively.
+       Add item to collection before binding to let the state be correctly tracked.
+       * Menu.cs: Add item to collection before binding to let the state be correctly
+       tracked.
+
+2006-06-28 Juraj Skripsky <js@hotfeet.ch>
+
+       * RegularExpressionValidator.cs (EvaluateIsValid): wrap regex to
+       test against with "^...$" if necessary. MS.NET does this too.
+
+2006-06-28  Vladimir Krasnov  <vladimirk@mainsoft.com>
+
+       * WizardStepCollection.cs: Fixed Add methods to initialize
+       WizardStep.Wizard property
+       * Wizard.cs: Fixed ActiveStepIndex, it should be -1 if there no steps
+       Fixed GetStepType, if only one step present, it should be FinishStep
+       Fixed styles of tables for more accurate rendering, fixed Wizard 
+       buttons order
+
+2006-06-28 Konstantin Triger <kostat@mainsoft.com>
+
+       * FormView.cs: instantiate correct template when the bounding data source is
+       empty.
+
+2006-06-25 Konstantin Triger <kostat@mainsoft.com>
+
+       * FormView.cs: disabling setting out of range FormView.PageIndex.
+
+2006-06-21 Andrew Skiba <andrews@mainsoft.com>
+
+       * FileUpload.cs: added
+
+2006-06-20 Andrew Skiba <andrews@mainsoft.com>
+
+       * FormView.cs: handle CssClass attribute
+
+2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Button.cs: do something in PostBackUrl.
+       * Repeater.cs: when creating the RepeaterItemCollection, initialize
+       'items' if it hasn't been done yet. Fixes bug #78417.
+
+2006-06-14  Vladimir Krasnov  <vladimirk@mainsoft.com>
+
+       * BaseDataList.cs: added ConnectToDataSource method that called from 
+       OnLoad, fixed GetData method
+       * Wizard.cs: fixed bug when called MoveTo after that control hierarchy
+       has been created
+
+2006-06-14  Andrew Skiba <andrews@mainsoft.com>
+
+       * Menu.cs: add CssStyle value to the rendered class attribute
+
+2006-06-13 Juraj Skripsky <js@hotfeet.ch>
+
+       * Calendar.cs: Make sure WebControls.Enabled is respected.
+       * SelectedDatesCollection.cs: Set time for all DateTime object passed in
+       to 12:00am as MS.NET does the same.
+       Fixes bug #71251.
+
+2006-06-13  Vladimir Krasnov  <vladimirk@mainsoft.com>
+
+       * Repeater.cs: fixed ConnectToDataSource method, subscribed to
+       DataSourceViewChanged, looks for a datasource in its parent control
+       fixed GetData method, should not get data if datasource is null
+
+2006-06-13  Konstantin Triger  <kostat@mainsoft.com>
+
+       * ObjectDataSourceView.cs: raise OnDataSourceViewChanged events when data changes.
+
+2006-06-11  Konstantin Triger  <kostat@mainsoft.com>
+
+       * GridView.cs: set the row index from GridRowView if CommandArgument does not contain this information.
+
+2006-06-11  Konstantin Triger  <kostat@mainsoft.com>
+
+       * ObjectDataSourceViewTest.cs: return documented default for OldValuesParameterFormatString.
+
+2006-05-24  Vladimir Krasnov  <vladimirk@mainsoft.com>
+
+       * DataList.cs: Fixed LoadViewState method
+
+2006-05-04  Lluis Sanchez  <lluis@novell.com>
+
+       * BoundField.cs: Added missing throw kyword. Patch by Marek Habersack.
+
+2006-04-25  Konstantin Triger  <kostat@mainsoft.com>
+
+       * BaseDataBoundControl.cs: ensure the control is bound if ViewState is disabled.
+
 2006-04-25 Konstantin Triger <kostat@mainsoft.com>
 
        * FormView.cs: fix FormView.PageCount after data binding.