This is a migrated thread and some comments may be shown as answers.

Error for updatePager

1 Answer 18 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Duc
Top achievements
Rank 1
Duc asked on 16 Oct 2014, 11:22 AM
Hi,
I have a problem with telerik grid: I wan't to change pagebuttoncount property dynamically. But, I got a error (version: 2014.2.724.40)
this is my code
x =  $find('ucGlobalSearch_User_radGridContact');
x.MasterTableView.set_pageButtonCount(4);
Error is in this line: ._data.pageOfLabelClientID;
Sorry, my english is bad
Thanks.

1 Answer, 1 is accepted

Sort by
0
Angel Petrov
Telerik team
answered on 21 Oct 2014, 07:50 AM
Hi Duc,

I am not sure about the exact scenario but you should bear in mind that the illustrated approach is only applicable in cases where client-side binding is used. If the control is populated on the server the pager button count should also be changed server-side.

If however the grid uses client-side binding please share with us the markup and code-behind of the page so we could examine the implementation and further research the matter.

Regards,
Angel Petrov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
Duc
Top achievements
Rank 1
Answers by
Angel Petrov
Telerik team
Share this question
or