>All,
>
> I want to popup a login window when the user clicks a link on my website. I am using a web forms hyperlink control on an ASPX page. How do I get the hyperlink control to call a javascript on my page? Is there a different way to be doing this?
>
>thanks
>
>Jim
There are several ways. You can add an onclick event to the hyperlink control to execute the javascript function.
MyHyperLinkID.attributes.add("onclick","myfunction()");
Since you don't need the server side processing capabilities of the hyperlink control I would suggest using a standard HTML anchor link instead. Using web form controls when not actually needed is not recommended because it adds additional load to the server.
Michael McLain