C# Class Christoc.Modules.DnnChat.Settings

The Settings class manages Module Settings Typically your settings control would be used to manage settings for your module. There are two types of settings, ModuleSettings, and TabModuleSettings. ModuleSettings apply to all "copies" of a module on a site, no matter which page the module is on. TabModuleSettings apply only to the current module on the current page, if you copy that module to another page the settings are not transferred. If you happen to save both TabModuleSettings and ModuleSettings, TabModuleSettings overrides ModuleSettings. Below we have some examples of how to access these settings but you will need to uncomment to use. Because the control inherits from DnnChatSettingsBase you have access to any custom properties defined there, as well as properties from DNN such as PortalId, ModuleId, TabId, UserId and many more.
Inheritance: DnnChatModuleSettingsBase
Show file Open project: ChrisHammond/dnnCHAT

Public Methods

Method Description
LoadSettings ( ) : void

LoadSettings loads the settings from the Database and displays them

UpdateSettings ( ) : void

UpdateSettings saves the modified settings to the Database

Method Details

LoadSettings() public method

LoadSettings loads the settings from the Database and displays them
public LoadSettings ( ) : void
return void

UpdateSettings() public method

UpdateSettings saves the modified settings to the Database
public UpdateSettings ( ) : void
return void