I have several hyperlinks on a asp.net web form that are getting the navigate URL value by using databinding. I have no problem with displaying the links with the URL. If no problem with navigate url value is returned for a hyperlink but I no value is return I want to hind the link by setting the visible property to false. I am not sure how to do it.
Here is how I am getting the navigate URL value:
<asp:HyperLink ID="HyperLink1" Visible="true" NavigateUrl='<%# DataBinder.Eval(Container.DataItem, "article_url")%>' runat="server">Click here for more information</asp:HyperLink>
Any help would be appreciated.