3. September 2009 14:11
I wrote about the very handy Ctrl-K,D command on Visual Vtudio that formats code in ASPX files as well here.
Another handy "feature" in ASPX markup is that Ctrl-K,D does nothing if there is a errorin the ASPX file i.e. no matching end tag etc.
And as I found out, no matter how hard you try the key combination, it wont format is there is an error!