Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can i display popup message by using prompt in code part?
Posted

Hi,

I dont think you can open message through Console/Prompt from asp.net web application. rather you can make use of message box.

refer

A Windows Form like MessageBox for ASP.NET Website[^]
http://www.karpach.com/Javascript-Alert-Message-codebehind-ASP-NET.htm[^]

hope it helps.
 
Share this answer
 
Comments
Rahul Rajat Singh 16-Jul-12 7:23am    
good links. +5.
Karthik Harve 16-Jul-12 7:28am    
Thanks
You can use the ClientScriptManager.RegisterStartupScript Method (Type, String, String)

http://msdn.microsoft.com/en-us/library/asz8zsxy.aspx[^]
 
Share this answer
 

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