When I add the bulleted list button to the ascx page the button will not show up. I even added an existing button thinking this version did not support the bulleted button but this did not work.
But when I add it in code, it does show up, why?
<div id="editor" class="input"> <telerik:RadEditor ID="txtText" runat="server" Height="200px" Width="400px" ToolTip="Enter a body" EnableEmbeddedSkins="false"> <Tools> <telerik:EditorToolGroup> <telerik:EditorTool Name="Bold" /> <telerik:EditorTool Name="Italic" /> <telerik:EditorTool Name="Underline" /> <telerik:EditorTool Name="Cut" /> <telerik:EditorTool Name="Copy" /> <telerik:EditorTool Name="Paste" /> <telerik:EditorTool Name="FontName" /> <telerik:EditorTool Name="FontSize" /> <telerik:EditorTool Name="ForeColor" /> <telerik:EditorTool Name="InsertUnorderedList" /> <telerik:EditorTool Name="Bold" /> </telerik:EditorToolGroup> </Tools> <Content> </Content> </telerik:RadEditor> </div>
But when I add it in code, it does show up, why?
if (!IsPostBack) { EditorToolGroup main = new EditorToolGroup(); txtText.Tools.Add(main); EditorTool InsertUnorderedList = new EditorTool(); InsertUnorderedList.Name = "InsertUnorderedList"; main.Tools.Add(InsertUnorderedList); }
We want to be able to add it in the ascx markup.
