Hi there,
I want to modify the functionality of the EditCommand to redirect to another page, passing the key value in the URL. Something like this...
protected void RadGrid1_EditCommand(object source, Telerik.Web.UI.GridCommandEventArgs e)
{
string sPrimaryKey = ??; // Primary key of selected item
Response.Redirect("CompanyEdit.aspx?Key=" + sPrimaryKey);
Response.End();
}
What's the best way to do that?
Thx!
Justin
I want to modify the functionality of the EditCommand to redirect to another page, passing the key value in the URL. Something like this...
protected void RadGrid1_EditCommand(object source, Telerik.Web.UI.GridCommandEventArgs e)
{
string sPrimaryKey = ??; // Primary key of selected item
Response.Redirect("CompanyEdit.aspx?Key=" + sPrimaryKey);
Response.End();
}
What's the best way to do that?
Thx!
Justin