locked
ajax Html text editor problems RRS feed

  • Question

  • User-173167144 posted

    Hi ,

    In my application i am using ajax html text editor control , its working fine . but the contents that is typed in html editor contains bullets and numbering  and while i am filling this content to a label control then the nuembering(ordered list) and bullets are not shown , is any solution ?

    Is it possible to view contents only by using ajax html control in preview mode.

    Pls give a solution ...

    Monday, March 21, 2011 6:28 AM

Answers

  • User-173167144 posted

    Hi,

    Finally i resolved my issue , in my css file     list-style-type:none; is given for <ol><ul><li>

    so if it is commented is displaying correctly.

    nway thaks u all .

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, March 25, 2011 2:37 AM

All replies

  • User814673218 posted

    Try to filling your content to text property of Literal control or innerHTML property of DIV tag.

    It will surely display the data as you required.

    <asp:Literal ID="ltrContent" runat="server"></asp:Literal>
    <br/>
    <div id="divContent" runat="server"></div>

     ltrContent.Text = "<li>Hello </li>";// your html content goes here
     divContent.InnerHtml = "<li>content test </li>"; // your html content goes here

    Hope it helps. 

    Monday, March 21, 2011 9:11 AM
  • User-173167144 posted

    thanks for the reply,

    I have given theme for pages in web.config file so the orderd and undorderd list are not displayed

    in Literal or Div content , If i remove the theme its working fine..

    Pls give a solution for displaying the content

     

    Thursday, March 24, 2011 5:21 AM
  • User585266600 posted

     

    Please refer this...

    http://forums.asp.net/p/1634052/4215107.aspx

     

    Thursday, March 24, 2011 6:55 AM
  • User-173167144 posted

    Hi,

    Finally i resolved my issue , in my css file     list-style-type:none; is given for <ol><ul><li>

    so if it is commented is displaying correctly.

    nway thaks u all .

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, March 25, 2011 2:37 AM