• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 547
  • Last Modified:

message box in web app in c#

Hey guys i want to to diplay a custom message box in asp using c# code where i can write method for the yes or no buttons when the message box.

i have an update panel and using ajax with toolscript manager.

i want a message box that look nice and can code in c# for the buttons, i tried to search on the net but can not seem to find want i am looking for.

i am using frame work 3.5
3 Solutions
JCWEBHOSTAuthor Commented:
minhvc, i tried that but i keep geting ajax erorr?

and Eyal,  where do i put my c# code?
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

this is client side code that opens a dialog in the client
the server side part is to generate a call to this javascript
JCWEBHOSTAuthor Commented:
so how do i write c# code?

You have to write client side code and in page postback you can write the c# codes.
In case you want confirmation message, you can use link buttons which contains the cofirmation message itself.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now