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.
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
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.