jamesewelch

Stories submitted by jamesewelch

How to append options to CascadingDropDown after initially populated v(jamesewelch.com)

submitted by jamesewelchjamesewelch(2275) 1 year, 1 month ago

I needed to add additional dropdown options to a DropDownList web control in use by the Ajax Control Toolkit CascadingDropDown ASP.NET AJAX extender. The CascadingDropDown provided a means to get an automatic population of a set of options called by the web service. needed a way to append an “All” option to the drop down list, but I didn’t want to automatically include “All” as valid option in my Web Service. I wanted to append it on a specific form rather than as part of the data feed. read more...

add a comment |category: |Views: 8

tags: another

Free WPF Ribbon, BreadcrumbBar, CollapsiblePanel and ExplorerBar cntrl(coolthingoftheday.blogspot.com)

submitted by jamesewelchjamesewelch(2275) 2 years, 8 months ago

Controls included in Odyssey: RibbonBar BreadcrumbBar ExplorerBar OutlookBar Project download site at http://www.codeplex.com/odyssey read more...

add a comment |category: |Views: 227

tags: another

Review of SubSonic 3 from a SubSonic 2.x user perspective(jamesewelch.com)

submitted by jamesewelchjamesewelch(2275) 2 years, 9 months ago

A quick review of SubSonic 3.0.0.3 from the perspective of a developer who's implemented SubSonic 2.x on numerous projects. An overview of initial likes and dislikes and a little bit of code snippets to bring back 2.x functions missing from 3.0. read more...

4 comments |category: |Views: 578

tags: another

How to merge pages from a PDF document(jamesewelch.wordpress.com)

submitted by jamesewelchjamesewelch(2275) 2 years, 10 months ago

For this utility, imagine having a PDF document with pages that are 8 1/2″ x 11″ and you want to combine 2 pages into one larger page. The resulting output document would be 17″ x 11″ and show two pages from the input document on one page on the output document. read more...

add a comment |category: |Views: 27

tags: another

How to write an application supporting plug-ins(jamesewelch.com)

submitted by jamesewelchjamesewelch(2275) 3 years, 3 months ago

A simple walk through of creating a basic plug-in architecture for a .NET application. read more...

add a comment |category: |Views: 21

tags: another

How to serialize SubSonic objects with nullable properties(jamesewelch.com)

submitted by jamesewelchjamesewelch(2275) 3 years, 3 months ago

Recently, I ran into the following error when trying to serialize some SubSonic generated classes. "Cannot serialize member ‘XXX’ of type System.Nullable`1[XXX]. XmlAttribute/XmlText cannot be used to encode complex types." The SubSonic autogenerated classes cannot serialize nullable types such as DateTime? and GUID?. This is really a .NET serialization problem and not directly related to SubSonic, since the SubSonic library just uses the native .NET code for serialization. I'll describe 3 (or 4) different ways of getting around this problem. read more...

add a comment |category: |Views: 128

tags: another

Adding Save() functionality to Microsoft.Net.Mail.MailMessage(codeproject.com)

submitted by jamesewelchjamesewelch(2275) 3 years, 4 months ago

The MailMessage class provides functionality using the SmtpDeliveryMethod.SpecifiedPickupDirectory of SmtpClient to generate the emails to a file folder. However, I needed to control the filename used to output the email instead of using the SmtpClient's random Guid() approach. read more...

add a comment |category: |Views: 132

tags: another

How to create a delimited list of values from a one-to-many relations(jamesewelch.com)

submitted by jamesewelchjamesewelch(2275) 3 years, 4 months ago

Shows how to create a Microsoft SQL Server 2005 function to combine values from one-to-many child records into a single delimited field. read more...

add a comment |category: |Views: 18

tags: another

How to extract pages from a PDF document(jamesewelch.com)

submitted by jamesewelchjamesewelch(2275) 3 years, 6 months ago

Code example showing how to use iTextSharp to extract pages from a PDF file to make a new PDF file. read more...

add a comment |category: |Views: 208

tags: another

How to use custom audit fields with SubSonic(jamesewelch.com)

submitted by jamesewelchjamesewelch(2275) 3 years, 8 months ago

