AJAX Control Toolkit Compatability

Thread is closed for posting
115 posts, 0 answers
  1. Mohan
    Mohan avatar
    15 posts
    Member since:
    Apr 2011

    Posted 19 Oct 2011 Link to this post

    We are still facing trouble to integrate AJAXControlToolKit.dll with the Telerik.web.ui.dll
  2. Mohan
    Mohan avatar
    15 posts
    Member since:
    Apr 2011

    Posted 19 Oct 2011 Link to this post

    Not sure if this was ever resolved, But I get the same error inspite of having the Telerik.web.ui & the Ajax ControlKit.dll as a paired combination from the above example. I am using 64bit Win7 IIS 7.5 OS. & nothing in my GAC about the licensed versions of the TelerikWebUI's.
  3. Veli
    Admin
    Veli avatar
    2002 posts

    Posted 20 Oct 2011 Link to this post

    Hi Mohan,

    I cannot reproduce the error you are getting based on the screen shots. I used Telerik.Web.UI version 2011.2.915.40 and AjaxControlToolkit version 4.1.40.412 on the same project. Here is a screen shot of RadDatePicker and the AJAX control toolkit CalendarExtender loaded on the same page:

    RadDatePicker and AjaxControlToolkit CalendarExtender on the same page

    Here is the markup of the page:

    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
     
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     
    <head runat="server">
        <title></title>
    </head>
    <body>
        <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <div>
            <telerik:RadDatePicker ID="RadDatePicker1" runat="server">
            </telerik:RadDatePicker>
     
            <asp:TextBox ID="TextBox1" runat="server" style="margin-left:100px">
            </asp:TextBox>
     
            <ajaxToolkit:CalendarExtender ID="CalendarExtender1"
                TargetControlID="TextBox1" runat="server">
            </ajaxToolkit:CalendarExtender>
        </div>
        </form>
    </body>
    </html>

    And here are the two assembly versions:

    The properties windows of Telerik.Web.UI.dll and AjaxControlToolkit.dll


    Veli
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  4. Antonello
    Antonello avatar
    9 posts
    Member since:
    Sep 2011

    Posted 20 Oct 2011 Link to this post

    Hi alex,

    I have the same problem in my application.
    I used the ajaxcontroltoolkit 3.5.40412.2, framework 3.5, telerik.web.ui 2008.1.515.20.
    In my page i used the radscriptmanager:
     <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
            <Scripts>
                <asp:ScriptReference Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
                    Name="MicrosoftAjax.js" Path="js/MicrosoftAjax.js" />
                <asp:ScriptReference Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
                    Name="MicrosoftAjaxWebForms.js" Path="js/MicrosoftAjaxWebForms.js" />
            </Scripts>
        </telerik:RadScriptManager>

    Have you solved the problem?
  5. Antonello
    Antonello avatar
    9 posts
    Member since:
    Sep 2011

    Posted 20 Oct 2011 Link to this post

    Hi Hector,

    I have the same problem in my application.
    I used the ajaxcontroltoolkit 3.5.40412.2, framework 3.5, telerik.web.ui 2008.1.515.20.
    In my page i used the radscriptmanager:
     <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
            <Scripts>
                <asp:ScriptReference Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
                    Name="MicrosoftAjax.js" Path="js/MicrosoftAjax.js" />
                <asp:ScriptReference Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
                    Name="MicrosoftAjaxWebForms.js" Path="js/MicrosoftAjaxWebForms.js" />
            </Scripts>
        </telerik:RadScriptManager>

    Have you solved the problem?
  6. Mohan
    Mohan avatar
    15 posts
    Member since:
    Apr 2011

    Posted 20 Oct 2011 Link to this post

    Fortunately Yes.

    In my case I had to remove these Scripts.
     Try this. Put a Break point in masterpage or the page Pageload. & follow thro'. you will get an error the moment the brk pt. reaches these lines. If it does, remove them,  & try again. I actually ran thro; a myrad of fixes & roll backs, its all over the internet & telerik, see the web.config sequence of http handlers etc..

    <asp:ScriptReference Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
                    Name="MicrosoftAjax.js" Path="js/MicrosoftAjax.js" />
                <asp:ScriptReference Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
                    Name="MicrosoftAjaxWebForms.js" Path="js/MicrosoftAjaxWebForms.js" />
         
  7. Antonello
    Antonello avatar
    9 posts
    Member since:
    Sep 2011

    Posted 20 Oct 2011 Link to this post

    If I remove in the master page the tags ScriptReference in Radscriptmanager, I obtain the following errors: "Errore di run-time di Microsoft JScript: AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the scripts are referenced. If you are using an ASP.NET ScriptManager, switch to the ToolkitScriptManager in AjaxControlToolkit.dll.".

    I used framework 3.5, ajaxcontroltoolkit 3.5, system.web.extension 3.5 and telerik.web.ui 2008.1.515.20
    In  my file web.config added the following tags:
    <configuration>
    ....
    <location path="WebResource.axd">
        <system.web>
          <authorization>
            <allow users="*" />
          </authorization>
        </system.web>
      </location>
      <location path="ScriptResource.axd">
        <system.web>
          <authorization>
            <allow users="*" />
          </authorization>
        </system.web>
      </location>
      <location path="Telerik.Web.UI.WebResource.axd">
        <system.web>
          <authorization>
            <allow users="*"/>
          </authorization>
        </system.web>
      </location>
    ....
    </configuration>

    <system.web>
    .....
    <httpHandlers>
          <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2008.1.515.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false"/>
          <add path="Telerik.RadUploadProgressHandler.ashx" verb="*" type="Telerik.Web.UI.RadUploadProgressHandler, Telerik.Web.UI"/>
          <add path="ChartImg.axd" verb="GET,HEAD" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
          <remove verb="*" path="*.asmx"/>
          <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
          <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
          <add verb="GET,HEAD" path="ScriptResource.axd" validate="false" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
        </httpHandlers>
    </system.web>

    <system.webServer>


        <validation validateIntegratedModeConfiguration="false"/>
        <httpHandlers>
          <remove verb="*" path="*.asmx"/>
          <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
          <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
          <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>


        </httpHandlers>
        <modules>
          <remove name="ScriptModule"/>
          <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
        </modules>
        <handlers>
          <remove name="WebServiceHandlerFactory-Integrated"/>
          <remove name="ScriptHandlerFactory"/>
          <remove name="ScriptHandlerFactoryAppServices"/>
          <remove name="ScriptResource"/>
          <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
          <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
          <add name="ScriptResource" verb="GET,HEAD" path="ScriptResource.axd" preCondition="integratedMode" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
          <remove name="ChartImage_axd"/>
          <remove name="Telerik_Web_UI_SpellCheckHandler_axd"/>
          <remove name="Telerik_Web_UI_DialogHandler_aspx"/>
          <remove name="Telerik_RadUploadProgressHandler_ashx"/>
          <remove name="Telerik_Web_UI_WebResource_axd"/>
          <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*"/>
          <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*"/>
          <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*"/>
          <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*"/>
          <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*"/>
      </handlers>
      </system.webServer>


  8. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 21 Oct 2011 Link to this post

    Hi Antonello,

    From the stack trace of the exception you receive it seems that you are trying to use the .NET 4 version of the AJAX toolkit with the .NET 2 version of our ASP.NET AJAX controls.

    To address it, migrate either to the latest .NET 4 release of our components, or switch to the .NET 35 release and utilize the .NET 35 version of the MS AJAX toolkit. 

    Regards,
    Sebastian
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  9. Shawn Clabough
    Shawn Clabough avatar
    17 posts
    Member since:
    Jun 2004

    Posted 08 Nov 2011 Link to this post

    Here's how crazy this "Microsoft JScript runtime error: ASP.NET Ajax client-side framework failed to load." sys undefined error is.

    If I use IE from VS2010 by pressing F5 to start debugging, I receive the error.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <head id="ctl00_Head1"><title>
        Search
    </title><link id="ctl00_DefaultCSS" href="Stylesheets/StyleDefaults.css" rel="stylesheet" type="text/css" />
    <
    link id="ctl00_UIStylesCSS" href="Stylesheets/UIStyles.css" rel="stylesheet" type="text/css" />
    <
    link id="ctl00_cssLink" href="/Stylesheets/VM-TS.css?v=504910944000000000" rel="stylesheet" type="text/css" />
        </head>
    <body>
        <form name="aspnetForm" method="post" action="Login.aspx?ReturnUrl=%2fdefault.aspx%3f" id="aspnetForm">
    <div>
    <input type="hidden" name="__LASTFOCUS" id="__LASTFOCUS" value="" />
    <input type="hidden" name="ctl00_ToolkitScriptManager1_TSM" id="ctl00_ToolkitScriptManager1_TSM" value="" />
    <input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
    <input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
    <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwULLTEyMDg5MjM2NTIPZBYCZg9kFgQCAQ9kFgICAw8WAh4EaHJlZgUrL1N0eWxlc2hlZXRzL1ZNLVRTLmNzcz92PTUwNDkxMDk0NDAwMDAwMDAwMGQCAw9kFgQCBw8WAh4HVmlzaWJsZWgWAgIBDxQrAAIUKwACZGQQFgAWABYAZAIJD2QWAgIBDxYCHwFoZBgBBR1jdGwwMCRFbnRpdHlEYXRhU291cmNlTGVmdE5hdg88KwAJAQEPaGRk1ZxY44K1ZWYGEOgN4ra45sH0jClBmu54PbmuzfYsF1A=" />
    </div>
     
    <script type="text/javascript">
    //<![CDATA[
    var theForm = document.forms['aspnetForm'];
    if (!theForm) {
        theForm = document.aspnetForm;
    }
    function __doPostBack(eventTarget, eventArgument) {
        if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
            theForm.__EVENTTARGET.value = eventTarget;
            theForm.__EVENTARGUMENT.value = eventArgument;
            theForm.submit();
        }
    }
    //]]>
    </script>
     
     
    <script src="/WebResource.axd?d=N1Hs-gBFYG6s5YblFfJ8RylN4bAuwPSakGMNx-t2hxQ-B_k3b2e_kzgcxbZcQSOczdlmVWo-_Dx3w-KPGiuyJmOmzwPWgvgQPEJpGmNHdyo1&t=634489975842795474" type="text/javascript"></script>
     
     
    <script src="/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_ToolkitScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3ae71d0a15-7471-4384-9905-78bdf2047cba%3aea597d4b%3ab25378d2" type="text/javascript"></script>
    <script type="text/javascript">
    //<![CDATA[
    if (typeof(Sys) === 'undefined') throw new Error('ASP.NET Ajax client-side framework failed to load.');

    If I open the site directly in IE by typing in the address "http://localhost:54968", it works fine.
    If I set either Firefox or Chrome as the default browser and start debugging with F5, it works fine.

    If I change from
    <telerik:RadScriptManager ID="ToolkitScriptManager1" runat="server">
    </telerik:RadScriptManager>
    to (as Mesut listed above)
    <telerik:RadScriptManager ID="ToolkitScriptManager1" runat="server">
        <Scripts>
            <asp:ScriptReference Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Name="MicrosoftAjax.js" Path="http://ajax.microsoft.com/ajax/4.0/1/MicrosoftAjax.js" />
            <asp:ScriptReference Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Name="MicrosoftAjaxWebForms.js" Path="http://ajax.microsoft.com/ajax/4.0/1/MicrosoftAjaxWebForms.js" />
        </Scripts>
    </telerik:RadScriptManager>

    it will then work with IE when starting debugging with F5.

    I am not using ajaxcontroltoolkit at all, but I did have it in the project previously, and removed the reference and the dll from the bin folder.

    I am using Telerik.Web.UI version 2011.2.915.40

    Here's my web.config
    <?xml version="1.0"?>
    <configuration>
      <configSections>
        <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
          <section name="TalentSearchAlumni.My.MySettings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
        </sectionGroup>
      </configSections>
      <appSettings/>
      <connectionStrings>
        <add name="TalentSearchAlumni.My.MySettings.DbConn" connectionString="Data Source=.\sqlexpress;Initial Catalog=TalentSearchAlumni-UI;Persist Security Info=False;User ID=TalentSearchAlumni_web;Password=********;Packet Size=4096"/>
        <add name="TalentSearchAlumniEntities" connectionString="metadata=res://*/TalentSearchAlumni.csdl|res://*/TalentSearchAlumni.ssdl|res://*/TalentSearchAlumni.msl;provider=System.Data.SqlClient;provider connection string="data source=.\sqlexpress;initial catalog=TalentSearchAlumni-UI;integrated security=True;multipleactiveresultsets=True;App=EntityFramework"" providerName="System.Data.EntityClient"/>
      </connectionStrings>
      <system.web>
        <!--
        Visual Basic options:
        Set strict="true" to disallow all data type conversions
        where data loss can occur.
        Set explicit="true" to force declaration of all variables.
      -->
        <!--
        Set compilation debug="true" to insert debugging
        symbols into the compiled page. Because this
        affects performance, set this value to true only
        during development.
      -->
        <compilation debug="true" strict="false" explicit="true" targetFramework="4.0">
          <assemblies>
            <add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
            <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
            <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
            <add assembly="System.Speech, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add assembly="System.Web.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
            <add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
          </assemblies>
        </compilation>
        <!--
      The <authentication> section enables configuration
      of the security authentication mode used by
      ASP.NET to identify an incoming user.
      -->
        <authentication mode="Forms">
          <forms name="TalentSearchAlumniCookie" loginUrl="Login.aspx"/>
        </authentication>
        <authorization>
          <deny users="?"/>
        </authorization>
        <!--
       The <customErrors> section enables configuration
       of what to do if/when an unhandled error occurs
       during the execution of a request. Specifically,
       it enables developers to configure html error pages
       to be displayed in place of a error stack trace.
     
       <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
       <error statusCode="403" redirect="NoAccess.htm" />
       <error statusCode="404" redirect="FileNotFound.htm" />
       </customErrors>
      -->
        <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
          <namespaces>
            <clear/>
            <add namespace="System"/>
            <add namespace="System.Collections"/>
            <add namespace="System.Collections.Generic"/>
            <add namespace="System.Collections.Specialized"/>
            <add namespace="System.Configuration"/>
            <add namespace="System.Text"/>
            <add namespace="System.Text.RegularExpressions"/>
            <add namespace="System.Linq"/>
            <add namespace="System.Xml.Linq"/>
            <add namespace="System.Web"/>
            <add namespace="System.Web.Caching"/>
            <add namespace="System.Web.SessionState"/>
            <add namespace="System.Web.Security"/>
            <add namespace="System.Web.Profile"/>
            <add namespace="System.Web.UI"/>
            <add namespace="System.Web.UI.WebControls"/>
            <add namespace="System.Web.UI.WebControls.WebParts"/>
            <add namespace="System.Web.UI.HtmlControls"/>
          </namespaces>
          <controls>
            <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI"/>
          </controls>
        </pages>
        <httpHandlers>
          <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/>
          <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false"/>
          <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false"/>
          <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false"/>
          <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false"/>
        </httpHandlers>
      </system.web>
      <!--
      The system.webServer section is required for running ASP.NET AJAX under Internet
      Information Services 7.0.  It is not necessary for previous version of IIS.
      -->
      <location path="Login.aspx">
        <system.web>
          <authorization>
            <allow users="*"/>
          </authorization>
        </system.web>
      </location>
      <location path="Images">
        <system.web>
          <authorization>
            <allow users="*"/>
          </authorization>
        </system.web>
      </location>
      <location path="Stylesheets">
        <system.web>
          <authorization>
            <allow users="*"/>
          </authorization>
        </system.web>
      </location>
      <applicationSettings>
        <TalentSearchAlumni.My.MySettings>
          <setting name="PROD1" serializeAs="String">
            <value>web</value>
          </setting>
          <setting name="SMTPServer" serializeAs="String">
            <value>mx</value>
          </setting>
          <setting name="ActiveProgram" serializeAs="String">
            <value>VM</value>
          </setting>
          <setting name="AuthType" serializeAs="String">
            <value>Not Active Directory</value>
          </setting>
          <setting name="FooterHTML" serializeAs="String">
            <value>Copyright</value>
          </setting>
        </TalentSearchAlumni.My.MySettings>
      </applicationSettings>
      <system.webServer>
        <validation validateIntegratedModeConfiguration="false"/>
        <handlers>
          <remove name="ChartImage_axd"/>
          <remove name="Telerik_Web_UI_SpellCheckHandler_axd"/>
          <remove name="Telerik_Web_UI_DialogHandler_aspx"/>
          <remove name="Telerik_RadUploadProgressHandler_ashx"/>
          <remove name="Telerik_Web_UI_WebResource_axd"/>
          <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode"/>
          <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode"/>
          <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode"/>
          <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode"/>
          <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode"/>
        </handlers>
        <modules runAllManagedModulesForAllRequests="true"/>
      </system.webServer>
      <system.web.extensions>
        <scripting>
          <scriptResourceHandler enableCompression="false"/>
          <webServices/>
        </scripting>
      </system.web.extensions>
    </configuration>

  10. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 09 Nov 2011 Link to this post

    Hi Shawn,

    Can the issue be related to this missing section in your web.config (required for our script manager, as explained in this help article):

    <configuration>
    ...
    <location path="Telerik.Web.UI.WebResource.axd">
       <system.web>
         <authorization>
           <allow users="*"/>
         </authorization>
       </system.web>
     </location>
    ...
    </configuration>

    This can produce the error you mentioned. Apply it to see whether this helps. 

    Best regards,
    Sebastian
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  11. Shawn Clabough
    Shawn Clabough avatar
    17 posts
    Member since:
    Jun 2004

    Posted 09 Nov 2011 Link to this post

    Yes, that took care of it.  I did not find that page because I searched on the full error  "Microsoft JScript runtime error: ASP.NET Ajax client-side framework failed to load." sys undefined.

    It is strange that that permissions issue only happens with IE when starting debugging via F5.
  12. Velmurugan
    Velmurugan avatar
    37 posts
    Member since:
    Aug 2011

    Posted 28 Nov 2011 Link to this post

    hi Sebastian,
                             how to use related combobox in radgrid code behind c#...but i need to my task like below link
                           http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/multiplecomboboxes/defaultcs.aspx...
                           which radgrid should  have add,delete and update options.......

    awaiting for your reply...           
                             thanx in advance....
  13. Vinkel
    Vinkel avatar
    36 posts
    Member since:
    Apr 2010
  14. Troy
    Troy avatar
    31 posts
    Member since:
    Oct 2011

    Posted 09 Jan 2012 Link to this post

    I've read many of the threads on the forum concerning this issue, but they are very confusing and seem to focus on .net 4.

    I am trying to use Ajax control toolkit 3.5 (version: 3.5.51116.0) with Telerik version 2010.1.519.35.  I have a masterpage with a RadScriptManager and I'm getting this error:

    Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure "AjaxControlToolkit.Properties.Resources.resources" was correctly embedded or linked into assembly "AjaxControlToolkit" at compile time, or that all the satellite assemblies required are loadable and fully signed.



    Are these two versions not compatible? 
  15. Veli
    Admin
    Veli avatar
    2002 posts

    Posted 09 Jan 2012 Link to this post

    Hello Troy,

    The version of the AjaxControlToolkit you are using does require the ToolkitScriptManager to be used in the page. Please refer to the version 51116 version history. The ToolkitScriptManager, however, is known for loading modified versions of the MS AJAX javascript resources and is thus not compatible with RadControls. If you can send us some sample code demonstrating this issue, we can try debugging it for you to see if we can come up with a workaround.

    Veli
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  16. Troy
    Troy avatar
    31 posts
    Member since:
    Oct 2011

    Posted 09 Jan 2012 Link to this post

    Thanks for the response, Veli.

    What are my options? I was really only pulling in the ACT for it's client state management.  We have a lot of User Controls that need client side functionality and I need to be able to manage the client state over postbacks.  I'm currently using the IScriptControl interface and was going to move the ACT ScriptUserControl to give me that extra functionality.  Is there anything I'm missing that would allow me to continue using IScriptControl and add client state management without ACT?
  17. Veli
    Admin
    Veli avatar
    2002 posts

    Posted 10 Jan 2012 Link to this post

    Hi Hector,

    One option is to go with an older version of the AJAX toolkit that does not require the ToolkitScriptManager on the page. Thus, you can keep using the standard ScriptManager or RadScriptManager with Telerik controls. You need to see if this old version contains the functionality you need, though.

    Veli
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  18. Orin Book
    Orin Book avatar
    54 posts
    Member since:
    Sep 2006

    Posted 21 Jan 2012 Link to this post

    Thanks
  19. Nick
    Nick avatar
    2 posts
    Member since:
    Dec 2011

    Posted 24 Jan 2012 Link to this post

    Very helpful. Thank you!
  20. Austin
    Austin avatar
    2 posts
    Member since:
    Oct 2012

    Posted 26 Nov 2012 Link to this post

    Hi,

    This thread seems to suggest that there are ways to make RadControls and the AJAX Control Toolkit work together, but it is clear that there are conflicting opinions and in the trenches reports about the compatability. The posts made in January 2012 seem to suggest that there are indeed incompatabilities between these two sets of controls. My current understanding is that the two sets of controls are incompatible. I believe the root cause of any issues is the fact that the ToolkitScriptManager is incompatable with RadScriptManager.

    This would also mean that we would be discouraged from developing our own controls with the AJAX Control Toolkit or mixing controls from RadControls and AJAX Control Toolkit on the same page?

    In my current use case it would be useful to be able to use the base classes and attributes exposed by the AJAX Control Toolkit for custom control development. I would like to be able to use RadControls and I would also like to use some controls like the Password Strength indicator from the AJAX Controls which are not available in the RadControls. I would also like to avoid getting myself into trouble with some of the issues already described by folks in this post.

    What I really need to know is, is it possible to use the latest versions of RadControls and the latest version of AJAX Control Toolkit on the same page without issues or extra effort?

    If it's not possible to mix both sets of controls. Can I use any base classes in the RadControls as the basis for any custom controls that I need to develop. Are there any useful resources that you can point me to that can help me get up to speed?
  21. Radoslav
    Admin
    Radoslav avatar
    1564 posts

    Posted 29 Nov 2012 Link to this post

    Hi Austin,

    Using RadControls with AjaxControlToolkit is possible. You need to reference the MicrosoftAjax.js and MicrosoftAjaxWebForms.js through RadScriptManager. For example:
    <telerik:RadScriptManager runat="server"
        <Scripts
            <asp:ScriptReference Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
                Name="MicrosoftAjax.js" Path="Scripts-40412/MicrosoftAjax.js" /> 
            <asp:ScriptReference Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
                Name="MicrosoftAjaxWebForms.js" Path="Scripts-40412/MicrosoftAjaxWebForms.js" /> 
        </Scripts
    </telerik:RadScriptManager>
    However please note that you need to use RadScriptManager or asp.net ScriptManager. Like my colleague Veli said if you use the RadControls and the AjaxToolkit controls you should not use the ToolkitScriptManager, because it loads modified versions of the MS AJAX javascript resources and is thus not compatible with RadControls.
    Also we have a control with similar functionality as Ajax Toolkit’s Password Strength indicator – RadTextBox with configured PasswordStrengthSettings. You could see online example of it on the following link:
    http://demos.telerik.com/aspnet-ajax/input/examples/common/passwordstrengthchecker/defaultcs.aspx
    Here you could check the differences between RadControls, AjaxToolkit controls and the standard asp.net controls:
    http://www.telerik.com/products/aspnet-ajax/ajaxtoolkit-vs-radcontrols.aspx
    Additionally please note that we could not guarantee that using the RadControls with other third party components will not lead to any issues. We do not test all functionalities in all RadControls in conjunction with Ajax Toolkit controls.

    I hope this helps.  

    Regards,
    Radoslav
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  22. Sophia
    Sophia avatar
    1 posts
    Member since:
    Feb 2013

    Posted 16 Feb 2013 Link to this post

    I have spent more time on this and have identified that the problem is actually related to the use of the TabContainer in conjunction with ASP.NET validator controls.

    If I create a form with a TabContainer, place fields in each tab and some of the fields in the first tab have validator controls; then I fire up the form (having preloaded the validated fields with valid data), navigate to the second tab and edit one of the available fields on that second tab, DirtyForms will not warn of changes when navigating away (with debug enabled, it seems to get as far as 'Setting deciding active').

    If I remove the TabContainer, or instead remove the validator controls, everything operates as expected.

    Does this provide any more information that might point you towards something I couuld try?

    I can provide an example project if that would be of any assistance; I am sure that you would like to resolve the compatibility issue as much as I would.

    Thanks.

    Business Mobile Tariffs
  23. Radoslav
    Admin
    Radoslav avatar
    1564 posts

    Posted 20 Feb 2013 Link to this post

    Hello Sophia,

    Based on the provided information it is hard to say what is causing the described issue on your end. Could you please send us a small runnable example which demonstrates it? You could open a formal support ticket from your Telerik account and attach a ZIP file there. Thus we will be able to debug the project and provide you with more to-the-point answer.

    Greetings,
    Radoslav
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  24. Miguel
    Miguel avatar
    3 posts
    Member since:
    Jul 2010

    Posted 22 Feb 2013 Link to this post

    Hi, I am trying to solved this, but I can't do it.

    I am using .NET Framework 4 and I have added AjaxControlToolkit.dll v4.0.30319

    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <asp:ScriptReference Assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
                Name="MicrosoftAjax.js" Path="~/Scripts/MicrosoftAjax.js" />
            <asp:ScriptReference Assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
                Name="MicrosoftAjaxWebForms.js" Path="~/Scripts/MicrosoftAjaxWebForms.js" />
        </Scripts>
    </telerik:RadScriptManager>


    When I load the page...

  25. Radoslav
    Admin
    Radoslav avatar
    1564 posts

    Posted 26 Feb 2013 Link to this post

    Hi Miguel,

    Could you please send us a small runnable example where the issue can be reproduced? You could open a formal support ticket from your Telerik account and attach a ZIP file there. Thus we will be able to gather more details about your scenario debug the application and investigate the problem.

    Greetings,
    Radoslav
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top