javascript - On click of a hyperlink, need to pass the control to a method? -


If you think this is a very basic question, please forgive me!

I have a label like the C # codebehind

  lblNewUser.Text = & lt; A href = "#" & gt; Click here & lt; / A & gt; + "To create a new user";  

I have a different way of creating a new user in C # I just want to navigate user C # method when users click on the link "Click here" above? How can I get this?

You will know how to use ASP .NET hyperlinks to help you.

Official MSDN Link:

Example:


Comments