Author: manikyamba | Posted on: 12/30/2008 3:25:36 AM | Views : 280

 I wrote the code for show modal dialog  in the Button on client click event. When ever i close that window  automatically the parent page is refreshing.
but I wrote the code for show modal dialog in button on click event The parent page is not refreshing.
 
I wrote the the code in button on click event like this.here i create buttons in runtime .How i refresh the parent page?

 
 protected void b1_Click(object sender, EventArgs e)
    {
        string scriptKey = "PopupScript";

        if (!this.ClientScript.IsStartupScriptRegistered(this.GetType(), scriptKey))
        {
            StringBuilder javaScript = new StringBuilder();
            jav ...

Go to the complete details ...