how can add bulletlist in datalist template item

Posted by Umeshdwivedi under ASP.NET on 7/16/2011 | Points: 10 | Views : 3297 | Status : [Member] | Replies : 1
Dear to all
i want to add bulletlist in datalist teplate item how can add
pls suggest me

Latest Technology Trainer
And Part time software consultant



Responses

Posted by: DotnetGuy on: 7/17/2011 [Member] Starter | Points: 25

Up
0
Down
Hi ,
If u want to display bulleted list in DataList u just follow this

<asp:DataList ID="dlAddBulletList" runat="server" >
<HeaderTemplate>
<ul>
</HeaderTemplate>

<ItemTemplate>
<li><a href='<%#Eval("Url") %>' target="_blank"><%#Eval("Url")%></a></li>
</ItemTemplate>
<FooterTemplate>
</ul>
</FooterTemplate>



Umeshdwivedi, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response