I\'m using vs 2010. I need to display the message to user and redirect the page.
I use the below line.
ScriptManager.RegisterStartupScript(this, this
Redirecting to Login page after password updated alert message
Dim MyScript As String = "alert('Password Updated Successfully!. Please Login Again!'); window.location = '../Login.aspx';"
And if your intent is to framebust your page into the top level, because your page may be inside a frame that is itself inside a frame.
Dim MyScript As String = "alert('Password Updated Successfully!. Please Login Again!');window.top.location='../Logout.aspx';"
ScriptManager.RegisterClientScriptBlock(Page, Page.GetType(), "MyScript", MyScript, True)