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.
This was first published in January 2004