8 Answers, 1 is accepted
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.
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: '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
What version of Telerik.Web.UI and ASP.NET Ajax Library are you using?
Regards,
Helen
the Telerik team
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
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
<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>
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!