HtmlBox - links not working.

0
0

Hi

I’ve added an HtmlBox to a page on my project.  I am then feeding in some simple html which consists of a bit of text, an email link and a web link.

Problem is, neither of the links are working.  I can click them, them mouse over works fine only nothing happens.

I’ve set the “allowNavigation” property to true on the htmlbox.  I’m also setting it to true in the code just before I write the html in.

Code as it currently stands

htmlPanel1.AllowNavigation = true;
htmlPanel1.Html = html.Trim();
htmlPanel1.Refresh();

Any idea where I’m going wrong?

Thanks

Steve.

  • You must to post comments
0
0

I tried this html and it works:

<a href=“http://google.com”>Google</a>

BTW, no need to call Refresh() or Update(). Can you attach a small test case?

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.