locked
Front end aspx help with a condition RRS feed

  • Question

  • Hi all, I am not certain where to post this question, its something simple but its frontend aspx webform related. I've databound to bc, and am presenting the data as a listview control. The thing is I want to add a condition which is the last item in the bc list should not have the <span class ="bc_grey">></span>. Sorry again, been through the forums and just couldnt find an appropriate place to post this question.

    Any help would be great :)

    Thanks

    AJK

     

    <asp:ListView runat="server" ID="bc">
      <LayoutTemplate>
    
        <div id="links">
            <ul>
                <asp:PlaceHolder ID="itemPlaceholder" runat="server"></asp:PlaceHolder>
            </ul>
        </div>
      
      </LayoutTemplate>
      <ItemTemplate>
        <li>    
            <a href="<%# Eval("bc_link") %>" title="Text">
                <%# Eval("bc_name")%>
            </a>
            <span class ="bc_grey">></span>
        </li> 
      </ItemTemplate>
    </asp:ListView>
    

     

    Tuesday, October 18, 2011 7:08 PM

Answers

All replies

  • Hi ,

    Thank you for your post!  

    I'd like to suggest posting your question in the ASP.NET Forums,

     Located at:

    http://forums.asp.net/ 

    Hope this would be helpful.

    Have a nice day!

    Pan Zhang

    Customer Support

    EPX Service Engineering Support Team

    Wednesday, October 19, 2011 7:01 AM
  • Hi,

    I've logged in to yhr ASP.NET forums, and checked the site out. Read all the stuff, and it says I should be able to see a green button to submit a new thread, but for some reason I cant see this green button. Funny thing is I cant post asking how to use the site as I dont have that privilege. Are that forum linked to this one.

     

    Wednesday, October 19, 2011 7:40 AM
  • The forums are not linked, no.

    Thanks!


    Ed Price (a.k.a User Ed), SQL Server Experience Program Manager (Blog, Twitter, Wiki)

    Thursday, May 10, 2012 3:18 AM