I have noticed when using the Hyperlink Manger to create links in the RadEditor, that if you only enter 1 word in the Tooltip field, that the rendered HTML does not include either single or double quotes around the text for the title parameter in the anchor tag. However, if you enter multiple words it does include double quotes.
Likewise, it does the same thing in the target field.
Adding links produces the following HTML in the editor control for single and multiple words:
The problem I am having is that when trying to render these anchors in an HtmlTextBox in the ReportViewer control, it complains about the missing quotes giving the following error message:
An error has occurred while processing HtmlTextBox 'txtBestDomainPractice': 'MSN' is an unexpected token. The expected token is '"' or '''. Line 1, position 122.
It does this for the title field if they are missing there, or for the target field if the title field has quotes.
Is there a workaround or known fix for this?
Likewise, it does the same thing in the target field.
Adding links produces the following HTML in the editor control for single and multiple words:
<
A
title
=
MSN
href
=
"http://www.msn.com"
target
=
_blank
>MSN</
A
><
BR
>
<
A
title
=
"MSN WEB SITE"
href
=
"http://www.msn.com"
target
=
_blank
>MSN Web Site<
BR
></
A
>
The problem I am having is that when trying to render these anchors in an HtmlTextBox in the ReportViewer control, it complains about the missing quotes giving the following error message:
An error has occurred while processing HtmlTextBox 'txtBestDomainPractice': 'MSN' is an unexpected token. The expected token is '"' or '''. Line 1, position 122.
It does this for the title field if they are missing there, or for the target field if the title field has quotes.
Is there a workaround or known fix for this?