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

Client Side Binding and Programmatic Column Creation

4 Answers 75 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dasha
Top achievements
Rank 1
Dasha asked on 19 Oct 2010, 06:41 PM
Hello,

I'm setting up the grid to bind client-side.  I'm also creating my columns programmatically following all of your documentation.  It's working okay so far except for the hyperlink column.  I'm thinking it's because the hyperlink column is using a data format string?  Basically none of the column cells get populated.  Is this a known issue?  I also haven't tried many other column types, just the Bound and the ClientSelect - those are working fine.

Any insight is appreciated!

4 Answers, 1 is accepted

Sort by
0
Veli
Telerik team
answered on 25 Oct 2010, 08:34 AM
Hello Dasha,

Columns of type GridHyperlinkColumn should automatically be populated with client-side databinding. The column settings are persisted on the client, so the format is build equivalently on the client. Can you post some sample code we can examine?

Veli
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
0
Dasha
Top achievements
Rank 1
answered on 25 Oct 2010, 04:48 PM
Hello, thank you for your help on this matter.

Unfortunately our environment is fairly complex, so I was wondering if it would be to rude to ask you to provide me a code samle instead?  I would then analyze it to compare to what I'm doing to maybe figure out where I went wrong...
0
Veli
Telerik team
answered on 26 Oct 2010, 01:52 PM
Hi Dasha,

Sure, attached is a small test page you can add to a test project. You can see the GridHyperLinkColumn properly sets its link format with client-side databinding.

Veli
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
0
Dasha
Top achievements
Rank 1
answered on 27 Oct 2010, 05:22 PM
Thank you for the example.  Yeah, it does not look like the hyperlink column should take any effort, however I still can't get it to work on my end. Perhaps it's because the control is in a web part - I don't know.  When I had to enable the client side binding capability I had to make sure I could support more than one web aprt on the page, and that the two would not nessecarily use the same binding mechanism.  So one could be binding on the client, while the other one on the server.  This made the code pretty complex.  Perhaps somewhere something went out of line.
Tags
Grid
Asked by
Dasha
Top achievements
Rank 1
Answers by
Veli
Telerik team
Dasha
Top achievements
Rank 1
Share this question
or