By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,290 Members | 1,666 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,290 IT Pros & Developers. It's quick & easy.

Override MasterPage

P: n/a
I've "converted" the code at
to VB.NET as I'd like to implement this as my application uses quite complex
GridViews and various other controls on some pages (viewstate alone was
110Kb+ on some pages!!).

Anyway, I've setup the classes required and created a test page which
inherits from the new BasePage class. It works well. How can I now use this
in an environment that uses mostly Master Pages?

I've tried to create a new MasterPage class which inherits the custom
BasePage class. I've then used this custom MasterPage class in my master page
but I get an error about ContentPlaceholders not being a member of the master

Imports Microsoft.VisualBasic

Namespace ServerSideViewstate
Public Class MasterPage
Inherits ServerSideViewstate.BasePage
End Class
End Namespace


Partial Class layout
Inherits ServerSideViewstate.MasterPage
End Class
Nov 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.