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 AjaxScriptManager in System.Web.Ajax.dll, or use the ToolkitScriptManager in AjaxControlToolkit.dll.
What version of ASP.NET Ajax is RadControls using? Thanks,
-Hector
114 Answers, 1 is accepted
From the error message I suppose that you downloaded AJAX toolkit version which is compiled against the ASP.NET 4 Preview version of the framework (available on CodePlex). Currently our controls use either the ASP.NET AJAX 1.0 version or ASP.NET 3.5 version of the scripts - these are the officially supported present versions of the framework.
I suggest you download and install AJAX toolkit version compiled against the official .NET framework versions to address the exception.
Best regards,
Sebastian
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.

I made the mistake of downloaded the new version of the 3.5 Toolkit which was released on 4/12 and I'm having this issue now.
Thanks
Please review this public forum thread which elaborates on the same subject. Also verify that you are using the .NET 4 assemblies of RadControls for ASP.NET AJAX in your project.
Best regards,
Sebastian
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.

I am having a similar problem with a site I am trying to build and I was wondering if I could get some support. I am using the RADPanelBar control and I am trying to embed it in a .net ecommerce plugin. Everything was looking great till a site had an existing ScriptManager in it. Easy enough I delete the ScriptManager and let RAD take care of it. That worked but after I started playing around with thing suddenly a picture no longer shows up and I get...
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Timestamp: Fri, 23 Apr 2010 02:35:36 UTC
Message: 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 AjaxScriptManager in System.Web.Ajax.dll, or use the ToolkitScriptManager in AjaxControlToolkit.dll.
Line: 2791
Char: 470
Code: 0
URI: http://localhost:51331/trunk/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_ctl00_STORE_MENU_ScriptManager_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a0d787d5c-3903-4814-ad72-296cea810318%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2009.3.1314.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a603d133a-f943-435d-a80d-57457cc55f4a%3a16e4e7cd%3af7645509%3a24ee1bba%3a1e771326%3a4cacbc31%3bAjaxControlToolkit%2c+Version%3d3.0.31106.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3a86f3ec8f-e11f-41a4-a4db-54c6e3efc9b3%3a923aa3cc%3a782b16ab%3acfb54798%3af48dface
Message: 'Sys.Extended.UI' is null or not an object
Line: 636
Char: 5
Code: 0
URI: http://localhost:51331/trunk/Strawberry.aspx
Message: 'document.getElementById(...)' is null or not an object
Line: 315
Char: 1
Code: 0
URI: http://localhost:51331/trunk/Strawberry.aspx
I have the subversion log of the changes I made and can get a Diff if nessacary, however, it would be trouble so I will get it if someone asks. Any help would be great!
Thanks
Jackie
Can you verify that you are using the .NET 4 binaries of the Telerik assemblies and configured your RadScriptManager to reference the two specified client scripts explicitly (as explained in the previously cross-linked forum thread)? Thus you should eliminate the exception you get.
Best regards,
Sebastian
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.


Thanks
Jackie

I have changed the scriptmanager with the one in the toolkit and everything is working.

Should I be using the 3.5 version for right now? I am using the 4.0 framework for the app.
Would appreciate it if someone could outline the steps. What references are necessary (outside of ajaxcontroltoolkit and telerik dlls)? Do I need to inject something into the scriptmanager?
Thanks, Rick.
Please excuse me for the delayed response.
The 4.0 Control Toolkit uses their own version of "MicrosoftAjax.js" and "MicrosoftAjaxWebForms.js" registered by the ToolkitScriptManager. If you are using RadScriptManager, you need to register those scripts manually for the Toolkit to work:
1.
<
telerik:RadScriptManager
runat
=
"server"
ID
=
"RadScriptManager1"
>
2.
<
Scripts
>
3.
<%-- Load the toolkit MS AJAX scripts instead of those in System.Web.Extensions --%>
4.
<
asp:ScriptReference
Assembly
=
"System.Web.Extensions"
Name
=
"MicrosoftAjax.js"
Path
=
"~/Scripts/MicrosoftAjax.js"
/>
5.
<
asp:ScriptReference
Assembly
=
"System.Web.Extensions"
Name
=
"MicrosoftAjaxWebForms.js"
Path
=
"~/Scripts/MicrosoftAjaxWebForms.js"
/>
6.
</
Scripts
>
7.
</
telerik:RadScriptManager
>
I am attaching a sample project that shows how to do this.
Greetings,
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.

I am still unable to get my page to load. Maybe something I am doing wrong.
I get an HttpException with a Message of 'File does not exist'. The source is System.Web. Below is the Stack Trace:
at System.Web.StaticFileHandler.GetFileInfo(String virtualPathWithPathInfo, String physicalPath, HttpResponse response)
at System.Web.StaticFileHandler.ProcessRequestInternal(HttpContext context, String overrideVirtualPath)
at System.Web.DefaultHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback callback, Object state)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Not even sure what file does not exist. Can't seem to find in the exception.
I added the Scripts folder with the two js files and injected the script references in the RadScriptManager for the page. In addition, I have references to System.Web and System.Web.Extensions for 4.0.
In addition, I am using url routing as well.
Any ideas? Any advice would be appreciated.
Thanks again, Rick.

