Dear All,
I'm working on our error handling for our projects. We have decided that we should use BasePage, BaseMaster and BaseUserControl.
In the BasePage and BaseMaster classes I have a function which works like the following
i.e. the master would look like
protected function IsAlerted(currentPage as Page)
dim Mp as BaseMaster = currentPage.Master
end function
I want to apply the same instance to my function in the BaseUserControl, but I do not know how to instance the usercontrol
I've tried
protected function IsAlerted(currentPage as Page)
dim uc as BaseUserControl = currentPage.Controls
end function
but of course this incorrect.
Hope someone can point me into the right direction
Many thanks in advance
Zal
...
Go to the complete details ...