hyperlinkcolumn visible condition


Joined
May 16, 2006
Messages
2
Reaction score
0
Hi i would like to set the property visible of each link of my datagrid when a condition is true. my code is the following : and i set the visible just as an example but i dont know how to do this in asp.net

<asp:HyperLinkColumn Text="Modifier" Visible =if ("javascript:test()") then true else false HeaderText="Modifier" DataNavigateUrlFormatString="javascript: ModifierParRecherche({0});"
DataTextFormatString="{0}" DataNavigateUrlField="PK_eve_numero"></asp:HyperLinkColumn>

is there a way to do so ?

Thanks
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top