custom property template is not rendering properly

Former Member
Former Member

We are moving 11.x version to 12.x version. I am having using rendering  with Widget's Configurations, I was using the below snip code for rendering custom control( of type System.Web.UI) using configuration which is working fine for 11.x version but not rendering properly in 12.x version. 

var spSites = new Telligent.DynamicConfiguration.Components.Property(PropertyId.SPObjectManager, String.Empty, PropertyType.Custom, 0, String.Empty)

{
   ControlType = typeof(IntegrationManagerControl)
};

This how form renders in version 11.x

in version 12.x since controltype is deprecated. I am trying to use custom property Temple as follow

Property prob1 = new Property()
{
Id = PropertyId.SPObjectManager,
LabelText = "",
DataType = "custom",
OrderNumber = 0,
Template = "custom",
};

it doesn't render as it html. Please suggest what I am missing. Thank you for your help!