I have a modal popup that is meant to load when the page loads.. but is reappearing later on when the form is being submitted.
So on our page, the below page_load event is written. I just added the hide before posting this message to see if it would help in anyway.
When the page loads for the first time, we want the modal to open and allow the user to answer a question. once they select an answer, they are directed to the form and allowed to complete it. BUT once they click the submit button, the modal appears again
during the form processing and we don't want that..
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
partsList();
fvMPE2.Show();
}
if (IsPostBack)
{
fvMPE2.Hide();
}
}
What else should I be looking for or checking..
Thi ...
Go to the complete details ...