User-1995187168 posted
Is it possible to start an event with the hyperlink control?
For example, when I press the control I need to start a modalpopup.
I know you may suggest to use a linkbutton but I cannot as I need to start a protocol handler (in the registry) that only starts with a direct link through the hyperlink control.
So, in my mind it should be something to this effect:
<
<asp:Hyperlink ID="HyperLink1" runat="server" navigateurl="protocol:handlerpath" click="Hyperlink1">
code behind:
Protected Sub Hyperlink1(ByVal sender as Object, byval e as system.web.ui.imageclickeventargs) handles hyperlink1.click
MyModalPopup.Show()
End Sub
Eh, but of course that doesn't work :)
Using the targetcontrol for the popup control as a hyperlink renders the hyperlink useless (as it will only open the modal popup) and not go to the navigateurl.
Any input appreciated.
Thank you!