I have a custom button I am adding to my editor. This button makes an ajax request to update the content of the editor. However, the content does not update properly. This occurs in both firefox and IE, so I do not believe that it is related.
Here is my code.
Telerik.Web.UI.Editor.CommandList[""CustomButton""] = function(commandName, editor, args) {
$find(""" + manager.ClientID + @""").ajaxRequest(""foobar"");
};
Here is the ajax request event
private void manager_AjaxRequest(object sender, Telerik.Web.UI.AjaxRequestEventArgs e)
{
if (e.Argument == "Append")
{
this.Content += "Does Append work?";
}
}
the event is firing and the content is being updated, however it never renders to the page.
Here is my code.
Telerik.Web.UI.Editor.CommandList[""CustomButton""] = function(commandName, editor, args) {
$find(""" + manager.ClientID + @""").ajaxRequest(""foobar"");
};
Here is the ajax request event
private void manager_AjaxRequest(object sender, Telerik.Web.UI.AjaxRequestEventArgs e)
{
if (e.Argument == "Append")
{
this.Content += "Does Append work?";
}
}
the event is firing and the content is being updated, however it never renders to the page.