Click here to Skip to main content
15,886,603 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hiii all
can i create confirm popup in c# code that beacuse i tried javascript confirm but in its answer i want to take an id from the code and it is impoosible in javascript.
so, can i do that in the code????
thanks
Posted

See this LINK[^]. Might be helpful.

You can use "RegisterStartupScript" also. See here JavaScript-Alert-from-ASPNET-code-behind[^]
 
Share this answer
 
v2
You can use a div. You can than show/hide the div when required.

Also take a look at the first solution found here: http://www.codeproject.com/Answers/166205/alert-in-the-run-time-of-an-image.aspx#answer1
 
Share this answer
 
Comments
moon2011 10-Mar-11 3:30am    
i tried but it appears an exception, thanks at all
Ryan Zahra 10-Mar-11 3:36am    
What did you try? Where do you have the exception?

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