grid view row editing event fired after postback
I have a parent aspx page and a child aspx page, the parent aspx page has a gridview control with the Edit button enabled, on clicking the edit button I need to load the child page on another window by using window.open, in the child window I have a asp:button and on clicking it the pop up window closes and the parent page refreshes after the parent page page_load event is fired the gridview's rowediting event is fired thereby contnously reloading the popup.
Protected Sub grdFamilyMembers_RowEditing(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewEditEventArgs) Handles grdFamilyMembers.RowEditing
ClientScript.RegisterStartupScript(Me.GetType, "OpenEditFamily", jsCloseWindowScript)
I have the following as the body tag for the child page