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
875
Extend a link in a cell
posted

 How can i extend a link in a cell? it contains only the number but it should link to e.G. "http://1.1.1.1/test.aspx?ID=(CellValue)"

Parents
No Data
Reply
  • 28464
    Verified Answer
    posted

    Hello,

    There a two possible approaches 

    1) Use HyperLink column Type and in the InitializeRow event switch the URL to any format you wish. 

    You can view the following forum threads on how to achieve that with code here:

    http://news.infragistics.com/forums/p/1151/11328.aspx#11328
    http://news.infragistics.com/forums/p/1392/12207.aspx#12207

    2) Use templated column and customize the URL in the ItemTemplate of the cell, e.g. <a href="http://1.1.1.1 ... " >

    HTH,

Children