This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
DataGrid Methods
The methods of the DataGrid class are listed below. For a complete list of DataGrid class members, see the DataGrid Members topic.
Public:
AddParsedSubObject (inherited from BaseDataList) |
[To be supplied.] |
ApplyStyle (inherited from WebControl) |
[To be supplied.] |
CopyBaseAttributes (inherited from WebControl) |
[To be supplied.] |
CreateAutoGeneratedColumns |
[To be supplied.] |
DataBind (inherited from Control) |
[To be supplied.] |
Dispose (inherited from Control) |
Override to perform final cleanup. |
Equals (inherited from Object) |
Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality). |
FindControl (inherited from Control) |
Overloaded. [To be supplied.] |
GetAttribute (inherited from WebControl) |
Method of IAttributeAccessor. |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) |
Gets the Type of the Object. |
HasControls (inherited from Control) |
[To be supplied.] |
HasDataBindings (inherited from Control) |
[To be supplied.] |
MergeStyle (inherited from WebControl) |
Merge the attributes set in the specified style that are not already set on the control. |
RenderBeginTag (inherited from WebControl) |
Render the begin tag. This is made public so other controls can use to render multiple controls. |
RenderControl (inherited from Control) |
[To be supplied.] |
RenderEndTag (inherited from WebControl) |
Render the end tag. This is made public so other controls can use to render multiple controls. |
SetAttribute (inherited from WebControl) |
Method of IAttributeAccessor. |
SetRenderMethodDelegate (inherited from Control) |
[To be supplied.] |
ToString (inherited from Object) |
Returns a String that represents the current Object. |
Protected:
AddAttributesToRender (inherited from WebControl) |
Add to writer those HTML attributes and styles that need to be rendered. |
BubbleEvent |
[To be supplied.] |
BuildProfileTree (inherited from Control) |
[To be supplied.] |
ClearChildViewState (inherited from Control) |
[To be supplied.] |
CreateChildControls (inherited from BaseDataList) |
[To be supplied.] |
CreateColumnSet |
Creates the set of columns to be used to build up the control hierarchy. When AutoGenerateColumns is true, the columns are created to match the datasource and are appended to the set of columns defined in the Columns collection. |
CreateControlHierarchy |
Creates the control hierarchy that is used to render the DataGrid. This is called whenever a control hierarchy is needed and the ChildControlsCreated property is false. The implementation assumes that all the children in the controls collection have already been cleared. |
CreateControlStyle |
[To be supplied.] |
CreateItem |
[To be supplied.] |
CreatePager |
Creates a DataGridItem that contains the paging UI. The paging UI is a navigation bar that is a built into a single TableCell that spans across all columns of the DataGrid. |
DesignTimeRenderInternal (inherited from WebControl) |
[To be supplied.] |
Finalize (inherited from Object) |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere. |
FindControl (inherited from Control) |
Overloaded. [To be supplied.] |
Init (inherited from Control) |
Used by control developers to initialize child controls. |
InvokeBubbleEvent (inherited from Control) |
[To be supplied.] |
IsLiteralContent (inherited from Control) |
[To be supplied.] |
IsMarked (inherited from Control) |
[To be supplied.] |
LoadState |
[To be supplied.] |
Mark |
[To be supplied.] |
MaybeCreateControls (inherited from Control) |
[To be supplied.] |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
OnCancelCommand |
[To be supplied.] |
OnDataBind (inherited from BaseDataList) |
[To be supplied.] |
OnDeleteCommand |
[To be supplied.] |
OnEditCommand |
[To be supplied.] |
OnInit (inherited from Control) |
[To be supplied.] |
OnItemCommand |
[To be supplied.] |
OnItemCreated |
[To be supplied.] |
OnLoad (inherited from Control) |
[To be supplied.] |
OnPageIndexChanged |
[To be supplied.] |
OnPreRender (inherited from Control) |
[To be supplied.] |
OnSelectedIndexChanged (inherited from BaseDataList) |
[To be supplied.] |
OnSortCommand |
[To be supplied.] |
OnUnload (inherited from Control) |
[To be supplied.] |
OnUpdateCommand |
[To be supplied.] |
PrepareControlHierarchy |
[To be supplied.] |
PreRender (inherited from Control) |
Performs any prerendering steps necessary prior to saving viewstate and rendering content. |
PreRenderRecursive (inherited from Control) |
[To be supplied.] |
Render (inherited from BaseDataList) |
[To be supplied.] |
RenderChildren (inherited from Control) |
[To be supplied.] |
RenderContents (inherited from WebControl) |
Render the contents of the tag. |
SaveState |
[To be supplied.] |
Event Hookup:
See Also
DataGrid Class | System.Web.UI.WebControls Namespace