ASPNet HyperLink StausBar question

J

Jason Huang

Hi,

In my ASPNet 2.0 C#.Net, I have a string manipulation for a HyperLink as

string strHLink= "<a href=\"" + HyperLink1.NavigateUrl.ToString() + "\">" +
HyperLink1.Text.ToString() + "</a>"

But how do I set the StatusBar to a special string for that strHLink to
represent the HyperLink in the .aspx.cs file?
Thanks for help.


Jason
 
B

bruce barker

you need to set it with javascript on onmouseover and onmouseout.

note: for security, most browsers are now blocking this action. phishers
are using this to show the a fake url with a link.

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,071
Latest member
MetabolicSolutionsKeto

Latest Threads

Top