Hi Paul,
The
ContentAreaMode="
Div" property was introduced in
Q2 2010 (version 2010.2.713), but you should know that the
CssFiles property works for Iframe mode only. This property inserts a link tag(s) in the head tag of the iframe which point(s) to the specified CSS file(s) - therefore it is possible to style only the iframe content area which is not part of the current page as being a different document. The DIV content area is part of the current page and the styles are directly inherited from the page.
I investigated the problem with the CssFiles and onParentNodeChanged method and found that it appears in Firefox only. The CSS file imported through the CssFiles property was there after moving the editor in the DOM and executing the onParentNodeChanged method, but the browser did not evals it and its contents were not applied to the content area. In IE and Chrome everything was good so this leads me believe that this is a Firefox bug.
I was able to reproduce it with the following code:
I logged it in our bug tracking system and our developers will try to fix it. Here you can find the PITS Issue:
Public URL.
I also updated your Telerik points for reporting it.
Best regards,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their
blog feed now