Solved

Use a Hyperlink as a button control in ASP.net

Posted on 2009-06-29
2
397 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 500 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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

705 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now