Hi,
I have a RadGrid Inside TabTemplate of RadTabStrip. I upload the data to RadGrid from an asp button click event(c# ode).
The problem is I am not able to findcontrol of RadGrid from the button.
Can someone tell me how to get around this problem?
Code for Button:
Also, I don't have license to Radtabs hence using TabTemplate. I have also tried findcontrol but its not working with button EvenArgs.
RadGrid grv1 = (RadGrid)RadTabStrip1.FindControl("radgrid1");
Thanks,
I have a RadGrid Inside TabTemplate of RadTabStrip. I upload the data to RadGrid from an asp button click event(c# ode).
The problem is I am not able to findcontrol of RadGrid from the button.
Can someone tell me how to get around this problem?
Code for Button:
protected
void
Button2_Click(
object
sender, EventArgs e)
{filldata();
}
filldata()
{
radgrid1.DataSource=list;
// list is my data source
radgrid1.DataBind();
}
Also, I don't have license to Radtabs hence using TabTemplate. I have also tried findcontrol but its not working with button EvenArgs.
RadGrid grv1 = (RadGrid)RadTabStrip1.FindControl("radgrid1");
Thanks,