Re: List in Asp.Net
- From: Michael Nemtsev <nemtsev@xxxxxxx>
- Date: Fri, 25 May 2007 21:44:39 +0000 (UTC)
Hello Shapper,
there is only BulletedList and no NumericList, afaik.
Use repeater for this - just create a collection (ArrayList for example) which will contain the desired elements and then databind the repeater to the collection
---
WBR, Michael Nemtsev [.NET/C# MVP]. My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/
"The greatest danger for most of us is not that our aim is too high and we miss it, but that it is too low and we reach it" (c) Michelangelo
S> On May 25, 10:08 pm, Michael Nemtsev <nemt...@xxxxxxx> wrote:
S>
S> Yes, and the ol to.Hello Shapper,
The html <li> control which wraps the <asp:label> and <asp:TextBox>
?!
---
S> <ol>
S> <li>
S> <label for="name" class="required">Name:</label>
S> <input name="name" id="name" size="30" value="" type="text">
S> </li>
S> <li>
S> ...
S> </li>
S> </ol>
S> Is there a control there creates such a list and then I add text box
S> and labels to list items?
S> Or must I use Literal to add the code to my page?
S> Or maybe I should use HtmlTextWriter? How should I use it?
S> Thanks,
S> Miguel
.
- References:
- Re: List in Asp.Net
- From: shapper
- Re: List in Asp.Net
- Prev by Date: Add div to asp.net page
- Next by Date: Re: How to create a file folder using ASP.NET 2.0 ?
- Previous by thread: Re: List in Asp.Net
- Next by thread: newbie: logging exceptions, how??
- Index(es):