How to popup a form with data on clicking gridview image btn
I want to show a popup form having all data filled to view record by clicking grid view image button.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Laxman VyavaharePosted Oct 15, 2014, 2:59 AM
protected void GVLeaveType_RowDataBound(object sender, GridViewRowEventArgs e)
{
LinkButton btnEdit = (LinkButton)e.Row.FindControl("btnEdit"); if (btnEdit != null) btnEdit.OnClientClick = "return OpenDilog(\"/Lists/LeaveType/EditForm.aspx?ID=" + btnEdit.CommandArgument + "\",\"450\",\"700\");";
}