Reputation: 51
I am displaying a message box using this code
ClientScriptManager.RegisterStartupScript(typeof(Page), "successfull", "alert('Your email has been sent successfully!'); window.location = 'www.mypage.com/Default.aspx';", true)
it's working properly now i want to change the title of this message box then how can i do this
title is - the page //localhost says but i want the title - Record Information
Upvotes: 0
Views: 4635
Reputation: 11471
you can't change title of standard Alert window. the only way is to create pseudo-modal window on javascript, html and css.
here are some examples on jquery:
.. or some asp.net controls:
Upvotes: 2