PC Review


Reply
Thread Tools Rate Thread

ASP Tags Disappearing Act

 
 
=?Utf-8?B?Unl6b3I=?=
Guest
Posts: n/a
 
      15th Jun 2004
My site at http://westerndirectorycompany.com has both HTML and ASP pages. Some ASP pages are hand modified....however when these pages are opened in Front Page all of the ASP tags are gone leaving just the HTML tags.
I have searched all of the Front Page KBs without any success.

Why oh why does Front Page remove my ASP tags?

I Thank you most highly for your valuable time.
 
Reply With Quote
 
 
 
 
Kevin Spencer
Guest
Posts: n/a
 
      15th Jun 2004
> Why oh why does Front Page remove my ASP tags?

What version are you using? Earlier versions of FrontPage used WebBots to
create the ASP. If you modified the ASP outside of FrontPage and later
opened the pages in FrontPage, the WebBot would revert and change your code.
You could circumvent this by removing all "WebBot" tags from the page.

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

"Ryzor" <(E-Mail Removed)> wrote in message
news:C77E8025-0CEB-4332-BE25-(E-Mail Removed)...
> My site at http://westerndirectorycompany.com has both HTML and ASP pages.

Some ASP pages are hand modified....however when these pages are opened in
Front Page all of the ASP tags are gone leaving just the HTML tags.
> I have searched all of the Front Page KBs without any success.
>
> Why oh why does Front Page remove my ASP tags?
>
> I Thank you most highly for your valuable time.



 
Reply With Quote
 
Jim Buyens
Guest
Posts: n/a
 
      15th Jun 2004
Please post some brief "before" and "after" code snippets.

Alsp, please describe your setup. For example, are you
editing on a disk-based Web, a local Web server, a remote
Web server, or what? And if a remote Web server, what kind?

Also, it might be interesting to try some very simple test
cases. For example, if you:

1. Open a new blank Web page.
2. Make it contain:
<html>
<head>
</head>
<body>
<%=now()%>
</body>
</html>
3. Save it as test.asp.
4. Close it.
5. Open it.

What happens?

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------

>-----Original Message-----
>My site at http://westerndirectorycompany.com has both

HTML and ASP pages. Some ASP pages are hand
modified....however when these pages are opened in Front
Page all of the ASP tags are gone leaving just the HTML
tags.
>I have searched all of the Front Page KBs without any

success.
>
>Why oh why does Front Page remove my ASP tags?
>
>I Thank you most highly for your valuable time.
>.
>

 
Reply With Quote
 
Andrew Murray
Guest
Posts: n/a
 
      16th Jun 2004
basically any asp generated by Frontpage (eg the database results wizard or
interface wizard) cannot be altered and it will give you a warning to this
effect - if you modify the code then try to save the file, it will say (to
paraphrase) 'this is a frontpage component, changes won't be saved [Ok | Cancel]
'


"Kevin Spencer" <(E-Mail Removed)> wrote in message
news:e%(E-Mail Removed)...
> > Why oh why does Front Page remove my ASP tags?

>
> What version are you using? Earlier versions of FrontPage used WebBots to
> create the ASP. If you modified the ASP outside of FrontPage and later
> opened the pages in FrontPage, the WebBot would revert and change your code.
> You could circumvent this by removing all "WebBot" tags from the page.
>
> --
> HTH,
> Kevin Spencer
> .Net Developer
> Microsoft MVP
> Big things are made up
> of lots of little things.
>
> "Ryzor" <(E-Mail Removed)> wrote in message
> news:C77E8025-0CEB-4332-BE25-(E-Mail Removed)...
> > My site at http://westerndirectorycompany.com has both HTML and ASP pages.

> Some ASP pages are hand modified....however when these pages are opened in
> Front Page all of the ASP tags are gone leaving just the HTML tags.
> > I have searched all of the Front Page KBs without any success.
> >
> > Why oh why does Front Page remove my ASP tags?
> >
> > I Thank you most highly for your valuable time.

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you get text XML tags instead of purple tags in Word 2003? lasloo Microsoft Word Document Management 0 3rd Mar 2009 04:06 PM
Disappearing Smart Tags Andrea Microsoft Word Document Management 0 27th Feb 2009 08:28 PM
<div> tags disappearing orandov Microsoft ASP .NET 1 6th Apr 2008 06:30 AM
closing slash in META-tags disappearing Jaap Microsoft ASP .NET 0 14th Sep 2007 11:11 AM
All style tags after the first 30 style tags on an HTML page are not applied in Internet Explorer Rob Nicholson Microsoft ASP .NET 3 28th May 2005 04:11 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:41 PM.