BaseDataList.cs: added ConnectToDataSource method that called from OnLoad, fixed...
[mono.git] / mcs / class / System.Web / System.Web.UI.WebControls / ChangeLog
index 0c45e7f2f951d060105a667c823fa9ad23d54c2a..527b8990f01eb47293515568afa439934910a3a1 100644 (file)
@@ -1,3 +1,265 @@
+2006-06-13  Vladimir Krasnov  <vladimirk@mainsoft.com>
+
+       * BaseDataList.cs: added ConnectToDataSource method that called from
+       OnLoad, fixed GetData method
+
+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.
+
+2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * CheckBox.cs: certain attributes have to be rendered in the input tag,
+       not the <span>. Fixes bug #71251.
+
+2006-04-20  Konstantin Triger  <kostat@mainsoft.com>
+
+       * BaseDataBoundControl.cs: RequiresDataBinding rebinds if the control prerendered.
+       * FormView.cs: 
+               enable binding.
+               ensure rebinding when FormView.PageIndex is called.
+               and bind to the correct PageIndex.
+
+2006-04-20  Konstantin Triger  <kostat@mainsoft.com>
+
+       * MenuItem.cs: when binding to IHierarchyData, check whether 
+               it implements INavigateUIData and retrieve NavigateUrl.
+       * CompositeDataBoundControl.cs: ensures data is bound before creating child controls.
+       * Menu.cs:
+               Enable DataBinding by not throwing NotImplementedException in OnDataBound event. 
+               Provide basic CreateChildControls implementation by ensuring the control is bound. 
+               Ensure the child controls are created when the postback event is raised. 
+               Provide default implementation for SkipLinkText to let the default functionality to work.
+
+2006-04-11  Lluis Sanchez  <lluis@novell.com>
+
+       * TreeNodeBinding.cs: Added HasPropertyValue property
+         to check if some properties have a value in the
+         state bag.
+       * TreeNode.cs: Lazily get the dataPath. Instead of getting
+         bound properties when they are requested, get all of
+         them when the node is bound and store their values in
+         the state bag. In this way it won't be necessary to
+         query every time the datasource to get the values.
+       * XmlHierarchyData.cs: Implemented IHierarchyData.Path.
+       * TreeView.cs: Call base in OnInit(). Bind nodes after
+         adding them to the list, to properly keep track of
+         changes. Don't databind in postbacks.
+
+2006-04-11  Chris Toshok  <toshok@ximian.com>
+
+       * Login.cs (OnLoggingIn): use Events[loggingInEvent].
+
+2006-04-06     Konstantin Triger <kostat@mainsoft.com>
+
+       * BaseDataList.cs: Fix searching control by DataSourceID.
+       * DataList.cs: Enable binding using DataSourceID for NET_2_0.
+
+       
+2006-04-06     Konstantin Triger <kostat@mainsoft.com>
+
+       * Login.cs: Added LayoutTemplate property support.
+       * LoginView.cs: Added LoggedInTemplate, AnonymousTemplate support.
+               DataBind: correctly bind child controls.
+               Implemented OnViewChanged, OnViewChanging, Render, Save/LoadControlState.
+
+2006-03-29  Robert Jordan  <robertj@gmx.net>
+       * DataGrid.cs: if custom paging is enabled the persisted item count
+       must be the count of the rendered items, otherwise paging from the
+       last to a previous page won't work correctly. Fixes bug #77556.
+2006-03-29  Vladimir Krasnov  <vladimirk@mainsoft.com>
+
+       * RepeatInfo.cs: fixed RenderBeginTag to set enabled value of table
+       when rendering disabled list control
+
+2006-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Panel.cs: render the image url inside 'url()'. Fixes bug #77811.
+
+2006-03-28  Alexandre Miguel Pedro Gomes  <alexmipego@gmail.com>
+
+       * FontInfo.cs: Implemented ShouldSerializeNames
+
+2006-03-23  Vladimir Krasnov  <vladimirk@mainsoft.com>
+
+       * DataGrid.cs, DataList.cs, RepeatInfo.cs: added accessablity features
+
+2006-03-23  Vladimir Krasnov  <vladimirk@mainsoft.com>
+
+       * DataGrid.cs: fixed CreateControlHierarchy, added CurrentPageIndex
+       validation
+       in PrepareControlHierarchy fixed style applying to AlternatingItem
+
+2006-03-22  Vladimir Krasnov  <vladimirk@mainsoft.com>
+
+       * DataList.cs: fixed RepeatColumns property, added value validation
+       in PrepareControlHierarchy method fixed style applying for
+       AlternatingItem, EditItem and Separator item
+       fixed RenderContents method, if no items exist, no nned to
+       render emty table strructure.
+
+2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * CompareValidator.cs: when searching for the control to compare, use
+       NamingContainer instead of Page. Fixes bug #77793.
+
+2006-03-15  Chris Toshok  <toshok@ximian.com>
+
+       * SiteMapPath.cs (InitializeItem): in the Current and Root node
+       cases, apply the NodeTemplate if it exists and there isn't a
+       CurrentNodeTemplate or RootNodeTemplate, respectively.
+
+2006-03-15  Chris Toshok  <toshok@ximian.com>
+
+       * SiteMapDataSourceView.cs (OnDataSourceViewChanged): override.
+
+       * SiteMapDataSource.cs (StartingNodeOffset): new property.
+       (GetStartNode): add code to handle StartNodeOffset < 0.
+
+       * CompositeControl.cs
+       (ICompositeControlDesignerAccessor.RecreateChildControls): just
+       call the non-iface method.
+
+       * DataBoundControl.cs (GetDataSource): this is likely wrong, but
+       traverse up the naming container tree looking for our datasource
+       if we're bound using a DataSourceID.  This fixes things in the
+       sitemap1 test, which uses a mixture of templates and
+       ContentPlaceholders with the sitemapdatasource and sitemappath at
+       different levels in the naming container tree (let along the
+       itemnode template.)
+
+       * SiteMapPath.cs (DataBind): implement this by chaining up to
+       base.DataBind, then by looping over our children, emitting
+       OnItemDataBound for each SiteMapNodeItem.
+       (AddAttributesToRender): remove.
+       (CreateChildControls): call DataBind as the final step here..  I
+       have, of course, no idea if this is right.
+       (CreateControlHierarchy): don't databind our children here, as
+       they need to be in the Controls collection before we do.
+       (RenderContents): render our accessibility/screenreader stuff
+       here, if SkipLinkText != "".
+
+2006-03-15  Vladimir Krasnov  <vladimirk@mainsoft.com>
+
+       * DataGridPagerStyle.cs: fixed PrevPageText property
+
+2006-03-13  Chris Toshok  <toshok@ximian.com>
+
+       * BaseCompareValidator.cs (Convert): make the
+       ValidationDataType.String case a bit more compact.
+
+2006-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * ListBox.cs:
+       (RenderContents): don't call base.RenderContents. Fixes bug #77740.
+       Patch by Hubert Fongarnand.
+
+2006-03-13  Vladimir Krasnov  <vladimirk@mainsoft.com>
+
+       * FontInfo.cs: fixed CopyFrom, this method should not reset the 
+       received fontinfo if it is the same instance
+       fixed ToString, corrected output where only font size specified
+
+2006-03-13  Vladimir Krasnov  <vladimirk@mainsoft.com>
+
+       * Style.cs: fixed WriteStyleAttributes to set border style to solid,
+       if it not set but the border has width
+       fixes in CopyFrom, MergeWith correct unit compare when it has zero 
+       value
+
+2006-03-12  Vladimir Krasnov  <vladimirk@mainsoft.com>
+
+       * DataGrid.cs: in AddColumnsFromSource method fixed columns from
+       properties of custom class
+       fixed InitializeNumericPager, pager numbers should be a Label control
+       fixed CreateControlHierarchy, corrected dataset index of items if
+       paging is enabled
+
+2006-03-09  Vladimir Krasnov  <vladimirk@mainsoft.com>
+
+       * DataList.cs: fixed DoItemInLoop method that fixes itemIndex
+       of separator item.
+       fixed CreateControlStyle to set correct cellspacing of table style
+       fixed InitializeItem to correct applying template to selected and
+       edit items.
+
+2006-03-08  Chris Toshok  <toshok@ximian.com>
+
+       * SiteMapNodeType.cs: nuke.
+
+       * BorderStyle.cs, ButtonColumnType.cs, CalendarSelectionMode.cs,
+       DayNameFormat.cs, ListItemType.cs, ListSelectionMode.cs,
+       NextPrevFormat.cs, PagerMode.cs, PagerPosition.cs,
+       RepeatDirection.cs, RepeatLayout.cs, TableRowSection.cs,
+       TextAlign.cs, TextBoxMode.cs, TitleFormat.cs,
+       ValidationCompareOperator.cs, ValidationDataType.cs,
+       ValidationSummaryDisplayMode.cs, ValidatorDisplay.cs: remove
+       [Serializable] in 2.0.
+
+       * DayNameFormat.cs: add "Shortest".
+
+2006-03-08  Vladimir Krasnov  <vladimirk@mainsoft.com>
+
+       * LinkButton.cs: fixed AddAttributesToRender, removed not needed 
+       language attribute
+
+2006-03-08  Vladimir Krasnov  <vladimirk@mainsoft.com>
+
+       * TextBox.cs: fixed missing value validations, fixed rendering
+       of empty value attribute
+
+2006-03-07  Chris Toshok  <toshok@ximian.com>
+
+       * WebControl.cs (EnableTheming): leave the MonoTODO, but implement
+       by chaining up to base.EnableTheming.
+
+2006-03-07  Vladimir Krasnov  <vladimirk@mainsoft.com>
+
+       * DataList.cs: fixed CreateControlHierarchy, fixes 77693
+
+2006-03-06  Vladimir Krasnov  <vladimirk@mainsoft.com>
+
+       * RadioButton.cs: added ValueAttribute property to store the button
+       value when in list
+       * RadioButtonList.cs: fixed tab index when rendering.
+
+2006-03-02  Chris Toshok  <toshok@ximian.com>
+
+       * WebControl.cs (SkinID): implement setter/getter, and have them
+       just chain up to base.SkinID.
+
 2006-02-27  Chris Toshok  <toshok@ximian.com>
 
        * SqlDataSource.cs: track change to DataSourceControl's protected