Hi,
I want to Open row on the click of ImageButton in code behind when the row has to be edited. Please see the code for the ImageButton.
<asp:ImageButton ID="btnEdit" runat="server" ImageUrl="~/images/edit.png" Width="15" Height="15" />
The code of Open the popup is ID which is ID="popupContact".
Also see the code where I wan to Open first on click of Image Button
protected void grdCSRPageData_RowEditing(object sender, GridViewEditEventArgs e)
{
grdCSRPageData.EditIndex = e.NewEditIndex;
string strQuery = "select Id,page_title,page_description,meta_title,meta_keywords,meta_description,Active from tbl_Pages";
SqlCommand cmd = new SqlCommand(strQuery);
DataTable dt = GetData(cmd);
grdCSRPageData.DataSource = dt;
...
Go to the complete details ...