Ticket Q433604
Visible to All Users
Duplicate

Web - Information in ImmediatePostData fields can be over written when typing very fast

created 12 years ago

I have implemented your suggestion to fix the immediate post
tab issue in Ticket B210375 for the web.

However, if a user is using the form for data capture
purposes and entering the information quickly, the refocusing causes the
initial characters after the tab to be over typed.

Step to reproduce the issue

  1. Enter a value in Rate textbox - type 7.

  2. Press Tab to move to the Hours textbox and IMMEDIDATELY
    start typing (more than one character) – type 4444.

  3. You will notice that the characters that are
    typed before the immediate post had finished are lost.

How can the workaround be changed to prevent this from
happening, so that the user does not have to wait for the immediate post to
finish before stating to type.

Thanks

Answers

created 12 years ago (modified 12 years ago)

Hello Trentin,
Thank you for contacting us. We can replicate this issue in our tests, but I am afraid we do not have any solutions for this at this time. We already tried to improve the script by using the SetCaretPosition method (to move the caret to the last symbol in the editor to avoid loosing typed data) instead of focusing the editor, but it did not solve the original cause of this issue: after the call back is sent to the server, the updated HTML rewrote what was already entered by a fast user on the client side.
To be fair, I believe that the same issue would occur in a regular ASP.NET application with update panels. Since we cannot avoid using update panels and callbacks in XAF Web, we do not have an easy solution for this task. I have added a note into the ticket where this workaround was published to inform other people of this issue.

    Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

    Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.