thanks,
rodchar
You can try something like this:
// Grid.RowCommand event handler
void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)
{
if ( e.CommandName = "Edit")
{
// Grid is not in edit mode yet Fields from Edit template are
not loaded .
RegisteeRowEditScript();
}
}
void RegisteeRowEditScript()
{
string script = "alert('User clicked Edit');";
Page.ClientScript.RegisterStartupScript(GetType(), 'editclicked',
script, true );
}
"rodchar" <rod...@discussions.microsoft.com> wrote in message
news:6EE48418-6A24-4108...@microsoft.com...