I want a person to click on purchase, which triggers code in the code-behind.
This works fine with a Button, but I would prefer a text hyperlink?
<asp:Button runat="server" ID="purchase" Text="Purchase" />
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
How about a LinkButton? A LinkButton basically gives you an asp:Button styled as a hyperlink.
See MSDN for more information.