Based on the selection in the confirmation box a change is to be made in a hidden field having id hdnField.
In the same btnSubmit_Click() i have a conditional statement written.
Inside the conditional statement i have written a code to make some changes to the page displayed.
Now after i wrote the script i am facing a problem.
The changes made in the page (which is written inside the conditional statement) is getting displayed only on the second click on the submit button .
Could some one help me to sort this out.
I am pasting the code here.
private void btnSubmit_Click(object sender, System.EventArgs e)
btnSubmit.Enabled = false;
foreach(Control c in PlaceHolder2.Controls)
/* Got some code here which deals with changes to controls inplace Holder