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
 

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

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top