Solved

Error Message on a Required Field

Posted on 2012-03-22
1
700 Views
Last Modified: 2012-03-23
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
Comment
Question by:Robb Hill
1 Comment
 
LVL 11

Accepted Solution

by:
Robb Hill earned 0 total points
ID: 37756999
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Sort GridView by ID Descending 1 17
tableview is not updating 1 20
Install IIS7.5 on Windows Sever 2012 R2 4 23
Unlocking a column in excel using C# 17 18
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question