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
115
WebHTMLEditor - Adding and Removing Buttons/Button Bars
posted

I think I might just need a little nudge here, but I can't seem to work out how to "clean up" the button bar in the HTMLEditor.

I can easily remove items with something like:

Dim htmledit As WebHtmlEditor = TryCast(sender, WebHtmlEditor)
htmledit.Toolbar.Items.Remove(ToolbarItemType.InsertFlash)

I have done this for many of the controls in the bar.  However, I'm still left with the toolbar section of the removed controls - so there is a blank toolbar in my rendered editor. 

Could you offer the code that would generate a toolbar similar to the one used in this forum?  Simple, one row, a few basic HTML edit functions (cut, past, bold, bullet).