i try to open a radwundow with
but i get the following error
The invocation of the constructor on type 'Telerik.Windows.Controls.RadHtmlPlaceholder' that matches the specified binding constraints threw an exception. [Line: 7 Position: 51];
how can i solve these problem
these is my code:
//from the main page the click the button
private void cmdShow_Click(object sender, RoutedEventArgs e)
{
try
{
RadWindow RadWindow_tmp = new RadWindow();
RadWindow_tmp.Content =
new Icontrol_WebPage();
RadWindow_tmp.CanClose = true;
RadWindow_tmp.ShowDialog();
RadWindow_tmp.Top = 100;RadWindow_tmp.Left = 200;}
catch (Exception ee)
{
MessageBox.Show(ee.Message);}
}
<
UserControl xmlns:sdk="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input" x:Class="Jaudit_V6.InputControl.Icontrol_WebPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls" Width="700" Height="480" >
<Grid x:Name="LayoutRoot" Background="White">
<Border BorderBrush="Black" BorderThickness="1">
<telerik:RadHtmlPlaceholder SourceUrl="http://www.google.com"/>
</Border>
</Grid>
</UserControl>
//nothing on the constructor
public Icontrol_WebPage()
{
InitializeComponent();
}