Indenting text items in a ASP.Net 2.0 ListBox
Posted on 2007-03-20
I have an application that builds an itinerary. I have the origin, destinations/stopovers and vias added to the same listbox. I have a checkbox that the user can check to indicate that this part of the itinerary is a 'via' i.e. the user wants to go via this city but this is not a stopover or destination where they will actually stop.
For example, a person goes from Chicago to Orlando stopping in Nashville but going via Louisville, KY.
So the listbox should be:
-->Louisville (indented by tab or spaces to indicate it is a 'via')
Orlando (final destination)
How can this best be accomplished?
Thanks in advance.