anup daware

anup daware

  • NA
  • 31
  • 0

RangeValidaor throwing exception

Mar 16 2006 7:33 AM

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