problem with pageSize and template columns

2 posts, 0 answers
  1. Łukasz Kuryło
    Łukasz Kuryło avatar
    24 posts
    Member since:
    Jan 2010

    Posted 19 Apr 2010 Link to this post

    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?
  2. Rosen
    Rosen avatar
    3215 posts

    Posted 21 Apr 2010 Link to this post

    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,
    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.
  3. DevCraft R3 2016 release webinar banner
Back to Top