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

  •  04-01-2008, 8:53 AM

    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 Complete Thread