RadSearchBox
Represents the RadSearchBox class.
Namespace:Telerik.WebAii.Controls.Html
Assembly:Telerik.WebAii.Controls.Html.dll
Syntax:
public class RadSearchBox : HtmlContainerControl
Inheritance:
objectControlHtmlControlHtmlContainerControlRadSearchBox
Inherited Members
HtmlContainerControl.TextContentHtmlContainerControl.InnerTextHtmlControl.FindParentContainer<TContainerControl>()HtmlControl.ValidateTag(string)HtmlControl.ValidateControl()HtmlControl.ParseResponseValue<T>(string, T)HtmlControl.GetAttributeAsString(string)HtmlControl.InitializeMappings(MappingsCollection)HtmlControl.GetRectangle()HtmlControl.IsVisible()HtmlControl.GetStyleValue(string)HtmlControl.GetStyle(string)HtmlControl.GetComputedStyleValue(string)HtmlControl.GetComputedStyle(string)HtmlControl.Parent<TContainerControl>()HtmlControl.Capture()HtmlControl.Capture(string, string)HtmlControl.Capture(string)HtmlControl.InvokeEvent(ScriptEventType)HtmlControl.InvokeEvent(ScriptEventType, bool)HtmlControl.InvokeEvent(ScriptEvent)HtmlControl.InvokeEvent(ScriptEvent, bool)HtmlControl.AddEventListener(string, EventHandler<JavascriptEventArgs>)HtmlControl.RemoveEventListener(string, EventHandler<JavascriptEventArgs>)HtmlControl.MouseClick()HtmlControl.MouseClick(MouseClickType)HtmlControl.MouseClick(MouseClickType, int, int)HtmlControl.MouseClick(MouseClickType, Point, OffsetReference)HtmlControl.MouseClick(MouseClickType, int, int, OffsetReference)HtmlControl.MouseHover()HtmlControl.MouseHover(Point)HtmlControl.MouseHover(int, int)HtmlControl.MouseHover(int, int, OffsetReference)HtmlControl.Click()HtmlControl.Click(bool)HtmlControl.ScrollToVisible()HtmlControl.ScrollToVisible(ScrollToVisibleType)HtmlControl.ScrollToVisible(ScrollToVisibleType, Rectangle)HtmlControl.Download(bool, DownloadOption, string, int)HtmlControl.CallMethod(string)HtmlControl.CallMethod<T>(string)HtmlControl.CallMethod<T>(string, T)HtmlControl.GetValue<T>(string)HtmlControl.GetValue<T>(string, T)HtmlControl.GetValue<T>(string, bool)HtmlControl.GetValue<T>(string, bool, T)HtmlControl.SetValue<T>(string, T)HtmlControl.SetValue<T>(string, T, bool)HtmlControl.Focus()HtmlControl.DragTo(OffsetReference, Point, int, int)HtmlControl.DragTo(OffsetReference, int, int, Rectangle, OffsetReference, int, int)HtmlControl.DragTo(Point)HtmlControl.DragTo(int, int)HtmlControl.DragTo(HtmlControl)HtmlControl.DragTo(HtmlControl, OffsetReference, Point)HtmlControl.DragTo(OffsetReference, Point, HtmlControl)HtmlControl.DragTo(OffsetReference, Point, HtmlControl, OffsetReference, Point)HtmlControl.DragTo(OffsetReference, int, int, bool, HtmlControl, OffsetReference, int, int, bool)HtmlControl.DragToWindowLocation(OffsetReference, int, int, bool, OffsetReference, int, int, bool)HtmlControl.ToString()HtmlControl.AsjQueryControl()HtmlControl.GetElementByTagNameClientSideLocatorHtmlControl.GetElementByIdClientSideLocatorHtmlControl.FindHtmlControl.ScrollTopHtmlControl.ScrollLeftHtmlControl.WaitHtmlControl.IDHtmlControl.CssClassHtmlControl.AttributesHtmlControl.MappingsHtmlControl.StylesHtmlControl.EventsHtmlControl.TagNameHtmlControl.ChildNodesHtmlControl.IsActiveElementHtmlControl.IsEnabledControl.Refresh()Control.AssignFailed(Exception)Control.SetTelerikComponentsVersion(TelerikComponentsVersion?)Control.MatchControl(Element, FindParam)Control.GetFamilyElement(int, Element)Control.ThrowOnInvalidAssignmentControl.TelerikComponentsVersionControl.IsRefreshControl.BaseElementControl.OwnerBrowserControl.Locator
Initializes a new instance of the SearchBox class.
Initializes a new instance of the SearchBox class.
Declaration
public RadSearchBox(Element element)
Parameters
Element
Get the locator FindParam.
Gets the text of the context of the SearchBox.
Declaration
public string ContextText { get; }
Property Value
string
Get the delimiter of the control.
Declaration
public string Delimiter { get; }
Property Value
string
Get the drop down item count.
Declaration
public int DropDownItemCount { get; }
Property Value
int
Gets or set the empty message text of the SearchBox.
Declaration
public string EmptyMessage { get; set; }
Property Value
string
Get whether searchbox is enabled.
Declaration
public bool Enabled { get; }
Property Value
bool
Declaration
public HtmlDiv PopupDiv { get; }
Property Value
HtmlDiv
Get whether the popup is visible.
Declaration
public bool PopupVisible { get; }
Property Value
bool
Get the search context drop down item count.
Declaration
public int SearchContextDropDownItemCount { get; }
Property Value
int
Get whether searchbox search context is enabled.
Declaration
public bool SearchContextEnabled { get; }
Property Value
bool
Get the searchbox context popup div.
Declaration
public HtmlDiv SearchContextPopupDiv { get; }
Property Value
HtmlDiv
Get whether the search context popup is visible.
Declaration
public bool SearchContextPopupVisible { get; }
Property Value
bool
Gets the text of the SearchBox.
Declaration
public string Text { get; }
Property Value
string
Assign the DOM element to be the SearchBox control.
Returns RadControlAssert instance initialized for this control.
Declaration
public RadControlAssert ControlAssert()
Returns
RadControlAssert
RadControlAssert instance initialized for this control.
Hide the search context popup of the SearchBox.
Declaration
public void HideSearchBoxContextPopup()
Types the given text to the SearchBox input using default typing speed. Swows the drop down as well.
Types the given text to the SearchBox input using default typing speed. Swows the drop down as well.
Declaration
public void SetText(string text, ScrollToVisibleType scrollToVisibleType = ScrollToVisibleType.ElementTopAtWindowTop)
Parameters
string
The text to set.
ScrollToVisibleType
Specifies how element should be put into view.
Types the given text to the SearchBox input using default typing speed. Swows the drop down as well.
Declaration
public void SetText(string text, int typeSpeed, ScrollToVisibleType scrollToVisibleType = ScrollToVisibleType.ElementTopAtWindowTop)
Parameters
string
The text to set.
int
The typing speed (characters typing) in milliseconds.
ScrollToVisibleType
Specifies how element should be put into view.
Show the search context popup of the SearchBox.
Declaration
public void ShowSearchBoxContextPopup()