Category

ASP.NET

That Conference 2016

I’m about a week out from attending That Conference 2016 in the Wisconsin Dells. This has been my 2nd year attending, and I can’t say enough good things about it. Clark and an army of volunteers do a tremendous job of running this year after year, and it’s greatly appreciated by all. This year was better than ever. I got to meet so many cool people from all over the Midwest, and even som…

How to put your ASP.NET webforms or MVC app into maintenance mode

This post is about a very helpful, yet largely unknown feature of ASP.NET applications hosted in IIS. A built in maintenance mode so to speak. The app_offline page.

If you want to put one of your ASP.NET web apps into maintenance mode, simply create a maintenance .htm page with the markup you want, and name it app_offline.htm. By placing this into the root of your application, IIS w…

Creating a collapse all, expand all button on the Kendo UI Grid

The Kendo UI grid has some great functionality out of the box, especially it’s ability to handle hierarchcal data with detail item templates.

I wanted to include a expand/collapse all button right within my grid. Here was the code I used to do it. Credit to Daniël from http://www.telerik.com/forums/collapse-all-grid-rows on giving me the code I needed to perform the collapse/expand on a…

Preventing Enter button from expanding detail rows on Kendo UI Grid

Admittedly this is a pretty custom/specific use of the Kendo UI Grid, but just in case someone else needs to do this type of thing, you never know…
Scenario:
I have an application that makes use of the Kendo UI grid. Specifically the hierarchacal version of the grid with expanding detail rows.

The grid uses inline batch editing, and there is a requirement that some rows will have expanding…

Unobtrusive Validation with Kendo UI DropDownList

Really short post here. If you are trying to use jQuery unobtrusive validation with Kendo UI’s DropDownList , you might notice that it doesn’t work right out of the box. The form will simply validate, and will not actually check your selected value. This is a pain if you’re trying to validate that a field is required.

Since jQuery validate 1.9+, by default, hidden fields will not b…

VSLive 2015 in Austin, TX!

I’m writing this post from the Austin airport as I’m getting ready to head home after a very educational 4 days in Austin for VSLive 2015. I wanted to quickly write down a lot of key points from all of the sessions I attended. I figure writing about something is a good way to retain a lot of it. All of them were very interesting and everything was run very smoothly, overall a great…

Custom 401 error pages in MVC alongside Windows Authentication

We use windows authentication for a lot of our web apps, but also want to serve up a custom 401 error page when users are not authorized to log in. This is tricky because this specific 401 error is handled directly by IIS, rather than the application itself, because it’s a windows directory permission. I spent quite a bit of time searching for an elegant solution to this, but really came up wit…

nopCommerce 2.40 Operation could destabilize the runtime error Fix

Recently my web hosting provider decided to upgrade to .NET 4.5 , and as you may or may not know, .NET 4.0 and .NET 4.5 do not run side by side. This may cause some breaking changes in your 4.0 applications without you even knowing it, which is what happened to me. I was suddenly getting a “Operation could destabilize the runtime” error when navigating to my nopCommerce site… that was a new…

MVC Controller Best Practices

Here are a few basic best practice guidelines to keep in mind when writing your controllers using the MVC pattern with ASP.NET MVC.

Keep controllers “skinny, keep action methods small

Your controller actions should be kept as small as possible, with business logic living in your models.  “Fat Model, Skinny Controller” is the motto. Here is a weird reminder of that  😯

Use an…

MVC Model Binding Not Working with Fields

This will be a very quick/simple post.

Maybe this is very clear to most people when they start out developing with ASP.NET MVC but it was not right away with me…

When you are using 2-way model binding in MVC to bind your model to your view and back again, you MUST use properties with getters/setters, not fields.
//Will NOT bind ok public class BindingModel {
int ID;
string…

Testimonials

What My Clients Say

Karin - Hope and Future

Brent has always been very prompt and generally exceeds our expectations with his work. His maintenance fee is very reasonable. I strongly recommend him!  We get many compliments on our beautiful web site!

Dan

I contacted Krueger Web Design and Brent did everything.  He setup a test site with the changes so we could verify everything was correct before we transferred from my old hosting provider.  During the setup and conversion Brent was extremely professional and responsive. He responded to any issues the same day.

Dan Kaufman
Emily - GFCLT

We've had a great experience working with Krueger Web Design. Prompt responses, great ideas, effective work... all at a reasonable price! This was the perfect fit for our organization.

Mahmud - ACMC

I would love to recommend you to anyone! You have been very helpful when we needed you the most.

Brian - SEMNIC

Working with Krueger Web Design was effortless. Communicating what I wanted for the website and the results that I saw were identical. The customer service was always prompt and I am completely satisfied with the product.

Zach - Stadium Club

Exactly what I wanted! Fast turnaround time and very affordable. Answered all of our questions quickly and made adjustments promptly. Very easy to work with and puts everything into terminology that even I can understand!

Contact Krueger Web Design

Have a question for me? Need an estimate on some work? You can email me at brent@kruegerwebdesign.com or drop me a line using the button below:

Copyright © 2017 Krueger Web Design - All rights reserved
Web Design in Madison, WI