Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: Really annoying ASP.NET bug!!!!


Message #1 by "Morrissey the Consumer Monkey" <world_of_dude@h...> on Fri, 9 Nov 2001 16:26:57
Hi all, 



Just got your Begining ASP.NET with VB.NET - cool book, nuff respect.



However, when I try and edit **some** of your source code in VS.NET 

sometimes it loses all of the line breaks, carriage returns and 

formatting. 



For example, Chapter 2 - DataControl.aspx loses formatting whereas 

DataControl2.aspx is cool and looks as it does in the book.  I can open 

both files in Notepad and they both look OK. If I cut & paste this code 

into VS.NET again it looks OK .... UNTIL I go to save the file (e.g. 

DataControl.aspx) where again it loses its formatting.



Does anyone know why this is happening? or is it just a vs.net beta bug.



If you an help then you are the DADDY :)



Thanks



JB
Message #2 by "Henry Petersen" <henry@d...> on Thu, 15 Nov 2001 14:02:16
JB,



I was having the same problem and seemed to have come across what was 

causing it for me.



I had typed in all the code for an example and of course my typing stinks 

so I made several typos.  I then started commenting out code working 

backwards until I could get the code to work.  I then started to work my 

way down the code uncommenting out the lines as I corrected my mistakes.  

The problem seems to be visual studio doesn't like all the comments and 

scrambles all the code.  As soon as I uncomment all the executable lines 

it stays put and saves correctly.



Hopefully, MS will figure this out by time it gets released.



HP



> Hi all, 

> 

> Just got your Begining ASP.NET with VB.NET - cool book, nuff respect.

> 

> However, when I try and edit **some** of your source code in VS.NET 

> sometimes it loses all of the line breaks, carriage returns and 

> formatting. 

> 

> For example, Chapter 2 - DataControl.aspx loses formatting whereas 

> DataControl2.aspx is cool and looks as it does in the book.  I can open 

> both files in Notepad and they both look OK. If I cut & paste this code 

> into VS.NET again it looks OK .... UNTIL I go to save the file (e.g. 

> DataControl.aspx) where again it loses its formatting.

> 

> Does anyone know why this is happening? or is it just a vs.net beta bug.

> 

> If you an help then you are the DADDY :)

> 

> Thanks

> 

> JB
Message #3 by "Lauser, John" <LauserJ@h...> on Thu, 15 Nov 2001 15:51:47 -0500
JB,



This auto formatting is a real pain. It is on by default but you can

turn it off.



Tools->Options->Text Editors->HTML/XML->Format



Uncheck the auto formatting options



Hope this helps



Johnny L.





-----Original Message-----

From: Henry Petersen [mailto:henry@d...]

Sent: Thursday, November 15, 2001 09:02

To: aspx_beginners

Subject: [aspx_beginners] Re: Really annoying ASP.NET bug!!!!





JB,



I was having the same problem and seemed to have come across what was

causing it for me.



I had typed in all the code for an example and of course my typing

stinks

so I made several typos.  I then started commenting out code working

backwards until I could get the code to work.  I then started to work my



way down the code uncommenting out the lines as I corrected my mistakes.



The problem seems to be visual studio doesn't like all the comments and

scrambles all the code.  As soon as I uncomment all the executable lines



it stays put and saves correctly.



Hopefully, MS will figure this out by time it gets released.



HP



> Hi all,

>

> Just got your Begining ASP.NET with VB.NET - cool book, nuff respect.

>

> However, when I try and edit **some** of your source code in VS.NET

> sometimes it loses all of the line breaks, carriage returns and

> formatting.

>

> For example, Chapter 2 - DataControl.aspx loses formatting whereas

> DataControl2.aspx is cool and looks as it does in the book.  I can

open

> both files in Notepad and they both look OK. If I cut & paste this

code

> into VS.NET again it looks OK .... UNTIL I go to save the file (e.g.

> DataControl.aspx) where again it loses its formatting.

>

> Does anyone know why this is happening? or is it just a vs.net beta

bug.

>

> If you an help then you are the DADDY :)

>

> Thanks

>

> JB

---

The Antechinus C# Editor



Enables you to design, compile and run C# applications

from the integrated environment. Version 4.1 has been

upgraded for seamless integration with Microsoft's

Beta 2 version of the .NET environment. Antechinus

enables project generation and maintenance for the

compilation of console and Windows programs, libraries

and add-on modules and includes syntax coloring and

syntax error navigation after compiling.

http://adtracking.wrox.com/track.asp?x=3DNEWS&url=3Dwww.c-point.com

---

You are currently subscribed to aspx_beginners

as: lauserj@h...


$subst('Email.Unsub')


  Return to Index