开发者

Multi-step creation wizard using AJAX and JQuery

开发者 https://www.devze.com 2022-12-26 07:43 出处:网络
I\'m in the process of redesigning a creation wizard in our ASP.NET MVC 2 application. Our current method is to have different pages for each step and navigate between them. While this works, it\'s a

I'm in the process of redesigning a creation wizard in our ASP.NET MVC 2 application.

Our current method is to have different pages for each step and navigate between them. While this works, it's a bit slow and annoying to navigate.

I was looking to use JQuery and AJAX to make this feel a bit more dynamic and to also use client side validation.

I have investigated using Ajax.BeginForm() to post back the individual steps of the wizard, and have that post return the partial view containing the new form with the next step of the wizard. That way, I can do client-side validation on each step.

With this in mind, is Ajax.BeginForm() a better method than using the JQuery form plugin? Has anyone found any major issues with either approach?

Does anyone hav开发者_如何学Pythone any other suggestions i haven't thought of?


Have you seen this? Form Wizard It breaks down large forms into multiple steps and AJAX moves through the steps automatically. I have looked at in briefly, but don't have alot of experience with it. Let me know if you try it and if it is any good :)


Just to put a footnote on this, I ended up not using a wizard and redesigned the creation process using AJAX loading, jQuery UI widgets and a lot of manual jQuery.

0

精彩评论

暂无评论...
验证码 换一张
取 消