Ctrl +k,Ctrl+c is not working in the .aspx page
Ctrl +k,Ctrl+c is not working in the .aspx page but they are properly working in .cs page. AnyBody have any idea????
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Biswa Pujarini MohapatraPosted Mar 3, 2014, 6:09 AM
steps: go to your .aspx page--> right click and select formatting and validations
Sompal AryaPosted Mar 3, 2014, 3:59 AM
Help me Madam..
please go through attachment what was appear on right click on tag
Biswa Pujarini MohapatraPosted Mar 3, 2014, 1:05 AM
check this
The solution is to setup the formatting rules in Visual Studio (right click on any tag, click on Formatting and Validation, click on Tag Specific Options)
When press ctrl-k, ctrl-d the document will format as per your settings. If a closing tag does not move to a new line, it's because there is no space between the end tag and what is preceding it. This happens because Visual Studio is being careful to not change how the page is rendered.
For the full blog post checkout Scott Gu's blog post.
http://weblogs.asp.net/scottgu/archive/2006/07/07/Tip_2F00_Trick_3A00_-Custom-formatting-HTML-in-Visual-Web-Developer-and-Visual-Studio-2005.aspx
Sompal AryaPosted Mar 3, 2014, 12:57 AM
Sanjay DholakiyaPosted Mar 2, 2014, 6:51 PM
Try Ctrl + K + C and Ctrl + K + D.
I mean Press Ctrl and hold. Then press K and realse and then press C.
- Sanjay