The BasicDataGrid type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
![]() | BasicDataGrid |
Constructor.
|
Methods
Name | Description | |
---|---|---|
![]() | ![]() | Adds HTML attributes and styles that need to be rendered to the specified (Inherited from ![]() ![]() |
![]() | ![]() | (Inherited from ![]() |
![]() | ![]() | Notifies the server control that an element, either XML or HTML, was parsed, and adds the element to the server control's (Inherited from ![]() ![]() |
![]() | ![]() | Copies any nonblank elements of the specified style to the Web control, overwriting any existing style elements of the control. This method is primarily used by control developers. (Inherited from ![]() |
![]() | ![]() | Applies the style properties defined in the page style sheet to the control. (Inherited from ![]() |
![]() | ![]() | Gathers information about the server control and delivers it to the (Inherited from ![]() ![]() |
![]() | ![]() | Sets the cached (Inherited from ![]() ![]() |
![]() | ![]() | Sets the (Inherited from ![]() ![]() ![]() |
![]() | ![]() | Deletes the control-state information for the server control's child controls. (Inherited from ![]() |
![]() | ![]() | Deletes the view-state and control-state information for all the server control's child controls. (Inherited from ![]() |
![]() | ![]() | Deletes the view-state information for all the server control's child controls. (Inherited from ![]() |
![]() | Control_PreRender |
Control prerender code.
|
![]() | ![]() | Copies the properties not encapsulated by the (Inherited from ![]() ![]() |
![]() | ![]() | Creates the set of columns to be used to build up the control hierarchy. When (Inherited from ![]() ![]() ![]() |
![]() | ![]() | Creates a new (Inherited from ![]() ![]() |
![]() | ![]() | Creates the control hierarchy that is used to render the (Inherited from ![]() ![]() |
![]() | ![]() | Creates new control style. (Inherited from ![]() |
![]() | ![]() | Creates a default (Inherited from ![]() ![]() |
![]() | ![]() | Creates a child control using the view state. (Inherited from ![]() |
![]() | ![]() | Creates a (Inherited from ![]() ![]() |
![]() | DataBind |
Binds data to the grid and displays the sorting symbols.
(Overrides ![]() |
![]() | ![]() | Binds a data source to the invoked server control and all its child controls with an option to raise the (Inherited from ![]() ![]() |
![]() | ![]() | Binds a data source to the server control's child controls. (Inherited from ![]() |
![]() | ![]() | Enables a server control to perform final clean up before it is released from memory. (Inherited from ![]() |
![]() | ![]() | Verifies that the data listing control requires data binding and that a valid data source control is specified before calling the (Inherited from ![]() ![]() |
![]() | ![]() | Determines whether the server control contains child controls. If it does not, it creates child controls. (Inherited from ![]() |
![]() | ![]() | Creates an identifier for controls that do not have an identifier assigned. (Inherited from ![]() |
![]() | ![]() | (Inherited from ![]() |
![]() | ![]() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ![]() |
![]() | ![]() | Searches the current naming container for a server control with the specified id parameter. (Inherited from ![]() |
![]() | ![]() | Searches the current naming container for a server control with the specified id and an integer, specified in the pathOffset parameter, which aids in the search. You should not override this version of the (Inherited from ![]() ![]() |
![]() | ![]() | Sets input focus to a control. (Inherited from ![]() |
![]() | ![]() | Returns an (Inherited from ![]() ![]() |
![]() | ![]() | Gets design-time data for a control. (Inherited from ![]() |
![]() | ![]() | Serves as a hash function for a particular type. (Inherited from ![]() |
![]() | GetPagerMode |
Returns the pager position based on the given string.
|
![]() | ![]() | Gets the URL that corresponds to a set of route parameters. (Inherited from ![]() |
![]() | ![]() | Gets the URL that corresponds to a set of route parameters. (Inherited from ![]() |
![]() | ![]() | Gets the URL that corresponds to a set of route parameters and a route name. (Inherited from ![]() |
![]() | ![]() | Gets the URL that corresponds to a set of route parameters and a route name. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | ![]() | Returns the prefixed portion of the (Inherited from ![]() ![]() |
![]() | ![]() | Determines if the server control contains any child controls. (Inherited from ![]() |
![]() | ![]() | Returns a value indicating whether events are registered for the control or any child controls. (Inherited from ![]() |
![]() | ![]() | Initializes the specified (Inherited from ![]() ![]() |
![]() | ![]() | Creates a (Inherited from ![]() ![]() |
![]() | ![]() | Determines if the server control holds only literal content. (Inherited from ![]() |
![]() | ![]() | Restores control-state information from a previous page request that was saved by the (Inherited from ![]() ![]() |
![]() | ![]() | Loads a saved state of the (Inherited from ![]() ![]() |
![]() | ![]() | Retrieves the physical path that a virtual path, either absolute or relative, maps to. (Inherited from ![]() |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | ![]() | Copies any nonblank elements of the specified style to the Web control, but will not overwrite any existing style elements of the control. This method is used primarily by control developers. (Inherited from ![]() |
![]() | ![]() | Passes the event raised by a control within the container up the page's UI server control hierarchy. (Inherited from ![]() |
![]() | ![]() | Raises the (Inherited from ![]() ![]() |
![]() | ![]() | (Inherited from ![]() |
![]() | ![]() | Called when one of the base data source identification properties is changed, to rebind the data-bound control to its data. (Inherited from ![]() |
![]() | ![]() | Raises the (Inherited from ![]() ![]() |
![]() | ![]() | Raises the (Inherited from ![]() ![]() |
![]() | ![]() | Raises the (Inherited from ![]() ![]() |
![]() | OnInit |
Initializes the control.
(Overrides UIDataGrid OnInit(EventArgs).) |
![]() | ![]() | Raises the (Inherited from ![]() ![]() |
![]() | ![]() | Raises the (Inherited from ![]() ![]() |
![]() | ![]() | Raises the (Inherited from ![]() ![]() |
![]() | OnLoad |
OnLoad event handler. It automatically binds data unless DataBindByDefault is false.
(Overrides ![]() |
![]() | OnPageIndexChanged |
OnPageIndexChanged event handler. It ensures displaying of the given page.
(Overrides ![]() |
![]() | OnPreRender |
PreRender event handler
(Inherited from UIDataGrid.) |
![]() | ![]() | (Inherited from ![]() |
![]() | OnSortCommand |
OnSortCommand event handler. It sorts data by selected column.
(Overrides ![]() |
![]() | ![]() | Raises the (Inherited from ![]() ![]() |
![]() | ![]() | Raises the (Inherited from ![]() ![]() |
![]() | ![]() | Gets a (Inherited from ![]() ![]() |
![]() | ![]() | Sets up the control hierarchy for this (Inherited from ![]() ![]() |
![]() | ![]() | Assigns any sources of the event and its information to the control's parent. (Inherited from ![]() |
![]() | RaiseOnBeforeInit |
Raises the OnBeforeInit event.
|
![]() | ![]() | (Inherited from ![]() |
![]() | Render |
Render event handler, to maintain the proper control rendering.
(Overrides ![]() |
![]() | ![]() | Renders the HTML opening tag of the control to the specified writer. This method is used primarily by control developers. (Inherited from ![]() |
![]() | ![]() | Renders the contents of the control to the specified writer. This method is used primarily by control developers. (Inherited from ![]() |
![]() | ![]() | Outputs server control content to a provided (Inherited from ![]() ![]() |
![]() | ![]() | Outputs server control content to a provided (Inherited from ![]() ![]() ![]() |
![]() | ![]() | Renders the HTML closing tag of the control into the specified writer. This method is used primarily by control developers. (Inherited from ![]() |
![]() | ![]() | Outputs the content of a server control's children to a provided (Inherited from ![]() ![]() |
![]() | ![]() | Gets the control adapter responsible for rendering the specified control. (Inherited from ![]() |
![]() | ![]() | Gets a URL that can be used by the browser. (Inherited from ![]() |
![]() | ![]() | Converts a URL into one that is usable on the requesting client. (Inherited from ![]() |
![]() | ![]() | Saves any server control state changes that have occurred since the time the page was posted back to the server. (Inherited from ![]() |
![]() | ![]() | Saves the current state of the (Inherited from ![]() ![]() |
![]() | ![]() | Sets design-time data for a control. (Inherited from ![]() |
![]() | ![]() | Assigns an event handler delegate to render the server control and its content into its parent control. (Inherited from ![]() |
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
![]() | ![]() | Marks the starting point to begin tracking and saving changes to the control as part of the control view state. (Inherited from ![]() |
Extension Methods
Name | Description | |
---|---|---|
![]() | AddCssClass |
Adds CSS class to control. If class is already present, than adding is skipped. Class names are case sensitive.
(Defined by ControlsExtensions.) |
![]() | CallHandled |
Calls the method handled by the exception handler. If the call doesn't succeed, the problem is reported through parent IExceptionHandler control instead of throwing unhandled exception for the entire page.
Returns true, if the call succeeded, otherwise returns false.
(Defined by ControlsExtensions.) |
![]() | GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) |
![]() | GetCssClasses |
Returns all CSS classes of control.
(Defined by ControlsExtensions.) |
![]() | GetRenderedHTML |
Returns HTML which would be rendered by control to page.
(Defined by ControlsExtensions.) |
![]() | GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) |
![]() | HasCssClass |
Checks whether the control has given CSS class. Class names are case sensitive.
(Defined by ControlsExtensions.) |
![]() | RemoveCssClass |
Removes all occurrences. Class names are case sensitive.
(Defined by ControlsExtensions.) |
![]() | SetCssClasses |
Sets CSS classes to the control. Current classes will be overridden.
(Defined by ControlsExtensions.) |
![]() | ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Fields
Name | Description | |
---|---|---|
![]() | mOnBeforeInitFired |
True if the on before init was fired.
|
![]() | mRelatedData |
Custom data connected to the object.
|
![]() | mRelatedDataLoaded |
Related data is loaded.
|
Properties
Name | Description | |
---|---|---|
![]() | ![]() | Gets or sets the access key that allows you to quickly navigate to the Web server control. (Inherited from ![]() |
![]() | ![]() | Gets the browser-specific adapter for the control. (Inherited from ![]() |
![]() | ![]() | Gets or sets a value that indicates whether custom paging is enabled. (Inherited from ![]() |
![]() | ![]() | Gets or sets a value that indicates whether paging is enabled. (Inherited from ![]() |
![]() | ![]() | Gets or sets a value that indicates whether sorting is enabled. (Inherited from ![]() |
![]() | ![]() | Gets the style properties for alternating items in the (Inherited from ![]() ![]() |
![]() | ![]() | Gets or sets the application-relative virtual directory of the (Inherited from ![]() ![]() ![]() |
![]() | ![]() | Gets the collection of arbitrary attributes (for rendering only) that do not correspond to properties on the control. (Inherited from ![]() |
![]() | ![]() | Gets or sets a value that indicates whether (Inherited from ![]() ![]() ![]() |
![]() | ![]() | Gets or sets the background color of the Web server control. (Inherited from ![]() |
![]() | ![]() | Gets or sets the URL of an image to display in the background of the (Inherited from ![]() ![]() |
![]() | ![]() | Gets the control that contains this control's data binding. (Inherited from ![]() |
![]() | ![]() | Gets or sets the border color of the Web control. (Inherited from ![]() |
![]() | ![]() | Gets or sets the border style of the Web server control. (Inherited from ![]() |
![]() | ![]() | Gets or sets the border width of the Web server control. (Inherited from ![]() |
![]() | ![]() | Gets or sets the text to render in an HTML caption element in the control. This property is provided to make the control more accessible to users of assistive technology devices. (Inherited from ![]() |
![]() | ![]() | Gets or sets the horizontal or vertical position of the HTML caption element in a control. This property is provided to make the control more accessible to users of assistive technology devices. (Inherited from ![]() |
![]() | ![]() | Gets or sets the amount of space between the contents of a cell and the cell's border. (Inherited from ![]() |
![]() | ![]() | Gets or sets the amount of space between cells. (Inherited from ![]() |
![]() | ![]() | Gets the control ID for HTML markup that is generated by ASP.NET. (Inherited from ![]() |
![]() | ![]() | Gets or sets the algorithm that is used to generate the value of the (Inherited from ![]() ![]() |
![]() | ![]() | Gets a character value representing the separator character used in the (Inherited from ![]() ![]() |
![]() | ![]() | Gets a collection of objects that represent the columns of the (Inherited from ![]() ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | ![]() | Gets a (Inherited from ![]() ![]() |
![]() | ![]() | Gets the style of the Web server control. This property is used primarily by control developers. (Inherited from ![]() |
![]() | ![]() | Gets a value indicating whether a (Inherited from ![]() ![]() ![]() |
![]() | ![]() | Gets or sets the Cascading Style Sheet (CSS) class rendered by the Web server control on the client. (Inherited from ![]() |
![]() | ![]() | Gets or sets the index of the currently displayed page. (Inherited from ![]() |
![]() | DataBindByDefault |
Indicates whether data binding should be performed by default.
|
![]() | ![]() | Gets a reference to the naming container if the naming container implements (Inherited from ![]() ![]() |
![]() | ![]() | Gets or sets the key field in the data source specified by the (Inherited from ![]() ![]() |
![]() | ![]() | Gets a (Inherited from ![]() ![]() |
![]() | ![]() | Gets an (Inherited from ![]() ![]() |
![]() | ![]() | Gets a reference to the naming container if the naming container implements (Inherited from ![]() ![]() |
![]() | ![]() | Gets or sets the specific data member in a multimember data source to bind to a data listing control. (Inherited from ![]() |
![]() | DataSource |
Gets or sets the object from which data-bound control retrieves its list of data item.
(Inherited from UIDataGrid.) |
![]() | ![]() | Gets or sets the (Inherited from ![]() ![]() |
![]() | ![]() | Gets a value indicating whether a control is being used on a design surface. (Inherited from ![]() |
![]() | ![]() | Gets or sets the index of an item in the (Inherited from ![]() ![]() |
![]() | ![]() | Gets the style properties of the item selected for editing in the (Inherited from ![]() ![]() |
![]() | ![]() | Gets or sets a value indicating whether the Web server control is enabled. (Inherited from ![]() |
![]() | ![]() | Gets or sets a value indicating whether themes apply to this control. (Inherited from ![]() |
![]() | ![]() | Gets or sets a value indicating whether the server control persists its view state, and the view state of any child controls it contains, to the requesting client. (Inherited from ![]() |
![]() | ![]() | Gets a list of event handler delegates for the control. This property is read-only. (Inherited from ![]() |
![]() | ![]() | Gets the font properties associated with the Web server control. (Inherited from ![]() |
![]() | ![]() | Gets the style properties of the footer section in the (Inherited from ![]() ![]() |
![]() | ![]() | Gets or sets the foreground color (typically the color of the text) of the Web server control. (Inherited from ![]() |
![]() | ![]() | Gets or sets a value that specifies whether the border between the cells of a data listing control is displayed. (Inherited from ![]() |
![]() | ![]() | Gets a value indicating whether the control has attributes set. (Inherited from ![]() |
![]() | ![]() | Gets a value indicating whether the current server control's child controls have any saved view-state settings. (Inherited from ![]() |
![]() | ![]() | Gets the style properties of the heading section in the (Inherited from ![]() ![]() |
![]() | ![]() | Gets or sets the height of the Web server control. (Inherited from ![]() |
![]() | HideControlForZeroRows |
Hides the control when no data is loaded. Default value is False.
|
![]() | ![]() | Gets or sets the horizontal alignment of a data listing control within its container. (Inherited from ![]() |
![]() | ![]() | Gets a value that indicates whether the server control's child controls have been created. (Inherited from ![]() |
![]() | ![]() | Gets or sets the programmatic identifier assigned to the server control. (Inherited from ![]() |
![]() | ![]() | Gets the character used to separate control identifiers. (Inherited from ![]() |
![]() | ![]() | Gets a value indicating whether the control has been initialized. (Inherited from ![]() |
![]() | ![]() | Gets a value indicating whether the (Inherited from ![]() ![]() |
![]() | ![]() | Gets a value indicating whether the control is enabled. (Inherited from ![]() |
![]() | ![]() | Gets a value indicating whether controls contained within this control have control state. (Inherited from ![]() |
![]() | ![]() | Gets a value that indicates whether the server control is saving changes to its view state. (Inherited from ![]() |
![]() | ![]() | Gets a value indicating whether view state is enabled for this control. (Inherited from ![]() |
![]() | ![]() | Gets a collection of (Inherited from ![]() ![]() ![]() |
![]() | ![]() | Gets the style properties of the items in the (Inherited from ![]() ![]() |
![]() | ![]() | Gets a value indicating whether the control participates in loading its view state by (Inherited from ![]() ![]() |
![]() | ![]() | Gets a reference to the server control's naming container, which creates a unique namespace for differentiating between server controls with the same (Inherited from ![]() ![]() |
![]() | ![]() | Gets a reference to the (Inherited from ![]() ![]() |
![]() | ![]() | Gets the total number of pages required to display the items in the (Inherited from ![]() ![]() |
![]() | ![]() | Gets the style properties of the paging section of the (Inherited from ![]() ![]() |
![]() | ![]() | Gets or sets the number of items to display on a single page of the (Inherited from ![]() ![]() |
![]() | ![]() | Gets a reference to the server control's parent control in the page control hierarchy. (Inherited from ![]() |
![]() | ProcessSorting |
Indicates if sorting should be processed in DataView instead of sorting on the SQL level.
|
![]() | RelatedData |
Custom data connected to the object, if not set, returns the Related data of the nearest IDataControl.
|
![]() | ![]() | Gets a value that specifies the ASP.NET version that rendered HTML will be compatible with. (Inherited from ![]() |
![]() | ![]() | Gets or sets a value indicating whether the data listing control needs to bind to its specified data source. (Inherited from ![]() |
![]() | ![]() | Gets a (Inherited from ![]() ![]() |
![]() | ![]() | Gets or sets the index of the selected item in the (Inherited from ![]() ![]() |
![]() | ![]() | (Inherited from ![]() |
![]() | ![]() | Gets the style properties of the currently selected item in the (Inherited from ![]() ![]() |
![]() | SetFirstPageAfterSortChange |
Indicates if page index is set to the first page after sort change.
|
![]() | ShortID |
Short ID of the control.
(Inherited from UIDataGrid.) |
![]() | ![]() | Gets or sets a value that indicates whether the footer is displayed in the (Inherited from ![]() ![]() |
![]() | ![]() | Gets or sets a value that indicates whether the header is displayed in the (Inherited from ![]() ![]() |
![]() | ![]() | Gets information about the container that hosts the current control when rendered on a design surface. (Inherited from ![]() |
![]() | ![]() | Gets or sets the skin to apply to the control. (Inherited from ![]() |
![]() | SortAscending |
Direction of sorting. Default value is True.
|
![]() | SortField |
Gets or sets the sort field. It can be used for setting the default sort field.
|
![]() | ![]() | Gets a collection of text attributes that will be rendered as a style attribute on the outer tag of the Web server control. (Inherited from ![]() |
![]() | ![]() | Gets a value that indicates whether the control should set the disabled attribute of the rendered HTML element to "disabled" when the control's (Inherited from ![]() ![]() |
![]() | ![]() | Gets or sets the tab index of the Web server control. (Inherited from ![]() |
![]() | ![]() | (Inherited from ![]() |
![]() | ![]() | Gets the name of the control tag. This property is used primarily by control developers. (Inherited from ![]() |
![]() | ![]() | Gets or sets a reference to the template that contains this control. (Inherited from ![]() |
![]() | ![]() | (Inherited from ![]() |
![]() | ![]() | Gets or sets the text displayed when the mouse pointer hovers over the Web server control. (Inherited from ![]() |
![]() | ![]() | Gets the unique, hierarchically qualified identifier for the server control. (Inherited from ![]() |
![]() | ![]() | Gets or sets a value indicating whether the data listing control renders its header in an accessible format. This property is provided to make the control more accessible to users of assistive technology devices. (Inherited from ![]() |
![]() | ![]() | Gets a dictionary of state information that allows you to save and restore the view state of a server control across multiple requests for the same page. (Inherited from ![]() |
![]() | ![]() | Gets a value that indicates whether the (Inherited from ![]() ![]() |
![]() | ![]() | Gets or sets the view-state mode of this control. (Inherited from ![]() |
![]() | ![]() | Gets or sets the virtual number of items in the (Inherited from ![]() ![]() |
![]() | ![]() | Gets or sets a value that indicates whether a server control is rendered as UI on the page. (Inherited from ![]() |
![]() | ![]() | Gets or sets the width of the Web server control. (Inherited from ![]() |
![]() | ZeroRowsText |
Text to be shown when control is hidden by HideControlForZeroRows.
|
Events
Name | Description | |
---|---|---|
![]() | ![]() | Occurs when the Cancel button is clicked for an item in the (Inherited from ![]() ![]() |
![]() | ![]() | Occurs when the server control binds to a data source. (Inherited from ![]() |
![]() | ![]() | Occurs when the Delete button is clicked for an item in the (Inherited from ![]() ![]() |
![]() | ![]() | Occurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested. (Inherited from ![]() |
![]() | ![]() | Occurs when the Edit button is clicked for an item in the (Inherited from ![]() ![]() |
![]() | ![]() | Occurs when the server control is initialized, which is the first step in its lifecycle. (Inherited from ![]() |
![]() | ![]() | Occurs when any button is clicked in the (Inherited from ![]() ![]() |
![]() | ![]() | Occurs on the server when an item in the (Inherited from ![]() ![]() |
![]() | ![]() | Occurs after an item is data bound to the (Inherited from ![]() ![]() |
![]() | ![]() | Occurs when the server control is loaded into the (Inherited from ![]() ![]() |
![]() | OnBeforeInit |
On before init handler.
|
![]() | ![]() | Occurs when one of the page selection elements is clicked. (Inherited from ![]() |
![]() | ![]() | Occurs after the (Inherited from ![]() ![]() |
![]() | ![]() | Occurs when a different item is selected in a data listing control between posts to the server. (Inherited from ![]() |
![]() | ![]() | Occurs when a column is sorted. (Inherited from ![]() |
![]() | ![]() | Occurs when the server control is unloaded from memory. (Inherited from ![]() |
![]() | ![]() | Occurs when the Update button is clicked for an item in the (Inherited from ![]() ![]() |
See Also