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.
- Create a new user control and place in same directory as the module.
- i.e. NewsDialog.ascx
- i.e. NewsDialog.ascx
- Inherit the Dialog control from AdvantageAttributeControl
- 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.
Comments