grid view control
-
I am developing a website(File system), in that I am using a grid view control. In the code behind file, I am using gridview control's rowDeleting event. When the user clicks delete button , I am displaying a messagebox asking whether to delete or not. When I am running from source it works fine. But after publishing my website, from the published pages, when I click the delete button, I am getting the following error. "showing a model dialog box or form when the application is not running in user interactive mode is not a valid operation. Specify the serviceNotification or DefaultDesktopOnly Style to display a notification from a service application." How can I resolve this problem? thank u all, kiran
-
I am developing a website(File system), in that I am using a grid view control. In the code behind file, I am using gridview control's rowDeleting event. When the user clicks delete button , I am displaying a messagebox asking whether to delete or not. When I am running from source it works fine. But after publishing my website, from the published pages, when I click the delete button, I am getting the following error. "showing a model dialog box or form when the application is not running in user interactive mode is not a valid operation. Specify the serviceNotification or DefaultDesktopOnly Style to display a notification from a service application." How can I resolve this problem? thank u all, kiran
Hi Kiran, What is the purpose of displaying this messagebox? Please remember that your code is running on a server and how will this code interact with your user's dekstop. Instead of doing this way, I would suggest you to please use client side javascripting. ]
Best Regards, Sam Xavier www.componentone.com