Click here to Skip to main content
15,895,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
JavaScript
ClientScript.RegisterStartupScript(typeof(Page), "MessagePopUp", "<script language='javascript'>alert('This Header name is already exists !!');</script>");
                        goto Exit;
Posted
Updated 18-Oct-13 1:51am
v3
Comments
Varun Sareen 18-Oct-13 7:51am    
Some error is coming or not??

1 solution

ClientScript.RegisterStartupScript needs to page postback to show that alert.

and ClientScript.RegisterStartupScript not works in updatepanel.
 
Share this answer
 
Comments
viralchauhan 18-Oct-13 7:59am    
Thanks Prakash.
But do you know what is the alternate of this?

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900