"position: absolute" lost if is from code behind (runtime) assignment

Last post 05-13-2013, 12:16 PM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  05-10-2013, 12:47 PM 77411

    "position: absolute" lost if is from code behind (runtime) assignment

    Hi,

    I use RTE Editor for VB.NET and I've to assign value to editor from code Behind with a simple 

     

    Editor_control.Text = "<div position:absolute;left:10px;top:20px;"">HELLO</div>"

     

    But when I  load control on page and work on it the code is <div style="left:10px;top:20px;">HELLO</div>

     

    Why it lost [position:absolute ] ??? If I set position:absolute from visual mode it's ok.

     

    Pleas help me

    Thanks 

  •  05-13-2013, 12:16 PM 77422 in reply to 77411

    Re: "position: absolute" lost if is from code behind (runtime) assignment

    Hi eurogest03,

     

    Please open file \richtexteditor\config\default.config, find section below. 

     

          <security name="StyleBlackList">position,visibility,display</security>

     

    Change it to

     

          <security name="StyleBlackList">visibility,display</security> 

     

    Regards,

     

    Ken 

View as RSS news feed in XML