Hi,
As I have mentioned before in this thread I'm using an XmlHttpPanel to display some data from a RadGrid using Callback. because of performance issues I've decided to replace callback with web Service so with the help of the sample provided in here I managed to convert my code to a web service so that it returns source Code of the generated page.
now it will display data but unfortunately I'm encountering several issues:
1. whith the EnableClientScriptEvaluation set to "true" , A) JavaScript Error "Object Required" is encountered, and debugging this error points to a line that "this._onsubmit=this._form.onsubmit;" which is apparently called here : function(a,b){Sys,WebForms.PageRequestManager.getInstance()._initializeInternal(a,b)};.. and then nothing works (javascript ,ajax..)
2. if EnableClientScriptEvaluation is set to false , A)I can still select other rows on he column and XmlHttpPanel gets updated, but B)of course the proplem mentioned in my previous post still exists(controls are not loaded properly) and also C)any postback event(full or Ajax) would result in this error: "The State information is invalid this page and might be corrupted."
I hope I have clarified the problem. Thanks in Advance.
p.s. described issues are encountered in IE ,In Firefox the experience generally the same but with different javascript errors.
As I have mentioned before in this thread I'm using an XmlHttpPanel to display some data from a RadGrid using Callback. because of performance issues I've decided to replace callback with web Service so with the help of the sample provided in here I managed to convert my code to a web service so that it returns source Code of the generated page.
now it will display data but unfortunately I'm encountering several issues:
1. whith the EnableClientScriptEvaluation set to "true" , A) JavaScript Error "Object Required" is encountered, and debugging this error points to a line that "this._onsubmit=this._form.onsubmit;" which is apparently called here : function(a,b){Sys,WebForms.PageRequestManager.getInstance()._initializeInternal(a,b)};.. and then nothing works (javascript ,ajax..)
2. if EnableClientScriptEvaluation is set to false , A)I can still select other rows on he column and XmlHttpPanel gets updated, but B)of course the proplem mentioned in my previous post still exists(controls are not loaded properly) and also C)any postback event(full or Ajax) would result in this error: "The State information is invalid this page and might be corrupted."
I hope I have clarified the problem. Thanks in Advance.
p.s. described issues are encountered in IE ,In Firefox the experience generally the same but with different javascript errors.