htmlPlaceholder with not color displayed

2 posts, 0 answers
  1. Y
    Y avatar
    1 posts
    Member since:
    Nov 2012

    Posted 20 Nov 2012 Link to this post


    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

  2. Pavel R. Pavlov
    Pavel R. Pavlov avatar
    1237 posts

    Posted 23 Nov 2012 Link to this post

    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.

Back to Top