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
220
Paging Problem in WebGrid
posted

Hi,

i am using Ultrawebgrid in my application.For paging i am using Custom paging like First,Prev Next,Last.

If i am clicking the next button just after the page /grid load the i am getting the error Page can't be displayed.But if i am clicking after few seconds say 10 seconds i am not getting the error.

I put a break point on pageindexchanged event but its not hitting the break point.

I checked the javascript of ig_Webgrid.js and put debugger at

function igtbl_onPagerClick(gn,evnt)
{
 debugger; 
 var g=igtbl_getGridById(gn);
 if(!g || !evnt) return;
 if(!g.isLoaded())
  return ig_cancelEvent(evnt);
}

here i am getting g=undefined for which the application returns from here.

If i am clicking the next button after 10 seconds then the debugger at this point is not hitting.

Please help.

Thanks,
Sridhar