Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Components.YetaWFComponentExtender.AddComponentSupportForType Method

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

Syntax

public static Task AddComponentSupportForType( Type type );

Parameters

type

The model type.

Remarks

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