all groups > vb.net controls > march 2006 >
You're in the

vb.net controls

group:

what to use so I can capture an event


what to use so I can capture an event HockeyFan
3/24/2006 10:32:03 AM
vb.net controls:
I have a control, currently a hyperlink, inside a repeater on an ASP.Net page.
I populate the text from a database. It's a "Message Title", which means it
could typically be 20 or 30 characters long. I was told to use a hyperlink,
but when I got to the point where I wanted to capture events from it, wasn't
able to do so.

So I figure I need to use something else so that I can know when the user
clicks on the Message Title.
I think it probably should be in blue text underlined like a hyperlink, so
that the user knows to click on it, but from within my VB codebehind, I need
to be able to consume the click event.
Please help with your expertise. I'm new to ASP.Net.
RE: what to use so I can capture an event HockeyFan
3/24/2006 11:45:42 AM
I ended up using a link button.

AddThis Social Bookmark Button