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
460
WebGrid CSOM support for paging?
posted

Does WebGrid have any support for paging on client-side? Looking at CSOM overview, I can't see any object which has to do with the Pager-object on server-side, nor any event like page-index change. Do I have to implement paging on client-side completely on my on from scratch?

 Best regards

  • 28464
    posted

     

    Yes, I played a bit with the Client Side Object model of the grid and could not find anything that fires on the client prior to paging. I even tried the generic MouseDown events - same results. Nothing of what I see listed here seems to do the trick.

    http://help.infragistics.com/Help/NetAdvantage/NET/2008.2/CLR3.5/html/WebGrid_Client_Side_Events_CSOM.html 

    In addition, I see that probably something built-in may be working only for Ajax grid, please see the following forum thread for details:

    http://forums.infragistics.com/forums/p/1855/33184.aspx#33184 

    Otherwise, maybe it will be possible to create custom paging (there is a sample available at the link below -> in the Grid -> Navigating & Selecting -> Custom Paging example):

    http://samples.infragistics.com/2008.2/webfeaturebrowser/default.htm 

    and then manually control the HTML of the custom pager to invoke javascript event prior to going back to server for paging.

    Hope this helps.