This project is read-only.

single page ASP MVC website

May 26, 2010 at 7:08 PM

I want to know if this music store MVC application follows single page MVC website logic?

What I mean is, I dont want to load left menu , header and footer for all the pages. For every menu link click, I just want to change content area. Actually this is one of the requirement for my project at my job.

Please help. I am new bee to MVC.

Jun 1, 2010 at 7:57 AM

I think this would be a great exercise for the reader! MVC doesn't prevent you from replacing the regular POST calls with AJAX calls, nor does it help much (since it is server technology, and what you want is to change client behavior). Take a look at Ajax.BeginForm() instead of Html.BeginForm(), or $.ajax() calls in jQuery.

Good luck! Your job depends on it!