Wizard (asp.net mvc) wait for response before next step

1 Answer 112 Views
Wizard
Azhar
Top achievements
Rank 1
Iron
Azhar asked on 29 Jul 2021, 12:01 PM

I am building a wizard using Kendo asp.net mvc Wizard control.

I was wondering if there is a way to wait for an ajax response before proceeding to next step when required.

Eg: The wizard allows the user to add a user for the organization. One of the steps in between lets user choose a department, or create new one. If the user opts to create a new department,  I call an ajax request which creates a department. All good till now.

However, I want to confirm the creation of the new department before user is shown the next step. If the department record creation is successful, next step is loaded. If not, the user stays in the same step.

Is this possible

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 03 Aug 2021, 07:53 AM

Hi Azhar,

 

Thank you for writing to us.

I have a very nice sample for you - Wizard with server-side form validation. You can use the same logic for achieving this requirement.

Feel free to check this implementation and let me know if it helps you.

 

Regards,
Eyup
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Wizard
Asked by
Azhar
Top achievements
Rank 1
Iron
Answers by
Eyup
Telerik team
Share this question
or