Problems with FrontPage 2003 adding duplicate control registrations

D

Dan L.

Are any other FrontPage 2003 users having problems with
FP2k3 adding a new, blank control registration line when a
new control is pasted into a page? For example, I have a
control registered at the top of one of my ASP.NET pages:
<%@ Register TagPrefix="uc1" TagName="MyControl"
Src="ctrls/mycontrol.ascx" %>
I paste the code for the control into the body of my page:
<uc1:MyControl id="MyControl1"
runat="server"></uc1:MyControl>
And FrontPage adds a new, blank registration line to the
top of my page:
<%@ Register TagPrefix="uc1" TagName="" AssemblyName="" %>
This, of course, causes an error when the page is loaded.

Does anyone here know why it's doing this? Know how to
stop it? any help is appreciated.

Thanks!
Dan
 
J

Jim Buyens

I tried a few variations on this and couldn't get an
erroneous registration directive to appear. Specifically,
I tried:

o Edit, Paste Special, Do Not Convert.

o Normal Paste, followed by changing Paste Options popup
to Treat As HTML Tags.

o Pasting into Code view.

How did you do your pasting?

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top