G
Guest
Just loaded up ASP.Net 2.0 and found that I can't refer to a specific web
page class from another class.
For example:
Partial Public Class _Default
Inherits System.Web.UI.Page
End Class
In another class defined in tha project, I get a Not Defined error
Public Class Class2
Private _def As _Default 'this line generates the error
End Class
I'd like to be able to do this so I can implement the MVC pattern.
Must be something simple as I could not imagine that this would be a
restriction.
Regards,
Nick
page class from another class.
For example:
Partial Public Class _Default
Inherits System.Web.UI.Page
End Class
In another class defined in tha project, I get a Not Defined error
Public Class Class2
Private _def As _Default 'this line generates the error
End Class
I'd like to be able to do this so I can implement the MVC pattern.
Must be something simple as I could not imagine that this would be a
restriction.
Regards,
Nick