Feb 19, 2007 12:05 PM|Knoter|LINK
I did try this solution, which works for the most part:
Create a PageBase Class, then inherit PageBaseClass on every page.
This simply is
unacceptable, especially given Microsoft claims cross-browser compatibility.
Create a new page and forget to set Inherits PageBaseClass and the menus don't work.
This and other threads have been going for nearly 2 years on this issue and Microsoft has not resolved a very basic and incredibly important issue.
We're going to be pushing 500 pages on our new website, and we have to change EVERY page's code-behind? Oh, sure, a global Find/Replace makes it "quick" enough, but when new pages are added and one 'forgets' to modify the Inherits line; not good at all.
Here's my code snippet:
'Global code for System.web.UI.Page