Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 30th, 2011, 12:18 PM
Authorized User
 
Join Date: Jan 2011
Posts: 89
Thanks: 1
Thanked 0 Times in 0 Posts
Default Get VWD to stop splitting code lines

Just curios; can you set VWD to continue code on the same line, e.g:

<asp:CommandField ShowEditButton="True"
ShowSelectButton="False" />

Becomes:

<asp:CommandField ShowEditButton="True" ShowSelectButton="False" />

It seems to split the lines automatically but I cant see any setting to change the characted number for when this happens...
 
Old March 30th, 2011, 01:15 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

You can use Edit | Format Document (Ctrl+K, Ctrl+D) to format the document.

Additonally, look under Tools | Options | Text Editor | All Languages for Word wrapping options and under Tools | Options | Text Editor | Formatting for more wrapping and tag specific options.

Cheers.

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old March 30th, 2011, 01:37 PM
Authorized User
 
Join Date: Jan 2011
Posts: 89
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Ok thanks, I went into HTML > Formatting and unchecked "Wrap tags when exceeding specified length" - hopfully this will just continue elements on their own line.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Please expalin the following lines of assembly code Rohit_4739 Assembly Language 0 January 19th, 2011 03:28 AM
Rewriting 2 lines of code geniusboy ASP.NET 1.0 and 1.1 Basics 1 July 25th, 2009 08:43 AM
lines of code nandar_hayhay C# 5 April 8th, 2009 12:09 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.