Bullet list problem

1 posts, 0 answers
  1. Bader
    Bader avatar
    215 posts
    Member since:
    Aug 2008

    Posted 15 Aug 2011 Link to this post

    Hello,

    I have a problem with handling the radeditor control after copying a text which contains bullet list from Microsoft Office Word.

    Here is the html syntax of the pasted text (To RadEditor):

    <p><span style="font-family: calibri;">2) <span style="color: #000000; font-size: 11pt;"><strong><span style="color: #ff0000; text-decoration: underline;">ssdfsdfsxcvx vsvs sdfsfdsdf sdf sdf</span></strong></span><span style="font-family: calibri; color: #ff0000; font-size: 11pt;"><strong><span style="text-decoration: underline;">.<br />
    </span></strong></span></span><span style="font-family: calibri; color: #366092; text-decoration: underline;"><br />
    <strong>xxcv xcvxcv x cxvr r er er er er er erg .</strong></span><span style="font-family: calibri;"><br />
    <span style="color: #366092;"><strong><span style="text-decoration: underline;">g dfgdfg dfg dfg df   trrterertergt ergt.</span></strong></span><span style="color: #366092;"><strong><span style="text-decoration: underline;"><br />
    </span></strong></span></span><b><span style="font-family: calibri; color: #000000;">How to do that?</span></b></p>
    <ul>
        <li><span style="color: #000000;"><span style="color: #000000; font-size: 11pt;">gdfgdfg df </span>.</span> </li>
        <li><span style="font-family: calibri; color: #000000; font-size: 11pt;">dfgdfg dfg dfg dg .</span> </li>
        <li><span style="font-family: calibri;">sfsdfsdfsdfsdfsdf</span> </li>
        <li><span style="font-family: calibri; color: #000000; font-size: 11pt;"><span style="color: #000000; font-size: 11pt;">dfsdfsdfmstscsdf type sdfsdf</span><strong>.</strong></span> </li>
        <li><span style="color: #000000; font-size: 11pt;">sdgcbvxcvxcv</span> </li>
        <li><span style="color: #000000; font-size: 11pt;"><strong>sdfvxcvx  wer werwerwerwer</strong></span> </li>
    </ul>
    <span style="color: #000000; font-size: 11pt;">
    <p class="Description" style="margin: 5.25pt 0in;"><span style="font-family: calibri;"><strong><span style="color: #366092; text-decoration: underline;">sdfs sdf sdfsdf sdf sdf.</span></strong><br />
    </span><span style="font-family: calibri;"><span style="color: #366092;"><strong><span style="text-decoration: underline;">xcvxv fwfwef wef wef wef.</span></strong><br />
    </span><span style="color: #000000;"><strong>How to do that?</strong
    <ul>
        <li><span style="color: #000000; font-size: 11pt;">sdf sdf sfv sd fsd sdf fvsd fsdfsdf.</span> </li>
        <li><span style="color: #000000; font-size: 11pt;">sdf fsdf sdf wrwer wer </span></li>
    </ul>
    </span>
    <ul>
        <li></li>
    </ul>
    </span></p>
    <p> </p>
    <ul>
        <li></li>
    </ul>
    <p><span style="color: #000000; font-size: 11pt;"><span style="font-family: calibri;">3) <span style="color: #000000; font-size: 11pt;"><strong><span style="color: #ff0000; text-decoration: underline;">wer wer wer werwefr wfe.</span></strong></span><span style="font-family: calibri; color: #ff0000; font-size: 11pt;"><strong><span style="text-decoration: underline;"><br />
    </span></strong></span></span><span style="font-family: calibri; color: #366092; text-decoration: underline;"><br />
    <strong>sdf sdfs fsd svf xvxcv xcvxcv.</strong></span><span style="font-family: calibri;"><br />
    <span style="color: #366092;"><strong><span style="text-decoration: underline;">sdf sdfsdf sdfs df.</span></strong></span><span style="color: #366092;"><strong><span style="text-decoration: underline;"><br />
    </span></strong></span></span><b><span style="font-family: calibri; color: #000000;">How to do that?</span></b
    <p> </p>
    <ul>
        <li><span style="font-family: calibri; color: #000000; font-size: 11pt;">sdf sdf sdf sdf sdf ).</span> </li>
        <li><span style="font-family: calibri;">xcvxcvx xcvsg yhrn</span> </li>
        <li><span style="font-family: calibri; color: #000000; font-size: 11pt;"><span style="color: #000000; font-size: 11pt;">xcvxcvxcvxcv</span><strong>.</strong></span> </li>
    </ul>
    <span style="color: #000000; font-size: 11pt;">
    <p><span style="font-family: calibri;"><strong><span style="color: #366092; text-decoration: underline;">xcvcv ghf fgh rty ty rty rt .</span></strong><br />
    </span><span style="font-family: calibri;"><span style="color: #366092;"><strong><span style="text-decoration: underline;"> w twer wer wer wer wer<br />
    </span></strong></span><span style="color: #000000;"><strong>How to do that?</strong>
    <ul>
        <li><span style="font-family: calibri; color: #000000; font-size: 11pt;"><span style="color: #000000; font-size: 11pt;">wer wefvgfgv dfg dfg gfdf dfg</span><strong>.</strong></span> </li>
    </ul>
    </span>
    <ul>
        <li></li>
    </ul>
    </span></p>
    <p> </p>
    <ul>
        <li></li>
    </ul>
    </span>
    <ul>
        <li></li>
    </ul>
    </span></p>
    <p> </p>
    <ul>
        <li></li>
    </ul>
    <p> </p>
    </span>

    The problem is that the radeditor control generates new bullets (Please, view the attached screen-shot).

    Please I need your help in order to solve the above problem.
    It is appreciated to send me a solution for the problem with an explaination.

    Regards,
    Bader
Back to Top