Your code is sufficeient to display and confirm something,but how to check if it si ok or cancel.
i want to again display some msg on OK click,and same for cancel,or sometimes i want to redirect some other page( when it is confirm msgbox only),Please dont get irritate and tell me .i have tried.but it is not giving anything.
thanks once again
No, it doesn't work. The message box is shown on the server, not on the client computer. While you are testing the application using your own computer as server, you will see the message box. When you deploy the application to a web server, there is no user interface for the process running the application, so the message box have nowhere to go.
i'm using Sessions in my application. for logout, i'm using Hyperlink ( navigateUrl as Login.aspx. then where can i remove the session? I checked as removing session in page_load of Login.aspx, but it's not working.