Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi
I have a user control (a dashboard) that includes a MNTP instance. In 4.7.x, I used the code below to render the MNTP, which worked fine:
//Fields for MNTP.private string _MNTPNodes; private MNTP_DataEditor _MNTPNodes_DataEditor; protected override void OnInit(EventArgs e){ base.OnInit(e); //Add the MNTP DataTypeDefinition MNTPNodesDatatype = DataTypeDefinition.GetDataTypeDefinition(1034); _MNTPNodes_DataEditor = (MNTP_DataEditor)((AbstractDataEditorControl)MNTPNodesDatatype.DataType.DataEditor).Control; _MNTPNodes_DataEditor.PreRender += new EventHandler(MNTPNodes_PreRender); phMNTP.Controls.Add(_MNTPNodes_DataEditor);} protected void MNTPNodes_PreRender(object sender, EventArgs e) { XDocument xmlDocument = new XDocument(); if (!string.IsNullOrEmpty(_MNTPNodes)) { xmlDocument = XDocument.Parse(_MNTPNodes); } _MNTPNodes_DataEditor.XmlValue = xmlDocument; _MNTPNodes_DataEditor.DataBind(); }
With the integration of uComponent in the 4.8 core, how would I replicate this?
is working on a reply...
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.
Continue discussion
User control with uComponents - migrating to v.48
Hi
I have a user control (a dashboard) that includes a MNTP instance. In 4.7.x, I used the code below to render the MNTP, which worked fine:
With the integration of uComponent in the 4.8 core, how would I replicate this?
is working on a reply...
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.