Read validation message from external library
<p>I created a Global Resource file for Error messages and I am attaching the associated message to the validator control as following.</p>

<pre><code>  &lt;asp:RequiredFieldValidator ID="RVTest" 
                        CssClass="ErrorMessage" runat="server" 
                        ErrorMessage="&lt;%$ Resources:ErrorMessage, RequiredFieldTestKey %&gt;" 
                        ControlToValidate="ReqFldTestTextbox"&gt; &lt;/asp:RequiredFieldValidator&gt;
</code></pre>

<p>This is working fine.</p>

<p>Now I am planning to move all the Global Resources to a different library let say <code>MyResourceLibrary</code> and created a resource file with name <code>ErrorMessage</code>. I have added the reference of the library to my ASP.NET project and trying to acces the message from my library as follwong.</p>

<pre><code> &lt;asp:RequiredFieldValidator ID="RVTest" 
                        CssClass="ErrorMessage" runat="server" 
                        ErrorMessage="&lt;%$ Resources: MyResourceLibrary.ErrorMessage, RequiredFieldTestKey %&gt;" 
                        ControlToValidate="ReqFldTestTextbox"&gt; &lt;/asp:RequiredFieldValidator&gt;
</code></pre>

<p>But this is not working.</p>
