But we cannot use because this ("ctl10") ID changes as number of pages increases.
Please suggest for the same.
0
Tsvetina
Telerik team
answered on 22 Aug 2011, 09:29 AM
Hi Ankit,
You could use jQuery in order to achieve your goal. Depending on your server logic, you could register client script that accesses the pager buttons using their class names and disables them:
functionpageLoad(sender, args){
$telerik.$('.rgPageNext')[0].disabled='true';
$telerik.$('.rgPagePrev')[0].disabled='true';
}
All the best,
Tsvetina
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward!
We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>