Adding link to a label ASP.NET (VB)

Posted by AZIRAR on Stack Overflow See other posts from Stack Overflow or by AZIRAR
Published on 2010-06-16T22:09:09Z Indexed on 2010/06/16 22:12 UTC
Read the original article Hit count: 116

Filed under:
|
|
|
|

Hello,

I have a label and I want to add to it a link.

I want to use javascript like :

MyLabel.Attributes.Add("`onclick`", "javascript:`SOME_CODE`")

What must I add in (SOME_CODE) to redirect the user to another link.

Thanks.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about JavaScript