So, anybody that uses Telerik (newest release, required for ASP.NET 4)
with the newest AjaxControlToolkit (required for ASP.NET 4), has either one show-stopper problem, or another. If you use the workaround above, then the RadGrid doesn't work (nor does it with the ToolkitScriptManager, by the way), and if you stay with the RadScriptManager without the workaround, your site blows up due to the AjaxToolkit error (AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the scripts are referenced...). I think telerik needs to address this problem immediately, because this is a constellation of libs that must work together (Microsoft libs with Telerik libs). Even if it is the "fault" of the AjaxControlToolkit, there needs to be a fix or a workaround on one side or the other soon.
Ideas? Comments?
Thanks,
R
Indeed, there was an issue using RadAjaxManager with AjaxControlToolkit. However this is already fixed and you can find it addressed in the latest internal build of RadControls for ASP.NET AJAX from your Telerik account.
Additionally, I am attaching a sample project to this post to illustrate how both controls can co-exist on a single page.
Greetings,
Iana
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.



I double checked the previously attached sample web site however it worked fine on my side. Can you try downloading it again and let me know if the problem persists?
Kind regards,
Iana
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.


I have downloaded it again with the same result as Pitrik van der Lubbe. I'm using the latest internal build, ajaxtoolkit 4.0 and asp.net 4.0.
Try using the attached to this post web.config file and let me know it makes any difference.
Regards,
Iana
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.


if (typeof(Sys) === 'undefined') throw new Error('ASP.NET Ajax client-side framework failed to load.');
Can you send me the exact sample you are testing? You can also try the newest project attached to this post and let me know if you still receive the same error.
All the best,
Iana
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.

<script src="/AjaxControlToolkitAndRadAjax/WebResource.axd?d=NuKB0eF33K4Rz7XeNcpQxg2&t=634092023486387752" type="text/javascript"></script>
<script src="Scripts/MicrosoftAjax.debug.js" 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.');
//]]>
<

Message: ASP.NET Ajax client-side framework failed to load.
Message: 'Type' is undefined
Message: 'Sys' is undefined
This is a huge showstopper for me.

<telerik:RadScriptManager runat="server" ID="ScriptManager" EnablePartialRendering="true" |
EnableScriptGlobalization="true" |
RoleService-LoadRoles="true" |
ScriptMode="Auto" |
EnableCdn="false" CdnSettings-TelerikCdn="Disabled" |
EnablePageMethods="true" EnableScriptCombine="true" > |
<Scripts> |
<asp:ScriptReference Name="MicrosoftAjax.js" Path="/Scripts/MicrosoftAjax.js" /> |
<asp:ScriptReference Name="MicrosoftAjaxWebForms.js" Path="/Scrips/MicrosoftAjaxWebForms.js" /> |
</Scripts> |
</telerik:RadScriptManager> |
Indeed, there is an issue with the Telerik CDN is enabled and we are working on it already.
However the sample I previously sent is not using CDN and still I am not able to replicate the error mentioned in you posts. I will need to perform further research to find what could be causing it on your end.
All the best,
Iana
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.
Please excuse me for misleading you. The issue with the CDn appears because Telerik CDN is supported only for the official version. And in case you are using internal build I suggest that you currently disable the CDN.
Also for the projects where you what to use AjaxControlToolkit controls with RadScriptManager and RadAjax, could you please try setting the EnableScriptsCombone property of the RadScriptManager to false and see if it works?
Best wishes,
Iana
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.

Does replacing the RadScriptManager with ASP:Scriptmanager results in the same error?
Greetings,
Iana
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.

What is the ASP:ScriptManager ScriptMode - Debug or Release? And does adding the script references suggested perviously makes any difference?
Greetings,
Iana
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.

<script src="/AjaxControlToolkitAndRadAjax/WebResource.axd?d=NuKB0eF33K4Rz7XeNcpQxg2&t=634092023486387752"type="text/javascript"></script>
<script src="Scripts/MicrosoftAjax.debug.js" 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.');
//]]>
<
So it seems that the error persists when having ASP.NET and AjaxControlToolkit controls on the page only. If yes, I assume we rather should look for the source of the problem in the .NET 4.0 Framework.
Regards,
Iana
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.

<system.webServer> |
<validation validateIntegratedModeConfiguration="false"/> |
<modules runAllManagedModulesForAllRequests="true"> |
</modules> |
routes.Ignore("{resource}.axd/{*pathInfo}"); |

R

<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<modules runAllManagedModulesForAllRequests="true">
</modules>
...
R

