This is a migrated thread and some comments may be shown as answers.

Ajax issue

1 Answer 102 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 2
Vuyiswa asked on 30 Oct 2013, 10:32 AM
Good Day 

I have a project that has Telerik Graphs and these Graphs are in a user-control and the Ajax is done from the hosting page. Locally on my machine this works perfectly. but the moment i host it , there is a java-script error that is related to Ajax

If you click on the graphs on the Accordions , you will see they are supposed to be Dynamic , but they dont change because there is an Ajax error that looks like this 
Uncaught Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500 Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6
Error.create Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6
Sys.WebForms.PageRequestManager._createPageRequestManagerServerError Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:15
Sys.WebForms.PageRequestManager._onFormSubmitCompleted Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:15
(anonymous function) Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6
(anonymous function) Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6
Sys.Net.WebRequest.completed Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6


1 Answer, 1 is accepted

Sort by
Konstantin Dikov
Telerik team
answered on 04 Nov 2013, 06:54 AM
Hi Vuyiswa,

I have examined the provided site, but the only errors that I was able to encounter were:
  • Uncaught ReferenceError: sa is not defined (jquery.sparkline.min.js:4)
  • Uncaught ReferenceError: intellisense is not defined (jquery-2.0.3.intellisense.js:1)

Since the exact cause of the issue could not be determined without a runnable project that could be tested on our side, I would suggest you to try the following steps:

  • One possible reason for such behavior could be if the path to the web resource is not correct. You can use Fiddler or FireBug to see which requests are failing and why. You can find useful this help article on this regard;
  • Also can you check whether you have enabled RadCompression for the application and if so, disable it and see if this resolves the issue?
  • Another option is to try using the Telerik CDN to reference the resource from the cloud instead of locally;
  • Is the problem intermittent or is reproduced regularly? If you disable the script combining on the RadScriptManager does this stops the problem for reproducing? You can stop the script combining using the EnableScriptsCombine property;
  • It may be possible that a control is registered as an AsyncPostbackTrigger in multiple update panels. If that is so you can try adding the following right after the script manager declaration:
<script type="text/javascript" language="javascript">
    function EndRequestHandler(sender, args){
        if (args.get_error() != undefined){
or you can set ValidateRequest="false" in the <%@ Page /> directive. In that case, however, you must ensure the usage of HttpUtility.HtmlEncode, in order to avoid XSS issues.

If non of the above resolves the issue for your, please open a regular support ticket and try to prepare a fully runnable sample with reproduction steps of the issue, so we could inspect it locally.


Konstantin Dikov
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 the blog feed now.
Asked by
Top achievements
Rank 2
Answers by
Konstantin Dikov
Telerik team
Share this question