Registering Custom HttpModule in IIS7 Web.config

24. July 2009
I’ve been writing an Error Hander HttpModule for a current ASP.NET WebForm project and things were going well until my last merge with TFS. All of a sudden, my HttpModule wouldn’t register anymore. For the life of me I couldn't’ figure out what had changed. I spent half the day trying to figur... [More]

ASP.NET, IIS, Visual Studio , ,


Telerik RadControls for ASP.NET AJAX Giveaway

24. July 2009
In case you haven’t noticed, I’ve recently switched from using Blogger to using dasBlog hosted on ORCS Web and in an effort to help the transition I thought it would be fun to have a giveaway. Telerik has graciously accepted to offer a Developer’s License (with Subscription and Priority Support) t... [More]

AJAX, ASP.NET, Giveaway , ,


Easily Share Code with these 8 Online Tools

17. July 2009
I got the following tweet yesterday… damanlovett: @elijahmanor You seem like a #jquery guru. ? 4 U, is it possible to use a dialog box to submit form data. And as it turned out, I had just had issues with submitting form data with the jQuery BlockUI Plugin the previous day & was able to find a work around (as I blogged hours after he asked me).

Although I blogged about a workaround hours later, I thought he might need a quicker answer so I went on the lookout for an online code sharing website to post and share the code with him.

I’ve used one or two of these services in the past, but at the time I was drawing a blank so I tweeted the question…

DSCN8389_normal  elijahmanor: I'm having a brain freeze... what is that service where you can post a snippet of code online & get a URL to share w/ others?

Moments later I was flooded with lots of different online options to share code.

Here are 8 online services that I received via twitter replies or that I found separately…

[More]

Blog


Using jQuery BlockUI Plugin with ASP.NET Input Form

15. July 2009
I was recently working on an ASP.NET WebForm project where it made sense to use a modal dialog to confirm choices, to ask for additional information, etc… I’ve used the jQuery BlockUI Plugin before and I’ve always thought it provided a good mix of nice features as well as extreme customization. Ii... [More]

ASP.NET, jQuery ,


ASP.NET MVC & jQuery Part 3: MvcContrib Grid & jQuery Plugins

8. July 2009

This is the 3rd blog post in a series taken from a recent ASP.NET MVC & jQuery presentation I gave at CodeStock. The previous blog posts are available here...

  1. Part 1: Adding jQuery Intellisense to VS 2008
  2. Part 2: Zebra Striping

MVC Contrib Grid Component

The ASP.NET MVC 1.0 Release has a lot of great things included in it, but there is another open source project called MVC Contrib that fills many gaps and compliments the core functionality.

In this blog post I want to demonstrate how you can use the MVC Contrib Grid Component in conjunction with two different jQuery plugins to provide rich functionality inside a simple and clean View.

First lets review why you might want to use the MVC Contrib Grid Component.

  • Provides a Fluent Interface
  • Discourages Logic in your View
  • Provides Reusable Grid Models
  • Customizes Grid Rendering
  • Includes a Separate Pagination Component

If the above bullet items interest you, then check out the 5 part blog series on the MVC Contrib Grid Html Helper by Jeremy Skinner.

Enough of describing the component, lets start using the MVC Contrib Grid. After adding a reference to the MvcContrib assembly to your project you can proceed adding the Grid to your View…


[More]

ASP.NET MVC, jQuery ,