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 6542613
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:14:56+00:00 2026-05-25T11:14:56+00:00

I have a page which renders html content from the database. Now I would

  • 0

I have a page which renders html content from the database. Now I would like to display this in Silverlight. I thought of either replacing all the tags with silverlight equivalents. Or has someone built something like that already? It seems like the best solution. Anyone else who has any advice?

It would kind of work if there was a way to get hyperlinks to work in silverlight richtextbox control.

    <RichTextBox HorizontalAlignment="Left" Margin="25,23,0,0" Name="richTextBox1" VerticalAlignment="Top" Height="251" Width="352" >

    <Paragraph FontSize="14" FontWeight="Bold" >Hello</Paragraph>



</RichTextBox>

Like this ain’t allowed in Silverlight:

 <TextBlock>
            Hello <HyperlinkButton > World </HyperlinkButton>

        </TextBlock>

I would be forced to do like this:

<StackPanel Orientation="Horizontal">
                <TextBlock >
                    Hello 
                </TextBlock>
                <HyperlinkButton>
                    World
                </HyperlinkButton>
                </StackPanel>

Which would be in html like this:

<h3> Hello <a href="#" >World</a></h3>

Sure to some extent the silverlight way would work but converting html-content to xaml seems tedious. If someone has the urge to write a library like this it would be nice.

  • 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-05-25T11:14:56+00:00Added an answer on May 25, 2026 at 11:14 am

    I have built one of these in the past (for WPF rather than Silverlight). It wasn’t easy and it only handles text elements. You should use HtmlAgilityPack to read the HTML and then maintain a stack of the current font state as you process the HTML.

    How complex is your HTML?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a page which contains a html.RenderPartial, that renders an ASP.NET MVC partial
I have page which is redirected from htaccess. now I can pass the German
I have a page which work like a navigation and a iframe in this
I have a page which dynamically loads a section of content via AJAX. I'm
I have a JSP page that renders a block of HTML. In normal usage,
Hi I have a search results page which returns queries form the database using
I have a page which spawns a popup browser window. I have a JavaScript
I have a page which does quite a bit of work and I don't
I have a page which is largely created by DOM script, which generates a
I have small page which has label, DropDownList and a submit button. <div> <asp:label

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.