Hi jagilbert27,
Please try the example below, it shows you how add a label at the left of the toolbar.
- <%@ Page Language="C#" %>
-
- <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>
- <html>
- <head>
- <title>example </title>
- <script runat="server">
- protected override void OnLoad(EventArgs e)
- {
- Label lb = new Label();
- lb.Text = "my label";
- CuteEditor.ToolControl tc = new ToolControl("mylabel", lb);
- Editor1.ToolControls.Insert(1, tc);
- base.OnLoad(e);
- }
- </script>
- </head>
- <body>
- <form id="Form1" runat="server">
- <CE:Editor ID="Editor1" runat="server">
- </CE:Editor>
- </form>
- </body>
- </html>
More detail of the custom button for toolbar, please refer to http://cutesoft.net/developer+guide/scr/Add_your_own_custom_button.htm
Regards,
Ken