Formatting HTML and XML

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.

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

Dig deeper on .NET Framework development with XML and XAML

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchCloudComputing

SearchSoftwareQuality

SearchSOA

TheServerSide

SearchCloudApplications

Close