SearchContextItem
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class SearchContextItem : WebControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IMarkableStateManager, IStateManager
Inheritance: objectControlWebControlSearchContextItem
Implements:
Inherited Members
Constructors
public SearchContextItem()
Properties
Gets or sets the data item.
[Browsable(false)]
public virtual object DataItem { get; set; }
The data item.
Gets or sets the path to the image of a certain item.
public string ImageUrl { get; set; }
The path to the image of an item. The default value is empty string.
Use the property to set the path to the image used by the item.
Gets or sets the key of a certain item.
public string Key { get; set; }
The text of an item. The default value is null
Use the property to bind the context information which will be used upon search operation.
Gets or sets a value indicating whether this item is selected.
public bool Selected { get; set; }
true if selected; otherwise, false.
protected override HtmlTextWriterTag TagKey { get; }
Overrides:
Methods
protected override void AddAttributesToRender(HtmlTextWriter writer)
Overrides:
This method should return object that implements ISearchBoxRenderer or Inherits the SearchBoxRenderer class.
protected override void RenderContents(HtmlTextWriter writer)
Overrides:
This method marks the Parameter object so its state will be recorded in view state.
public void SetDirty()
Implements: