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
485
Display cell as normal text in a Hyperlink column
posted

Hi All,

I have to display a cell as a normal text cell in a hyperlink column.

This cell should be treat as a normal text and other cell can be treated as a hyperlink.

setting targetURL of cell as empty is not able to resolve this issue.

Any idea ?

Thanks,

Parents
  • 28464
    posted

    In cases where customization is needed, I believe the best approach would be to use Templated columns instead of bound columns - this way you can have fine grained control on the output. e.g.

                        <igtbl:TemplatedColumn>
                            <CellTemplate>
                                <%# Eval("Name") %>
                            </CellTemplate>                   
                        </igtbl:TemplatedColumn

     

                        <igtbl:TemplatedColumn>
                            <CellTemplate>
                                <a href='<%# Eval("Url")' %><%# Eval("Name") %><a/>
                            </CellTemplate>                   
                        </igtbl:TemplatedColumn 

Reply Children