Kendo UI service TagHelper GridSmartBoxAiAssistantSettingsServiceSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
C#
[HtmlTargetElement("service", ParentTag = "ai-assistant-settings", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class GridSmartBoxAiAssistantSettingsServiceSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseGridSmartBoxAiAssistantSettingsServiceSettingsTagHelper
Implements:
Inherited Members
Example:
csharp
@addTagHelper *, Kendo.Mvc
@{
var headers = new { Authorization = "Bearer token" };
}
<kendo-grid name="grid">
<smart-box>
<ai-assistant-settings>
<service headers="headers" />
</ai-assistant-settings>
</smart-box>
</kendo-grid>
Constructors
Initializes a new instance of the GridSmartBoxAiAssistantSettingsServiceSettingsTagHelper class.
C#
public GridSmartBoxAiAssistantSettingsServiceSettingsTagHelper()
Properties
The additional headers sent with the request to the AI service.
C#
public object Headers { get; set; }
The additional data sent with the request to the AI service.
C#
public object RequestData { get; set; }
The name of a JavaScript function that returns additional data to send with the AI service request.
C#
public string RequestDataHandler { get; set; }
Methods
Adds the current instance to the parent TagHelper, if applicable.
C#
protected override void AddSelfToParent(TagHelperContext context)
Overrides:
C#
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides:
Serializes the defined settings.