CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 8/15/2007 5:09:13 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 4 Views: 15 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
5 Items, 1 Pages 1 |< << Go >> >|
Gary Frank
Asp.Net User
IDE reformatting HTML switching from source to design and back8/15/2007 5:09:13 PM

0/0

The IDE reformats my HTML when I switch from source to design and back.  It doesn't do it every time, just at certain times.  For example, it does it after I pull a textbox from the toolbox and insert it into a table.  I can't find the option that tells VS 2005 IDE to leave the HTML formatting unaltered.  For example, I coded this:

<div>
<table cellpadding="2" cellspacing="1" width="600px">
    <tr>
        <td>My Prediction</td>
        <td></td>
        <td></td>
        <td></td>
    </tr>
</table>
</div>

After I insert a textbox control it reformats the HTML into a SINGLE LINE:

<div><TABLE>cellpadding="2" cellspacing="1" width="600px"><tr><td>My Prediction</td>...etc...

In addition, it converts some tags to upper case.  It also adds a <TBODY> tag.

Is there an option that tells the IDE not to reformat the HTML?
I am using some AJAX.  Could that be a factor?


Gary Frank
hooligannes97
Asp.Net User
Re: IDE reformatting HTML switching from source to design and back8/15/2007 5:23:17 PM

0/0

Some Editor features can be disabled/enabled from Tools>Options>TextEditor+HTML


Do you know the truth when you hear it?
Gary Frank
Asp.Net User
Re: IDE reformatting HTML switching from source to design and back8/15/2007 5:53:04 PM

0/0

I've tried all of the options in from Tools>Options>TextEditor+HTML that would seem pertinent.  Nothing seems to prevent the IDE from reformatting the HTML.  Would anyone know which option might apply?


Gary Frank
Mikhail Arkhipo
Asp.Net User
Re: IDE reformatting HTML switching from source to design and back8/15/2007 8:08:16 PM

0/0

Yes, having Beta and RTM version of ajax assemblies will cause designer to lose track of element formatting. Make sure when you upgraded to Ajax release you removed old Atlas assemblies from bin.


Thanks

------------------------------------------------------------

This posting is provided "AS IS" with no warranties, and confers no rights.
Gary Frank
Asp.Net User
Re: IDE reformatting HTML switching from source to design and back8/15/2007 8:52:10 PM

0/0

Thank you, that makes sense Mikhail.  Tables in other pages in the same application are NOT reformatted.  Perhaps the difference is that I embedded this table within an Ajax Tab control.


Gary Frank
5 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Networking with Windows 2000 Authors: Patrick Regan, Pages: 720, Published: 2001

Web:
MSDN Visual C# IDE Visual Studio 2008 - source view versus design ... Jul 24, 2008 ... When it decides to chew or reformat it it does so in style with BIG ... making changes in the designer and then switching to the HTML view. ...
Mikhail Arkhipov (MSFT)'s WebLog : How does split view work in VS ... "opening of html, switching to design view + loading of tools + switching back to source view". The latter by definition would be slower ;) ...
A few of my favorite new HTML source editor features in Visual Web ... Makes switching back and forth pretty easy. Summary ..... Tip/Trick: Custom formatting HTML in Visual Web Developer and Visual Studio 2005 ...
Visual Studio: don't alter html formatting NET is that it changes the layout of the HTML when switching back and forth between .... This is the worst IDE I have ever used, Open Source or otherwise. ...
Options that Affect Existing HTML, CSS, or XML Markup Start pages in : If you select HTML view here and also choose to Apply Automatic Formatting when switching from Design to HTML/XML view, ...
Rethinking my HTML Editing - switching to plain Web Browser ... Everything ends up being double spaces and going back often times wipes out the previous page. HTML Source formatting It'd be really nice if I could figure ...
Bizarre - DataGrid inside HTML Table If you need to switch there, after switching back to html view press Ctrl-Z, sometimes even twice. This will undo the formatting mess. ...
Learn XSLT Loading an XML Source Document; Switching between XSLT source code editing view and visual WYSIWYG XSLT editing views; Editing and formatting static HTML ...
ASP.NET Resources - VS.NET - Designer's "Best" Friend NET gives you a hand by formatting the border declaration for you: .... IF (big if); IF I save the file before switching between HTML- / Design- view ...
Pro NetBeans - The source for learning NetBeans. Tip 83 : Detach Editor Windows from the IDE. Keyboard. Tip 84 : Print a Custom Keyboard Shortcut Card Tip 85 : Stay Sane With Switching Keyboards ...




Search This Site:










cdo and asp.net challenge

using mulitiple developers

global variable doesn't hold value???

i know that dnn3x is better than windows portal server, but....

pls help to my error

can not create a website?

issues with anonymous login with using windows authentication

security trimming / "access is denied" error

request querystring web service

forms authentication and custom error pages

global.asax parser error

rss - how to use mine?

admin functions problems in 3.0.7 (page just refreshes)

image not displayed in master page

popup window should appear only when i click the button

public functions

get string

dal using daab 3.1

insert comments in aspx source file

links do not work when putting the project on another pc!!!

need help retrieving values from radiobutton groupnames.

server controls not visible on web page

where is the symmetric key held in windows, cryptography ab

problem creating directories...very strange error.

object reference not set to an instance of an object - install error

set focus

error can't detect 'dbo.verifyportaltab'

sitemap.rootnode only seems to return the default provider root node

how to reference to the component, but it is in other form.

reading a file contents from the web server

 
All Times Are GMT