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

[Solved] Grid only rendering HyperlinkColumns up to page size

1 Answer 77 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Chris Zavaleta
Top achievements
Rank 1
Chris Zavaleta asked on 28 Sep 2009, 03:24 PM
Hello,

We are using the latest hotfix release of the controls and doing a non-declarative (explicit setting of datasource and calling databind on the master table view) client-side databind of the Grid. Bound columns work fine, but when we use the hyperlink column, or set the font color for example of a bound column, these formatting changes are only made to the grid up to the 11th column when specifying no page size. When we set the page size to 5, the grid formats the first 6 items. It appears that formatting and processing of URL columns only applies to the page size + 1 number of rows. If there is something we are missing or you've seen this before and know a workaround, please advise.

Thanks.

1 Answer, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 01 Oct 2009, 12:13 PM
Hello Chris,

This behavior is by design because with client-side binding the grid can created server controls/custom settings automatically for page size + 1 number of items that are instantiated on the server. Details on this subject can be found under the first highlighted section of the documentation topic below:

http://www.telerik.com/help/aspnet-ajax/client-side-binding.html

Therefore, for your case you may consider replacing the hyperlink column with template column holding asp Hyperlink in its ItemTemplate with id that matches the DataField of that particular column. Thus the links in the rest of the grid items should be created as expected.
 
Best regards,
Sebastian
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
Chris Zavaleta
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Share this question
or