• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 705
  • 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; }
0
Robb Hill
Asked:
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.
0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

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