• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 707
  • Last Modified:

Error Message on a Required Field

See below the following code snippet is not working as expected.  On a validation error the recource file does not appear to be recognized.  The solution is a Silverlight App using an mvvm pattern using ria services and entity framework.

[Required(ErrorMessageResourceName="String1", ErrorMessageResourceType=typeof(Properties.Resource1))]
            public string sys_name { get; set; }
Robb Hill
Robb Hill
1 Solution
Robb HillSenior .Net DeveloperAuthor Commented:
The answer was to make the file public on the server and set up a public link on the client as well.  Now the rescource file is being used for validation.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now