Click here to Skip to main content
14,302,372 members
Rate this:
Please Sign up or sign in to vote.
See more:
Hi frends,
i want to change the title of alert box...

thanks in advance...
Posted
Rate this:
Please Sign up or sign in to vote.

Solution 1

You cannot change the title.Its the browser feature. Rather you should create your own alert box with custom title using jQuery or javascript

http://www.abeautifulsite.net/blog/2008/12/jquery-alert-dialogs/[^]
   
Rate this:
Please Sign up or sign in to vote.

Solution 2

Dear Vijay,

This cannot be done as this functioanlity is provided by the browser and its browser specific. But yes you can make a Custom Dialog box, Please refer this link:-

http://www.abeautifulsite.net/blog/2008/12/jquery-alert-dialogs/[^]

Always do some google search dear friend.

Thanks
   
Rate this:
Please Sign up or sign in to vote.

Solution 3

You have to use modalpopup extender
   
Rate this:
Please Sign up or sign in to vote.

Solution 5

You can use This.
I hope this will work.

jAlert(message, [title, callback])
jConfirm(message, [title, callback])
jPrompt(message, [value, title, callback])
   
Rate this:
Please Sign up or sign in to vote.

Solution 6

Page.ClientScript.RegisterStartupScript(this.GetType(), "Inserted", "<script>alert('Record Inserted Sucessfuly')</script>");
   
Comments
yuvaraniR 2-May-12 7:38am
   
How to change title in client side for alert msg box
uspatel 2-May-12 8:18am
   
It is not possible.You can try this
http://www.abeautifulsite.net/blog/2008/12/jquery-alert-dialogs/

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100