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.
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Laxman VyavahareRank #3,859 · 384 reputationPosted Oct 14, 2014, 10:59 PM EDT
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\");";
}