FrontPage 2003 (with SP2) Adding and Moving Code?

  • Thread starter Thread starter Dan Christensen
  • Start date Start date
D

Dan Christensen

I use FrontPage in Code view 99% of the time, occasionally hitting
preview but usually previewing in the browser. The problem I'm
experiencing is that I have:

<br />
<asp:DataList... runat="server" >
<ItemTemplate>
....
</ItemTemplate>
</asp:DataList>
<hr />
(another DataList)

and FrontPage seems to think the first DataList needs a non-breaking
space entity before it, and that the horizontal-ruled line can not
exist on a line by itself (so it is moved onto the </asp:DataList>
line). At least those are the changes I'm seeing on save. The second
DataList is left alone, as are other asp server-controls on the page.

This is really annoying, and I can't seem to find an option to disable
this pre-save editing of my code. Is there anything I can do?

Thanks.
Dan Christensen
 
Highlight your correct code on the whole page, cut and paste it into a bank
notepad page, and save as ?.html file, then transfer this file to your web
site folder. Just don't use Frontpage to save it, just to edit it.
 
That's not a solution at all. The idea is to not have to upload the
file manually. It's asp.net code, not html, and FrontPage's
autocomplete is a little handy, but I could do without it. Opening as
"plain text" does the trick, but that's not a real solution either. I
should be able to disable any "optimizations" it tries to force upon my
code, or even by saving in code view for it to leave things alone.
 
It would be nice to leave at least a snippet of the original post and
replies so people could follow along and maybe help you.
--
===
Tom [Pepper] Willett
Microsoft MVP - FrontPage
---
FrontPage Support:
http://www.frontpagemvps.com/

About FrontPage 2003:
http://office.microsoft.com/home/office.aspx?assetid=FX01085802
===
| That's not a solution at all. The idea is to not have to upload the
| file manually. It's asp.net code, not html, and FrontPage's
| autocomplete is a little handy, but I could do without it. Opening as
| "plain text" does the trick, but that's not a real solution either. I
| should be able to disable any "optimizations" it tries to force upon my
| code, or even by saving in code view for it to leave things alone.
|
 
My apologies, the great-great-grandparent to your post did not quote,
so the quoting chain was broken, here is the original post:

I use FrontPage in Code view 99% of the time, occasionally hitting
preview but usually previewing in the browser. The problem I'm
experiencing is that I have:

<br />
<asp:DataList... runat="server" >
<ItemTemplate>
....
</ItemTemplate>
</asp:DataList>
<hr />
(another DataList)

and FrontPage seems to think the first DataList needs a non-breaking
space entity before it, and that the horizontal-ruled line can not
exist on a line by itself (so it is moved onto the </asp:DataList>
line). At least those are the changes I'm seeing on save. The second
DataList is left alone, as are other asp server-controls on the page.

This is really annoying, and I can't seem to find an option to disable
this pre-save editing of my code. Is there anything I can do?

Thanks.
Dan Christensen

Again, thanks for any help you can provide, hopefully I just missed an
option somewhere. However, I did seem to fix the anomalous problem by
removing the <br />s above the DataList. Also not a real solution, but
I didn't end up needing the spacing they provided, which probably
should have been accomplished through margins, but that's another
discussion.

Thanks,
Dan Christensen
 
Back
Top