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

htmlPlaceholder with not color displayed

1 Answer 19 Views
HTMLPlaceHolder
This is a migrated thread and some comments may be shown as answers.
Y
Top achievements
Rank 1
Y asked on 20 Nov 2012, 04:17 PM
hey,

i am trying to use the htmlPlaceholder ,with and without the RadWindow, as in the example giveni have a html content which has text and some of the text have background coloring. How can I use the htmlPlaceholder to show the background colors as in the html content.

What I did was store the html content in htmlPlaceholder.HtmlSource
waiting for your reply thank you

1 Answer, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 23 Nov 2012, 08:52 AM
Hello Y B,

Our RadHtmlPlaceholder control is designed to display HTML content in Silverlight based page and it best works in combination with our RadWindow control. However, you have to take a couple of steps before defining the RadHtmlPlaceholder in XAML. You have to set a windowless mode to the start page of your web project (where you host your Silverlight page). Take a look at this article for more information.

Please keep in mind that you have to escape the quotes (e.g. "") in code-behind as demonstrated in the attached project. Take a look at it and let me know if it works for you.

All the best,
Pavel R. Pavlov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
HTMLPlaceHolder
Asked by
Y
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Share this question
or