Hi!
I´ve been fighting with this for a long time and hope someone can help me.
I have a RadTreeview as a usercontrol. The control is placed inside a pagelayout. Everything work great on my local computer. When I put the dll on live server I end up with a javascript error: Object excepted, when trying to use the control (hoover,clicking,checking whatever!).
When debugging it I received this (in ScriptResource.axd):
this._properties.setValue("hoveredCssClass",_54,true);
},get_childListElement:function(){
if(!this._nodeListElement){
this._nodeListElement=$(this.get_element()).children("ul").get(0)||null;
}
return this._nodeListElement;
},get_contentElement:function(){
if(!this._contentElement){
this._contentElement=$(this.get_element()).children("div").get(0)||null; ß Here it stops.
}
return this._contentElement;
},get_contextMenuID:function(){
The thing is that it works when pagelayout is in another .master-file except the default one?
I´ve managed to recreate the problem locally but could fix it by adding following lines to web.config (the Fiddler-program was telling me ScriptResources couldn´t be loaded):
<add verb="GET,HEAD" path="ScriptResource.axd"
type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
validate="false"/>
and
<add path="Telerik.Web.UI.WebResource.axd" verb="*"
type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2009.1.318.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
validate="false" />
and checkbox “Verify that the file exists” on .adx extension is unchecked(IIS6)
Happy I logged in to the live server and checked the web.conig. The lines where already there!!!!!!
I´ve compared the Telerik dll´s in GAC and they are identicly with my local computer:
Telerik.Web.Design, Version=2009.1.318.20
Telerik.Web.UI, Version=2009.1.318.20
Telerik.Web.UI, Version=2008.3.1314.20 ß RadEditor is using this one.
I´ve also tried to create a new RadTreeview control with just 3 nodes and width and height set. Still the same problem, ON THE SERVER, NOT locally on my machine?
My treeview also check´s for scriptmanagers and adds one if needed. On the failing .master file there is already a scriptmanager defined with EnablePartialRendering=true; . Besides errors is instant shown if there missing and i never recieved these so....
i´ve read every post about "RadTreeview Object exptected" but none of them seems like mine?
Any ideas?