Solved

Use a Hyperlink as a button control in ASP.net

Posted on 2009-06-29
2
406 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 Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
vb.net 1 month apart 11 35
Correct and Effective way to generate pdf files online via JavaScript or ASP.Net? 6 55
Add or delete table rows 10 53
ASP.NET Content Page 3 25
In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

840 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