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
    0

    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.panRTE.Controls.Add(this._tinymce);

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


     

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies