Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

.NET Forum


You are currently viewing our .NET Forum as a guest. Please register to participate.
Login



Reply
Visual Web Developer - web standards
Old 11-01-2007, 04:53 PM Visual Web Developer - web standards
pjb007's Avatar
Super Talker

Posts: 104
Location: UK
Trades: 0
I am finding code that Visual Web Developer adds code to my websites which is not properlly formed. The code that it adds does not appear in any of my files and the only way I can see it is by running the application and viewing the source code.

The line in question just seems to contain random letters and numbers and contains two other attributes with a value of "__VIEWSTATE".

Is there a way to get Visual Studio to show this code?

Another problem the W3 validator shows is unescaped ampsands in the title bar. I have clearly put & in when coding an ampsand yet when I run the application my & has been replaced by with an & which is not valid.

Is there any way to get Visual Studio to correct this.
__________________
pjb007

Last edited by pjb007; 11-01-2007 at 04:56 PM..
pjb007 is offline
Reply With Quote
View Public Profile Visit pjb007's homepage!
 
 
Register now for full access!
Old 11-01-2007, 05:37 PM Re: Visual Web Developer - web standards
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
http://www.tgreer.com/aspnet_html_02.html
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-01-2007, 08:57 PM Re: Visual Web Developer - web standards
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,023
Name: Forrest Croce
Location: Seattle, WA
Trades: 0
The viewstate remembers all the info about all the controls on your page. What looks like random gibberish is really that data in base 64 encoding.

If you don't need the functionality it provides, you can turn viewstate off. You can even do that on a page by page basis.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Reply     « Reply to Visual Web Developer - web standards
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.45260 seconds with 12 queries