H
hplayer03
I'm having major issues disabling a submit button after a form has
been filled out. Nothing I've tried so far has helped. I've put
if(!Page.IsPostBack)
{
Session["JustSubmitted"]=false;
}
else if((bool)Session["JustSubmitted"]==true)
{
contiuneCode();
}
in the page_load
public void btn_submit_Click(object sender, System.EventArgs e)
{
Session["JustSubmitted"]=true;
btn_submit.Enabled = false;
lbl_process.Visible = true;
//Force Postback
}
i'd like to force a postback in the btn_submit_click but i can't seem
to do that. I know its not pretty, but i'm open to other suggestions.
Thanks.
hplayer
been filled out. Nothing I've tried so far has helped. I've put
if(!Page.IsPostBack)
{
Session["JustSubmitted"]=false;
}
else if((bool)Session["JustSubmitted"]==true)
{
contiuneCode();
}
in the page_load
public void btn_submit_Click(object sender, System.EventArgs e)
{
Session["JustSubmitted"]=true;
btn_submit.Enabled = false;
lbl_process.Visible = true;
//Force Postback
}
i'd like to force a postback in the btn_submit_click but i can't seem
to do that. I know its not pretty, but i'm open to other suggestions.
Thanks.
hplayer