Scott Mitchell's blog about writing.
Scott On Writing | 14 Nov 2013 20:45
Scott Mitchell writes "....While working on a legacy ASP.NET WebForms application I stumbled into the following error: I had a paged GridView with a LinkButton in a TemplateField that, when clicked, accessed the GridView’s DataKeys collection. When clicking one of the..."
Read more » ERROR: “Index was out of range” when Accessing the DataKeys Collection in a Paged GridView
Scott On Writing | 19 Oct 2013 03:19
Scott Mitchell writes "....ASP.NET 4.5 introduced a nifty feature for script and stylesheet bundling and minification, a technique that can drastically reduce the size of your script and stylesheet files and, more importantly, reduce the number of round-trips the browser must..."
Read more » ASP.NET Bundling and Minification Returning File Not Found (404)
Scott On Writing | 15 Oct 2013 21:35
Scott Mitchell writes "....Today’s blog post is going to be a bit obscure, but I stumbled across this problem recently and found a workaround that I thought would be worth sharing for anyone else who found themselves in my place. iText is an open-source library for..."
Read more » Rendering Lists in Irregular Columns Using iText / iTextSharp
Scott On Writing | 02 Aug 2012 18:12
Scott Mitchell writes "....Ran into an interesting and esoteric problem today when working with a client. This client had a legacy ASP.NET 2.0 application deployed on IIS6 that used global themes. First, a little background… A theme is: “a collection of property settings..."
Read more » IIS7, Global Themes, CSS Files and Subfolders
Scott On Writing | 02 May 2012 21:43
Scott Mitchell writes "....A couple weeks ago I had a client call me up with a perplexing build error. He had an ASP.NET 4 Web Application project open in Visual Studio 2010 that he was working on when, suddenly, the following error cropped up when building: Resource name..."
Read more » ERROR: Resource name XXX cannot be used more than once
Scott On Writing | 08 Apr 2012 04:02
Scott Mitchell writes "....In a recent project we needed to block a series of IP addresses from accessing our website. IIS makes this easy with its IPv4 Address and Domain Restrictions feature, which lets the webmaster specify specific or ranges of IP addresses that are..."
Read more » Using Log Parser to List All Blocked IP Requests
Scott On Writing | 30 Mar 2012 23:15
Scott Mitchell writes "....ASP.NET has long offered the FileUpload control, which simplifies uploading a file from the client’s computer to the web server’s file system. This control provides a very simple, straight-forward user experience – the browser renders a “Browse” or..."
Read more » Uploading a Variable Number of Files from an ASP.NET Web Page
Scott On Writing | 22 Nov 2011 01:11
Scott Mitchell writes "....One of ASP.NET MVC’s most useful features is its powerful templating system. Templates were introduced with ASP.NET MVC 2 as a way to have the view render either a display- or editing-related user interface for the entire model or for a property of..."
Read more » Using Templates to Display Boolean Values as Yes/No Options
Scott On Writing | 30 Sep 2011 16:16
Scott Mitchell writes "....While I like to consider myself a web developer, every now and then I have to put on my DBA hat to address some SQL related issue. This little script has saved my butt more than once. It searches the text of triggers, UDFs, stored procedures and..."
Read more » Searching SQL Server Stored Procedure and Trigger Text
Scott On Writing | 15 Sep 2011 18:19
Scott Mitchell writes "....On Saturday September 24th I’ll be doing two four-hour ASP.NET MVC 3 and Razor training events in San Diego: Getting Started with ASP.NET MVC 3 and Razor – (8 AM to Noon) - This four hour morning class introduces ASP.NET MVC 3 and the new Razor..."
Read more » ASP.NET Training in San Diego on Saturday, September 24th