TabStripEventBuilder
Methods
Activate(System.String)
Triggered after a tab is being made visible and its animation complete. Before Q2 2014 this event was invoked after tab show, but before the end of the animation. This event is triggered only for tabs with associated content.
For more information see Activate event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the activate event.
Example
@(Html.Kendo().TabStrip()
.Name("tabstrip")
.Events(events => events
.Activate("onActivate")
)
)
Activate(System.Func)
Triggered after a tab is being made visible and its animation complete. Before Q2 2014 this event was invoked after tab show, but before the end of the animation. This event is triggered only for tabs with associated content.
For more information see Activate event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
Example
@(Html.Kendo().TabStrip()
.Name("tabstrip")
.Events(e => e.Activate(
@<text>
function(e){
event handling code
}
</text>
))
)
ContentLoad(System.String)
Triggered when content is fetched from an AJAX request.
For more information see ContentLoad event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the contentLoad event.
Example
@(Html.Kendo().TabStrip()
.Name("tabstrip")
.Events(events => events
.ContentLoad("onContentLoad")
)
)
ContentLoad(System.Func)
Triggered when content is fetched from an AJAX request.
For more information see ContentLoad event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
Example
@(Html.Kendo().TabStrip()
.Name("tabstrip")
.Events(e => e.ContentLoad(
@<text>
function(e){
event handling code
}
</text>
))
)
Error(System.String)
Triggered when an AJAX request results in an error.
For more information see Error event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the error event.
Example
@(Html.Kendo().TabStrip()
.Name("tabstrip")
.Events(events => events
.Error("onError")
)
)
Error(System.Func)
Triggered when an AJAX request results in an error.
For more information see Error event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
Example
@(Html.Kendo().TabStrip()
.Name("tabstrip")
.Events(e => e.Error(
@<text>
function(e){
event handling code
}
</text>
))
)
Select(System.String)
Triggered before a tab is selected.
For more information see Select event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the select event.
Example
@(Html.Kendo().TabStrip()
.Name("tabstrip")
.Events(events => events
.Select("onSelect")
)
)
Select(System.Func)
Triggered before a tab is selected.
For more information see Select event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
Example
@(Html.Kendo().TabStrip()
.Name("tabstrip")
.Events(e => e.Select(
@<text>
function(e){
event handling code
}
</text>
))
)
Show(System.String)
Triggered just after a tab is being made visible, but before the end of the animation. Before Q2 2014 this event was called activate.
For more information see Show event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the show event.
Example
@(Html.Kendo().TabStrip()
.Name("tabstrip")
.Events(events => events
.Show("onShow")
)
)
Show(System.Func)
Triggered just after a tab is being made visible, but before the end of the animation. Before Q2 2014 this event was called activate.
For more information see Show event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
Example
@(Html.Kendo().TabStrip()
.Name("tabstrip")
.Events(e => e.Show(
@<text>
function(e){
event handling code
}
</text>
))
)