I need to know where call and ajaxRequest in a particolar scenario:
When i click in ContexMenu of a RadTreeView i open a radwindow that receives some arguments from the RadTreeView .
On the radwindow i have two hiddenfields and a radajaxpanel that contains a formview.
I Get the args on the rad window with this javascript function
function pageLoad() {txtInputIdLinea = document.getElementById('hdfIdLinea');
var currentWindow = GetRadWindow();
txtInputIdLinea.value = currentWindow.argument.Idlinea;}
The datasource of the formview has hdfIdLinea as a parameter.
The problem is that when the radwindow finish "loading" the formview didn't see the value set in hdfIdLinea, so after setting the value i add an ajax Request like this
$find(
"<%= Panel.ClientID %>").ajaxRequest("Update panel");
And It works, but this code run in a loop and i have this exception
Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed.
May you help me?. I need to force a postback of the FormView once time after the radwindow is loaded.
thanks._