With .net 2.0 having master pages that each page in an app can use, would it work to insert this code in there (in the master page)?
I'm not real sure how the individual pages in the app inherit from the master. Actually I can't find if they do actually \"inherit\" from it, they reference it by using MasterPageFile=\"MyMasterPage.master\" in the page directive. I'm not exactly sure what's going on behind the scenes.
The master page is a partial class as shown below.
Partial Class MasterPage
Inherits System.Web.UI.MasterPage
End Class
I'd test it myself, but I'm not sure how to produce the error.
Anyone know if this will work, it'd be mighty convenient if so!
