Class GridWebForm

GridWebForm class

GridWebForm control. It works with the GridWeb control. Set the GridWebControl property for it before run it.

public class GridWebForm : WebControl, INamingContainer, IPostBackDataHandler, IPostBackEventHandler

Constructors

NameDescription
GridWebForm()Default constructor.

Properties

NameDescription
EditMode { get; set; }Gets or sets the Edit Mode of the GridWebForm control.
EnableCreateCustomButtomForGridWeb { get; set; }Gets or sets whether to create a switching button in the GridWeb control’s command bar.
FormName { get; set; }Gets or sets the form’s name.
GridWebControl { get; set; }Gets or sets the linked GridWeb control.
override Height { get; set; }Gets or sets the height of the control.
LineNumber { get; set; }Gets or sets the current record line number of the sheet.
override Visible { get; set; }Gets or sets whether to show the form control. This property is controlled by the control itself. Do not modify it manually.
override Width { get; set; }Gets or sets the width of the control.

Methods

NameDescription
HideForm()Hides the Form and shows the GridWeb control.
LoadPostData(string, NameValueCollection)Internal used only.
RaisePostBackEvent(string)Internal used only.
RaisePostDataChangedEvent()Internal used only.
ShowForm()Hides the GridWeb control and shows the GridWebForm control.

Events

NameDescription
event SaveCommandOccurs when the “save” button is clicked.

See Also