Customized bulleted list items in ASP.NET
        Posted  
        
            by sudarsanyes
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by sudarsanyes
        
        
        
        Published on 2009-07-08T13:00:26Z
        Indexed on 
            2010/05/12
            11:04 UTC
        
        
        Read the original article
        Hit count: 226
        
Hi, I am just a beginner in ASP.NET. My question is simple, I wanna add list items dynamically from the code behind file and I want each item to have a text and couple of images as hyperlinks. The HTML sample should be like,
<ul>
  <li>do foo  <a href="#"><img src="some_image.png" /></a></li>
  <li>do bar  <a href="#"><img src="some_image.png" /></a></li>
  ...
</ul>
The number of items is dependent on the collection retrieved by the code behind file.
P.S. my code behind file is written in C#
© Stack Overflow or respective owner