[Mono-bugs] [Bug 358435] New: ASP.NET cannot access to master page

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Feb 4 04:24:33 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=358435


           Summary: ASP.NET cannot access to master page
           Product: Mono: Class Libraries
           Version: unspecified
          Platform: i386
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: jan.kraljic at patware.si
         QAContact: mono-bugs at lists.ximian.com
          Found By: Development


There is trouble with access to public property of master page :

((my_masterpage)(this.Master)).MYLabel1 = "Test";

while in mastefpage file ther is:

public string MYLabel1
    {
        set
        {
           Label1.Text = value;
        }
    }
XSP 2 returns error:

Compilation Error

Description: Error compiling a resource required to service this request.
Review your source file and modify it to fix this error.

Error message:

/home/jan/myfiles/file.aspx.cs(43,18) : error CS0103: The name `my_master' does
not exist in the current context

Mono version: 1.2.6+dfsg-5 (Debian)


-- 
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