I'm using the RadAjaxManager on a page and I want to change some of the javascript on the page with each ajax postback. For example, I have the following javascript method:
function GetEditorText() {
<%= _EditorScript %>
}
As you can see, the _EditorScript variable is declared in the code behind and gets a value whenever the page does a real postback. The value of this variable is just more javascript that may change.
How can I change the _EditorScript value (or the javascript in this function) during an ajax postback?
Thanks,
Matt
function GetEditorText() {
<%= _EditorScript %>
}
As you can see, the _EditorScript variable is declared in the code behind and gets a value whenever the page does a real postback. The value of this variable is just more javascript that may change.
How can I change the _EditorScript value (or the javascript in this function) during an ajax postback?
Thanks,
Matt