[CLOSED] Timeout when paging or processing command in GridPanel

Page 1 of 2 12 LastLast
  1. #1

    [CLOSED] Timeout when paging or processing command in GridPanel

    Hi,
    I have a grid panel which is being used to display about 10465 records currently with 19 records per page. First page shows up correctly but when trying to page, I get the time out problem. This also happens when I click on a command against a row.

    I tried to use the

    <AjaxEventConfig Timeout="300000"/>
    suggested here

    http://forums.ext.net/showthread.php...e-via-AjaxLoad

    but get the error that its not a member of store. I am not using the object data source by the way. I am using version 1.0.x
    Last edited by Daniil; Mar 12, 2012 at 5:35 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Please use DirectEventConfig in Ext.NET v1.x.

    I have a grid panel which is being used to display about 10465 records currently with 19 records per page.
    Please clarify do you use remote paging?
  3. #3
    Yes the paging is done on the server. How do I use directeventconfig? Similar to ajaxconfig?
  4. #4
    Yes, in similar, it's a Store property.
  5. #5
    Ok. Does it apply to both paging and grid commands?
  6. #6
    No, it applies for Store operations only (load, submit, saving).
  7. #7
    Any possibility of adjusting the timeout of GridCommand? Also, if possible, doing masking for grid command?
  8. #8
    Please just set up Timeout for the Command DirectEvent.
  9. #9
    Ok. Just to wrap up, I used

    <DirectEventConfig Timeout="300000" />
    inside the store tag. I used timeout property on the Command event inside DirectEvents of GridPanel.

    To get the mask working, I used grid.loadMask.show() and grid.loadMask.hide() methods in before and after of the command direct event.
    Last edited by Daniil; Mar 12, 2012 at 3:29 PM. Reason: Corrected the closing code tag
  10. #10
    Btw, to handle masking you can use EventMask of DirectEvent.
Page 1 of 2 12 LastLast

Similar Threads

  1. [CLOSED] Remote Validation and Processing Time
    By deejayns in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jun 14, 2012, 11:21 PM
  2. Replies: 22
    Last Post: Sep 05, 2011, 5:27 AM
  3. [CLOSED] Error when processing DirectMethod on TreePanel
    By ewgoforth in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Nov 26, 2010, 8:41 AM
  4. Form processing with sqlDataSource and Oracle
    By preussmd in forum 1.x Help
    Replies: 0
    Last Post: Jun 18, 2010, 7:00 PM
  5. Replies: 1
    Last Post: Jul 20, 2009, 7:36 AM

Posting Permissions