AI OnAI Off
I have a Gadget.
I created a class to configure some properties. ( CMS > Admin > Tool Settings > Plug-in Manager > myClass ) I can save this information, but I don't know who I get this information. Because I have a Gadget and not a Page or Control.
You mean how to retrieve those settings in your gadgets action method?
var myPluginClass = new MyPluginClass();
PlugInSettings.AutoPopulate(myPluginClass);
myPluginClass.LicenseKey;
Frederik
Hi,
I have created some properties. When I trying get this value it's return empty. but in the Plugion Manager has value.
[PlugInProperty(Description = "License Key", AdminControl = typeof(TextBox), AdminControlValue = "Text")]
public string LicenseKey { get; set; }
Episerver 7.1, I need this value on my gadget.