Class BaseFindEntity<TFilter>
- Namespace
- InSite.Common.Web.UI
- Assembly
- InSite.UI.dll
[ValidationProperty("Values")]
public abstract class BaseFindEntity<TFilter> : BaseControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IBaseFindEntity, IPostBackDataHandler, IHasEmptyMessage where TFilter : Filter
Type Parameters
TFilter
- Inheritance
-
BaseFindEntity<TFilter>
- Implements
-
- Derived
-
- Inherited Members
-
Constructors
BaseFindEntity()
Properties
AllowClear
public bool AllowClear { get; set; }
Property Value
- bool
AutoPostBack
public bool AutoPostBack { get; set; }
Property Value
- bool
CausesValidation
public bool CausesValidation { get; set; }
Property Value
- bool
ClientEvents
[PersistenceMode(PersistenceMode.InnerProperty)]
public FindEntityClientEvents ClientEvents { get; }
Property Value
- FindEntityClientEvents
CloseOnSelect
public bool CloseOnSelect { get; set; }
Property Value
- bool
EmptyMessage
public string EmptyMessage { get; set; }
Property Value
- string
EnableTranslation
public bool EnableTranslation { get; set; }
Property Value
- bool
Enabled
public bool Enabled { get; set; }
Property Value
- bool
HasValue
public bool HasValue { get; }
Property Value
- bool
Item
public BaseFindEntity<TFilter>.ReadOnlyDataItem Item { get; }
Property Value
- BaseFindEntity<TFilter>.ReadOnlyDataItem
Items
public IEnumerable<BaseFindEntity<TFilter>.ReadOnlyDataItem> Items { get; }
Property Value
- IEnumerable<BaseFindEntity<TFilter>.ReadOnlyDataItem>
MaxPageCount
public int MaxPageCount { get; set; }
Property Value
- int
MaxSelectionCount
public int MaxSelectionCount { get; set; }
Property Value
- int
public string ModalHeader { get; set; }
Property Value
- string
Output
public FindEntityOutput Output { get; set; }
Property Value
- FindEntityOutput
PageSize
public int PageSize { get; set; }
Property Value
- int
SelectedCount
public int SelectedCount { get; }
Property Value
- int
public bool ShowFooter { get; set; }
Property Value
- bool
public bool ShowHeader { get; set; }
Property Value
- bool
Translate
protected Func<string, string> Translate { get; }
Property Value
- Func<string, string>
ValidationGroup
public string ValidationGroup { get; set; }
Property Value
- string
Value
public Guid? Value { get; set; }
Property Value
- Guid?
Values
public Guid[] Values { get; set; }
Property Value
- Guid[]
Width
public Unit Width { get; set; }
Property Value
- Unit
Methods
AddAttributesToRender(HtmlTextWriter)
protected override void AddAttributesToRender(HtmlTextWriter writer)
Parameters
writer HtmlTextWriter
Count(TFilter)
protected abstract int Count(TFilter filter)
Parameters
filter TFilter
Returns
- int
CreateClientSideSettings(string, string)
protected virtual BaseFindEntity<TFilter>.ClientSideSettings CreateClientSideSettings(string clientId, string uniqueId)
Parameters
clientId string
uniqueId string
Returns
- BaseFindEntity<TFilter>.ClientSideSettings
GetEditorUrl()
protected virtual string GetEditorUrl()
Returns
- string
GetEntityName()
protected abstract string GetEntityName()
Returns
- string
GetFilter(IDictionary<string, string>)
protected virtual TFilter GetFilter(IDictionary<string, string> values)
Parameters
values IDictionary<string, string>
Returns
- TFilter
GetFilter(string)
protected abstract TFilter GetFilter(string keyword)
Parameters
keyword string
Returns
- TFilter
GetItems(Guid[])
protected abstract IEnumerable<BaseFindEntity<TFilter>.DataItem> GetItems(Guid[] ids)
Parameters
ids Guid[]
Returns
- IEnumerable<BaseFindEntity<TFilter>.DataItem>
LoadPostData(string)
protected virtual bool LoadPostData(string value)
Parameters
value string
Returns
- bool
OnAttributeSet(AttributeEventArgs)
protected override void OnAttributeSet(AttributeEventArgs e)
Parameters
e AttributeEventArgs
OnLoad(EventArgs)
protected override void OnLoad(EventArgs e)
Parameters
e EventArgs
OnPreRender(EventArgs)
protected override void OnPreRender(EventArgs e)
Parameters
e EventArgs
RaisePostDataChangedEvent()
protected virtual void RaisePostDataChangedEvent()
Render(HtmlTextWriter)
protected override void Render(HtmlTextWriter writer)
Parameters
writer HtmlTextWriter
Select(TFilter)
protected abstract BaseFindEntity<TFilter>.DataItem[] Select(TFilter filter)
Parameters
filter TFilter
Returns
- DataItem[]
Events
ItemsRequested
public event EventHandler ItemsRequested
Event Type
- EventHandler
ValueChanged
public event FindEntityValueChangedEventHandler ValueChanged
Event Type
- FindEntityValueChangedEventHandler