Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
835
Cancel postback with UpdateRow
posted

I need to prompt the user for a justification on why they are changing a cell in a UltraWebGrid.  I can show a DialogWindow on a cell change, but the problem is the grid is losing focus and therefor triggers the UpdateRow event on the server.  How can I prompt for data BEFORE the row is sent back to the server?  Is there any way to suppress a postback until a certain condition is met?

 

Mark <><

  • 49378
    posted

    Hi Mark,

    It has been a while since your post, however in case you still need assistance I would be glad to help.

    You should be able to use the BeforeRowUpdate client-side event in order to cancel the updating postback. This is done by returning true from the event handler. In your scenario after the user is done with the dialog window, you should be able to initiate a postback using javascript when the DialogWindow is being closed.

    Please contact me if you have any questions.

    Best Regards,

    Petar Ivanov
    Developer Support Engineer
    Infragistics, Inc.
    http://es.infragistics.com/support