Error while using messagebox.show("xxx")
While displaying a message box in my asp.net application by using the code Windows.Forms.MessageBox.Show("Please enter the email id", "Span Outsourcing", Windows.Forms.MessageBoxButtons.OK)
it is givithe error as follows.
It is invalid to show a modal dialog or form when the application is not running in UserInteractive mode. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
how to solve this problem?
please help asap.
pavan kumar
|