B
Blue Man
Hello
My page is generated by a user control, I check IsPostBack condition in user
control Page_Load event.
if(this.IsPostBack)
clearcontrols();
clearcontrol disables all of textboxs and buttons. but seems not working.
when ever i push back button from my browser i can see all of them still
enabled.
I tried if(IsPostBack),if(page.ispostback) and if(this.page.ispostback)
also, but didn't work.
what is wrong with my code?
My page is generated by a user control, I check IsPostBack condition in user
control Page_Load event.
if(this.IsPostBack)
clearcontrols();
clearcontrol disables all of textboxs and buttons. but seems not working.
when ever i push back button from my browser i can see all of them still
enabled.
I tried if(IsPostBack),if(page.ispostback) and if(this.page.ispostback)
also, but didn't work.
what is wrong with my code?