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
<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