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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to