Click here to Skip to main content
15,895,142 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Add button click popup window comes then hit the cancel button from Pop window . after that . Click the Add button Again its not taking single click . it taking double click. why .what the region behind it .
Aspx.cs
this is for AddButton
C#
protected void btnAddNewGroup_Click(object sender, EventArgs e)
        {

            Get_Users_List(gv_Users);
            lbl_ModalPopupExtender1_msg.Text = "";

            ModalPopupExtender1.Show();
            txt_GroupName.Focus();
        }

this is for cancel button
C#
protected void Btn_Cancel_Click1(object sender, EventArgs e)
        {
            div_All.Visible = true;
            div_Group.Visible = false;
            L_Message.Visible = false;

            //   Populate_Groups_PageWise(userid, "");
            Populate_Groups(userid);
            MenuItem item = NavigationMenu.FindItem("All");
            if (item != null)
            {
                item.Selected = true;
            }
        }
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900