views:

11

answers:

0

I've never seent this before: I have an aspx page that reformats the code lines (changes the indentation, line breaks, etc) in between the opening and closing tabs tag. I'm using the AJAX tabs control. No other page does this in this app and it is only the code between the and tags. If I reformat it, whether I use tabs or spaces, IDE changes it back on its own. I'd understand if the reformatting were to put the code in the expected outline form (main tag, sub tags indented four spaces, closing tag aligned with opening tag). Instead, it sets the closing tags three levels deep to flush left. I'm going to try to reproduce the look here: (indented 4 spaces, ok) (indented 4 spaces relative to start tag, ok) (stuff here)(indeneted 4 spaces relative to content tag, ok) (flush left. Should be indented equal to opening tag) (flush left. Should be indented equal to opening tag)

The indentation starts over and is normal for the next tabPanel tag until the closing ContentTemplate tag, where the pattern is repeated. If I manually change the formatting, about a second after I click save, the system re-formats itself, the IDE changes the green line to yellow to indicate unsaved changes, and saves it like that.

Help?