Anyway, as part of my painful experience, I thought I'd share a fix that works for me in the hope that it can save someone a few hours of time.
<telerik:RadScriptManager ID="RadScriptManager1" Runat="server"> |
<CdnSettings TelerikCdn="Disabled" /> |
<Scripts> |
<asp:ScriptReference Name="MicrosoftAjax.js" Path="~/js/MicrosoftAjax.js" /> |
<asp:ScriptReference Name="MicrosoftAjaxWebForms.js" Path="~/js/MicrosoftAjaxWebForms.js" /> |
</Scripts> |
</telerik:RadScriptManager> |
Now for the really crap (i.e. hack to work around some unexplained RadScriptManger behaviour) bit essential to getting it to work:
Not only do you need files MicrosoftAjax.js and MicrosoftAjaxWebForms.js but you need to create copies of each of these file like this:
- MicrosoftAjax.debug.js
- MicrosoftAjaxWebForms.debug.js
There are obviously errors in versioning between Telerik and MS .js libs. Also, I have no idea why RadScriptManager appends .debug. to files.
Obviously, this is a dirty hack and not a long term solution.
UPDATE
Here's another related little gem that's burnt several hours today. Again, I hope someone benefits from my pain.
I compile a web application (using the .js files above) in the UK and deploy it on a server in the US.
WebResource.axd (generated by RadScriptManager with CombineScripts=true) causes .NET 4 to generate this error:
System.ArgumentOutOfRangeException
Specified argument was out of the range of valid values. Parameter name: utcDate
This error is generated because the .js files, on compilation into an installable .msi are time stamped with UK time (not sure if it's GMT or UTC or even BST). On installation onto the US server, the .js files have a date that is ~ 7 hours in the future.
.NET 4 doesn't like files with a future date so it barfs WebResource.axd (great huh?) More info here.
I'm trying ScriptManager and ToolKitScriptManager next.
UPDATE #2
More time spent fault finding others code. Telerik - can I at least have some points in my account please?
The System.ArgumentOutOfRangeException (file datetime) weirdness turns out to be a bug between MS Web Deployment Projects and Setup and Deployment resulting in file dates not being copied over to the installation MSI. As a work around, I'm having to set my UK dev machine to the same time zone as production server.
Now onto Telerik issues. RadScriptManager (using the MS Ajax library hacks as described above), ScriptManager and ToolkitScriptManager result in JavaScript errors with RadAjaxManager. Here are the errors:
i.get_postBackElement() is undefined
if(Array.contains(c,i.get_postBackElement().id)){this._isRequestInProgress=true; ..
This bug is present in all .NET 4 builds that I've tried up to and including internal build 2010_1_526.
In summary, you can implement either (RadScriptManager + RadAjax) OR AjaxControlToolkit but not both.
Thank you for taking the time to investigate this problems. We're having hard time with the Toolkit too and any information is welcome. Hefty amount of Telerik points coming your way :)
The problem with RadAjax should be fixed. Are you using the script files from the latest AJAX Toolkit?
Sincerely yours,
Tsvetomir Tsonev
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.

I tried using the AJAX files in the previous post.
For the time being, I've pulled out AjaxControl toolkit and reverted to RadScriptManager + RadAjax. Lucky for me, it's only used on a rarely used admin form so I can live without AjaxControl toolkit in the short term.
Regards,
Rowland

I'm sending you a sample ASP.NET 4.0 site with RadScriptManager and the Ajax Toolkit. See the ExternalScripts.aspx page. The same approach can be used in 3.5 as well.
I hope this helps.
Sincerely yours,
Tsvetomir Tsonev
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.

Is this now working with RadAjaxManager too?
Any issues concerning AJAX Toolkit 4.0 compatibility with RadAjax for ASP.NET AJAX should be addressed in the latest official release 2010.1.519 of the suite (Q1 2010 SP2). Please upgrade to this version of the bundle and let us know whether everything is OK.
Best regards,
Sebastian
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.

I'm afraid that those issues are not addressed in 2010.1.519.
Please see my previous post.


Actually, the changes that we made to make this work are mentioned in my post above, but I'll summarize again here. Also, it is now working together with the Telerik CDN:
* IIS7.5 AppPool v4.0, Integrated.
* ACT: 3.5.40412 but we compile everything against the .NET Framework 4.
Here is an excerpt from the web.config:
<compilation debug="true" targetFramework="4.0">
<assemblies>
<add assembly="Microsoft.SqlServer.Types, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91" />
<add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="Microsoft.JScript, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Transactions, 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.Drawing.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" /></assemblies>
</compilation>
We use: Telerik 2010.1.519.40
And the following ScriptManager configuration:
<telerik:RadScriptManager runat="server" ID="ScriptManager"
EnablePartialRendering="true"
OnAsyncPostBackError="ScriptManager_AsyncPBErrorHandler"
EnableScriptGlobalization="true"
RoleService-LoadRoles="true"
ScriptMode="Auto"
EnableCdn="true" CdnSettings-TelerikCdn="Enabled"
EnablePageMethods="true" EnableScriptCombine="true" >
<Scripts>
<asp:ScriptReference Name="MicrosoftAjax.js" Path="/jsc/MicrosoftAjax.js" />
<asp:ScriptReference Name="MicrosoftAjaxWebForms.js" Path="/jsc/MicrosoftAjaxWebForms.js" />
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
</Scripts>
</telerik:RadScriptManager>
Where the /jsc/MicrosoftAjax.js and the /jsc/MicrosoftAjaxWebForms.js are those from the AjaxControlToolkit sources NOT the ones from the ASP.NET 4.0 CDN. The last two lines (Core.js and jQuery.js) are for another IE8 workaround that we require, so they are probably insignificant for this scenario, but who knows...
Works like a charm, but I'm assuming that the AjaxControlToolkit team is getting its act together and will soon move to the "real" ASP.NET 4 javascript libs instead of expecting everyone to use their hack -- absurd!
Also, I haven't tried any other "mixtures" in recent weeks. But since Telerik has a new release, there may be other constellations that work now. We can't just "dump" the ACT, so we appreciate the support from Telerik here.
Anyway, I hope this helps.
Richard

Anyway, after using Richard's workaround, I still get the same error that Dennis reported:
<script src="js/MicrosoftAjax.debug.js" 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.'); |
//]]> |
< |
I will try tomorrow to get a copy of the relevant .js files from the sources as I just grabbed them from one of the attached projects on this thread they may not be the right ones?
Craig

Are you sure you have the precise versions I described, and that it is finding your script /js/MicrosoftAjax.debug.js (AS WELL AS /js/MicrosoftAjax.js )? I had precisely your error, but with this config, I don't -- on 2 different machines.
Best regards,
R

Error 1:
"Microsoft JScript runtime error: 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."
Error 2:
Parser Error Message: Type 'Telerik.Web.UI.RadScriptManager' does not have a public property named 'EnableCdn'.
Telerik Version: 2010.1.519.35


Okay, I have now dropped the debug scripts into the folder and instead I get:
"Microsoft JScript runtime error: Sys.ArgumentException: Value must not be null for Controls and Behaviors.
Parameter name: element"
On line 4617 of MicrosoftAjax.debug.js
if
(!element) throw Error.argument('element', Sys.Res.createNoDom);
Craig

Regards,
R

R


Two things here:
1. The Content Delivery Network and the UpdatePanels don't have anything to do with each other, so it must be a side effect of loading DIFFERENT scripts when you are not using the CDN. The CDN will always load the current release version of the scripts for the Telerik Version that you have installed.
2. I used to have to disable the CDN since I was using a patched version of the Telerik javascript (about the time this thread started), but the newest release version of the Telerik software (see above) includes these patches, so I can now enable the CDN, as shown above.
R

Do telerik plan any official fixes / worksarounds for this problem in the next build?
Cheers
Pete
I'm happy to announce that the next internal build (available later today) will be fully compatible with the ACT for .NET 4.0 sites. Read this forum post for more more details.
We don't have a solution for .NET 3.5 sites apart from loading the scripts externally. This is also described in the forum post.
I hope this helps.
All the best,
Tsvetomir Tsonev
the Telerik team

Do we have access to the internal build and is it something we could use in a production server? If not, when will we have a version we can use on a production server.
Cheers
Pete
The build will be available later today. We recommend using it only for testing, although it contains only bugfixes and should be stable.
The fix will also be included in the Q2 release due in mid-July.
I hope this helps.
All the best,
Tsvetomir Tsonev
the Telerik team

I am using .net 3.5 with Rad Controls 2010.1.519.35.
The Master Page uses:
<telerik:RadScriptManager ID="RadScriptManager1" runat="server" EnablePartialRendering="false" >
<CdnSettings TelerikCdn="Enabled" />
<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/3.5/MicrosoftAjax.js" />
</Scripts>
</telerik:RadScriptManager>
I have tried a number of combinations based on this thread, but no joy. I think that it is specific to .net 4.0.
What should I do?
Refer to the last couple of posts by my colleague Tsvetomir and let me know if you have additional inquiries.
Best regards,
Sebastian
the Telerik team

I am still experiencing errors with it. I get:
Line: 4686
Error: 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.
Do you have a sample project that demonstrates that the combination of Telerik and ACT can integrate now?
Thanks, Rick.

Hi, I have succefully used solution posted by Admin on 5 May to get 2010.1.519.40 and ACT to work together.
Can you tell me though, which - if any - of the CDN scripts I can use instead of the included:
/Scripts/MicrosoftAjax.js
/Scripts/MicrosoftAjaxWebForms.js
Thanks

I'm having a lot of troubles using ASP.Net WebForms 4 Route Urls Telerik ASP.NET AJAX Controls version 2010 Q2 826.
Problems that i'm facing are:
- Ajax RadControls are losing all the Layout and Effects;
- RadTextBoxes are losing the text value on the code-behind.
What do i need to do to solve these problems? Please Help me!!!
PS.: When i remove the urls route all the problems disappear.
Thanks a lot!!!
If your question is not related to the topic of this forum thread (AJAX Control Toolkit Compatibility), I suggest we continue discussing your question in the other forum thread you have deliberately started for it.
Veli
the Telerik team

To correct this issue for VS2010 and IIS7 (.NET 4.0) you have follow one of the 2 steps:
1)web.config: Include handler
<httpHandlers>
...
<add verb="POST,GET" path="ajax/*.ashx" type="Ajax.PageHandlerFactory, Ajax"/>
</httpHandlers>
2) IIS7: Add the MIME Type (.ashx) for your application
Extension: .ashx
Type: text/html
Regards,
Widmeyer Lisboa
http://www.kronnuz.com.br

