featureSetting's controlType

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
10/20/2009 8:23:09 AM
Gravatar
Total Posts 2

featureSetting's controlType

Hi guys,

I need assistance. Is is possible to set the controlType to Dropdown and assign some values to the dropdown?

thanks in advance.

 

bistoh

10/20/2009 8:41:02 AM
Gravatar
Total Posts 18439

Re: featureSetting's controlType

This question would have been better posted in the Developer Forum.

For custom features, ControlType can be TextBox, CheckBox or ISettingControl. For ISettingControl you implement a UserControl.ascx that implements the ISettingControl interface. You also have to put in the path for the UserControl.

So to make a dropdown you would have to implement a UserControl that implements ISettingControl.

If you are working with the mojoPortal source code, you can see an example that implements a dropdown list as ISettingControl in the Web/Controls/GMapTypeSetting.ascx and GMapTypeSetting.ascx.cs

This dropdown can be seen in the settings for a Google Map instance.

Hope it helps,

Joe

10/20/2009 9:03:04 AM
Gravatar
Total Posts 2

Re: featureSetting's controlType

Thanks Joe,

That's wot I needed to understand.

*bistoh buys Joe a beer*

You must sign in to post in the forums. This thread is closed to new posts.