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 PostHi arslanovski,
I hope this usefull.
ASP.Net :
Protected Sub BtnOk_ServerClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles BtnOk.ServerClick Dim s As String = "" s = "<script>window.opener.location.reload();</script>" If Not ClientScript.IsClientScriptBlockRegistered("S1") Then ClientScript.RegisterClientScriptBlock(Me.GetType(), "S1", s) End If s = "<script>window.close();</script>" If Not ClientScript.IsClientScriptBlockRegistered("S2") Then …
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.