RadEditor set_html IE issue

1 posts, 0 answers
  1. MikeS
    MikeS avatar
    32 posts
    Member since:
    Mar 2014

    Posted 17 Jul 2014 Link to this post

    Hello there,

    im using radeditors to update news content. when i click in the radgrid on some row, it opens a jquery dialog and sets two radeditor using set_html(Preview and Content).

    This works perfect in google chrome but not on IE and FF. the html field has the content, but the design field dont and i cant even type on it.

    here's the code:
    var varTitle = eventArgs.getDataKeyValue("title");
    var varInitialDate = eventArgs.getDataKeyValue("initial");
    var varEndDate = eventArgs.getDataKeyValue("end");
    var varPreview = eventArgs.getDataKeyValue("prev");
    var varContent = eventArgs.getDataKeyValue("content");
     *** Opens the dialog ***
    $find('<%= Title.ClientID%>').set_value(varTitle);
    $find('<%= ID.ClientID%>').get_textBox().control.set_value(varInitialDate);
    $find('<%= ED.ClientID%>').get_textBox().control.set_value(varEndDate);
    $find('<%= Preview.ClientID%>').set_html(varPreview);
    $find('<%= Content.ClientID%>').set_html(varContent);

    any ideas on what the problem is?


Back to Top