anup_daware Posted March 16, 2006 Posted March 16, 2006 Hi Group, In my application I am using "Range Validator", validator is set for a textbox with range 1900 - 9999. and I am also using "Validation Summary" problem is when I run the application i get a run-time exception Compiler Error Message: CS0234: The type or namespace name 'Global' does not exist in the class or namespace 'System.Web.UI.WebControls.RangeValidator' (are you missing an assembly reference?) Source Error: Line 26: Line 27: [system.Runtime.CompilerServices.CompilerGlobalScopeAttribute()] Line 28: public class Global_asax : RangeValidator.Global { Line 29: Line 30: private static bool __initialized = false; I am using ASP1.x what could be the problem and whats the solution? Regards, Anup Quote
Administrators PlausiblyDamp Posted March 16, 2006 Administrators Posted March 16, 2006 Is the project called RangeValidator? If so it looks like it is getting confused between the default namespace and the RangeValidator control. Try renaming the project / changing the default namespace and see if that fixes it. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
anup_daware Posted March 17, 2006 Author Posted March 17, 2006 Hi, Its working now, It was really a silly mistake. Thanks and Regards, Anup Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.