Error HtMLPLACEHOLDER with radwindow

2 posts, 0 answers
  1. Jamal Husien
    Jamal Husien avatar
    43 posts
    Member since:
    Feb 2010

    Posted 02 Jun 2010 Link to this post

    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();

     

    }

     

     

     

     




  2. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 03 Jun 2010 Link to this post

    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.
  3. DevCraft banner
Back to Top