When I drag a WebHtmlEditor to my page I get a few lines of markup. If I then use the Quick Design interface to change something the markup expands to hundreds of line. Can I delete the unneeded markup and will it stay deleted?
Hello,
You can use the property webhtmleditor1.Toolbar.Items.RemoveAt(i); for remove the desired item.for (int i = webhtmleditor1.Toolbar.Items.Count; i > 0; i--) { webhtmleditor1.Toolbar.Items.RemoveAt(i); }
Hope this helps.
Thank You, Ivan.
I'll use that in the code behind page and I'll delete all of the extra markup in the ASPX file.
John