Category Archive: dev

Oct 30

On Master Pages and Visual Web Developer Express

Ugh, there's a bug in Visual Web Developer Express 2008, you need to open the master page AND HAVE THAT BE THE ONLY FILE THAT'S OPEN in order to open content pages that are based on the master page and use the "display" mode. Lame.

Jan 21

Justification and Orphans with paragraphs displayed on the web

What do you know! You can fully justify text using CSS (text-align: justify). You can also control orphans (single words on a line at the end of a paragraph) by adding a <span> element and setting the white-space style to no-wrap (white-space: nowrap). Who knew! As a note, the Chicago Manual of Style is silent …

Continue reading »

Aug 29

Convoluted Matching using Expression Web and Excel

Today, I was able to take a list if the customer names and account numbers from a text file and associate them with the account numbers in an excel file. First, I filtered the list (accepting only lines with a "-" in them). replaced… {.*}{[0-9][0-9][0-9]-[0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]}{.*} …with… 1t2t3 …in Expression Web. Then, I pasted that to …

Continue reading »

Jul 25

Sending E-mail from ASP.NET

Sending e-mail from ASP.net is not as hard as it could be. You just need to know all the information that you'd normally need to know for setting up a SMTP client…like Outlook Express. I had read that you need to set up an SMTP server on the IIS server that you're running in order …

Continue reading »