Hi ,
I looking the code to add the Confirmation to "Update" ,"Insert","Cancel" Buttons same like the "delete" Button as given below
protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)
{
if ((e.Item is GridDataItem))
{
LinkButton button = e.Item.FindControl("AutoGeneratedDeleteButton") as LinkButton;
button.Attributes["onclick"] = "return confirm('Are you sure you want to delete " +
"" + "?')";
}
}
Expecting your valuable advise
Regards
I looking the code to add the Confirmation to "Update" ,"Insert","Cancel" Buttons same like the "delete" Button as given below
protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)
{
if ((e.Item is GridDataItem))
{
LinkButton button = e.Item.FindControl("AutoGeneratedDeleteButton") as LinkButton;
button.Attributes["onclick"] = "return confirm('Are you sure you want to delete " +
"" + "?')";
}
}
Expecting your valuable advise
Regards