catalyst2 community forums  

Go Back   catalyst2 community forums > New Users > How-To?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 10-10-2004, 11:57 AM   #1 (permalink)
Registered User
 
Join Date: Oct 2004
Posts: 31
ValidatorEnable

i am using a custom control to output javascript to turn on and off validating on a page dependant on which button is pressed

however on my own computer this works fine

when i upload to catalyst it is unable to fine ValidatorEnable

ValidatorEnable is a part of the WebUIValidation.js

but i think i must be on a different version of it from catalyst

solution - i am thinking i could copy the code from my WebUIValidation.js and include it as part of the output of the control

would i be write in thinking it might be a good idea to name the function differently just incase catalyst upgrade and then i'd end up with 2 functions named the same?

or any other advice as to pitfalls i might encounter?
DateWifaDiff is offline   Reply With Quote
Old 10-10-2004, 12:13 PM   #2 (permalink)
Registered User
 
Join Date: Oct 2004
Posts: 31
update

well havin done some more checking i have noticed that if i browse to the site on my own machine through my ip address

the WebUIValidation.js is downloaded into my temp internet files

yet when i browse to the site here it is not

so that makes me fink i got something wrong with my configuration up here

?
DateWifaDiff is offline   Reply With Quote
Old 10-10-2004, 12:23 PM   #3 (permalink)
Registered User
 
Join Date: Oct 2004
Posts: 31
ok

well havin done even more research i find that the file resides within

C:\Inetpub\wwwroot\aspnet_client\system_web\1_1_43 22\WebUIValidation.js

on my own machine

which probably means there is a location for it on catalysts server


going to check VS to see if one can change these setting to point to an area within the project to look for its script files
DateWifaDiff is offline   Reply With Quote
Old 10-10-2004, 01:03 PM   #4 (permalink)
Registered User
 
Join Date: Oct 2004
Posts: 31
Solution

copy aspnet_client folder to the root of your website
DateWifaDiff is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 06:44 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.