A
anthonykallay
Hi there,
I dont this this a bug but i cant get my head around it.. I have a
master page that has a login control on it, to log in i press the
button and the page posts back, however on the page that is derived
from the master page (default.aspx) i have code that i dont want to
run after the login button is pressed so i used the standard
if(!Page.IsPostBack) {}
to try and hide the code on default.aspx, however since the postbsck
comes from the control in the master page this code still runs???
How do i stop this code running in default.aspx whn the login button
in the aster page is clicked??
Cheers
Anthony
I dont this this a bug but i cant get my head around it.. I have a
master page that has a login control on it, to log in i press the
button and the page posts back, however on the page that is derived
from the master page (default.aspx) i have code that i dont want to
run after the login button is pressed so i used the standard
if(!Page.IsPostBack) {}
to try and hide the code on default.aspx, however since the postbsck
comes from the control in the master page this code still runs???
How do i stop this code running in default.aspx whn the login button
in the aster page is clicked??
Cheers
Anthony