Useful jQuery Tips, Tricks, and Plugins with ASP.NET MVC

I’ve given several User Group talks thus far, but this morning I gave my first conference presentation this morning at CodeStock in Knoxville, TN.

Thanks to all that came out to the talk. I hope you found some useful tips &| tricks that you can your in your near to short term development.

If you were able to attend the presentation could you please consider filling out a rating of the talk to help assist me become a better presenter?

Feel free to grab the sample code that I used during my presentation. Since I used Google Docs Presentation for my slides I am going to embed those here for your review.

Personally, I like it when people post their slides & code on their blog, but then several months down the line it is difficult to find that information again…

So, I plan to split apart the presentation into numerous detailed blog posts for those that were unable to make CodeStock and for those who would like to find the material easier in the future.

Thanks again for all of you who attended my presentation. I look forward to the rest of the conference.

Read More »

Design Patterns and Dependency Injection

I just got back from a great nPlus1.org ArcSummet event at the local Nashville Microsoft office.

Brian Prince and James Bender presented the following topics…

Session One: Software Patterns by Brian Price
Patterns are an important tool to use as architects and developers. They provide a common vocabulary for us to design with, as well as a common approach to a common problem. Come learn about useful patterns, and how to use them in your everyday code.

Resources

Contact Information


Session Two: How I Learned To Love Dependency Injection by James Bender
Dependency Injection is one of those scary topics that most developers avoid. It sounds all ‘high-falootin’ and complex. It’s not. Really. We wouldn’t lie. It’s a great way to manage complexity in your system, and a great way to make your system so much more testable. And isn’t that what we all want?

Resources

Contact Information

Read More »

ASP.NET CheckBoxList Align When Wrapping

I have been recently tasked with making a new Theme for a ASP.NET project at work. I was told that I could only update the Theme folder and nothing else (not C#, not JavaScript, not jQuery, etc…).

Part of the requirements for the new theme is that it be friendly to older users (a.k.a. use bigger fonts).

As I made the fonts bigger in the site a lot of text started to wrap in places that it hadn’t before (like the checkboxlists for example).

This is where the ASP.NET CheckBoxList comes into play. When the labels next to the checkboxes gets longer it doesn’t wrap nicely…

CheckListBefore

Instead, I need the wrapped text to align nicely under the text above next to the checkbox like…

CheckListAfter

At first, I was like… “Ohh, that shouldn’t be a big deal”, but then I realized I was dealing with a table, tr, td, etc…

I did a quick Google search and found a lot of other people having the same problem, but in all of the cases no one had a solution or the responders of the questions said it wasn’t doable.

So, I thought I would take a stab at it myself. Here is what I came up with which appears to work in IE6, IE7, and Firefox 3. For some reason it doesn’t work in IE8 and Chrome 3 (which does bother me, but I’ll investigate more later).


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">


CheckBoxList Align when Wrapping



















You are also welcome to view the demo of the above code sample.

Note: If you can fix the code to work in IE8 and Chrome 3 that would be greatly appreciated. If so, please post a comment with your solution!

Read More »

jQuery Resource Collection

I recently started a Google Spreadsheet to include top resources for jQuery such as where to get started, great plugins, helpful tools, useful cheat sheets, quick tutorials, etc… (accessible via the tabs at the bottom of the spreadsheet)

<p>I’ve only just begun to fill out the Spreadsheet, but I have already shown several people and told them I would post it online as a resource for them.</p>    <p>I hope to maintain this list not only for myself, but also to assist those that are looking for good resources. I envision more tabs being created in the near future (such as Unit Testing Frameworks, etc…)</p>     <p><strong>Note</strong>: Make sure to click the tabs at the bottom on the above spreadsheet... like the Tutorials, Plugins, Tools, Cheat Sheets, and whatever else might be there in the near future :)</p> <p>If you have a great resource you would like to recommend to this list, please leave a comment and I will consider adding it.</p>
Read More »

TweetDeck vs. Seesmic

To TweetDeck or not to TweetDeck? That is the question…

Seriously, with the recent release of Twhirl’s big daddy Seesmic, should you abandon TweetDeck and change your loyalties?

Well, there are two main reasons why you may consider changing your twitter client…

  1. Smaller Footprint
  2. Supports Multiple Accounts

For more information

Seesmic Desktop doesn't have TweetDeck's voracious appetite for RAM. At startup it weighed in at about 65Mb and has reached 79Mb after letting it run overnight. Leaving TweetDeck on would typically result in anywhere between 300 and 600Mb of memory consumed. Seesmic also supports multiple Twitter accounts, so it bests TweetDeck beaten on two fronts. --Seesmic Desktop packs TweetDeck's features with a smaller footprint

I’ve been using Seesmic for the past week or so and I’ve found it to be very refreshing. Most of the features from TweetDeck are present in Seesmic and I would imagine in the near future the gap between them will become even closer.

Read More »