Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

asp:hyperlink onClick

Status
Not open for further replies.
Jan 20, 2005
65
GB
Is it possible for an asp:hyperlink control to have an onclick method.

Whenever I do it, I always get "btn_Click is not defined" but it works perfectly for asp:button.

Thanks
 
No the asp:hyperlink doesn't have a click event
You could use the Linkbutton
<asp:LinkButton
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top