* DataBoundControl.cs:
* DetailsView.cs:
* FormView.cs:
PerformDataBinding is called with RequiresDataBinding was set false
svn path=/trunk/mcs/; revision=72300
* DataBoundControl.cs: fixed:
ConfirmInitState method s called by
the DataBoundControl class in its OnLoad method.
svn path=/trunk/mcs/; revision=67526
* DataBoundControl.cs: fixed: DataBind calls
CreateDataSourceSelectArguments() and stores result in SelectArguments
svn path=/trunk/mcs/; revision=66754
* DataBoundControl.cs: fixed: DataBind flow
CreateDataSourceSelectArguments() is called
each time as DataBind() is called
svn path=/trunk/mcs/; revision=66505
* DataBoundControl.cs: fixed: DataBind flow
GetData return "empty" DataSourceView when no DataSource and DataSourceID
was assigned to cause PerformDataBinding be called.
svn path=/trunk/mcs/; revision=65880
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.
svn path=/trunk/mcs/; revision=62201
* 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 != "".
svn path=/trunk/mcs/; revision=58030
* GridView.cs:
* FormView.cs:
* DetailsView.cs: Bind the control after creating all child
controls.
* DataBoundControl.cs: Call OnDataBinding and OnDataBound in
the correct methods.
* BaseDataBoundControl.cs: Don't call DataBind nor OnDataBound
in this class. This is done in DataBoundControl. All this fixes
bug #75076.
svn path=/trunk/mcs/; revision=45481
* FormViewDeleteEventArgs.cs:
* FormViewInsertEventArgs.cs:
* FormViewUpdateEventArgs.cs:
* FormViewDeletedEventArgs.cs:
* FormViewUpdatedEventArgs.cs:
* FormViewInsertedEventArgs.cs: Implemented some missing properties.
* LinkButton.cs:
* IButtonControl.cs:
* Button.cs: Removed SoftKey property.
* CheckBox.cs: Don't try to load post back data if the control
is disabled.
* ImageField.cs:
* AutoGeneratedField.cs:
* DataControlField.cs:
* CommandField.cs:
* ButtonFieldBase.cs:
* BoundField.cs:
* CheckBoxField.cs:
* TemplateField.cs:
* ButtonField.cs: Don't bind fields in Insert state.
Implemented CreateField and CopyProperties.
* GridView.cs:
* DetailsView.cs: Removed some unneeded interfaces. Don't
generate the field rows if there are no items in the data source.
Don't get the current keys until the whole control has been
bound.
* DetailsViewInsertedEventArgs.cs:
* DataBoundControl.cs:
* ObjectDataSourceView.cs: Made some methods private.
* MenuItemStyle.cs:
* Menu.cs: Changed some properties from int to Unit.
* DataControlButton.cs: javascript prefix is needed when raising
the postback event from a link.
* PagedDataSource.cs: Some fixes in Count and IsLastPage properties.
The result was wrong when the total data source count was 0.
* FormView.cs: Implemented.
* FormViewRow.cs: Implemented.
* Literal.cs:
* Localize.cs: Fixed base interface.
* BaseDataBoundControl.cs: In DataBind() call the base class
DataBind method, so the binding context is properly set.
svn path=/trunk/mcs/; revision=43410
* DetailsView.cs: Implemented support for Insert operation.
Added header and footer templates. Added missing style
properties.
* ObjectDataSourceView.cs: Use ParameterCollection.GetValues
to get filter values. Other minor fixes.
* CommandField.cs: Properly render the Insert and New buttons.
* ObjectDataSource.cs: Update the parameter collections after
the page is loaded. This will fire the ParameterChanged event
if needed.
* DataBoundControl.cs: The OnDataSourceViewChanged method
is called when the view changes, not when the datasource
changes.
* DetailsViewInsertedEventArgs.cs:
* DetailsViewInsertEventArgs.cs: Implement Values property.
* ImageField.cs:
* AutoGeneratedField.cs
* BoundField.cs:
* CheckBoxField.cs:
Take into account the Insert mode.
* ParameterCollection.cs: Implemented UpdateValues and fixed
GetValues (values can't be cached because can change).
* Parameter.cs: Detect value changes in GetValue, and fire
the change event if needed. Removed unused ParameterValue
property. Other fixes.
svn path=/trunk/mcs/; revision=42997
* XmlDataSourceView.cs: ExecuteSelect now returns a list of
XmlDataSourceNodeDescriptor instead of a list of nodes. In this way
it is possible to query for properties fore each data item.
* Menu.cs, TreeView.cs: Make sure that objects are correctly created
when loading its view state.
* DataControlField.cs: Implement properties using a StateBag.
* XmlDataSourcePropertyDescriptor.cs: Implemented.
* PagerSettings.cs: Mostly implemented.
* AccessDataSourceView.cs, AccessDataSource.cs: Added security attribute.
* DataBoundControl.cs: Added null check.
* GridView.cs: Initial implementation.
* CompositeDataBoundControl.cs: Implemented.
* BoundField.cs: Initial implementation.
* GridViewRowCollection.cs: Initial implementation.
* DataControlFieldCollection.cs: Initial implementation.
* DataControlFieldCell.cs: Fixed control tag.
* GridViewRow: Initial implementation.
* XmlDataSourceNodeDescriptor.cs: Implemented.
svn path=/trunk/mcs/; revision=41191
* HyperLinkColumn.cs, Label.cs: Added missing 2.0 properties.
* RadioButton.cs: Added missing 2.0 methods.
* ListItem.cs: Added Enabled property.
* MailMessageEventArgs.cs: Use the correct message class.
* ListControl.cs: Implemented missing properties and support for
control state. Implemented base RenderContents method.
* Image.cs: Implemented DescriptionUrl and GenerateEmptyAlternateText
properties.
* BaseCompareValidator.cs: Implemented methods that support conditional
use of the invariant culture.
* DataBoundControl.cs: Set RequiresDataBinding to true in OnLoad.
* SqlDataSourceCommandEventArgs.cs, SqlDataSourceStatusEventArgs.cs:
It takes a DbCommand instead of a IDbCommand.
* GridViewSortEventArgs.cs: Added SortDirection property.
* TextBox.cs, CheckBoxList.cs: Added protected version of
IPostBackDataHandler methods.
* RadioButtonList.cs: Added protected version of
IPostBackDataHandler and IRepeatInfoUser methods.
* Repeater.cs: Updated some method names.
* DropDownList.cs: Added protected version of
IPostBackDataHandler methods. Reuse RenderContents from base class.
* RepeaterItem.cs, Localize.cs, Literal.cs: Fix inheritance.
* GridViewUpdatedEventArgs.cs: Fix typo.
* ListBox.cs: Added protected version of IPostBackDataHandler methods.
Reuse RenderContents from base class.
* BaseDataBoundControl.cs: Several fixes.
* ImageButton.cs, LinkButton.cs: Implemented several 2.0 properties.
svn path=/trunk/mcs/; revision=40772
* TreeNodeBindingCollection.cs: Implemented.
* TreeNodeBinding.cs: Implemented.
* TreeNode.cs: Added support for data binding.
* TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif
TreeView_Default_NoExpand.gif: Moved to resources directory.
* ListControl.cs: Fixed api.
* XmlHierarchicalEnumerable.cs: Made internal.
* DataBoundControl.cs: Modified api to match latest ms.net.
* TreeView.js: New javascript file to support TreeView in the client.
* XmlDataSource.cs: Added missing attributes.
* HierarchicalDataBoundControl.cs: Mostly implemented.
* BaseDataBoundControl.cs: Mostly implemented.
* XmlHierarchyData.cs: Made internal.
* TreeView.cs: Mostly implemented. The major missing feature is
client side tree population.
svn path=/trunk/mcs/; revision=36652
BaseDataList.cs:
DataBountControl.cs:
Repeater.cs: Added SelectArguments property and updated.
SiteMapDataSourceView.cs:
SqlDataSourceView.cs:
XmlDataSourceView.cs: Removed extra method, which was there to keep
things compiling.
svn path=/trunk/mcs/; revision=36515
* DataBoundControl.cs: Implement
* ListControl.cs: inherit from the above.
* Repeater.cs, BaseDataList.cs: should reset whenever we databind.
svn path=/trunk/mcs/; revision=19773