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

Error HtMLPLACEHOLDER with radwindow

1 Answer 92 Views
HTMLPlaceHolder
This is a migrated thread and some comments may be shown as answers.
Jamal Husien
Top achievements
Rank 1
Jamal Husien asked on 02 Jun 2010, 11:44 PM
hello
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();

 

}

 

 

 

 




1 Answer, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 03 Jun 2010, 09:03 AM
Hello Jamal Husien,

Please check this help article about how to enable the html placeholder in your application.
http://www.telerik.com/help/silverlight/radhtmlplaceholder-getting-started.html


Sincerely yours,
Valentin.Stoychev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
HTMLPlaceHolder
Asked by
Jamal Husien
Top achievements
Rank 1
Answers by
Valentin.Stoychev
Telerik team
Share this question
or