Author: ChrisAugDev | Posted on: 7/18/2008 2:08:02 PM | Views : 389

I have a code built to handle a bunch of checkboxes, and then a submit button. When a certain box is checked the button pressed, it should open a new window for the page. It works, but I have to click the button twice to get it to work. The first time it just reloads the checkbox page, and the second time it finally opens the new window. What am I missing?
My button is <asp:Button ID="Submit" Text="Submit" OnClick="Get_CheckBoxes" runat="Server" />
code behind:
public void Get_CheckBoxes(object Src, EventArgs Args)
{
if (C ...

Go to the complete details ...