FP2003 messing asp code

  • Thread starter Thread starter grw
  • Start date Start date
G

grw

Ive got some basic asp code which is being severely messed up by Frontpage
(XP pro all updates).

If I have inline code such as <a href="<%=dynamicURL%>">Link</a>, when saved
in HTML or Text view this code is immediately changed to <a
href=><%=dynamicURL%>">Link</a>
Whats up with that??
 
As much as I dont disagree with seperating content and code, the
maintainability for users taking over my work becomes severely restricted if
I cant use wysiwyg for the mixture of simple code and html

"To sum up this principle with regard to FrontPage: Make sure that the HTML
in your ASP pages is correct without the server-side code, and avoid mixing
server-side scripting and hard-coded HTML content in your ASP pages."

The reality is, it does happen. Not everyone wants to write code. Thats why,
supposedly, you use frontpage.

So I guess the question is - is it a known issue or perhaps just specific to
a particular OS/extension/setup ?
Its real simple code - why should it confuse FP?? :-)
 
There is nothing I can add to the article. Instead of worrying about why
things are the way they are, I would suggest that it is more productive to
adapt to it. Questioning why things are the way they are doesn't change
them. I can complain about the cold weather all day long; in the long run,
I'm still going to have to put on a coat or be cold.

--
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
I've used lots of apps that came from others in FrontPage 2002 and it's
never messed with any of it. when I first loaded FrontPage I switched a
setting "leave source alone", somewhere that I don't remember. doesn't fp
2003 have this option?
 
FrontPage 2003 is the version that changes code the least of any version.
You can also customize the way it handles code in the Tool|Page Options
dialog box.

--
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
Hi all,

Has anyone actually reproed this issue? I don't see it with FrontPage 2003,
but maybe I am missing something obvious.

I even tried to reformatting the HTML and using XHTML standards, but the ASP
code is never re-written for me.
 
Thats why I ask the question :

"So I guess the question is - is it a known issue or perhaps just specific
to a particular OS/extension/setup ?
Its real simple code - why should it confuse FP?? :-)"

Kevin suggests I put a coat on and ignore the cold.
Im gonna feel pretty silly standing on the beach in the heat with a coat on
when no-one else is............

Ive since tested the same code on a W2k machine with no errors - it IS
related to a certain setup.
I guess I can take the coat off for now until I find out what that setup is
that effects it.
 
Shot in the dark:

Can you compare the Tools > Page Options > Code Formatting dialogs on the
two machines where you get different behaviors?
 
Ill check it out - however these are 'fresh' default installs, so I expect
both will be exactly the same as I have not modified the code formatting as
of yet.

The same issue also exists for me in 2000, 2002 :-/
 
Ill try a fresh install of the extensions I think, that must be one of the
only constants between installs
 
Back
Top