HTML Editor - Asp.net Ajax Control ToolKit
Posted
by Josimari Martarelli
on Stack Overflow
See other posts from Stack Overflow
or by Josimari Martarelli
Published on 2009-08-04T20:53:11Z
Indexed on
2010/05/05
10:48 UTC
Read the original article
Hit count: 603
Hi, I'm customizing the buttons I'll show in the Ajax Html Editor and would like to see a sample of how to add font-size options inside the dropdownlist.
public class HtmlEditor : Editor
{
{
protected override void FillTopToolbar()
TopToolbar.Buttons.Add(new AjaxControlToolkit.HTMLEditor.ToolbarButton.FontSize());
}
}
It shows the fontsize option but with a empty dropdownlist.
How to show it with customized fontsize option? For sample, I want to show inside the fontsize dropdownlist just the options from 8 to 16.
Thank you
Josi
© Stack Overflow or respective owner