Repost: Hyperlink

  • Thread starter Thread starter ashoo
  • Start date Start date
If by "run time" you mean client side, then use javascript:
getElementById('hyperlinkid').click(); If you mean server side, then the
link must be runat=server and you'll have to call the event handler
explicitly -- which is not a good practice.

Instead, use a helper function:
sub Link_Click(sender as object,e as eventargs)
DoLinkClick
end sub

sub DoLinkClick
...
end sub

Alex Papadimoulis
 
Back
Top