Is it possible to conditionally add the no-follow attribute to a hyperlink using inline code?
I want to add: rel=no-follow conditional on ('<%# (int)Eval("Rank") < 29 %>') to hyperlink below
<asp:HyperLink ID="HyperLink10" runat="server" Visible='<%# (Convert.ToInt32(Eval("ShowYN")) == 0) %>' ImageUrl='<%# Page.ResolveUrl(Eval("Picture", "http://abc.com/images/virginia/{0}.jpg")) %>' NavigateUrl='<%# String.Format("http://abc.com/craftpage.aspx?linkid={0}", Eval("L_ID")) %>' Target="_blank"></asp:HyperLink>
thank you
...
Go to the complete details ...