Posts Tagged ‘Basic MVC’
Today, in our MVC project, we’re going to be creating four url routes and four webpages. Each of the four new routes, as you might expect, point to one of our four new webpages.
Today should be easy. Like, “eating cake” easy. Or, “sleeping” easy. In less than five minutes, we’ll be creating, unit testing, and running an MVC Web Application in Visual Studio 2010.
Are you tired of waiting around for something good to happen? Want to conjure a “thing” out of nothing (in spite of Modest Mouse)? Have an idea for a website but need the extra support/know-how to get it off the ground? Well, look no further!
Like to Read About MVC? Check out my personalized list of the Best Asp.Net MVC Books. And chime in with your own favorites, if you’d like.
To finish off my Partial Modal Popup series, I promised a demo. Without further ado, I’ve included the demo here for your downloading pleasure. Enjoy. And please let me know if you have any issues.
In my previous post, we built a modal popup that grabbed its contents from a good old-fashioned MVC partial. In this post, we’ll go a step further. We’ll handle a form submission in our modal popup, and, when necessary, we’ll update the modal popup with validation messages sent back to us by the server. It doesn’t look like much, but it’s a technique that takes a little tender love and care.
For exemplary purposes, we’ll be creating one of those borderline-cliche “Sign In” popups. The content in our popup will reside in a partial control (.ascx page), and we’ll be magically rendering the popup as a modal element using jQuery (heard of it?) and colorbox. Fun times.

