Using an Updatepanel in a Usercontrol for you ASP.Net Website

September 13, 2012

Normally putting controls into an ascx file in your website is a great way to make your code easier to digest. Especially on some pages that can have some thousands of lines of code. It helps to keep your sanity at times. And use the search function less.
Read more

ASP.Net C# Gridview Delete Confirmation When Using a CommandField

July 28, 2011

I’m working on a Gridview and ran into an issue where I couldn’t use a templatefield for my Delete link and I needed a Delete Confirmation. Looking on Google the most widely used option is to simply use a templatefield.¬†Finally after 2 days of looking I found a reference for adding the Delete confirmation on a Microsoft MSDN tutorial.

Read more

ASP.Net C# Gridview Delete Not Deleting When Using SQLDataSource

July 14, 2011

Normally the ASP.Net Gridview control handles the delete of a row just fine. However when you have to delete a row from a table with no primary key the delete will not work if you are using a sqldatasource. After a little research I found an answer.

Read more

Google Chrome – Resource interpreted as document but transferred with mime type application/pdf

June 13, 2011

Ran into this funky error today when users weren’t able to download pdf’s from our server when using Google Chrome. And when doing a search online it seems that it affects alot of users. However I found out what the issue was and was able to resolve the issue server side.

Read more

ASP.Net C# isNumeric Equivalent

May 20, 2011

In C# there is no isNumeric Equivalent. And doing some testing with int.Parse left me with a bad taste in my mouth after doing some testing. I will go over testing results and let you know what I finally went with.
Read more Menu Control Positioning In Safari & Google Chrome

May 5, 2011

I just had a bitch of a time trying to get an asp menu control to align properly in both google chrome and safari. After trying tons of different css I finally figured out a good solution that can fix the spacing issue.

Read more

Active Directory User Lister App

February 4, 2011

At work we need to audit our users in active directory every so often. So I wrote an app and I’m sharing with all of you.

Read more

List Directory Files

February 1, 2011

I wrote a simple program that will list directory files in a folder that you choose. Follow the link for more info.

Read more

Error converting data type nvarchar to numeric.

July 27, 2010

I’ve come to the conclusion that MSSQL is a whiney little bitch. However I’ve found out a way to deal with MSSQL in this case. The solution is pretty simple however not the easiest to come bye. Read on for the solution. Read more

Mailbox unavailable. The server response was: 5.7.1 Unable to relay

June 25, 2010

If you’re working with IIS and trying to relay email from your webserver to your exchange server you’ll probably run into this message.
There is a simple line of code you can use to get your smtp mail working that works great.

Read more

Next Page »