SubSonic uses a few audit fields by default - you don’t need to write any code. However, the field names that are used are coded into the source code. You can modify the source code and generate a new assembly, but if you’re like me and would rather not edit the source code (so you don’t need to update the code at every release), then you’ll be looking for an alternative approach. Three options are discussed: 1) Modify SubSonic source code, 2) Use partial classes for each table, 3) Create a custom template and base class read more...

2 comments |category: |Views: 215

tags: another

Visual Studio macro to add file headers(jamesewelch.com)

submitted by jamesewelchjamesewelch(2275) 3 years, 8 months ago

Microsoft’s StyleCop analyzes C# source code to enforce a set of style and consistency rules. It can be run from inside of Visual Studio or integrated into an MSBuild project. One of these rules is #SA1633. This rule requires that each of your files have a file header that contains a copyright XML element. Of course, you can disable this rule if you want through StyleCop settings. But just in case you have a similar rule at your work (or your own personal rule) or need to adhere to this rule, I’ll describe the situation and provide the macro below. read more...

add a comment |category: |Views: 170

tags: another

Create A Netflix/Blockbuster Style Pop-Up Using the AJAX Control Toolk(junnark.com)

submitted by jamesewelchjamesewelch(2275) 3 years, 8 months ago

I just recently signed up for NetFlix to get my videos over by mail. My wife in particular pointed out to me how nice the descriptions are being shown in a pop-up. Thereafter, I noticed that they have done super cool UIs all over their website. One of the things I got curious about was the way they showed descriptions of the movie by poping up a box with an arrow. The nice thing is that the box has a transparent shadow/glow in the back. I wanted to impress my wife and show her that this can be done easily. This article will show you how to show a pop up like the one mentioned above, both statically and dynamically by using the AJAX Control Kit's HoverPopUpMenu. read more...

add a comment |category: |Views: 81

tags: another

Free Data Structures and Algorithms book(dotnetslackers.com)

submitted by jamesewelchjamesewelch(2275) 3 years, 8 months ago

This book written by Granville Barnett and Luca Del Tongo is part of an effort to provide all developers with a core understanding of algorithms that operate on various common, and uncommon data structures. Data Structures and Algorithms: Annotated Reference with Examples is completely free! read more...

add a comment |category: |Views: 30

tags: another

New ASP.NET MVC Videos and Tutorials(weblogs.asp.net)

submitted by jamesewelchjamesewelch(2275) 3 years, 9 months ago

15 new ASP.NET MVC videos were just published at the http://www.ASP.net/mvc website. The first 10 videos are basic tutorials on the ASP.NET MVC framework. If you haven’t had a chance to play with ASP.NET MVC yet, these tutorials are a great introduction. The second set of 5 videos is part of an ongoing video series: ASP.NET MVC Pair Programming. In these videos, I pair with a prominent community expert to build an entire ASP.NET MVC application from start to finish (because of time constraints – a very, very simple application). The goal is to emphasize the process of building a web application instead of the product. read more...

add a comment |category: |Views: 262

tags: another

Over 60 Free Controls from DevExpress (devexpress.com)

submitted by jamesewelchjamesewelch(2275) 3 years, 9 months ago

Once you register, you will be forwarded an Email with your login credentials to our product download portal. With this information in hand, you will be able to download and install all the controls and tools listed above free of charge. The applications you create with these controls can be distributed royalty free (see the EULA that accompanies the products for more information). Note that the installation you download will include evaluation versions of our entire product line. You can install these trials if you wish during the setup process. Visual Studio 2005 and Visual Studio 2008 are fully supported. read more...

3 comments |category: |Views: 1057

tags: another

Egoless Programming - Developing Without the Attitude(mikebernat.com)

submitted by jamesewelchjamesewelch(2275) 3 years, 10 months ago

One of the most common threads that all programmers share is that of an ego. Some are much worse than others and some have found a way to control or manipulate their ego into a great benefit. Beyond skill-sets and other programming-specific talents I believe the greatest room for personal improvement in programmers as a whole is that of the ego. read more...

add a comment |category: |Views: 12

tags: another