RadEditor background

3 posts, 0 answers
  1. Gustavo
    Gustavo avatar
    26 posts
    Member since:
    Jun 2014

    Posted 24 Jul 2014 Link to this post

    Hi

    I use the next code  for change the background the radeditor but the  cursor appears in the center. i use internet explore. I have one question it is a error or exists a bug

    Thanks.








  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 24 Jul 2014 in reply to Gustavo Link to this post

    Hi Gustavo,

    Unfortunately I couldn't replicate the issue at my end. Please have a look into the sample code snippet which works fine at my end. Please provide your full code for further help.

    ASPX:
    <telerik:RadEditor ID="reditorDemo" runat="server" OnClientLoad="changeStyle">
    </telerik:RadEditor>

    JavaScript:
    function changeStyle(sender, args) {
        var style = sender.get_contentArea().style;
        style.backgroundImage = "url('BackGround.jpg')";
        style.backgroundRepeat = "no-repeat";
        style.backgroundPosition = "center";
    }

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Gustavo
    Gustavo avatar
    26 posts
    Member since:
    Jun 2014

    Posted 25 Jul 2014 in reply to Shinu Link to this post

    thanks, I developer the same exercise,but i found the mistake I have a master page where exists an .css that line p { tex-align:center} that affect the editor

    thanks & regards
Back to Top