Search

VISUAL STUDIO 2008 SP 1 still has HTML editor bug where it corrupts aspx/html code ! by TransformerDT

Closed
as Fixed Help for as Fixed

4
0
Sign in
to vote
Type: Bug
ID: 404359
Opened: 1/23/2009 8:48:03 AM
Access Restriction: Public
0
Workaround(s)
9
User(s) can reproduce this bug
Dear Microsoft please fix visual studio 2008 sp1 !! give us another service pack SP2
for VS 2008 now! We have large aspx files and they get corrupted by the
vs2008 editor. vs 2005 was much better and stable!! vs 2008 should have never been release. I have to use ADOBE DREAMWEAVER TO edit my aspx files becaues the vs 2008 designer is sooo slow and it always corrpts my aspx files and my css files. Adobe dreamweaver is a much superior edit compared to what vs2008 has. Why would you let this software out the door? We need a SP2 now!! I know I am not the only developer who is having these problems. Most developers are using 2005 because of these problems.
When will this be fixed? this one huge problem is effecting
the entire development staff. Please send out VS 2008 SP2 ASAP.
Details (expand)
Product Language
English

Version

Visual Studio 2008 SP1
Operating System
Windows XP Professional
Operating System Language
English
Steps to Reproduce
create any project, make sure you have a huge aspx file, with css , try resizing tables, adding ajax, etc. getting properties on any object takes for ever and i have to have to have code and design views to make sure the properties takes. even the gridview, when i add columns sometimes, it does not save them! What happened to this version? did you guys give up so you can work on vs2010?
Actual Results
Everyone i know has this problem with visual studio. I dont know how microsoft does not know about this problem. We use VS Studio 2008 sp1 Team System. Maybe this is a bug in just team system? Are most people using professional addition? Just take any huge proejct with master pages, and multipage aspx files. start inserting controls and going back and forth between source view and code view,type some html and also open up a css file as well. Do a save or two and when you start switching between files and typing , all of a sudden you aspx files are corrupted, css statements being removed , html fragments missing, etc.
Expected Results
Updated the above on 1/28/2009, Actual results
TAP Code (if applicable)
 
      You can indicate your satisfaction with how Microsoft handled this issue by completing this quick 3 question survey. [Details]

 

Sign in to post a comment.
Posted by tigern73 on 10/29/2010 at 6:46 AM
I'm having a huge problem with VS2008 and web projects.
I have an aspx page linked with an stylesheet.
When i enter design mode window and click on a item, VS2008 edits all my urls in css file.
It adds the following ../../ to all my urls. This means that no images are shown.

Example:
a.button_darkgrey span{    /* Background left image */
    background: url('files/btn_darkgrey_left.gif') no-repeat;    
    display: block;
    line-height: 29px; /* CHANGE THIS VALUE ACCORDING TO BUTTONG HEIGHT */
    padding: 2px 0 5px 18px;
}

Becomes:
a.button_darkgrey span{    /* Background left image */
    background: url('../../files/btn_darkgrey_left.gif') no-repeat;    
    display: block;
    line-height: 29px; /* CHANGE THIS VALUE ACCORDING TO BUTTONG HEIGHT */
    padding: 2px 0 5px 18px;
}

I have downloaded the update posted on this issue, but this has no effect.

What is wrong?
Posted by Ron Chong on 9/7/2010 at 2:53 AM
1st example: Change a column name in gridview, save, then debug website. The column name does not change! But Design view reflects change! Why? Try Closing the window and reopen it again and see the column name not changed in the design view. Work Around: Open source view, edit the column name from there. There! The changes are finally made. This happens after I did a windows update on my Visual Studio 2008 to Sp1.

Other examples: Adding a Trigger to the updatepanel or adding some columns to detailsview etc.
Posted by Michael Bürschgens on 4/12/2010 at 6:06 AM
By no means this bug is solved!
Sometimes I have to work with huge CSS files. All of a sudden VS starts corrupting these files. The content is scambled as if someone had selected random sections and dragged them up or down in the file.
Now I have to use a separate text editor beside of VS just for the CSS files.
Posted by anasr on 3/16/2010 at 5:01 AM
The following update does not fix the bug reported above by TransformerDT, and I can reproduce the bug. It is very embarassing to deploy a corrupted application and all my fault is that I'm using VS 2008.



Posted by bear500 on 1/19/2010 at 7:57 AM
The HTML designer for the GridView control creates HTML code when the Grid is created, BUT, it does not update HTML code when Style changes are made to Items and Columns after the initial creation. Also, Moving and resizing frames in the designer is very slow. Drag the right edge of a frame and stop. The frame will continue moving beyond the stop position because it's movement is delayed.
Posted by Microsoft on 6/18/2009 at 4:04 PM
Hello

Please install this update https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=17185&wa=wsignin1.0

Thanks
Posted by Microsoft on 1/27/2009 at 10:30 PM
Thanks for reporting the issue.
In order to fix the issue, we must first reproduce the issue in our labs. We are unable to reproduce the issue with the steps you provided.

Could you please upload a zipped project file to help us reproduce the problem?

It would be greatly appreciated if you could provide us with that information as quickly as possible. If we do not hear back from you within 7 days, we will close this issue.

Thanks again for your efforts and we look forward to hearing from you.
Visual Studio Product Team
Sign in to post a workaround.