Results 1 to 3 of 3

Thread: How to I prevent loadexception from firing if leave page before grid finishes loading

  1. #1

    Question How to I prevent loadexception from firing if leave page before grid finishes loading

    Currently when I have a grid loading on a page, and I click on another link on the page to take me to another URL, the loadexception event fires and displays an Exception, since I have a loadexception handler.

    Is there something I could look for to either A) prevent the loadexception from even firing on such an event (leaving the page) or capture that the user is going to another URL in my loadexception handler and just simply not display an error message?

    (I searched the forums and didn't this problem come up, but possibly my search criteria is off, so if it's been addressed elsewhere, I'd appreciate a link. Thanks so much.)

  2. #2

    Default

    Just trying a quick bump of this post from a week ago.

    If it's a really dumb question, maybe some pointers on what search phrases to use?

    I figured others must have run into this before but can't seem to find any significant hits searching.

  3. #3
    Ext User halkon_polako's Avatar
    Join Date
    Nov 2007
    Location
    Barcelona
    Posts
    193

    Default

    Maybe , in the loadException handler you can see the status of the request aborted .. and if this is the case (aborted or cancelled or something like that), then do nothing.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •