Re: Repeater and Eval
Chris Anderson <[email protected]>
| Newsgroups | gmane.comp.windows.devel.dotnet.web |
|---|---|
| Message-ID | <[email protected]> |
Try :
<asp:HyperLink
runat="server"
NavigateUrl='<%# Eval("Url") %>'
Visible='<%# (!String.IsNullOrEmpty(Eval("Url"))).ToString() %>'
>
<%# Eval("Title") %></asp:HyperLink>
i.e. set the Visible property equal to "True" if the Url is not empty,
and "False" if it is.
===================================
This list is hosted by DevelopMentor® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com