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

Highliting /bold/ or any formatting not showing up right ! Help

1 Answer 75 Views
HTMLPlaceHolder
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Shiv
Top achievements
Rank 1
Shiv asked on 11 May 2012, 06:44 PM
I'm implementing HTML place holder for the first time. I looked at the examples but the any text formatting isn't working .
I'm getting the HTML form the radrichtextbox using html dataprovider. .I'm setting the RadHtmlPlaceholder.HtmlSource= html provided by the radrichtextbox html data provider

When I copy paste the same text on browser and it does show fine.
I'm placing htmlplaceholder insdie a childwindow.
Here is my code snippet.

Any help would be appreciated.

xaml:
<telerik:RadHtmlPlaceholder x:Name="RadHtmlPlaceholder" Margin="10" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" RespectSilverlightLayoutMeasure="True" />

code behind:
public string HtmlSource {get;set;}
 public EmailHtmlPreview(string source) //constructor source is passed down to this window
        {
            InitializeComponent();
            this.HtmlSource = source;
            Loaded += new RoutedEventHandler(LayoutRoot_Loaded);
        }

        void LayoutRoot_Loaded(object sender, RoutedEventArgs e)
        {
            RadHtmlPlaceholder.HtmlSource = HtmlSource;  //binding to the property
        }
     

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 16 May 2012, 08:34 AM
Hi Shiv,

 We have some known issues when the RadHtmlPlaceHolder is placed in Silverlight's ChildWindow.
Is it possible for you to try to replace it replace it with Telerik's RadWindow?

Kind regards,
Petar Mladenov
the Telerik team

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

Tags
HTMLPlaceHolder
Asked by
Shiv
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or