This is a migrated thread and some comments may be shown as answers.

referincing ajaxcontroltoolkit from js

3 Answers 85 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
brian
Top achievements
Rank 1
brian asked on 28 Jun 2010, 11:56 PM
I am using radscriptmanager with 2010 q1 telerik ajax release
     <telerik:RadScriptManager runat="server" EnableScriptCombine="false">
       <AuthenticationService Path="~/Services/SpendusAuthService.asmx" />
       <Scripts>
          <asp:ScriptReference Path="~/js/logon.js"/>
       </Scripts>
    </telerik:RadScriptManager>

In the logon.js file I need to disable ajaxtoolkit validator, and used to like this
    if (AjaxControlToolkit.ValidatorCalloutBehavior._currentCallout != null) {
        AjaxControlToolkit.ValidatorCalloutBehavior._currentCallout.hide();
    }

But I am getting AjaxControlToolkit not defined. This is the only thing not working from my .net 3.5 conversion. Any help greatly appreciated



3 Answers, 1 is accepted

Sort by
0
Dimitar Milushev
Telerik team
answered on 01 Jul 2010, 04:46 PM
Hi Brian,

It seems that the AjaxControlToolkit's scripts haven't been loaded. Please refer to this forum post.

Sincerely yours,
Dimitar Milushev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
brian
Top achievements
Rank 1
answered on 07 Jul 2010, 11:23 AM
I upgraded to the latest build from telerik 2010.1.706.40 and still am suffering the exact same problem where the AjaxControlToolkit namespace is not available in any of my javascript. This is getting frustrating, I am trying to start developing a web site once I have settled on technology, and I would love to be able to use telerik Ajax but this needs to work. Jquery bu itself is looking better every day!
0
Dimitar Milushev
Telerik team
answered on 12 Jul 2010, 03:41 PM
Hello,

It seems that AjaxControlToolkit is undefined even when using the ToolkitScriptManager. I think they have changed their API and you now need to use Sys.Extended.UI.ValidatorCalloutBehavior.

Regards,
Dimitar Milushev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Ajax
Asked by
brian
Top achievements
Rank 1
Answers by
Dimitar Milushev
Telerik team
brian
Top achievements
Rank 1
Share this question
or