views:

17

answers:

2

i have this in my vb.net code. label1.text = "Click on THIS ONE to proceed"

Now for the THIS ONE in the label text i want to give it a hyperlink or response.redirect. Any ideas how i can do this?

A: 

You cannot do this inside a single label.

Instead, you can use a Literal control and set the Text to include an <a> tag.

Alternatively, you can use a server-side hyperlink control.

SLaks
A: 

My recommendation here would be to do it the following way.

Replace the Label control with a Literal then do it this way

literal1.Text = "Click on <a href=""yoururl"">THIS ONE</a> to proceed"
Mitchel Sellers