ClassGridToolBarSmartBoxToolSemanticSearchSettings
Specifies settings.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class GridToolBarSmartBoxToolSemanticSearchSettings : GridToolBarSmartBoxToolSearchSettingsBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseBaseComponentGridToolBarSmartBoxToolSearchSettingsBaseGridToolBarSmartBoxToolSemanticSearchSettings
Implements:
Inherited Members
Constructors
GridToolBarSmartBoxToolSemanticSearchSettings()
Declaration
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.
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
[Parameter]
public EventCallback<GridSmartBoxSemanticSearchEventArgs> OnSearch { get; set; }
Property Value
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
[Parameter]
public string Placeholder { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides
SetParametersAsync(ParameterView)
Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
parameters
Returns
Overrides