Click here to Skip to main content
15,895,142 members
Please Sign up or sign in to vote.
1.80/5 (2 votes)
See more:
I have created a page in asp.net webform appilactiom...How to inject an alert into it from server side...
Posted
Comments
[no name] 19-Sep-14 12:15pm    
You mean like http://msdn.microsoft.com/en-us/library/z9h4dk8y(v=vs.110).aspx?
Hussainp 19-Sep-14 12:21pm    
Yes..yes...
Thank you Wes Aday for your answer...

1 solution

C#
Page.ClientScript.RegisterStartupScript(this.GetType(), 
                                   "alert", "alert('This is a test alert');",
                                    true);


Use This Code
 
Share this answer
 
v2

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