Cute Editor .NET 6 removing closing </li> tag

Last post 04-01-2008, 8:53 AM by webxel. 2 replies.
Sort Posts: Previous Next
  •  03-31-2008, 9:58 AM 38475

    Cute Editor .NET 6 removing closing </li> tag

    Cute Editor .NET 6 removing closing </li> tags as below, html then does not comply with:-

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     
     
    <ul>
    <li>Gold Star Salon Group Award, Finalist Fellowship of British Hairdressing Awards 2006
    <li>Winner of British Hairdressing Hall of Fame Award 2006
    <li>Marketing Star Award, Finalist Perthshire Chamber of Commerce Awards 2006
    <li>Crown Salon Award, Guinot Crown Awards 2006
    <li>Retail Business Award, Finalist British Hairdressing Business Awards 2006
    <li>Winner of Scottish Hairdresser of the Year 2006 at the British Hairdressing Awards
    <li>Winner of Best Practice Family Friendly Business 2004
    <li>Winner of Skills &amp; Excellence in Training, Scottish Enterprise Tayside Business Awards 2005
    <li>Winner of Training &amp; Development Star Award, Perthshire Chamber of Commerce Awards 2005
    <li>Winner of Retail Star Award, Perthshire Chamber of Commerce Awards 2004
    <li>Creative Star Award, Finalist Perthshire Chamber of Commerce Awards 2004
    <li>Outstanding Contribution to Business, Finalist in the Association of Scottish Businesswomens Awards 2004 and 2005
    <li>Best Performing Company (over 25 employees), Finalist in Scottish Enterprise Tayside Business Awards 2005</li>
    </
    ul>


     
  •  03-31-2008, 11:21 AM 38479 in reply to 38475

    Re: Cute Editor .NET 6 removing closing </li> tag

  •  04-01-2008, 8:53 AM 38518 in reply to 38479

    Re: Cute Editor .NET 6 removing closing </li> tag

    Thanks, getting there, dont suppose it can put the output </li> on the same line as it puts it on  a new line and makes the code look messy?

    Also id there a way for the top window to show the true html i.e with the </li>, tried adding the XHTML as follows but did not work any ideas, thanks again

     

    if (DropDownList1.SelectedIndex > 0)

    {

    WebxelDevSuite.PagePartEditor PageEditor = new WebxelDevSuite.PagePartEditor(DropDownList1.SelectedValue);

    PageEditor.SaveEditableContent("EditableContent1", this.Editor1.XHTML);

    }

    }

    protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)

    {

    if (DropDownList1.SelectedIndex > 0)

    {

    WebxelDevSuite.PagePartEditor PageEditor = new WebxelDevSuite.PagePartEditor(DropDownList1.SelectedValue);

    this.Editor1.XHTML = PageEditor.GetEditableContent("EditableContent1");

    }

    else

    {

    this.Editor1.XHTML = "<b>Select a page to edit</b>";

    }

    }

View as RSS news feed in XML