ProgressBarEventBuilder
Methods
Change(System.String)
Fired when the value of the ProgressBar has changed. If the progress animation is enabled, the event will be fired after the animation has completed (does not applies to chunk ProgressBar).
For more information see Change event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the change event.
Example
@( Html.Kendo().ProgressBar()
.Name("progressBar")
.Events(events => events.Change("onChange"))
)
Change(System.Func)
Fired when the value of the ProgressBar has changed. If the progress animation is enabled, the event will be fired after the animation has completed (does not applies to chunk ProgressBar).
For more information see Change event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
Example
@( Html.Kendo().ProgressBar()
.Name("progressBar")
.Events(events => events.Change(
@<text>
function(e) {
//event handling code
}
</text>
))
.Render();
)
Complete(System.String)
Fired when the value of the ProgressBar reaches the maximum value.
For more information see Complete event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the complete event.
Example
@( Html.Kendo().ProgressBar()
.Name("progressBar")
.Events(events => events.Complete("onComplete"))
)
Complete(System.Func)
Fired when the value of the ProgressBar reaches the maximum value.
For more information see Complete event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
Example
@( Html.Kendo().ProgressBar()
.Name("progressBar")
.Events(events => events.Complete(
@<text>
function(e) {
//event handling code
}
</text>
))
.Render();
)