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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T19:00:20+00:00 2026-05-26T19:00:20+00:00

I am running RIA services with silverlight 4. I have RIA services entities, which

  • 0

I am running RIA services with silverlight 4.

I have RIA services entities, which derive from this class,

System.ServiceModel.DomainServices.Client.Entity

They are being marked as changed (using either the HasChanges field, or the EntityState field) when they are not changed. I need a more reliable way to work out which of my entities have changed.

The reason is that I have three text fields on my entity, a plain text field, rich text field, and an HTML field. They are all linked up to the same text. Displaying them in my editor control has modified the rich text and the HTML fields subtly, but not the plain text field.

So I would like to ideally do something like this,

‘Does the entity have any modified fields other than the HTML or Rich Text fields’

The plain text field will pick up on ‘actual’ changes that the user makes to the text.

There are some non public members on the Entity base class called ‘ModifiedProperties’ and ‘OriginalValues’ which would be ideal if there was a way to use them?

  • 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-26T19:00:21+00:00Added an answer on May 26, 2026 at 7:00 pm

    OK, turns out on closer inspection that the rich text control I am using does not support binding. That means in the code there is something like this,

    public void LoadText() // loads from the database and puts into the UI control
    {
        control.RichText = entity.RichText;
        control.Html = entity.Html;
        control.Body = entity.Body;
    }
    

    and

    public void UpdateText() // update the entity with the updated text
    {
        entity.RichText = control.RichText;
        entity.Html = control.Html;
        entity.Body = control.Body;
    }
    

    I am using a third party control Liquid.RichTextBlock. It turns out that this control returns back a different RichText and HTML in some cases even if the text hasn’t been edited. This can relate to the width of the control which is on a resizable popup.

    The Liquid.RichTextBlock control has a property called ‘History’ and I can actually use that property to tell me if the user has actually updated the text.

    In principal something like this,

    public void UpdateText() // update the entity with the updated text
    {
        if (control.History.Count > 0) // the user has updated the format and or the text
        {
            entity.RichText = control.RichText;
            entity.Html = control.Html;
            entity.Body = control.Body;
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a C#.NET Silverlight 3.0 client running RIA Services with an EF model.
I'm doing unit testing for our WCF RIA services, which have RequiresRole or RequiresAuthentication
I am experiencing a strange error while running Silverlight 5 and Ria Services SP2.
We have a silverlight project that uses RIA services. There is some code that
Running ipconfig /all shows a Teredo Tunneling Pseudo-Interface. What is that? Does this have
In a Silverlight 4 proj i'm using WCF RIA services, MVVM principles and EF
I am developing a silverlight 3 application using WCF RIA services. I am using
I'm working on a Silverlight 3 app with RIA Services. I've got the app
I'm trying to make ExtJs work with backend running WCF RIA services with JSON
I'm working on a RIA system which has a huge number of static resources.

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.