I'm using IIS: 5.1 .Net Framework 3.5 and VS 2008
I'm also using AjaxControlToolkit version: 3.0.30930.28736
Curiously, the error bellow happens only when pt-BR culture is selected:
<script type=
"text/javascript"
>
//<![CDATA[
var
__cultureInfo = '{
"name"
:
"pt-BR"
,
"numberFormat"
:{
"CurrencyDecimalDigits"
:2,
"CurrencyDecimalSeparator"
:
","
,
"IsReadOnly"
:
false
,
"CurrencyGroupSizes"
:[3],
"NumberGroupSizes"
:[3],
"PercentGroupSizes"
:[3],
"CurrencyGroupSeparator"
:
"."
,
"CurrencySymbol"
:
"R$ "
,
"NaNSymbol"
:
"NaN (No um nmero)"
,
"CurrencyNegativePattern"
:0,
"NumberNegativePattern"
:1,
"PercentPositivePattern"
:1,
"PercentNegativePattern"
:1,
"NegativeInfinitySymbol"
:
"-Infinito"
,
"NegativeSign"
:
"-"
,
"NumberDecimalDigits"
:2,
"NumberDecimalSeparator"
:
","
,
"NumberGroupSeparator"
:
"."
,
"CurrencyPositivePattern"
:0,
"PositiveInfinitySymbol"
:
"+Infinito"
,
"PositiveSign"
:
"+"
,
"PercentDecimalDigits"
:2,
"PercentDecimalSeparator"
:
","
,
"PercentGroupSeparator"
:
"."
,
"PercentSymbol"
:
"%"
,
"PerMilleSymbol"
:
""
,
"NativeDigits"
:[
"0"
,
"1"
,
"2"
," ...
... setembro
","
outubro
","
novembro
","
dezembro
","
"]}}';
//]]>
</script>
<script src=
"../Javascript/System.Web.Extensions/1.0.61025.0/MicrosoftAjax.debug.pt.js"
type=
"text/javascript"
>
</script>
<script type=
"text/javascript"
>
//<![CDATA[
if
(
typeof
(Sys) ===
'undefined'
)
throw
new
Error(
'A estrutura do cliente do ASP.NET Ajax falhou ao ser carregada.'
);
//]]>
If I try adding the HTTP HANDLER suggested above I get:
Parser Error Message: Could not load file or assembly 'Ajax' or one of its dependencies.
I don't know if this is the correct place to post this but any help will be appreciated
Thanks
Jose

Strange isn't it?
So in summary the problem only happens when changing the culture to pt-BR.
The problem happens in IE7 but not in FIREFOX!
Please help me.
Thanks,
Jose

We are unable to identify what's causing this issue. If you open a regular support ticket and send us a test project we can debug locally, we would be able to assist you better on that.
Veli
the Telerik team

Javascript/System.Web.Extensions/1.0.61025.0/MicrosoftAjax.debug.js into Javascript/System.Web.Extensions/1.0.61025.0/MicrosoftAjax.debug.pt.js
I wonder why the other languages didn't require this but the important thing is that problem is gone.
Thanks!
Jose
Unable to get value of the property 'id': object is null or undefined.
This occurs at the following point in one of the embedded scripts from the Telerik suite:
if
(
this
.Type==
"Telerik.Web.UI.RadAjaxManager"
){
if
(i.get_postBackElement()!=
this
.get_element()){
var
c=
this
._updatePanels.split(
","
);
if
(Array.contains(c,i.get_postBackElement().id)){
this
._isRequestInProgress=
true
;
this
._attachRequestHandlers(f,i,
false
);
return
false
;
The line that fails is in bold. It tells me i.get_postBackElement() is null or undefined. The page being hosted is inside a RadWindow modal instance with a single master page that has the standard <asp:ScriptManager runat="server" /> line on it.
Any ideas? Remember - all I did was add the reference to the toolkit (version 4.1.50401.0). I'm not using anything from it at all, just the reference for now. As soon as I remove the reference the AjaxManager works exactly as I would have expected it to.
Edit: This occurs with IE9 and when I put IE9 into compatibility mode (presumably IE8).
Is this under .NET 4.0? If so, try setting ClientIDMode="AutoID" in your page. There is a known limitation with the toolkit reference and RadAjax in .NET 4.0 that is caused by the scripts inside the AjaxControlToolkit.dll getting referenced instead of the MS AJAX scripts.
Veli
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
I know you don't support the AJAX Toolkit, but is there a reason they do whatever it is they do that caused me to have to change this? Did I possibly lose functionality from them by making this change?
Veli
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

I just upgraded from .Net 2 to Net 4.0
I am using version 2011.1.519.40 + the ajaxcontroltoolkit version 4.1.50401.0 both in the bin directory
the page in question has the following controls (among other radcontrols )
- RadScriptManager
- RadAjaxManager
- RadAjaxLoadingPanel
- RadGrid
"the toolkit is not used on the page that is throwing errors – it’s just referenced in the project"
symptoms:
if the page in question is not touched for a short period of time and the "refresh" button of the radgrid is clicked I get "updatepanelids is null or not an object"
I noticed that a possible solution is to add ClientIDMode="AutoID", but this does not solve the problem – (i have this setting in my web.config)
My main question is there a workaround for this situation and / or is there a fix in the upcoming July release?
I am being forced to move to Net 4.0 , so I have to find a workable solution
thanks
Is the error gone if you remove the AJAX control toolkit from the Bin folder? If this is the case, setting AutoID is the only workaround we are currently aware of. You may want to consider opening a regular support ticket in which you can attach some test project demonstrating this issue. It would be very helpful for us to reproduce this error locally, trying to identify the cause of this issue. Please refer to this forum thread if you choose to open a ticket.
Veli
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!


Which technology do you advice me to use Telerik or Silverlight for the web business applications where the number of web forms exceed 500? Thank you. Z.

this is my code for selecting all check box column when i am click the header checkbox in gridview.
but i need like this task using radgrid,plz help me.........
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
<script type="text/javascript">
var TotalChkBx;
var TotalChkBx1;
var Counter;
var Counter1;
window.onload = function()
{
//Get total no. of CheckBoxes in side the GridView.
TotalChkBx = parseInt('<%= this.GridView1.Rows.Count %>');
//Get total no. of checked CheckBoxes in side the GridView.
Counter = 0;
}
function HeaderClick(CheckBox)
{
//Get target base & child control.
var TargetBaseControl = document.getElementById('<%= this.GridView1.ClientID %>');
var TargetChildControl = "chkBxSelect";
//Get all the control of the type INPUT in the base control.
var Inputs = TargetBaseControl.getElementsByTagName("input");
//Checked/Unchecked all the checkBoxes in side the GridView.
for(var n = 0; n < Inputs.length; ++n)
if(Inputs[n].type == 'checkbox' && Inputs[n].id.indexOf(TargetChildControl,0) >= 0)
Inputs[n].checked = CheckBox.checked;
//Reset Counter
Counter = CheckBox.checked ? TotalChkBx : 0;
}
function ChildClick(CheckBox, HCheckBox)
{
//get target base & child control.
var HeaderCheckBox = document.getElementById(HCheckBox);
//Modifiy Counter;
if(CheckBox.checked && Counter < TotalChkBx)
Counter++;
else if(Counter > 0)
Counter--
//Change state of the header CheckBox.
if(Counter < TotalChkBx)
HeaderCheckBox.checked = false;
else if(Counter == TotalChkBx)
HeaderCheckBox.checked = true;
}
function Headertest(CheckBox)
{
//Get target base & child control.
var TargetBaseControl = document.getElementById('<%= this.GridView1.ClientID %>');
var TargetChildControl = "chkBxTest";
//Get all the control of the type INPUT in the base control.
var Inputs = TargetBaseControl.getElementsByTagName("input");
//Checked/Unchecked all the checkBoxes in side the GridView.
for(var n = 0; n < Inputs.length; ++n)
if(Inputs[n].type == 'checkbox' && Inputs[n].id.indexOf(TargetChildControl,0) >= 0)
Inputs[n].checked = CheckBox.checked;
//Reset Counter
Counter = CheckBox.checked ? TotalChkBx : 0;
}
function HeaderDelete(CheckBox)
{
//Get target base & child control.
var TargetBaseControl = document.getElementById('<%= this.GridView1.ClientID %>');
var TargetChildControl = "chkBxDelete";
//Get all the control of the type INPUT in the base control.
var Inputs = TargetBaseControl.getElementsByTagName("input");
//Checked/Unchecked all the checkBoxes in side the GridView.
for(var n = 0; n < Inputs.length; ++n)
if(Inputs[n].type == 'checkbox' && Inputs[n].id.indexOf(TargetChildControl,0) >= 0)
Inputs[n].checked = CheckBox.checked;
//Reset Counter
Counter = CheckBox.checked ? TotalChkBx : 0;
}
function HeaderUpdate(CheckBox)
{
//Get target base & child control.
var TargetBaseControl = document.getElementById('<%= this.GridView1.ClientID %>');
var TargetChildControl = "chkBxUpdate";
//Get all the control of the type INPUT in the base control.
var Inputs = TargetBaseControl.getElementsByTagName("input")
for(var n = 0; n < Inputs.length; ++n)
if(Inputs[n].type == 'checkbox' && Inputs[n].id.indexOf(TargetChildControl,0) >= 0)
Inputs[n].checked = CheckBox.checked;
//Reset Counter
Counter = CheckBox.checked ? TotalChkBx : 0;
}
function HeaderNone(CheckBox)
{
//Get target base & child control.
var TargetBaseControl = document.getElementById('<%= this.GridView1.ClientID %>');
var TargetChildControl = "chkBxNone";
//Get all the control of the type INPUT in the base control.
var Inputs = TargetBaseControl.getElementsByTagName("input");
//Checked/Unchecked all the checkBoxes in side the GridView.
for(var n = 0; n < Inputs.length; ++n)
if(Inputs[n].type == 'checkbox' && Inputs[n].id.indexOf(TargetChildControl,0) >= 0)
Inputs[n].checked = CheckBox.checked;
//Reset Counter
Counter = CheckBox.checked ? TotalChkBx : 0;
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:GridView runat="server" AutoGenerateColumns="false" ID="GridView1" OnRowCreated="GridView1_RowCreated" >
<Columns>
<asp:TemplateField HeaderText ="bloodgroup_code">
<ItemTemplate>
<asp:Label ID="label1" runat="server" Text='<%#Eval("bloodgroup_code")%>' > </asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText ="bloodgroup_name">
<ItemTemplate>
<asp:Label ID="label2" runat="server" Text='<%#Eval("bloodgroup_name")%>' > </asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Select">
<ItemTemplate>
<asp:CheckBox ID="chkBxSelect" runat="server" />
</ItemTemplate>
<HeaderTemplate>
<asp:CheckBox ID="chkBxHeader" onclick="javascript:HeaderClick(this);" runat="server" Text="Add" />
</HeaderTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Select">
<ItemTemplate>
<asp:CheckBox ID="chkBxTest" runat="server" />
</ItemTemplate>
<HeaderTemplate>
<asp:CheckBox ID="chkBxHeadertest" onclick="javascript:Headertest(this);" runat="server" Text="Edit" />
</HeaderTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Select">
<ItemTemplate>
<asp:CheckBox ID="chkBxDelete" runat="server" />
</ItemTemplate>
<HeaderTemplate>
<asp:CheckBox ID="chkBxHeaderDelete" onclick="javascript:HeaderDelete(this);" runat="server" Text="Delete" />
</HeaderTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Select">
<ItemTemplate>
<asp:CheckBox ID="chkBxUpdate" runat="server" />
</ItemTemplate>
<HeaderTemplate>
<asp:CheckBox ID="chkBxHeaderUpdate" onclick="javascript:HeaderUpdate(this);" runat="server" Text="Update" />
</HeaderTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Select">
<ItemTemplate>
<asp:CheckBox ID="chkBxNone" runat="server" />
</ItemTemplate>
<HeaderTemplate>
<asp:CheckBox ID="chkBxHeaderNone" onclick="javascript:HeaderNone(this);" runat="server" Text="None" />
</HeaderTemplate>
</asp:TemplateField>
</Columns>
<RowStyle BackColor="Moccasin" />
<AlternatingRowStyle BackColor="NavajoWhite" />
<HeaderStyle BackColor="DarkOrange" Font-Bold="True" ForeColor="White" />
</asp:GridView>
</div>
</form>
</body>
</html>
=======
public partial class Default2 : System.Web.UI.Page
{ SqlConnection con;
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack == true)
{
bind();
} }
public void bind()
{
con = new SqlConnection("Data Source=VELMURUGAN\\SQLEXPRESS;Initial Catalog=Smail;User ID=sa;password=kcgit");
con.Open();
SqlDataAdapter ada = new SqlDataAdapter("select * from Bloodgroup_master", con);
DataSet ds = new DataSet();
ada.Fill(ds, "Bloodgroup_master");
GridView1.DataSource = ds.Tables[0];
GridView1.DataBind();
con.Close();
}
protected void GridView1_RowCreated(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow && (e.Row.RowState == DataControlRowState.Normal || e.Row.RowState == DataControlRowState.Alternate))
{
CheckBox chkBxSelect = (CheckBox)e.Row.Cells[1].FindControl("chkBxSelect");
CheckBox chkBxHeader = (CheckBox)this.GridView1.HeaderRow.FindControl("chkBxHeader");
chkBxSelect.Attributes["onclick"] = string.Format("javascript:ChildClick(this,'{0}');", chkBxHeader.ClientID);
CheckBox chkBxtest = (CheckBox)e.Row.Cells[2].FindControl("chkBxTest");
CheckBox chkBxHeadertest = (CheckBox)this.GridView1.HeaderRow.FindControl("chkBxHeadertest");
chkBxtest.Attributes["onclick"] = string.Format("javascript:Childtest(this,'{0}');", chkBxHeadertest.ClientID);
CheckBox chkBxDelete = (CheckBox)e.Row.Cells[2].FindControl("chkBxDelete");
CheckBox chkBxHeaderDelete = (CheckBox)this.GridView1.HeaderRow.FindControl("chkBxHeaderDelete");
chkBxDelete.Attributes["onclick"] = string.Format("javascript:Childtest(this,'{0}');", chkBxHeaderDelete.ClientID);
CheckBox chkBxUpdate = (CheckBox)e.Row.Cells[2].FindControl("chkBxUpdate");
CheckBox chkBxHeaderUpdate = (CheckBox)this.GridView1.HeaderRow.FindControl("chkBxHeaderUpdate");
chkBxUpdate.Attributes["onclick"] = string.Format("javascript:Childtest(this,'{0}');", chkBxHeaderUpdate.ClientID);
CheckBox chkBxNone = (CheckBox)e.Row.Cells[2].FindControl("chkBxNone");
CheckBox chkBxHeaderNone = (CheckBox)this.GridView1.HeaderRow.FindControl("chkBxHeaderNone");
chkBxNone.Attributes["onclick"] = string.Format("javascript:Childtest(this,'{0}');", chkBxHeaderNone.ClientID);
} }}
To implement this scenario, you need to find all checkBoxes in RadGrid's template column along with the checkbox in the header template. You then need to keep track of the checked items and update the header checkBox. Here is one approach that uses unobtrusive javascript (i.e. your markup is not polluted with javascript event handler calls):
<
telerik:RadGrid
ID
=
"RadGrid1"
runat
=
"server"
Width
=
"800px"
OnNeedDataSource
=
"RadGrid1_NeedDataSource"
>
<
MasterTableView
>
<
Columns
>
<
telerik:GridTemplateColumn
>
<
HeaderTemplate
>
<
asp:CheckBox
ID
=
"HeaderCheckBox"
runat
=
"server"
/>
</
HeaderTemplate
>
<
ItemTemplate
>
<
asp:CheckBox
ID
=
"ItemCheckBox"
runat
=
"server"
/>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>
<
script
type
=
"text/javascript"
>
function pageLoad()
{
var grid = $find('<%= RadGrid1.ClientID %>');
grid._checkBoxes = [];
grid._headerCheckBox = null;
grid._checkedCount = 0;
var inputs = grid.get_element().getElementsByTagName("input");
for (var i = 0; i <
inputs.length
; i++)
{
if (inputs[i].type === "checkbox")
{
var
chkBox
=
inputs
[i];
if (chkBox.id.indexOf("ItemCheckBox") > -1)
{
grid._checkBoxes[grid._checkBoxes.length] = chkBox;
$addHandler(chkBox, "change", Function.createDelegate(grid, itemCheckBoxChange));
if (chkBox.checked)
{
grid._checkedCount++;
}
}
if (chkBox.id.indexOf("HeaderCheckBox") > -1)
{
grid._headerCheckBox = chkBox;
$addHandler(chkBox, "change", Function.createDelegate(grid, headerCheckBoxChange));
}
}
}
updateHeaderCheckBox.call(grid);
}
function itemCheckBoxChange(args)
{
//this refers to the RadGrid client component
var chkBox = args.target;
if (chkBox.checked)
{
this._checkedCount++;
}
else
{
this._checkedCount--;
}
updateHeaderCheckBox.call(this);
}
function headerCheckBoxChange(args)
{
//this refers to the RadGrid client component
for (var i = 0; i <
this._checkBoxes.length
; i++)
{
this._checkBoxes[i]
.checked
=
args
.target.checked;
}
//update the checked count
if (args.target.checked)
{
this._checkedCount
= this._checkBoxes.length;
}
else
{
this._checkedCount
=
0
;
}
}
function updateHeaderCheckBox()
{
//compare the number of checkboxes and the checked count
//set the header checkbox state accordingly
if (this._headerCheckBox && this._checkedCount)
{
this._headerCheckBox.checked
= this._checkedCount === this._checkBoxes.length;
}
}
</script>
Veli
the Telerik team

thanks for your response
i have using this code.
but i got some error =( System.Web.HttpException: The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>). ).....
reply me plz


<
telerik:RadCodeBlock
runat
=
"server"
>
<
script
language
=
"javascript"
type
=
"text/javascript"
>
<!-- JS here -->
</
script
>
</
telerik:RadCodeBlock
>
That resolves the error you are receiving. Anytime you do JS with controls that have been AJAX-ified you have to use this method or you'll receive the error you are seeing now.

but itz working but i can't select all checkbox when clicking the header text...

i have two columns like grideditbuttoncolumn( add),Gridbuttoncolumn(delete).
how to set visible false programmatically at pageload.......help me


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:And here are the two assembly versions:
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">
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
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
>

Veli
the Telerik team

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?

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?

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" />

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>
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.
Sebastian
the Telerik team

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">
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
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"
>
//<
It is strange that that permissions issue only happens with IE when starting debugging via F5.

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....

-J

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?
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

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?
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



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?
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
>
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 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
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

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...
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