WizardStepBuilderGeneric
Properties
Container - WizardStepGeneric
Methods
Buttons(System.Action)
Allows configuration of the buttons to be rendered on each step. If the array contains strings, those values will be taken as Buttons names. If the array contains objects, those will be used when initializing the actual Button instances on each step.
Parameters
configurator - System.Action<WizardStepButtonFactory>
The configurator for the buttons setting.
Example
@(Html.Kendo().Wizard()
.Name("wizard")
.Steps(steps =>
{
steps.Add().Title("Welcome")
.Buttons(b =>
{
b.Next();
});
})
)
Content(System.String)
Specifies the HTML string content to be rendered in the step.
Parameters
value - System.String
The value for Content
Example
@(Html.Kendo().Wizard()
.Name("wizard")
.Steps(steps =>
{
steps.Add().Title("Welcome").Content("Some Content");
})
)
ContentId(System.String)
Specifies the id of a DOM element, which content to be used as a content of the current step.
Parameters
value - System.String
The value for ContentId
Example
@(Html.Kendo().Wizard()
.Name("wizard")
.Steps(steps =>
{
steps.Add().Title("Welcome").ContentId("content");
})
)
ContentUrl(System.String)
Specifies an endpoint which the step content should be loaded from.
Parameters
value - System.String
The value for ContentUrl
Example
@(Html.Kendo().Wizard()
.Name("wizard")
.Steps(steps =>
{
steps.Add().Title("Welcome").ContentUrl(Url.Content("~/shared/web/wizard/ajax/ajaxContent1.html"));
})
)
ClassName(System.String)
Specifies a custom class that will be set on the step container element.
Parameters
value - System.String
The value for CustomClass
Example
@(Html.Kendo().Wizard()
.Name("wizard")
.Steps(steps =>
{
steps.Add().Title("Welcome").ClassName("myClass");
})
)
Enabled(System.Boolean)
Specifies whether the step is enabled or not.
Parameters
value - System.Boolean
The value for Enabled
Example
@(Html.Kendo().Wizard()
.Name("wizard")
.Steps(steps =>
{
steps.Add().Title("Welcome").Enabled(true);
})
)
Icon(System.String)
Specifies the Stepper's step icon.
Parameters
value - System.String
The value that configures the icon.
Example
@(Html.Kendo().Wizard()
.Name("wizard")
.Steps(steps =>
{
steps.Add().Icon("k-i-home").ContentUrl(Url.Content("~/shared/web/wizard/ajax/ajaxContent1.html")).Title("Welcome")
.Buttons(b =>
{
b.Next();
});
})
)
IconTemplate(System.String)
Specifies the Stepper's step iconTemplate.
Parameters
value - System.String
The value that configures the iconTemplate.
Example
@(Html.Kendo().Wizard()
.Name("wizard")
.Steps(steps =>
{
steps.Add().IconTemplate("<i @class='k-icon k-i-home'></i>").ContentUrl(Url.Content("~/shared/web/wizard/ajax/ajaxContent1.html")).Title("Welcome")
.Buttons(b =>
{
b.Next();
});
})
)
IconTemplateId(System.String)
Specifies the Stepper's step iconTemplateId.
Parameters
value - System.String
The value that configures the iconTemplateId.
Example
@(Html.Kendo().Wizard()
.Name("wizard")
.Steps(steps =>
{
steps.Add().IconTemplateId("homeTemplate").ContentUrl(Url.Content("~/shared/web/wizard/ajax/ajaxContent1.html")).Title("Welcome")
.Buttons(b =>
{
b.Next();
});
})
)
Pager(System.Boolean)
Specifies whether the pager will be rendered on the current step or not.
Parameters
value - System.Boolean
The value for Pager
Example
@(Html.Kendo().Wizard()
.Name("wizard")
.Steps(steps =>
{
steps.Add().Pager(true);
})
)
Title(System.String)
Specifies a title of the current step.
Parameters
value - System.String
The value for Title
Example
@(Html.Kendo().Wizard()
.Name("wizard")
.Steps(steps =>
{
steps.Add().Title("My Title");
})
)