Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8576457
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T19:55:41+00:00 2026-06-11T19:55:41+00:00

I’m new to Silverlight and want to display some HTML inside a Silverlight App

  • 0

I’m new to Silverlight and want to display some HTML inside a Silverlight App. I’ve been reading about some ways to do it like the HTMLPlaceHolder from Telerik or HTML Overlays by mixing some css and javascript with the app.

The problem is that both require me to set the windowless=true which after going through its limitations on:

http://blogs.msdn.com/b/silverlight_sdk/archive/2008/11/12/limitations-of-windowless-mode-for-silverlight.aspx

I don’t think will be worthily so, are there any ways to display HTML without the windowless set to true?

Thanks in advance for the assistance..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T19:55:42+00:00Added an answer on June 11, 2026 at 7:55 pm

    I’m using the RadRichTextBox from Telerik which lets you render pretty much any type of document.

    Herzmeister, thanks a lot for your answer, after looking at the code of the HTMLTextBlock you suggested I could come up with a solution.. here’s the code I used..

    .xaml

    <UserControl x:Class="RadControlsSample.RadRichTextBoxTest"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"            
        xmlns:telerikHtml="clr-namespace:Telerik.Windows.Documents.FormatProviders.Html;assembly=Telerik.Windows.Documents.FormatProviders.Html"
        mc:Ignorable="d" d:DesignWidth="700" d:DesignHeight="400" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
        Loaded="Example_Loaded">
    
        <Grid x:Name="LayoutRoot">
            <telerik:RadRichTextBox Grid.Row="1" x:Name="richTextBox" DataContext="{Binding}" IsReadOnly="True" ShowMergeFieldsHighlight="False" IsSpellCheckingEnabled="False" />
        </Grid>
    </UserControl>
    

    .cs

    using System;
    using System.IO;
    using System.Windows;
    using System.Windows.Controls;
    using System.Windows.Resources;
    using Telerik.Windows.Documents.FormatProviders.Html;
    using Telerik.Windows.Documents.Model;
    
    namespace RadControlsSample
    {
        public partial class RadRichTextBoxTest : UserControl
        {
            private const string SampleDocumentPath = "SampleData/SomeHtml.html";
    
            public RadRichTextBoxTest()
            {
                InitializeComponent();
            }
    
            private void Example_Loaded(object sender, RoutedEventArgs e)
            {
                //Load html file from the content file
                var fileUri = new Uri(SampleDocumentPath, UriKind.Relative);
                StreamResourceInfo streamInfo = System.Windows.Application.GetResourceStream(fileUri);
                var reader = new StreamReader(streamInfo.Stream);
                this.richTextBox.Document = new HtmlFormatProvider().Import(reader.ReadToEnd());
                this.richTextBox.Document.LayoutMode = DocumentLayoutMode.Flow;
            }
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to using the Perl treebuilder module for HTML parsing and can't figure
link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I am reading a book about Javascript and jQuery and using one of the
I want use html5's new tag to play a wav file (currently only supported
I would like my Web page http://www.gmarks.org/math_in_e-mail.txt on my Apache 2.2.14 server to display
i want to parse a xhtml file and display in UITableView. what is the
I have a jquery bug and I've been looking for hours now, I can't
I have just tried to save a simple *.rtf file with some websites and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.