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

Javascript & Ajax problem after update

1 Answer 66 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
BekirSami
Top achievements
Rank 1
BekirSami asked on 25 Aug 2011, 10:11 AM
We upgraded Telerik Web UI from 2010.3.2015 to  2011.2.712 in our project.(Also other dlls,reporting , openaccess ... to latest versions)
Project is GIS base application and contains javascript files like: http://openlayers.org/api/OpenLayers.js , Jquery and special JS's.
Master pages contains RadScriptManager,RadAjaxManager and no problem with other pages or other projects , but on GIS pages including these javascript files giving following error.

In Telerik.Web.UI.WebResource_3.axd....
  //Microsoft JScript runtime error: 'propertyName' is null or not an object
in
_onInputPropertyChange:function(){if(!event.propertyName){event=event.rawEvent;
}if(event.propertyName=="value"){var c=this.get_text();  

//Microsoft JScript runtime error: 'type' is null or not an object
in
b=this.type=a.type.toLowerCase();   
and so on.
Also in openlayers and other javascript files getting null reference errors like this.


Web.config configuration is OK
<httpHandlers>
   <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource" validate="false"/>
</httpHandlers>

<
system.webServer>     
<handlers>
      <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" 
       path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource"/>
 </handlers>
</system.webServer>

After these error occured I rereference old telerik.web.ui.dll 2010.3.2015. But problem is still going

These errors occures at internert explorer 8. Firefox and chrome dont gives error but maps are not working properly.
I recognize that,
Internet exporer 8 accepts global javascript defines null like :
var event = []; //global
when pass event to a function exporer 8 accepts null but other browsers accepts initialized as empty not null.

Is it possible a conflict telerik and other javascripts.All the system as same before upgrade process.It had been working properly but now we are in stuck , we didnt find any solution.


Thanks.

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 30 Aug 2011, 03:59 PM
Hello Hasan,

Could you please test the application by disable the Ajax on the page and verify of the script executes properly in this case. Also could you please try to use regular asp UpdatePanel instead of RadAjax and verify if the error still persists.

All the best,
Maria Ilieva
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
General Discussions
Asked by
BekirSami
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or