Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
100
Binding data to TemplateDataField
posted

Hi,

I'm creating my columns dynamically from code bhing. Now I want to add a column as Hyperlink for example I have columns named Name, Age, Country and I want Name column to be a hyperlink column. can some let me know how I can achieve this? I tried creating a template field and then adding the hyperlink to the template field in Initialiserow command, but I'm unable to get the item value for Name column i.e. row.items[0].Text is returning me a null value when as when I delcare the same field as Bound field I'm getting the value.

 

Thanks in advance.

Regards

Surya