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.
Is there any option available to align the aspx page tags properly.and it should
Share
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.