I have a masterpage, contentplaceholder and an .ascx page. The user enters his username-password at Masterpage.
I want to prevent the load of the contentplaceholder, if the user enters wrong username&password combination. Currently I am just disabling it's visibility, which does the trick but the page is still loaded, goes to database etc. which is useless since all of them will not be shown anyway.
You can load the Controls dynamically.