Hello,
I'm using an SQL Datasource for my list. It receives the value, text, and sort order from the SQLDataSource. I would like to put an icon to the left of each list item (it will be the same icon each time - it isn't different on each item). Almost like a bullet point icon. I'm just doing this to dress up my list a little bit. Can someone give me an example of how to do this with an SQLDataSource? Here is an example of my ListBox:
I have an image named TopicListItems.png and will use that image for each item on the list.
Any help appreciated!
I'm using an SQL Datasource for my list. It receives the value, text, and sort order from the SQLDataSource. I would like to put an icon to the left of each list item (it will be the same icon each time - it isn't different on each item). Almost like a bullet point icon. I'm just doing this to dress up my list a little bit. Can someone give me an example of how to do this with an SQLDataSource? Here is an example of my ListBox:
<telerik:RadListBox ID="RadListBox1" runat="server" |
DataKeyField="TopicAssign_ID" DataSourceID="SqlDataSource1" |
DataTextField="TopicName" |
DataValueField="TopicAssign_ID" Skin="Office2007" |
Width="100%" AllowAutomaticUpdates="True" |
AllowReorder="True" AutoPostBackOnReorder="True" DataSortField="SortOrder" |
EmptyMessage="The curently selected Role has no Topics" |
onreordered="RadListBox1_Reordered" TransferMode="Copy" |
EnableDragAndDrop="True" Height="300px" style="top: 0px; left: 0px"> |
<EmptyMessageTemplate> |
The curently selected Role has no Topics |
</EmptyMessageTemplate> |
</telerik:RadListBox> |
I have an image named TopicListItems.png and will use that image for each item on the list.
Any help appreciated!