Form Concepts - IFormFactory
From Visual WebGui Wiki
| This article missing it's contents and needs writing. Please help contributing to this wiki and add contents. |
Contents |
Future contents
This article should discuss why and how to use IFormFactory to dynamically load Forms and UserControls without registering them in web.config
Overview
As an exception to the general rule that application entry points (MainForms) must be registered in web.config to be accessable from the outside, the IFormFactory can be used.
IFormFactory interface makes it possible to load Forms and/or usercontrols without registering them in web.config
References
Forum threads
- How to implement IFormFactory to dynamically load forms
- Community member's pass at dynamically loading forms via IFormFactory
- Where you can register a form type you can register an IFormFactory class
Sample code
- Catalog demo app - look for class CatalogModuleRouter in CatalogSettings.cs
Other references
