ValidatorEnable is not defined when rolled with AJAX
Posted
by tigermain
on Stack Overflow
See other posts from Stack Overflow
or by tigermain
Published on 2009-03-12T10:04:02Z
Indexed on
2010/05/30
17:02 UTC
Read the original article
Hit count: 275
I have some webforms which have been working fine with various static and dynamically generated validators.
For some reason now that I have implemented UpdatePanels on the forms, when I manually call the ValidatorEnable() method on one of them (when I click a checkbox) I get the "ValidatorEnable is not defined" error message.
I am passing the same clientID etc into the method that I was using before I implemented the AJAX.net controls
It would seem .net isnt rendering the /WebResource.axd?d=aUu4P3dfjWWyw3KQ9t2ZdqxnzYhrtq9uWWiRZduXE-g1 script to the page, adding it manually I get other missing JS objects. So how can I force it to register the relevant scripts?
N.B. The validators in question are being rendered in a repeater
© Stack Overflow or respective owner