Consider I have a page with Add button and Grid. Grid Contains some data. If I click Add Button ,the new popup window will open. Popup window contains Text-boxes and Button for adding the new values to Grid. My ques is ,how to automatically load the grid view after adding some values in popup window?
code for popup window:
protected void btnAdd_Click(object sender, EventArgs e)
{
ClientScript.RegisterStartupScript(this.GetType(), "newWindow", String.Format("<script>window.open('{0}','','width=550,height=300,left=500');</script>", "PopupADD.aspx"));
}