Justin Cooney

Web Development Tips and Examples

  • When you are working with an unfamiliar database, such as a third-party SQL Server database, you want to find out which tables actually store the important data. If there is no clean database diagram, then the best option is to write a T-SQL query in SQL Server Management Studio (SSMS).

    If you are interested in this topic, then I’d suggest also reading my article on batch searching your SQL Server database to find out in which tables the information is being stored.

    (more…)

  • In IIS 7 there is a lesser known upload file size limit of 30 megabytes. Usually this is more than enough for most Web applications, but sometimes you will want to allow your users to transfer larger files. To do so, you’ll need to update a setting in IIS. (more…)

  • I’m taking a look into the controversial new ‘X‘ that IE displays in text boxes along with text box sizing changes between IE 10 and previous versions.

    Users will often  complain that they click it by accident and that it clears what they have entered. I can’t say I disagree with them. This is especially the case with smaller sized text boxes, or text boxes that have a large amount of text, or even text boxes where the text is right aligned.

    Further, it seems that IE 8 and above will render text boxes wider by two pixels. The height is also slightly greater. This increase in text box width and height can be horrible for trying to convert a carefully planned Web form layout from IE quirks mode to a modern version of IE.

    Here are the questions I intend to answer:

    • Under what conditions is the ‘X’ rendered?
    • How does one disable IE from showing the ‘X’?
    • How does one set the size of the text boxes to the expected size? (more…)