Re: Repeater and Eval
Patrick Steele <[email protected]>
| Newsgroups | gmane.comp.windows.devel.dotnet.web |
|---|---|
| Message-ID | <017f01c787f8$65e58bd0$6501a8c0@X60T> |
1. "Not work" doesn't give us much information to help you. 2. People are giving you ideas on how to hide "a" hyperlink. We're leaving it up to you to apply the knowledge to the second (or whatever) hyperlink you need it on. --- Patrick Steele http://weblogs.asp.net/psteele -----Original Message----- From: Discussion of building .NET applications targeted for the Web [mailto:[email protected]] On Behalf Of Gabriel Sent: Thursday, April 26, 2007 7:30 AM To: [email protected] Subject: Re: [DOTNET-WEB] Repeater and Eval On 4/26/07, Chris Anderson <[email protected]> wrote: > > <asp:HyperLink > runat="server" > NavigateUrl='<%# Eval("Url") %>' > Visible='<%# (!String.IsNullOrEmpty(Eval("Url"))).ToString() %>' > > > <%# Eval("Title") %></asp:HyperLink> Not work :(. It's the second hyperlink in the repeater I need to hide this section : <ItemTemplate> <li> <asp:HyperLink runat="server" NavigateUrl='<%# Eval("Url") %>'><%# Eval("Title") %></asp:HyperLink> </li> </ItemTemplate> Regards, =================================== This list is hosted by DevelopMentorR http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com