Error When Using Validator
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngbeta' list.


Kapsinow, Steve
-- This message, which was originally sent to "aspng", has been moved to "aspngbeta" mailing list by the List Master --

When the RequiredFieldValidator control is implemented in my asp.net
page, I get an error message when accessing the page through my browser.
The message pops up in a separate message box. It says:

Warning! Unable to find script library WebUIValidation.js. This error
only shows up when the page is accessed in IE 5.x

The page seems to be fully functional otherwise. Even the validator
works. This message keeps popping up though.

Any ideas?

Thanks!

Reply to this message...
 
    
Anthony Moore
The validation controls can provide a richer user interface in IE 4 or
greater, but they fall back to server side validation if it fails or if
you are using a different browser. However, a problem with setup means
that the client library to make it work is not available on your system.
Do a view->source to look for the path where it is expecting this
(usually "/aspx/1.0.2204/scripts"), try to get a copy of this file and
place it in that location.

The setup problem that most likely causes this is fixed in Beta 2, and
the error message is more helpful.

Anthony Moore

-----Original Message-----
From: Kapsinow, Steve [mailto:Click here to reveal e-mail address]
Sent: Thursday, May 03, 2001 11:40 AM
To: aspngbeta
Subject: [aspngbeta] Error When Using Validator

-- This message, which was originally sent to "aspng", has been moved to
"aspngbeta" mailing list by the List Master --

When the RequiredFieldValidator control is implemented in my asp.net
page, I get an error message when accessing the page through my browser.
The message pops up in a separate message box. It says:

Warning! Unable to find script library WebUIValidation.js. This error
only shows up when the page is accessed in IE 5.x

The page seems to be fully functional otherwise. Even the validator
works. This message keeps popping up though.

Any ideas?

Thanks!

| [aspngbeta] member Click here to reveal e-mail address =3D YOUR ID
| http://www.asplists.com/asplists/aspngbeta.asp =3D JOIN/QUIT

Reply to this message...
 
    
Kapsinow, Steve
Anthony,

That was it! The file was missing. The admin guy forgot to copy it
over when he set up my site.

Thanks!

[Original message clipped]

Reply to this message...
 
 
System.Web.UI.WebControls.RequiredFieldValidator




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com