Hi,
I am loading dynamic HTML in RadHtmlPlaceHolder(Telerik.Windows.Controls.RadHtmlPlaceHolder). Html without image displays correctly, but with an image tag pointing an external , it closes IE. No error on runtime even no exception in debug mode too.
<img src='http://wallpapers.com/abc/abc.jpg'/>
Hi,
I'm working on a Silverlight program, which is used to display the preview of an email. Once user entered the email and clicked preview button, that message will display as a html content in preview window, which has created using a telerik RadPlaceHolder. But when click the the button it gives the following error. Can someone help me to sort out this issue. Kindly note that I'm silverlight beginner.
The invocation of the constructor on type 'Telerik.Windows.Controls.RadHtmlPlaceholder' that matches the specified binding constraints threw an exception. [Line: 9 Position: 77]
This is my code
<telerik:RadWindow x:Class="Mcs.Crm.ReportBursting.Controls.PrintPreview"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
Width="400"
Height="300" HorizontalAlignment="Center" VerticalAlignment="Center">
<Grid x:Name="LayoutRoot" Background="White">
<Border BorderBrush="Black" BorderThickness="1">
<telerik:RadHtmlPlaceholder x:Name="RadHtmlPlaceholder1" Margin="10"/>
</Border>
</Grid>
</telerik:RadWindow >
public partial class PrintPreview : RadWindow
{
string mHtml;
public PrintPreview()
{
InitializeComponent();
}
public PrintPreview(string html)
{
try
{
InitializeComponent();
}
catch (Exception)
{
throw;
}
mHtml = html;
Loaded += new RoutedEventHandler(Page_Loaded);
}
private void Page_Loaded(object sender, RoutedEventArgs e)
{
RadHtmlPlaceholder1.HtmlSource = mHtml;
}
Hi,
First of all, my issue is about RadTabControl and RadHtmlPlaceholder.
In fact my scenario is quite simple. I have 2 RadTabItems with a RadHtmlPlaceholder as content template. Each time I select a tab and then come back to the previous tab, the sourceUrl of the embedded RadHtmlPlaceholder is reloaded. It means that if I made some actions on my webpage like entries in a form, I loose them everytime I change tab. I tried to set the IsContentPreserved property to true, however nothing changes about my issue.
I hope you will help me,
Thank you,
Regards,
Hi -
We have a RadHtmlPLaceHolder in our application and the url is set to something like this
"https://{Website}/jwt?jwt={token}&return_to={returnto}"
and basically this redirects to another page.
This doesn't seem to be working for us. Do you have any idea what we would need to do so that redirection is not an issue?
Thanks, Shilpi
I use HTMLPlaceHolder in my system, but it's not work and not has error
Below is my code
xml:
<telerik:RadHtmlPlaceholder Grid.Row="0" x:Name="htmlViewer" Background="CornflowerBlue" Visibility="Visible" />
CS:
htmlViewer.HtmlSource = @"
<h1>
Hello This is a <i style='color:red'>Html Content</i> !
</h1>
";
The same code, I can run in a single demo,but in my system without any content
Please help me, thanks!
I have a page with RadPlaceHolder that runs with out-of-browser option enabled. When I use this option some javascripts, for example, the javascript function alert, don't working, but the same page inside the browser the RadPlaceHolder execute every javascripts of html page.
There are some limitations when used RadPlaceHolder in Silverlight out-of-browser ?
Thanks.