Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Use a Hyperlink as a button control in ASP.net

Posted on 2009-06-29
2
Medium Priority
?
411 Views
Last Modified: 2012-05-07
Hello,
I have one HyperLink control in an ASP.NET page,
I want to use it as a button, when the user click i want to run some vb code, how can i do this.
Thanks
0
Comment
Question by:Nyana22
2 Comments
 
LVL 12

Accepted Solution

by:
wht1986 earned 2000 total points
ID: 24740391
Can you just switch to using a LinkButton instead?  That is essentially a hyperlink that has it's onclick event tied to postback event.
0
 

Author Closing Comment

by:Nyana22
ID: 31598128
thanks
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

782 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question