Unable to use ASP.NET Ajax Library Beta in conjunction with RadControls

9 posts, 0 answers
  1. Bryan DeBois
    Bryan DeBois avatar
    1 posts
    Member since:
    Oct 2005

    Posted 02 Feb 2010 Link to this post

    We would like to utilize some functionality of the latest ASP.NET Ajax Library (specifically, Client Templates), but are running into problems when including RadControls (2009 Q3 release) on the same page.

    It seems that the RadScriptManager outputs an earlier version of MicrosoftAjax.js on the page when necessary. This is understandable, as I'm sure many of your controls utilize its functionality. However, when including the latest release of the ASP.NET Ajax Library, there are major errors that occur on the page (certain functions/objects undefined, null references, etc.). My question is: is there a supported way (or even ANY way) to use a later version of the ASP.NET Ajax Library in conjunction with Telerik controls on a single page?
  2. Brad Bell
    Brad Bell avatar
    4 posts
    Member since:
    Aug 2009

    Posted 04 Feb 2010 Link to this post

    Same issue here... any workaround?
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. T. Tsonev
    Admin
    T. Tsonev avatar
    2770 posts

    Posted 08 Feb 2010 Link to this post

    Hello,

    Using RadControls and RadScriptManager with ASP.NET Ajax Library is indeed possible. You need to reference the MicrosoftAjax.js and MicrosoftAjaxWebForms.js through RadScriptManager:

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

    The version of System.Web.Extensions is 3.5.0.0 if you're using .NET 3.5

    I hope this helps.

    Regards,
    Tsvetomir Tsonev
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
  5. nick
    nick avatar
    2 posts
    Member since:
    Jul 2010

    Posted 26 Feb 2011 Link to this post

    Even when I apply your fix, I get the following errors:

    Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SV1; GTB6.4; SLCC1; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
    Timestamp: Sat, 26 Feb 2011 17:26:21 UTC

    Message: Syntax error
    Line: 3
    Char: 1
    Code: 0
    URI: http://www.militaryroster.com/include/scripts/MicrosoftAjax.js

    Message: Syntax error
    Line: 3
    Char: 1
    Code: 0
    URI: http://www.militaryroster.com/include/scripts/MicrosoftAjaxWebForms.js

    Message: 'Type' is undefined
    Line: 3
    Char: 15
    Code: 0
    URI: http://www.militaryroster.com/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_ContentPlaceHolder1_ScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bTelerik.Web.UI%2c+Version%3d2010.2.713.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a7302be66-e7a1-4bc1-8280-71f03d66eba0%3a16e4e7cd%3aed16cbdc%3addbfcb67%3af7645509%3bAjaxControlToolkit%2c+Version%3d3.5.40412.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3a1547e793-5b7e-48fe-8490-03a375b13a33%3a923aa3cc%3a782b16ab%3af48dface%3a853c2e0b%3af9ae838a%3ad754780e%3a1e088fb%3a52c703eb%3a28a7831e

    Message: 'Sys' is undefined
    Line: 103
    Char: 1
    Code: 0
    URI: http://www.militaryroster.com/members/mildetails.aspx?504944=MzUzODM3MzE%3d

    Message: 'Sys' is undefined
    Line: 19
    Char: 190
    Code: 0
    URI: http://www.militaryroster.com/WebResource.axd?d=j9vXSHGegNnABuphReOL-auqxjPDiREszbr8r8epYBF9a2H19TDyMMNJVkfyJbCgvAv9HugsoSXwtbtZcpaFQHWn6r6Ww8k9gARW6IgNDpSlv1lk1htsvDiGHxdqgt34TB5TGw2&t=634158982004110000

  6. Helen
    Admin
    Helen avatar
    1052 posts

    Posted 28 Feb 2011 Link to this post

    Hi Nick,

    What version of Telerik.Web.UI and ASP.NET Ajax Library are you using?

    Regards,
    Helen
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  7. alien9882
    alien9882 avatar
    6 posts
    Member since:
    Jan 2007

    Posted 28 Mar 2011 Link to this post

    Hi,

    I got exact error message as Nick. I am running on .Net 3.5, Telerik 2010 Q3 and April 2010 Release.

    Please advise.

    Thanks,
    Charlie
  8. nguyen
    nguyen avatar
    19 posts
    Member since:
    Aug 2012

    Posted 04 Jul 2011 Link to this post

    i got error message:
    Message: 'Sys$Enum$parse' is undefined 
     I am running on .Net 3.5, Telerik 2010 Q1 and April 2010 Release as Charlie.
    please help,
    thanks
    Hung
  9. nguyen
    nguyen avatar
    19 posts
    Member since:
    Aug 2012

    Posted 07 Jul 2011 Link to this post


    i've reference the MicrosoftAjax.js and MicrosoftAjaxWebForms.js through RadScriptManager in Default.master :

    <form id="form1" runat="server">

    <
    telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <asp:ScriptReference Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
                                 Name="MicrosoftAjax.js" Path="Scripts/MicrosoftAjax.js" />
            <asp:ScriptReference Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
                                 Name="MicrosoftAjaxWebForms.js" Path="Scripts/MicrosoftAjaxWebForms.js" />
        </Scripts>
    </telerik:RadScriptManager>
    </form>
    But project still got error message:
    Sys$Enum$parse is not defined

  10. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 13 Jul 2011 Link to this post

    Hi Nguyen,

    The script references in the code snippets are for System.Web.Extensions v1.0.61025.0 and since you use .NET 3.5. you should use the 3.5 versions of the scripts.

    From Tsvetomir Tsonev's post on 08-Feb-2010:
    "The version of System.Web.Extensions is 3.5.0.0 if you're using .NET 3.5"

    Regards,
    Simon
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Back to Top
UI for ASP.NET Ajax is Ready for VS 2017