Solved

Expression Web not showing current code

Posted on 2014-04-05
10
348 Views
Last Modified: 2014-04-06
Running Expression Web 4 on a Windows 7 platform, there appear to be discrepancies between the code shown in Expression and code as shown in a text viewer.  The text viewer shows the latest revision.  Restarting Expression, clearing Temporary files from within Expression, and running EW Cleaner did not help.  

I'm not looking to replace Expression Web with another application just now, but I'd like to know how to get it to display the current version of a page.Expressiontext viewer
0
Comment
Question by:ddantes
  • 5
  • 5
10 Comments
 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 39980820
It probably has something to do with 100% is implied if left out.  Both of your screenshots are doing the same thing.  I don't know what the text viewer is but it looks like it is calculating.

This is nothing to worry about or that you can control.
0
 

Author Comment

by:ddantes
ID: 39980828
Thank you.  The text viewer is just notepad.exe.   In the notepad view, the frameset cols and spans are consolidated into a single line of code.  That made a difference in W3C validation.  The version displayed in Expression was accurate before the file was edited to consolidate those two lines of code.  

Just now I opened that file in Expression on another computer, which has no history with that file, and it looks identical to the Expression version I posted with my question.  So I must conclude that it isn't some kind of stale cache issue.

Before closing this question, could you clarify how the two screen shots are doing the same thing?  In the 2-line code, isn't there a frameset within a frameset?
0
 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 39980837
Note pad is just a plain text editor.  It is not doing anything to your code.  And I can only make guesses from your image.  When I saw 3lines of code vs 2, I assumed that is your cropping.

1) Make sure you are using the same exact file.

2) Make sure you are not opening the same file with two different pieces of software at the same time.

Try completely closing everything.  Then open in note pad and see how it looks.  Then close, if you are given the option to save, don't.  Now go back to Expression Web and open the same file.  

In any case, the 2nd line of each of your images (starting with <fameset) mean the same thing because it is implied that the col and rows are 100% if left out.
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 39980840
Instead of notepad, download notepad++ it is free http://notepad-plus-plus.org/ and will work better for code.
0
 

Author Comment

by:ddantes
ID: 39980868
Here is a screen shot of the code as seen in Notepad++.  It looks the same way in Wordpad, or if I use an FTP client and choose "edit."   The 2-line code in Expression Web is definitely the same file, and it is not open in more than one application.notepadd++
0
 
LVL 52

Expert Comment

by:Scott Fell, EE MVE
ID: 39980911
I'm confused. It sounds like you are looking both local and online.  That will not be the same file.  

What is the link to the file you are talking about?
0
 

Author Comment

by:ddantes
ID: 39980943
I have looked at a local file and an online file, but when the comparisons are made, they are made on a local file.  I've attached that file.availability.html
0
 
LVL 52

Accepted Solution

by:
Scott Fell,  EE MVE earned 300 total points
ID: 39981068
I don't know if this is part of the problem, but the file has "<sc'+'ript>" and also your comments should be below the doctype.  
<!-- Edit only with Notepad, because editing in Expression Web prevents Opera from displaying the page.
You can open the file to validate html in Expression, but don't save the file -->

Open in new window


Seeing the full code makes it easier to understand the problem you are getting.

Move the comments below the doctype declaration.  

Make a back up.

Change this
<frameset cols="100%,*" rows="100%,*" onunload="checkAndSave();">
to
<frameset cols="100%,*" rows="100%,*">

Remove your javascript files.  

Once you ave done those 4 things give it a test.  If it still does not work, it is Expression web.  If that fixes the issue, one by one add the javascript.   Each time you add a js file back, test.  Once the js files are on, add back the,  onunload="checkAndSave();"

Like I said in your previous question, the framesets cause problems and the one workaround you had to do for the other issue just propagates.  Then you end up doing a series of work arounds.    I do hope this little trouble shooting fixes your issue though!
0
 

Author Comment

by:ddantes
ID: 39981410
Thank you for the troubleshooting steps.  I'll post again after testing.
0
 

Author Comment

by:ddantes
ID: 39981483
I moved the comments below the DOCTYPE declaration, but I didn't perform the other tests.  Opening the file with Dreamweaver, the code is on one line (screen shot), so I'm satisfied this is an Expression issue.  It's probably unique to the frameset environment, about which you have cautioned me.Dreamweaver
Thank you for your assistance.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction HyperText Transfer Protocol (http://www.ietf.org/rfc/rfc2616.txt) or "HTTP" is the underpinning of internet communication.  As a teacher of web development I have heard many questions, mostly from my younger students who have come to t…
Developer tools in browsers have been around for a while, yet they are still heavily underused by developers. Developers still fix html or CSS then refresh page to see effect, or they put alert or debugger in JavaScript and then try again and again …
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question