Extracts all UIHint information from the specified type and adds all required addons for the components used.
Class: YetaWF.Core.Components.YetaWFComponentExtender
Namespace: YetaWF.Core.Components
Assembly: YetaWF.Core
public static Task AddComponentSupportForType( Type type );
type
The model type.
Addons can only be added during an initial HTTP Get request. Some components (Grid component, Tree component) may need to render an empty component first and record data is added later during HTTP Post requests.
The AddComponentForType method is used during the initial HTTP Get request to add all required addons for all components used so they are later available when record data is added to the component.
See Also YetaWF.Core.Components.YetaWFComponentExtender ClassYetaWF.Core Overview
Documentation Feedback
© 2024 - Softel vdm, Inc. - YetaWF.com