jamesewelch

Stories kicked 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

Add a DotNetKicks Badge to your Site(dotnetkicks.com)

submitted by mhardymhardy(183) 2 years, 10 months ago

Drive more traffic to your site by adding the DNK badge, plugins for community server, graffiti, wordpress, and more! read more...

add a comment |category: |Views: 133

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

Lesser Known ASP.NET Performance Tips (geekswithblogs.net)

submitted by RhythmAddictRhythmAddict(440) 3 years, 4 months ago

A small collection of less-popular ASP.NET Performance Tips. read more...

2 comments |category: |Views: 833

tags: another

Saving DotNetKicks(nayyeri.net)

submitted by sharplifesharplife(4570) 3 years, 5 months ago

Keyvan wrote something about our popular social bookmarking site, DotNetKicks and talked about some spamming problems on DNK and discussed about saving DNK from this situation. A must read post for all DotNetKicks lovers! read more...

5 comments |category: |Views: 360

tags: another

New ASP.NET Charting Control(weblogs.asp.net)

submitted by craigtpcraigtp(683) 3 years, 6 months ago

From ScottGu's blog. Brand new, Free, ASP.NET 3.5 chart control. It looks very nice! read more...

1 comment |category: |Views: 890

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