Datalist hyperlink question

S

STom

I have a question regarding using hyperlinks with a datalist control.

I know that if I put a button inside of a column of a datalist control, I
should be able to have some type of ability to have something like:
btnAdd_Click

This function would be called whenever I clicked the button in the list.

Is the same thing possible if I make this a hyperlink instead of a button?
In other words, I don't want to go to a web page, I want to call a function
in my user control.

Thanks.

STom
 
B

Bill Priess

You can use the LinkButton control instead of the HyperLink...

HTH,

Bill P.
 

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,774
Messages
2,569,598
Members
45,152
Latest member
LorettaGur
Top