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
75
UltraWebGrid LoadOnDemand question
posted

I am using an UltraWebGrid v9.2 and I have paging controls both on the grid and outside the grid.  I am using LoadOnDemand=”XML” because some of the record sets returned can be in excess of 16k rows, and it works great for speeding up the rendering of the page, but my issue is changing the paging controller outside of the UltraWebGrid with the Async postback.  I can not get the outside control to change without a full page refresh.  Any suggestions?

  • 75
    Verified Answer
    posted

    i figured it out.  i ended up putting a hidden field in the grid, setting the value then used the following javascript to chaneg the dropdowns value

     

     

     

     

     

    function

     

     

    AfterXmlHttpResponseProcessed() {

     

     

    var grid = igtbl_getGridById("UltraWebGrid1"

    );

     

     

    var

    row = grid.Rows.getRow(0);

     

     

    var cell = row.getCellFromKey("CurrentPage"

    ).getValue() ;

    document.getElementById(

     

    "downloadhelper_help_ddl_PageJump"

    ).selectedIndex = (cell - 1)