Tag Archives: MVC

Managing multiple environments in asp.net applications

Managing projects in multiple environments can be a challenge. IT departments commonly have Development, Test, QA, and Production environments, each with distinct databases, WCF services and other settings. Deploying to these different environments requires careful attention to how these settings are stored in the web.config.

Posted in .Net, MVC, Visual Studio | Tagged | Leave a comment

Fixing Telerik error: “Microsoft JScript runtime error: Object doesn’t support this property or method”

I ran into this issue upgrading a site to use Telerik’s MVC controls. Once I added all the Telerik includes I would get the ‘Microsoft JScript runtime error: Object doesn’t support this property or method’ error on every page. Only happened in IE 8 though. After some troubleshooting I deduced the following line was throwing the error:

Posted in .Net, JQuery, MVC, Telerik | Tagged , , | Leave a comment

UI messaging in MVC

Handling errors and displaying information back to the user is a common task in developing web applications. Here is a simple way of managing that process.

Posted in .Net, MVC | Tagged , | 2 Comments

Implementing Delete Confirmation with JQuery

Implementing delete confirmation with JQuery is easy! Start by adding the class “confirmdelete” to your button or link in your view:

Posted in .Net, JQuery, MVC | Tagged , | 2 Comments

Setting default focus in MVC applications with JQuery

I build a lot of web-based form applications and one of the features I like to add is the ability to have the field focus set when a form is opened. Here is a fast and dirty way to do this for MVC applications.

Posted in MVC | Tagged , , | 4 Comments