Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Make space between buttons in html editor

$
0
0

Hi, I have an ajax html editor (from toolkit). I want to make two lines (Panels) on top toolbar of editor and then add some buttons to first and some buttons to other.

some thing like this:

TopToolbar.Buttons.Add(New AjaxControlToolkit.HTMLEditor.ToolbarButton.Bold())
TopToolbar.Buttons.Add(New AjaxControlToolkit.HTMLEditor.ToolbarButton.Italic())
TopToolbar.Buttons.Add(New AjaxControlToolkit.HTMLEditor.ToolbarButton.Underline())

TopToolbar.Controls.Add(New LiteralControl("<br />"))

TopToolbar.Buttons.Add(New AjaxControlToolkit.HTMLEditor.ToolbarButton.Ltr())
TopToolbar.Buttons.Add(New AjaxControlToolkit.HTMLEditor.ToolbarButton.Rtl())

but it doesn't work and make space on top of toolbar and then list all 5 buttons near themselves.

I want to have it in this order:

Bold, Italic and Underline Buttons,

one <br> element,

RTL and LTR buttons

and then the rest of html editor.

Can anybody tell me how to do this?

Thanks in advance


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>