LookupEditorAttribute constructor (1 of 2)

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Initializes a new instance of the LookupEditorAttribute class.

public LookupEditorAttribute(string lookupKey)
parameter description
lookupKey The lookup key.

See Also


LookupEditorAttribute constructor (2 of 2)

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

If you use this constructor, lookupKey will be determined by [LookupScript] attribute on specified lookup type. If this is a row type, make sure it has [LookupScript] attribute on it.

public LookupEditorAttribute(Type lookupType)

See Also