DataList Control and CSS

O

olevm

Hello,

i have a little problem:

Currently i'am developing some parts for a webapplication, one
containing a DataList.
The Items within the DataList are links, that are pointing to
somewhere, having parameters leaving the postback /
CommandName/Argument stuff beside.

url?parameter1=x&parameter2=y

eg (conceptually):

<datalist>
<itemtemplate>
<a href="url?parameter=<%# Container.DataItem("ID")">
<%# Container.DataItem("ID")%>
</a>
</itemtemplate>
</datalist>

How do i get the link that has been clicked beeing highlighted without
using the
SelectedItemStyle feature? If not possible, how do i manage to use a
asp:LinkButton
with the parameters like above while achieving the highlight
functionality with
SelectedItemStyle Options?

Greetings and thanks in advance
Ole
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,265
Latest member
TodLarocca

Latest Threads

Top