views:

100

answers:

1

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

+2  A: 

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:

Pavel Morshenyuk