New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Kendo UI ChartWizard TagHelper ChartWizardTagHelper class.

Definition

Namespace:Kendo.Mvc.TagHelpers

Assembly:Kendo.Mvc.dll

Syntax:

C#
[HtmlTargetElement("kendo-chartwizard")]
[RestrictChildren("data-columns", new string[] { "export-options", "messages", "state", "default-state", "datasource", "window" })]
public class ChartWizardTagHelper : TagHelperBase, ITagHelper, ITagHelperComponent, IDataBoundWidget<DataSourceTagHelper>

Inheritance: objectTagHelperTagHelperBaseChartWizardTagHelper

Implements: IDataBoundWidget<DataSourceTagHelper>ITagHelperITagHelperComponent

Inherited Members TagHelperBase.MinimumValidatorTagHelperBase.MaximumValidatorTagHelperBase.Init(TagHelperContext)TagHelperBase.Process(TagHelperContext, TagHelperOutput)TagHelperBase.GetInitializator()TagHelperBase.VerifySettings()TagHelperBase.SerializeTemplates()TagHelperBase.GenerateId(TagHelperOutput)TagHelperBase.CreateHandler(string)TagHelperBase.GetRangeValidationParameter<TValue>(ModelExplorer, string)TagHelperBase.ExtractEditFormat(string)TagHelperBase.ToDictionaryHandler(IDictionary<string, string>)TagHelperBase.AddSelfToTemplate(TagHelperContext)TagHelperBase.ViewContextTagHelperBase.GeneratorTagHelperBase.InitializerTagHelperBase.WriterTagHelperBase.ScriptAttributesTagHelperBase.NameTagHelperBase.IdTagHelperBase.SelectorTagHelperBase.IdPrefixTagHelperBase.IsInClientTemplateTagHelperBase.DeferredTagHelperBase.AsModuleTagHelper.Orderobject.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Example:

csharp
@addTagHelper *, Kendo.Mvc
@model List<Product>

 <kendo-chartwizard name="chartwizard">
     <datasource type="DataSourceTagHelperType.Ajax" server-operation="false" data="@Model">
     </datasource>
     <data-columns>
         <data-column field="ProductName" title="Product Name" />
         <data-column field="Quantity" />
     </data-columns>
 </kendo-chartwizard>

Constructors

Initializes a new instance of the ChartWizardTagHelper class.

C#
public ChartWizardTagHelper(IKendoHtmlGenerator generator)
Parameters:generatorIKendoHtmlGenerator

Properties

The collection of data items which the data source contains.

C#
public IEnumerable BindTo { get; set; }

The Id of the data source.

C#
public string DatasourceId { get; set; }

The name of the JavaScript function that will handle the change event. Triggered when the ChartWizard changes its state.

C#
public string OnChange { get; set; }

The name of the JavaScript function that will handle the close event. Triggered when a ChartWizard is closed either by the user or through the close() method.

C#
public string OnClose { get; set; }

The name of the JavaScript function that will handle the dataBinding event. Fired before the widget binds to its data source.

C#
public string OnDataBinding { get; set; }

The name of the JavaScript function that will handle the dataBound event. Fired when the widget is bound to data from its data source.

C#
public string OnDataBound { get; set; }

The name of the JavaScript function that will handle the exportImage event. Triggered when the ChartWizard export the chart to Image.

C#
public string OnExportImage { get; set; }

The name of the JavaScript function that will handle the exportPDF event. Triggered when the ChartWizard export the chart to PDF.

C#
public string OnExportPDF { get; set; }

The name of the JavaScript function that will handle the exportSVG event. Triggered when the ChartWizard export the chart to SVG.

C#
public string OnExportSVG { get; set; }

The name of the JavaScript function that will handle the kendoKeydown event. Triggered when the user presses a keyboard key while the ChartWizard is focused.The event handler function context (available via the this keyword) will be set to the widget instance.

C#
public string OnKendoKeydown { get; set; }

The name of the JavaScript function that will handle the open event. Triggered when a ChartWizard is opened through the open() method.

C#
public string OnOpen { get; set; }

Sets the configuration of the chart wizard window.

C#
[HtmlAttributeNotBound]
public Dictionary<string, object> WindowSettings { get; set; }

Methods

Gets the initialization script.

C#
protected override string GetInitializationScript()
Returns:

string

The initialization script.

Overrides: TagHelperBase.GetInitializationScript()

C#
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Parameters:contextTagHelperContextoutputTagHelperOutputReturns:

Task

Overrides: TagHelper.ProcessAsync(TagHelperContext, TagHelperOutput)

Serializes the defined settings.

C#
public override IDictionary<string, object> Serialize()
Returns:

IDictionary<string, object>

Overrides: TagHelperBase.Serialize()

SerializeEvents method.

C#
protected override Dictionary<string, object> SerializeEvents()
Returns:

Dictionary<string, object>

Overrides: TagHelperBase.SerializeEvents()

SerializeSettings method.

C#
protected override Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>

Overrides: TagHelperBase.SerializeSettings()

Writes the HTML output.

C#
protected override void WriteHtml(TagHelperOutput output)
Parameters:outputTagHelperOutput

The TagHelper output.

Overrides: TagHelperBase.WriteHtml(TagHelperOutput)