Help Required with asp:hyperlink controls

S

Simon Dingley

Please could could someone help me.

I have a CSS tabbed interface made up from asp:hyperlink controls. When a
hyperlink control is clicked I want to change a value in the viewstate to
keep a track of the selected tab index. Each time the menu is displayed I
will check the ViewState to determine which is the active tab and change
the CSS class for that tab so that it is visually different to the rest to
indicate that it is active.

The problem I have is that the asp:hyperlink control has no onclick event
so I would like advice on how to achieve my requirement.

Thanks in advance for any suggestions.

Simon
 

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

Forum statistics

Threads
474,264
Messages
2,571,065
Members
48,770
Latest member
ElysaD

Latest Threads

Top