Removing the window "Sending data to server" - InfoPath Dev
in

InfoPath Dev

Removing the window "Sending data to server"

Last post 04-30-2007 03:51 AM by Siddhi. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 04-25-2007 04:03 AM

    • Siddhi
    • Not Ranked
    • Joined on 12-12-2006
    • India
    • Posts 3

    Removing the window "Sending data to server"

    Hello,

     I am working on a browser enabled form. Whenever, submit button is clicked or a option button/dropdown value is selected, the window is shown - "Sending Data to server", for few seconds.

    Can anybody tell me, can this be removed?( it is one of the requirement from the client.).

     

     

  • 04-25-2007 10:52 AM In reply to

    Re: Removing the window "Sending data to server"

    I don't believe this is possible, and here is why:

    The Forms Server tries its best to do everything in the browser without sending data back to the server (aka postback). However, there are times when it has to be done. Any time it has been determined that a postback has to happen, Forms Server has to block the user from making any edits until the operation has completed. This is done so that we prevent data loss if you have typed something while Forms Server is waiting for the postback to finish. The dialog you have mentioned appears automatically in this case.

    Having said that, it is important to realize that the dialog only happens when you are sending data back to server and it is a good practice to avoid this in general. When designing the form, use the Design Checker with the "Verify on server" option checked to see what controls are posting back and why. It is possible to reduce the number of postbacks or to eliminate them completely with this method. Also, you can tell individual controls never to send data to server automatically by chaging the settings in the "Browser Forms" properties. Note that by doing this your form might behave incorrectly!

    I hope this sheds some light on the issue,

    David.

    David Airapetyan / Software Services Architect
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 04-30-2007 03:51 AM In reply to

    • Siddhi
    • Not Ranked
    • Joined on 12-12-2006
    • India
    • Posts 3

    Re: Removing the window "Sending data to server"

    Thank you for your reply.

    "Verify on server" is already checked in Design checker.

    ya you are right, the dialog only appears when data is sent back to server. Actually some code is being executed on the controls and other controls are filled up in this code,so the dialog box is shown .

    But this code needs to be executed there ony... so , I think it's not possible, to hide this dialog box .

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.