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

4.0 framework kills radajaxpanel 2010 version

3 Answers 85 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Shraddha
Top achievements
Rank 1
Shraddha asked on 15 May 2010, 12:10 AM
in 4.0 .net framework using Visual Studio2010 radajax panel gives error when trying to change a dropdown selection which is set to postback on selction change. it errors out at the line in bold:



if(typeof(this.__EVENTTARGET)!="undefined"&&typeof(this.__EVENTARGUMENT)!="undefined"){var b=new Telerik.Web.UI.RadAjaxRequestEventArgs(this.__EVENTTARGET,this.__EVENTARGUMENT,this._enableAJAX);
this.fireEvent(this,"OnResponseEnd",[b]);
}if(this._requestQueue.length>0){this._executePendingRequest();
}},_queueRequest:function(a,c){c.set_cancel(true);
if(this._requestQueue.length>=this._requestQueueSize){return;
}var b=c.get_postBackElement();
var e=b.id;
if(b.name){e=b.name;
}if(a._form.__EVENTTARGET&&a._form.__EVENTTARGET.value){e=a._form.__EVENTTARGET.value;
}var d=a._form.__EVENTARGUMENT.value;
Array.enqueue(this._requestQueue,[e,d]);
},_executePendingRequest:function(){var a=Array.dequeue(this._requestQueue);
var c=a[0];
var b=a[1];
var d=Sys.WebForms.PageRequestManager.getInstance();
d._doPostBack(c,b);
},_attachRequestHandlers:function(a,c,e){this._endRequestHandler=Function.createDelegate(this,this._endRequest);
a.add_endRequest(this._endRequestHandler);
this._onFormSubmitCompletedHandler=Function.createDelegate(this,this._onFormSubmitCompleted);
c.get_request().add_completed(this._onFormSubmitCompletedHandler);
c.get_request()._get_eventHandlerList()._list.completed.reverse();
if(e){var b=c.get_request().get_body();
var d=(b.lastIndexOf("&")!=b.length-1)?"&":"";
b+=d+"RadAJAXControlID="+a._uniqueIDToClientID(this._uniqueID);
c.get_request().set_body(b);
}},_getParentAjaxPanel:function(a){var b=null;
while(a!=null){if(typeof(a.id)!="undefined"&&$find(a.id)&&$find(a.id).Type=="Telerik.Web.UI.RadAjaxPanel"){b=$find(a.id);
break;
}a=a.parentNode;
}return b;
},getResponseItems:function(n,h,c){var j=Sys.WebForms.PageRequestManager.getInstance();
var e=n;
var i,k,g,b,m;
var a=0;
var f=null;
var d="|";
var l=[];

3 Answers, 1 is accepted

Sort by
0
Accepted
Veli
Telerik team
answered on 15 May 2010, 07:20 AM
Hello Shraddha ,

Cannot reproduce this error. Attaching the test page I used.

All the best,
Veli
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.
0
Francisco Tirado
Top achievements
Rank 1
answered on 28 Jun 2010, 08:28 PM
The error occurs using ToolkitScriptManager rather than ScriptManager
0
Veli
Telerik team
answered on 29 Jun 2010, 06:27 AM
Hi Francisco,

There have been a set of known issues with Telerik RadAjax controls and the ToolkitScriptManager that we fixed. Consider updating Telerik RadControls to the latest version and see how it works.

All the best,
Veli
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
Tags
Ajax
Asked by
Shraddha
Top achievements
Rank 1
Answers by
Veli
Telerik team
Francisco Tirado
Top achievements
Rank 1
Share this question
or