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

problem with pageSize and template columns

1 Answer 35 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Łukasz Kuryło
Top achievements
Rank 1
Łukasz Kuryło asked on 19 Apr 2010, 12:05 PM
Hi all.
I have a radgrid with template columns populating on the client by webservice.
I have a problem, when I want to set page size to value bigger than on the beginning. I see in firebug that, in the added row, there aren't my fields which I added to the templates, so grid thrown a exception from the OnRowDataBound client event. What can I do with it?

1 Answer, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 21 Apr 2010, 04:50 PM
Hi Ɓukasz,

Indeed this is expected as server-side template cannot be instantiated client-side. Therefore you should manually populate the appropriate column's cell on RowDataBound or RowCreated client-side events. You may refer to this online demo for an example of how to get reference and manipulate the cells content on RowDataBound event.

Sincerely yours,
Rosen
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
Łukasz Kuryło
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Share this question
or