Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. grid view control

grid view control

Scheduled Pinned Locked Moved ASP.NET
helpquestioncss
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kadkir
    wrote on last edited by
    #1

    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

    S 1 Reply Last reply
    0
    • K kadkir

      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

      S Offline
      S Offline
      Sam Xavier
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups