Error: (When using FindControl) An exception of type 'System.NullReferenceException' occurred in XXXXX.dll but was not handled in user code
Better solution: Create a public function within the master page to do the actions needed.
Scenario: I wanted to create a dedicated login page and had a login process in the master page. The need was to hide the master page login for the login page.
Although I have not considered during the design phase, this can also be used to manage the menus.
No comments:
Post a Comment