views:

17

answers:

1

Is there any option available to align the aspx page tags properly.and it should avoid empty lines in the source page. I am spending my time on tags aligning.

+1  A: 

In visual studio, you can use the auto format option. It works in aspx pages as well as code behind.

Use Ctrl + k followed by Ctrl + d. Also accessible from the menu: Edit -> Advanced -> Format Document.

There is an additional command that will let you format the current selection:

Use Ctrl + k followed by Ctrl + f. Also accessible from the menu: Edit -> Advanced -> Format Selection.

Oded
than u lot man... really wasted many hours on it....good
Ayyappan.Anbalagan