Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Jeffrey Valeroso 40 posts 101 karma points
    Nov 08, 2012 @ 09:37
    Jeffrey Valeroso

    How to add a custom control data type in custom page just like calling a Tinymce?

    How to call  umbraco.editorControls.userControlGrapper just like calling a TinyMCE?


     DataTypeDefinition dataTypeDefinition = DataTypeDefinition.GetDataTypeDefinition(tinyMCEDataTypeId);

                this._tinymce = (TinyMCE)dataTypeDefinition.DataType.DataEditor;

                this._tinymce.ID = "T1";


                this.tpInfo.Menu.NewElement("div", "umbTinymceMenu_" + this._tinymce.ClientID, "tinymceMenuBar", 0);


Please Sign in or register to post replies

Write your reply to: