RadWizard demo - Server Side

2 posts, 0 answers
  1. Pavol
    Pavol avatar
    1 posts
    Member since:
    Dec 2011

    Posted 20 Feb 2017 Link to this post


    I am reffering to this demo of Wizard: http://demos.telerik.com/aspnet-ajax/wizard/overview/defaultcs.aspx

    Initial disabling of all tabs but first, and then enabling next tab on "Next" button works well until your Wizard do any postback. For example try to add OnNextButtonClick handler to wizard and tabs enabling/disabling works no more.

    Could you please provide an example how to achieve correct funcionality of enabling tabs on server side?




  2. Peter Milchev
    Peter Milchev avatar
    520 posts

    Posted 23 Feb 2017 Link to this post

    Hello Pavol,

    That is an expected behavior because when a postback is triggered the control is loaded again and in the OnClientLoad event handler, all steps except the first one are disabled.

    One possible workaround is to disable the steps that are after the after the active one using the following code:
    window.OnClientLoad = function (sender, args) {
        for (var i = sender.get_activeIndex() + 1; i < sender.get_wizardSteps().get_count() ; i++) {

    Peter Milchev
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top