Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
175
sooooo much markup!
posted

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?

Parents
  • 7694
    posted

     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.

Reply Children
No Data