FlunteenotBal
New Member
I am working on a multilingual application.For this reason, I created custom BasePage class, which contains overriden InitializeCulture method.BasePage class inherits System.Web.UI.Page class and all Content Page classess inherits from BasePage.And everything is OK, but one problem exists:ContentPages can't access it's own controls, when inheriting from BasePage (instead of System.Web.UI.Page).When I try to reference any control in Content Page code - there is always Nullreference Exception thrown.Any suggestions about dealing with this problem will be appreciated.