Please let other users know how useful this tip is by rating it below. Do you have a tip or code of your own you'd like to share? Submit it here.
Viewing the source of aspx pages, especially with datagrid or datalist controls on them, can be frustrating because of the way the HTML is formatted.
To get around this, select the source and paste it into a new HTML file in the VS IDE. Use the Ctrl K + Ctrl D shortcut to format the code and spot any HTML errors.
This also works with formatting XML using a new VS IDE XML file.
Requires Free Membership to View
When you register, you'll begin receiving targeted emails from my team of award-winning writers. Our goal is to provide a unique online resource for developers, architects and development managers tasked with building and maintaining enterprise applications using Visual Basic, C# and the Microsoft .NET platform.
Hannah Smalltree, Editorial DirectorThis was first published in January 2004