Re: is there some opposite of 'DisableItemList'

  •  02-06-2004, 12:31 AM

    Re: is there some opposite of 'DisableItemList'

    The <p> insert on enter is common to all html wysiwyg editors.

     

    You can always add/remove smilies by creating a custom button, displaying your own smilies container.

     

    If you use the .Template method to specify the layout, you specify where to put dividers into the toolbar.

     

    The following code add a button programmaticly:

        System.Web.UI.WebControls.Image ImageIngressCleanupCode = new System.Web.UI.WebControls.Image ();
        ImageIngressCleanupCode.ToolTip = "Fjern Word kode";
        ImageIngressCleanupCode.ImageUrl = "../images/cleanup.gif";
        ImageIngressCleanupCode.CssClass = "button";
        ImageIngressCleanupCode.Attributes.Add("onclick","_Format('rtbIngress','CleanupCode');"); 
        ImageIngressCleanupCode.Attributes.Add("type","btn");

    Then add the button to the toolbar:

    rtbIngress.toolbar.Add(ImageIngressCleanupCode);

     

    Regards,

    Thomas

View Complete Thread