none
Showing a modal dialog box or form when the application is not running in UserInteractive mode RRS feed

  • Question

  • Hi,

              I have a problem with my website. When I click the next page of the document, I'm receiveing this eroor. Please help me.

    Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.

    Tuesday, May 7, 2019 7:05 AM

Answers

  • Hi,

    MessageBox is used for Windows applications, not for web applications,see the following link:

    https://stackoverflow.com/questions/1030891/error-while-showing-a-modal-dialog-box-or-form

    Best Regards,

    Alex


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, May 7, 2019 7:15 AM
  • Hello,

    The following provides three different ways to resolve this issue. Then there is BootBox which I use.


    Please remember to mark the replies as answers if they help and unmarked them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.

    NuGet BaseConnectionLibrary for database connections.

    StackOverFlow
    profile for Karen Payne on Stack Exchange

    Tuesday, May 7, 2019 9:40 AM
    Moderator

All replies

  • Hi,

    MessageBox is used for Windows applications, not for web applications,see the following link:

    https://stackoverflow.com/questions/1030891/error-while-showing-a-modal-dialog-box-or-form

    Best Regards,

    Alex


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, May 7, 2019 7:15 AM
  • Hello,

    The following provides three different ways to resolve this issue. Then there is BootBox which I use.


    Please remember to mark the replies as answers if they help and unmarked them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.

    NuGet BaseConnectionLibrary for database connections.

    StackOverFlow
    profile for Karen Payne on Stack Exchange

    Tuesday, May 7, 2019 9:40 AM
    Moderator