protected void btnAdd_Click(Object Sender, EventArgs e) { oForecast.AddBackupExclusion(Int32.Parse(Request.QueryString["id"]), txtPath.Text); Page.ClientScript.RegisterClientScriptBlock(typeof(Page), "reload", "<script type=\"text/javascript\">window.parent.div='2';window.parent.UpdateBackupUrl();<" + "/" + "script>"); }