How can I refresh parent page when popup page is close in ASP.NET . I update the db in popup page. I list the information on parent page.
arslanovski 0 Newbie Poster
Recommended Answers
Jump to Postu can aslo use this method
In parent page: protected void Page_Load(object sender, EventArgs e) { this.ClientScript.GetPostBackEventReference(this, string.Empty); if (this.IsPostBack) { string eventTarget = (this.Request["__EVENTTARGET"] == null) ? string.Empty : this.Request["__EVENTTARGET"]; if (eventTarget == "ChildWindowPostBack") { //update work goes here } } In child page: ClientScript.RegisterStartupScript(this.GetType(), "msg", …
All 3 Replies
Reply to this topic Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.