Class
GridToolBarSmartBoxToolSemanticSearchSettings

Specifies settings.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class GridToolBarSmartBoxToolSemanticSearchSettings : GridToolBarSmartBoxToolSearchSettingsBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Inheritance: objectComponentBaseBaseComponentGridToolBarSmartBoxToolSearchSettingsBaseGridToolBarSmartBoxToolSemanticSearchSettings

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

Inherited Members GridToolBarSmartBoxToolSearchSettingsBase.ChildContentGridToolBarSmartBoxToolSearchSettingsBase.EnabledBaseComponent.ShouldRender()BaseComponent.OnAfterRenderAsync(bool)BaseComponent.Dispose()BaseComponent.InitLocalizer()BaseComponent.ThrowIfParameterIsNull(object, string)BaseComponent.HaveOptionsChanged(IDictionary<string, object>, IDictionary<string, object>)BaseComponent.GetClassString(params string[])BaseComponent.InvokeAsync<T>(string, params object[])BaseComponent.InvokeAsync<T>(string, CancellationToken, params object[])BaseComponent.InvokeVoidAsync(string, params object[])BaseComponent.InvokeComponentMethodAsync<T>(string, params object[])BaseComponent.InvokeComponentMethodAsync<T>(string, CancellationToken, params object[])BaseComponent.InvokeVoidComponentMethodAsync(string, params object[])BaseComponent.InvokeComponentVoidMethodAsync(string, object)BaseComponent.InvokeDisposeAsync()BaseComponent.StateHasChanged()BaseComponent.RootComponentBaseComponent.ClassComponentBase.OnInitialized()ComponentBase.OnParametersSet()ComponentBase.OnAfterRender(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)ComponentBase.DispatchExceptionAsync(Exception)

Constructors

GridToolBarSmartBoxToolSemanticSearchSettings()

Declaration

cs-api-definition
public GridToolBarSmartBoxToolSemanticSearchSettings()

Properties

DebounceDelay

Specifies the delay in milliseconds before triggering semantic search after the user stops typing. Semantic search typically involves AI processing which can be more resource-intensive than regular search. Defaults to 900 milliseconds (higher than regular search) to reduce unnecessary AI calls while typing. Adjust based on your AI service response times and user experience preferences.

Declaration

cs-api-definition
[Parameter]
public int DebounceDelay { get; set; }

Property Value

int

OnSearch

Fires when the user performs a semantic search operation from the Grid toolbar SmartBox. The event args (GridSmartBoxSemanticSearchEventArgs) contain the natural language query entered by the user. Use this to integrate with AI/ML services, vector databases, or semantic search APIs to find contextually relevant results. Unlike standard search, semantic search understands intent and meaning rather than exact text matches. Works with DebounceDelay to control when searches are triggered.

Declaration

cs-api-definition
[Parameter]
public EventCallback<GridSmartBoxSemanticSearchEventArgs> OnSearch { get; set; }

Property Value

EventCallback<GridSmartBoxSemanticSearchEventArgs>

Placeholder

Defines the placeholder text shown in the semantic search input when empty. Guides users to enter natural language queries instead of exact text matches. Defaults to a localized prompt encouraging conversational search. Example: "Ask a question about your data...".

Declaration

cs-api-definition
[Parameter]
public string Placeholder { get; set; }

Property Value

string

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

cs-api-definition
protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

OnInitializedAsync()

Declaration

cs-api-definition
protected override Task OnInitializedAsync()

Returns

Task

Overrides GridToolBarSmartBoxToolSearchSettingsBase.OnInitializedAsync()

OnParametersSetAsync()

Declaration

cs-api-definition
protected override Task OnParametersSetAsync()

Returns

Task

Overrides GridToolBarSmartBoxToolSearchSettingsBase.OnParametersSetAsync()

SetParametersAsync(ParameterView)

Declaration

cs-api-definition
public override Task SetParametersAsync(ParameterView parameters)

Parameters

parameters

ParameterView

Returns

Task

Overrides GridToolBarSmartBoxToolSearchSettingsBase.SetParametersAsync(ParameterView)