Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Repeater - last node

Reply
Thread Tools

Repeater - last node

 
 
John Jackson
Guest
Posts: n/a
 
      09-29-2006
I'm very, very new to ASP.NET - but have been trying to learn on my
own... I'm currently attempting to move my company's website over to a
ASP.NET website and am running into an issue. Because not all browsers
support the :first-child/last-child psuedoclass I have to assign a CSS
class of "firstchild/lastchild" to HTML tags for their respective
position (i.e. in a list). This is so I can control their appearance on
the page when needed.
Now using Visual Studio 2005, I can create an XML sitemap and populate
lists with the Repeater control for menus, etc. I'm confused on how I
can determine the last node and how to output a different Item Template
for that specific node - basically add a CSS class to the <li> tag for
the first and last nodes... Any help here would be extremely helpful...

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to delete last node of a Linked list if you only know the address of last node. sangram C Programming 16 12-01-2006 08:57 PM
xsl variable $node/text() but $node can non-node-set help! Tjerk Wolterink XML 2 08-24-2006 03:28 AM
How to set the node indent property between the parent node and the leaf node viveknatani@gmail.com ASP .Net 0 02-13-2006 07:11 PM
How to drag a sub-node to another node in TreeView? wolf ASP .Net 0 08-18-2004 11:51 PM
[HELP] Create a DOM using a node from another node yio@free.fr Java 0 07-16-2003 12:30 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57