| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This example shows how to create and configure the ASPxGridView control dynamically at runtime.
Follow the steps below to create the control in code.
protected void Page_Init(object sender, EventArgs e) {
ASPxGridView grid = new ASPxGridView();
grid.ID = "grid";
grid.KeyFieldName = "ID";
grid.DataSource = GetData();
this.form1.Controls.Add(grid);
grid.DataBind();
}Default.aspx.cs (VB: Default.aspx.vb)
(you will be redirected to DevExpress.com to submit your response)
| Back | FazBrowse Home | New Git URL |