All of the error messages are stored in an XML file and it works very well for a label, but now I am trying to figure out how it can work with an error message inside of a requiredFieldValidator like this:
I have tried to implement the way that is shown in the link, but it doesn't seem to work. I keep getting this error:
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30684: 'Strings' is a type and cannot be used as an expression.
Source Error:
Line 16:
Line 17:
Line 18: <%= Strings("cart_page_title") %>
Line 19:
Line 20:
Member
10 Points
68 Posts
Multi language error messages...
Aug 21, 2006 08:41 PM|mori0043|LINK
Hey, I am using 1.1 framework for a multi language site. I implemented the code at this site: http://openmymind.net/index.aspx?documentId=3
All of the error messages are stored in an XML file and it works very well for a label, but now I am trying to figure out how it can work with an error message inside of a requiredFieldValidator like this:
<asp:RequiredFieldValidator id="1" runat-"server" controlToValidate="Textbox" ErrorMessage="??" />
as well... Can someone help please!!!
Thanks in advance.
Contributor
2369 Points
908 Posts
Re: Multi language error messages...
Aug 22, 2006 02:30 AM|Gordon-Freeman|LINK
Member
10 Points
68 Posts
Re: Multi language error messages...
Aug 23, 2006 12:47 PM|mori0043|LINK
Hey Gordon,
I have tried to implement the way that is shown in the link, but it doesn't seem to work. I keep getting this error:
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30684: 'Strings' is a type and cannot be used as an expression.
Source Error:
Thanks in advance.
Member
10 Points
68 Posts
Re: Multi language error messages...
Aug 24, 2006 12:45 PM|mori0043|LINK
Ok, I got it to work. I just wasn't referencing it correctly.
Thanks!
None
0 Points
7 Posts
Re: Multi language error messages...
Sep 05, 2006 01:24 AM|saratjandhyala|LINK
None
0 Points
7 Posts
Re: Multi language error messages...
Sep 05, 2006 02:04 AM|saratjandhyala|LINK