Skip to main content

FormItemEditorFactory.Lookup() Method

Creates a Lookup control that is used as a form item’s editor.

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public LookupBuilder Lookup()

Returns

Type Description
LookupBuilder

An instance of LookupBuilder.

Remarks

@(Html.DevExtreme().Form()
    .Items(items => {
        items.AddSimple()
            .Editor(e => e.Lookup()
                // call methods in a chain to customize the control
            );
    })
)
See Also