Message Box
Can i have a message box displayed as we have in Vb.Net
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Mohit JainPosted May 25, 2009, 6:27 AM
Hi Dorababu,
In which language you want to use the MessageBox. Is this C# or it is ASP.Net. To use iIn C#, You can reference System.Windows.Forms dll and import the same namespace in your class. After this you can use MessageBox.Show method as we use in VB.Net.
If you want in ASP.Net then it is not recommended to use in ASP.Net as it will halt the server side processing for the time until the user does not click on OK or Cancle button. It is better we use server side validation for server and JavaScript for client side validation.
Hope this help.
Kirtan PatelPosted May 23, 2009, 11:07 AM