I have a login user-control(UC) and on the click of a button a session is created after which i hide the UC and display
another UC. The problem here is that i have the UCs in a nested master
page and which has a master page for it as well. The problem i am
facing is that the user has to do this twice to verify himself and login
coz the click event is called at the end of the page load.
Writing code of showing and hiding of UC , in Page_PreRender
event of the aspx page helped solved the problem of hiding and
unhiding the UCs but I am unable to get the effect of the
code that i have written down in the click event of the UCLogin button.
So the solution seems to be to use a Bubble event as I have been told
by some friends .
I have tried using the bubble event in the following way but it doesn't help.
The following is the code of the UCs and the nested master page:
NestedMasterPage's code behind
protect ...
Go to the complete details ...