How to Change ListItem Text?

E

Eidolon

I have a DropDownList on my page, which is databound. What i want to do is
to do a lst.DataBind, and then go back and change the text on each listitem,
specifically indenting it based on the length of the ID field's value.
Ive broken into and stepped through the code, and i know it is working as
expected. However when the page renders out to the client, the indents are
not showing up. The items are all at the same level. Anyone can help?

Thanks in advance,
- Aaron.
 
E

Eidolon

Additional: It doesnt work if i try to indent with spaces. However if i
indent it with something else, say a "-" , it works fine.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,090
Messages
2,570,603
Members
47,223
Latest member
smithjens316

Latest Threads

Top