Posted on: 10/27/2013 7:49:46 PM | Views : 756

I need to access an <li> item to set visible property and i have to define the navigateurl of the hyperlink by codebehind. I tried  visible="<%# VisibleMoreProducts() %> and NavigateUrl="<%# GetMoreProductsURL() %>", but not working..  They are in ListView GroupTemplate. How can I set this?
<GroupTemplate> <ul id="dvGroupBox" class="dvGroupBox" oninit="dvGroupBox_OnInit" runat="server"> <asp:PlaceHolder ID="itemPlaceHolder" runat="server"></asp:PlaceHolder> <div class="clear"></div> <li class="maisProdutos" runat="server"> <asp:HyperLink ID="LnkMaisProdutos" runat="server" style="float:right;">+ produtos</asp:HyperLink> </li> &l ...

Go to the complete details ...