Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
Share This
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
QualityCentral
3rdRail
Blackfish SQL
C#Builder
C++BuilderX
CodeCentral
Conference
DBArtisan
Delphi for PHP
Delphi Prism
Delphi-BCB
EDN
InterBase
JBuilder
JBuilder 2007
Kylix
Optimizeit
QualityCentral
Test project
You are not logged in.
Help
Print
Public Report
Report From:
[ Add a report in this area ]
Report #:
18157
Status:
Closed
(Pulled) The designer doesn't properly parse and represent tagprefixes for user controls. I have this <%@ Register TagPrefix="lmx"
Project:
Build #:
7.1.1446.610
Version:
1.0
Submitted By:
John Kaster
Report Type:
Minor failure / Design problem
Date Reported:
12/19/2003 12:00:00 AM
Severity:
Commonly encountered problem
Last Updated:
3/20/2012 2:24:39 AM
Platform:
All versions
Internal Tracking #:
192590
Resolution:
Fixed
(Resolution Comments)
Resolved in Build:
:
10.0.2098.14501
Duplicate of:
None
Voting and Rating
Overall Rating:
No Ratings Yet
0.00 out of 5
Total Votes:
None
Description
The designer doesn't properly parse and represent tagprefixes for user controls.
I have this
<%@ Register TagPrefix="lmx" TagName="ucBottomCenter" Src="ucBottomCenter.ascx" %>
<%@ Register TagPrefix="lmx" TagName="ucTopCenter" Src="ucTopCenter.ascx" %>
in an aspx page. I declare the controls as
<lmx:uctopcenter id=MainImageUserControl runat="server">
</lmx:uctopcenter>
and later
<lmx:ucbottomcenter id=BottomCenterUserControl
runat="server">
</lmx:ucbottomcenter>
in that aspx page. I get
"Error: Parser Error: Unknown server tag 'lmx:ucbottomcenter'"
in the designer. If I swith the Register tags around, the first one
won't parse.
I definitely should be able to have two controls declared with the
same prefix.
Steps to Reproduce:
1. Create new ASP.NET application
2. Add two user controls to the project.
3. go to the main page, and use Insert|User Control to add the two user controls to the main page.
4. Go to the ASPX page and make the tagprefixes in the <$@ register %> tags the +same+ (Note, this should be allowed.
5. Go to the designer, and note that it shows a parser error.
Workarounds
None
Attachment
N
Comments
None
View Your Reports
Search
Server Response from: ETNACODE01
Developer Tools
Blackfish SQL
C++Builder
Delphi
FireMonkey
Prism
InterBase
JBuilder
J Optimizer
HTML5 Builder
3rdRail & TurboRuby
Database Tools
Change Manager
DBArtisan
DB Optimizer
ER/Studio
Performance Center
Rapid SQL
Technical Articles
Tutorials
White Papers
Press Releases
Newsletters
Add Content (GetPublished)
Audio
Audio & Video
Video
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Tags
Technology Partners
Downloads
Free Trials
Registered User Downloads
Beta Programs
Add Content (GetPublished)
Articles
Blogs
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Member Services
About
Connect with Us