WebTextEditor - Remove footer / status bar?

1 reply. Last post: January 25, 2011 10:50 PM by Handy Surya
Tags :
  • New Discussion
  • New Question
  • New Product Feedback

Hello,

I'm wondering if it's possible to completely remove all the footer / status bar of the webtexteditor.

I tried the following method:

protected void textEditor_InitializeToolbar(object sender, WebTextEditorToolBarArgs e)
        {
            List<WebTextEditorToolBar> toolbars = new List<WebTextEditorToolBar>();

            toolbars.Add(e.GetToolBarByCategory(WebTextEditorToolBarCategory.FloatingBottom));
            toolbars.Add(e.GetToolBarByCategory(WebTextEditorToolBarCategory.Custom));
            toolbars.Add(e.GetToolBarByCategory(WebTextEditorToolBarCategory.FloatingTop));
            toolbars.Add(e.GetToolBarByCategory(WebTextEditorToolBarCategory.Formatting));
            toolbars.Add(e.GetToolBarByCategory(WebTextEditorToolBarCategory.HTML));
            toolbars.Add(e.GetToolBarByCategory(WebTextEditorToolBarCategory.Preview));
            toolbars.Add(e.GetToolBarByCategory(WebTextEditorToolBarCategory.Standard));

            foreach (var bar in toolbars)
            {
                if (bar!=null)
                {
                    textEditor.ToolBar.Remove(bar);
                }
            }
        }

in order to remove all toolbars, but the footer remain visible.

Nicolas

All times are GMT -5. The time now is 3:03 AM.
Previous Next