I'd like to go beyond using a template for editing a row in a radgrid, so I'm showing a user control. I do like the formatting of the radGrid for Edit and Insert buttons.
I can bring up the user control with no problems -
protected void rgv_ItemCommand(object sender, GridCommandEventArgs e)
{
string Cmd = e.CommandName.ToString();
if (Cmd == "Edit" || Cmd == "InitInsert")
ProviderEdit.Visible = true;
else
ProviderEdit.Visible = false;
}
First, what editmode should I use to suppress the automatic template?
Second, how do I pull in the ID of the table row to pass to the control for an edit?
I can bring up the user control with no problems -
protected void rgv_ItemCommand(object sender, GridCommandEventArgs e)
{
string Cmd = e.CommandName.ToString();
if (Cmd == "Edit" || Cmd == "InitInsert")
ProviderEdit.Visible = true;
else
ProviderEdit.Visible = false;
}
First, what editmode should I use to suppress the automatic template?
Second, how do I pull in the ID of the table row to pass to the control for an edit?