[Mono-bugs] [Bug 381715] New: Master Page fails to Register Control
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sun Apr 20 09:04:38 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=381715
Summary: Master Page fails to Register Control
Product: Mono: Class Libraries
Version: SVN
Platform: x86
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Sys.Web
AssignedTo: mhabersack at novell.com
ReportedBy: ivan at chimerical.com.au
QAContact: mono-bugs at lists.ximian.com
Found By: Development
Created an attachment (id=209154)
--> (https://bugzilla.novell.com/attachment.cgi?id=209154)
Test case
>From SVN r101230
Registering a control in a master page incorrectly looks for the control
relative to the content page instead of the master page. This typically will
result in:
Could not find file "temptest.ascx".
Description: HTTP 500. Error processing request.
Stack Trace:
System.Web.Compilation.ParseException: Could not find file "temptest.ascx".
at System.Web.UI.TemplateParser.RegisterCustomControl (System.String
tagPrefix, System.String tagName, System.String src) [0x00000]
..
If a same named file exists in the content page path, it will be loaded
instead.
The original 1.0 MapPath function handled (and still does) this correctly.
This worked under 1.2.5.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list