This is a migrated thread and some comments may be shown as answers.

HTMLplaceholder not rendering html properly when using source code of yahoo and google as htmlsource.

1 Answer 26 Views
HTMLPlaceHolder
This is a migrated thread and some comments may be shown as answers.
Amit
Top achievements
Rank 1
Amit asked on 21 Oct 2011, 03:03 PM
Hi,

I am using radhtmlplaceholder in silverlight application.
When I copy source from yahoo or google and assign this string as htmlsource for placeholder its not rendering correctly.



Regards,
Amit Nadhe

1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 21 Oct 2011, 03:13 PM
Hi Amit,

When you set the RadHtmlPlaceholder.HtmlSource property the control creates a div element and adds it in the web page which is hosting the Silverlight plug-in. Then the value of the HtmlSource property is set as the div's innerHtml through a JavaScript method.

However, you need to keep in mind that in some browsers, like IE, if the HtmlSource value contains css styles declared inline, they won't be applied. Unfortunately we have no control over how this content is rendered in the browsers.

Is this the issue in your case? If not, can you please send us a sample code snippet illustrating how you define the RadHtmlPlaceholder and its properties? Then we will be able to further investigate the issue and help you overcome it.

Best wishes,
Tina Stancheva
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
HTMLPlaceHolder
Asked by
Amit
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or