Re: CSS of tag, within a Repeater ItemTemplate
- From: "JJ" <abc@xxxxxxx>
- Date: Tue, 3 Apr 2007 15:33:28 +0100
Sorry I should have worded that differently:
How do I _change_ the css class of the tag.
Basically the css class of the tag in the repeater item needs to be
programmatically set whenever the repeater loads.
"dtarczynski" <dtarczynski@xxxxxxxxx> wrote in message
news:1175608886.061291.147610@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On 3 Kwi, 15:36, "JJ" <a...@xxxxxxx> wrote:
I'm sure this is quite simple, but clearly not for me today:
How do you set the CSS Style of a tag in a repeater Item Template?
Maybe try this:
<asp:Repeater runat="server" ID="rpt_SubCategoryList"
OnItemCreated="rpt_SubCategoryList_ItemCreated">
<HeaderTemplate>
<ul>
</HeaderTemplate>
<ItemTemplate>
<li class="yourCSSClass"><a href=' '>Some Text Here</a></li>
<-----------------
</ItemTemplate>
<FooterTemplate>
</ul>
</FooterTemplate>
</asp:Repeater>
.
- References:
- CSS of tag, within a Repeater ItemTemplate
- From: JJ
- Re: CSS of tag, within a Repeater ItemTemplate
- From: dtarczynski
- CSS of tag, within a Repeater ItemTemplate
- Prev by Date: RE: how to fetch only newly added/edited record
- Next by Date: GridView / Sql Server 2005 / Paging
- Previous by thread: Re: CSS of tag, within a Repeater ItemTemplate
- Next by thread: Re: CSS of tag, within a Repeater ItemTemplate
- Index(es):
Relevant Pages
|