Integrating RadHtmlPlaceholder and RadWindow

In order to use the RadWindow control in your application, you need to add a reference to the Telerik.Windows.Controls.Navigation assembly.
You can find more info here.

Adding RadHtmlPlaceholder is the same as adding any other content in the RadWindow.

<UserControl x:Class="SilverlightApplication18.MainPage"
     xmlns:telerik=""&gt;&#13; <Grid >
<telerik:RadButton  Content="Load HtmlPlaceholder In Window" 
                    Margin="0 25" Height="25" Padding="5 0" />

using System;
using System.Windows;
using System.Windows.Controls;
using Telerik.Windows.Controls;

namespace SilverlightApplication18
    public partial class MainPage : UserControl
        private RadWindow window;
        public MainPage()
        private void LoadHtmlPlaceholder(object sender, System.Windows.RoutedEventArgs e)
            this.window = new RadWindow();
            RadHtmlPlaceholder htmlPlaceholder = new RadHtmlPlaceholder();
            Uri uri = new Uri("", UriKind.RelativeOrAbsolute);
            htmlPlaceholder.SourceUrl = uri;
            this.window.Content = htmlPlaceholder;
            this.window.Width = 800;
            this.window.Height = 600;
            this.window.Top = 210;
            this.window.Left = 330;
Imports System.Windows
Imports System.Windows.Controls
Namespace SilverlightApplication18
    Partial Public Class MainPage
        Inherits UserControl
        Public Sub New()
        End Sub
        Private Sub LoadHtmlPlaceholder(sender As Object, e As System.Windows.RoutedEventArgs)
            Me.window = New RadWindow()
            Dim htmlPlaceholder As New RadHtmlPlaceholder()
            Dim uri As New Uri("", UriKind.RelativeOrAbsolute)
            htmlPlaceholder.SourceUrl = uri
            Me.window.Content = htmlPlaceholder
            Me.window.Width = 800
            Me.window.Height = 600
            Me.window.Top = 210
            Me.window.Left = 330
        End Sub
    End Class
End Namespace


See Also

In this article
Not finding the help you need? Improve this article