Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
690
Cannot use WebHtmlEditor in Expression Web 2
posted

I am using a WebHtmlEditor control in one of my aspx pages.
If I work on it in Visual Studio, everything works fine - I can edit in both design and source modes.

But if I open the same ASPX page in Expression Web 2 - this happens:

1) The page actually gets modified  - see below for the before and after.
2) Expression Web 2 cannot render the WebHtmlEditor - it displays the error "Literal content (' ') is not allowed within a 'Infragistics.WebUI.WebHtmlEditor.HtmlBoxMenuItem"
3) If I save the page in Expression Web 2 and then try to compile in Visual Studio 2008, I then get the same error.

It seems that the WebHtmlEditor is not compatible with Expression Web 2. 
Does anyone know if there's a workaround to use the WebHtmlEditor in Expression Web 2?

----------------------------------------------------------------------------------------------------------

Before opening the ASPX in Expression Web 2:

                            <ighedit:HtmlBoxMenuItem runat="server" Act="Cut" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False">
                           
<Dialog Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False"></Dialog>
</ighedit:HtmlBoxMenuItem>

After opening the ASPX in Expression Web 2 (notice the added "&nbsp;"):

                            <ighedit:HtmlBoxMenuItem runat="server" Act="Cut" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False">
                               
                               
                           
                                <Dialog Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False"></Dialog>
                               
                               
                                &nbsp; </ighedit:HtmlBoxMenuItem>

Parents Reply Children
No Data