Hi,
My problem is very simple. When I deleted a user from my grid, I want to call radConfirm (from RadAjaxManager) from the serverside and send some info to the callback js function, but I don't know how to pass variables into the radConfirm. I found this trick, but it only work if my radConfirm call come from a Js function, Like I said, my call come from the serverside. So, I tried to call a Js function from the serverside with the following code :
This seem to work, except that if I make a Telerik instruction in the jsFunction (like radconfirm), it doesn't work (Chrome's java
console said that I can't call radConfirm from undefined).
So, may someone help me? How may I do it ?
Thank you
David
My problem is very simple. When I deleted a user from my grid, I want to call radConfirm (from RadAjaxManager) from the serverside and send some info to the callback js function, but I don't know how to pass variables into the radConfirm. I found this trick, but it only work if my radConfirm call come from a Js function, Like I said, my call come from the serverside. So, I tried to call a Js function from the serverside with the following code :
string script = "<script language='javascript'> " +
" jsFunction(" + myVar + ");" +
"</script>";
Page.ClientScript.RegisterStartupScript(this.GetType(), "script ", script );
" jsFunction(" + myVar + ");" +
"</script>";
Page.ClientScript.RegisterStartupScript(this.GetType(), "script ", script );
This seem to work, except that if I make a Telerik instruction in the jsFunction (like radconfirm), it doesn't work (Chrome's java
console said that I can't call radConfirm from undefined).
So, may someone help me? How may I do it ?
Thank you
David