I am wondering if I fully understand how the Base Page is called up.
I have installed a file BasePage.
vb (not the same coding as the book's) in the App_Code folder. I am running a file called test.aspx. It's code behind is
Code:
Partial Class test
Inherits BasePage
End Class
There is a MasterPage, for which the code behind is:
Code:
Partial Class MasterPage
Inherits System.Web.UI.MasterPage
End Class
Now as I understand Chapter 6, that should mean that running test.aspx will call up the BasePage which will over ride System.Web.UI.Page - is that correct?
In which case, if I get an error "
Error parsing attribute 'meta_keywords': Type 'System.Web.UI.Page' does not have a public property named 'meta_keywords'." am I right in deducing that the BasePage has not the coding that includes the public property for 'meta_keywords', and so does not over ride System.Web.UI.Page?.
I am not asking for this one to be solved here - just asking if I have understood the book correctly, and so have made the correct deduction.