Follow

AdvantageModuleDialog

For Modules that require configuration from the backend at runtime the developer can accomplish this by adding a ModuleDialog user control.

The user control inherits from the AdvantageAttributeControl.

  1. Create a new user control and place in same directory as the module.

    1. i.e. NewsDialog.ascx



  2. Inherit the Dialog control from AdvantageAttributeControl

  3. The UserControl will have an "Attributes" property of type AdvantageAttributes.  This can hold a list of data that can be retrieved on the front end.

The sample below, allows the front end to retrieve News Articles based on a category.

NewsDialog.ascx.cs 

NewsDialog.ascx

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments