referincing ajaxcontroltoolkit from js

4 posts, 0 answers
  1. brian
    brian avatar
    4 posts
    Member since:
    Apr 2009

    Posted 28 Jun 2010 Link to this post

    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



  2. Dimitar Milushev
    Admin
    Dimitar Milushev avatar
    555 posts

    Posted 01 Jul 2010 Link to this post

    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
  3. brian
    brian avatar
    4 posts
    Member since:
    Apr 2009

    Posted 07 Jul 2010 Link to this post

    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!
  4. Dimitar Milushev
    Admin
    Dimitar Milushev avatar
    555 posts

    Posted 12 Jul 2010 Link to this post

    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
Back to Top