method call after link clicking

  • 13 years ago

    Hi

     I have created a link which should call a method by passing a parameter. My method should check for registry entries.

     I could not understand How can we call a method when the user clicks a link. I was thinking to do something like this:

     

     link.NavigateUrl = method(pubId); 

    will this works? Could anyone give me some Ideas how can this be implemented..

     

    Thanks in advance,

    Aruna.G 

     

      
     

  • 13 years ago

    Why not just use a LilnkButton, rather than a hyperlink?

    You'd then have the click event with which to be able to manipulate.

    Joe 

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“The greatest performance improvement of all is when a system goes from not-working to working.” - John Ousterhout