New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial
Accessing RadGrid on the Server Side
Updated on Nov 2, 2026
You can access a RadGrid from its server-side declaration or from the container that holds a dynamically created instance.
Declarative Grid
Enable sorting and rebind a declarative RadGrid
ASP.NET
<telerik:RadGrid ID="RadGrid1" runat="server"></telerik:RadGrid>
C#
protected void RadButton1_Click(object sender, EventArgs e)
{
// Enable sorting before refreshing the grid.
RadGrid1.AllowSorting = true;
RadGrid1.Rebind();
}Dynamically created Grid
Create a RadGrid dynamically and access it from its placeholder
ASP.NET
<asp:PlaceHolder ID="PlaceHolder1" runat="server"></asp:PlaceHolder>
C#
protected void Page_Init(object sender, EventArgs e)
{
// Recreate the grid during initialization so it is available on postback.
RadGrid grid = new RadGrid();
grid.ID = "RadGrid1";
PlaceHolder1.Controls.Add(grid);
}
protected void RadButton1_Click(object sender, EventArgs e)
{
// Find the dynamically created grid from its naming container.
RadGrid grid = PlaceHolder1.FindControl("RadGrid1") as RadGrid;
}