CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
web_forms
getting_started
data_presentation_controls
dotnetnuke
data_access-sql_server_sql_server_express_and_sqldatasource_control
security
client_side_web_development
novell-support-groupwise-6x-clients
data_access-data_access_and_objectdatasource_control
asp-net_ajax-asp-net_ajax_control_toolkit
novell-support-netware-6x-install-upgrade
asp-net_ajax-asp-net_ajax_discussion_and_suggestions
novell-support-netware-6x-administration-tools
master_pages_themes_and_navigation_controls
configuration_and_deployment
novell-support-netware-client-winnt-2x-xp
novell-support-groupwise-7x-clients
asp-net_ajax-asp-net_ajax_ui
novell-support-edirectory-netware
community-free_for_all
visual_studio_2005
novell-support-groupwise-6x-install-setup
data_access-xml_and_xmldatasource_control
control-cancel
novell-support-iprint
advanced_asp-net-crystal_reports
data_access-xml_web_services
microsoft-public-access
novell-community-chat
state_management
novell-support-netware-6x-abends-hangs
dotnetnuke-getting_started
novell-support-groupwise-6x-gwia
-net_languages-c
novell-support-identity-manager-engine-drivers
novell-support-groupwise-discontinued
advanced_asp-net-architecture
opensuse-org-suse-linux-support-install-configure-administration
dotnetnuke-custom_modules
novell-support-groupwise-7x-install-setup-admin
novell-support-netware-6x-storage-media
novell-support-groupwise-6x-agents
installation_and_setup
data_access-access_databases_and_accessdatasource_control
windows-hosting_open_forum
visual_web_developer_2005_express
novell-support-groupwise-6x-web-access
novell-support-netware-6x-server-backup
macromedia-dreamweaver
novell-support-netware-5x-administration-tools
novell-support-ifolder
novell-support-bordermanager-install-setup
novell-support-imanager
microsoft-public-dotnet-framework-aspnet
novell-support-netware-5x-install-upgrade
novell-support-cluster-services
novell-support-bordermanager-proxies
novell-support-newsflash
advanced_asp-net-sql_server_reporting_services
microsoft-public-dotnet-languages-csharp
web_parts_and_personalization
about_this_site-feedback_on_this_website
ibm-software-websphere-portal-server
novell-support-netware-dns-dhcp
novell-support-zenworks-desktops-4x-app-launcher
-net_languages-visual_basic_-net
advanced_asp-net-custom_server_controls
novell-support-bordermanager-vpn
novell-support-ndps-neps
microsoft-public-sqlserver-programming
novell-support-netware-webserver
community-jobs
novell-support-netware-4x
advanced_asp-net-mobile_and_handheld_devices
internet_explorer_web_controls
novell-support-zenworks-desktops-4x-install-setup
novell-support-edirectory-linux
novell-support-groupwise-7x-gwia
development_tools-web_matrix_general_discussions
microsoft-public-access-formscoding
macromedia-flash
community-announcements
portal_starter_kit
novell-support-zenworks-desktops-4x-management-agent
novell-support-zenworks-patch-management
novell-support-native-file-access
microsoft-public-access-queries
microsoft-public-access-forms
novell-support-groupwise-7x-web-access
novell-support-netware-small-business-6x
data_access-active_directory_and_ldap
novell-support-edirectory-windows
novell-support-groupwise-7x-agents
novell-support-ichain
data_access-oracle
novell-support-zenworks-desktop-management-6x-imaging
novell-support-groupwise-7x-wireless
novell-support-netware-5x-abends-hangs
advanced_asp-net-localization
novell-support-zenworks-desktop-management-7x-imaging-server-nw-win




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: Date Entered: 3/27/2008 7:59:44 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 3 Views: 36 Favorited: 0 Favorite
4 Items, 1 Pages 1 |< << Go >> >|
"tmpuzer" <>
NewsGroup User
Format Document: Leave line spacing alone and change indentation only?3/27/2008 7:59:44 PM

0

Using Visual Studio 2005 Professional Edition. 

Whenever I use the format document (ctrl-k ctrl-d) command when editing aspx or xml pages, it obliterates my careful hand crafted line spacing.  I just want to standardize the indentation not the line spacing.   In contrast, when I issue this command while editing code-behind files (c#) it does what I want, which is fix the indentation and leave the spacing alone.   How can I get this same behavior in aspx and xml files?

"Thomas Sun – M
NewsGroup User
Re: Format Document: Leave line spacing alone and change indentation only?4/1/2008 7:03:08 AM

0

Hi,

If we run the Format Document command in the Source View window, the Visual Studio formats your tags just like you said.   

You can try to custom tag line break formatting by Tools->Options->Text Editor->Html->Format tab->Click Tag Specific Options->Click Client HTML Tags->Select node->Set "Line Breaks" ->Click OK, and then you can run Format Document command to format your tags.

 

I hope this helps.


Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
"tmpuzer" <>
NewsGroup User
Re: Format Document: Leave line spacing alone and change indentation only?4/3/2008 5:39:57 AM

0

 Are you saying I need to set specific line spacing for each HTML and ASP tag?  What I like about the c# formatting is that whether I decide I want 10 blank lines or 1 blank line it leaves it alone.

"Thomas Sun – M
NewsGroup User
Re: Format Document: Leave line spacing alone and change indentation only?4/3/2008 7:33:13 AM

0

Hi,

Thanks for your response.

If we use this format command, the visual studio will apply the HTML source formatting rules currently configured and clean up the HTML markup. As far as I know, there is not such option that only indenting the content.

You can format the html source and then break line you want.

 

I hope this helps. 


Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
4 Items, 1 Pages 1 |< << Go >> >|


Free Download:













how to limite users created by the asp.net application administrator from accessing secured folders.

default aspx page after login

how to disable strong password policy?

extracting and displaying roles and membership data

how do i disable a user after a certain time span or date?

impersonation in 2000

question about login and "remember me next time"

problems using forms authentication with active directory in asp.net 2.0

cannot connect to the provider database

subfolder permissions w/ web.config not working...

windows authentication and active directory

membership/role/profile logic

createuserwizard does not recognize custom control

xor and baes64 encoding

when to use roles

create user membership and profile vb

impersonation

custom membershipprovider, web.xml and the web application administration tool

webservice calling dcom server error

how to customize createuserwizard?

closing child windows on logout

forms authentication problem...

retrieve userid of a logged in user

custom profile object throws exception outside web application

suggestions on using login control in enterprise application

redirecting based on roles

addressing user profile

formsauthentication: how to redirect to customised url?

login without using login control

login redirect using redirectfromloginurl with querystring vars

is it possible to add my own attribute in a custom role provider?

c# how to access controls on a webusercontrol inside a loginview?

role based forms authentication

file upload problem

throwing an exception while logging..

(ldap) how do i access user full name with username?

can a login.aspx form be disabled if called from a form in another folder?

vs 2005's login control + set role = "doglover" automatically

is there a way to user.getallroles?

automatically detecting windows login?

capture login id to database

link member to specific data

authenticating winforms against a website / webforms

orginal caller's context flows to the database server even when impersonation is off.

how to run exe from asp.net 2.0 page

pass on authenticated username and password of sharepoint site in networkcredential() method.

custom membershipprovider

error message on registration completion. email not sent

problems moving to 2.0

how to get the username for both web and client apps?

 
Search This Site:

 
  Privacy | Contact Us
All Times Are GMT