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
85
Client Side Page Index Changed event?
posted

I'm looking for the Infragistics WebGrid's PageIndexChanged Client side handler but cannot seem to find any information on it.

 What I want to do is trap the next/prev page event at the client, and perform some actions there. 

 Can someone please help! This is driving me nuts!

  • 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.