Example #1
0
 private void Clear()
 {
     txtAdd.Text         = "";
     txtChequeRece.Text  = "";
     txtDrawnOn.Text     = "";
     txtEmail.Text       = "";
     txtEmailCC.Text     = "";
     txtEmailTo.Text     = "";
     txtEventCharge.Text = "";
     txtEventTitle.Text  = "";
     txtMobCC.Text       = "+91";
     txtMobile.Text      = "";
     //txtOrgnizedBy.Text = "";
     txtPhAC1.Text  = "";
     txtPhAC2.Text  = "";
     txtPhCC1.Text  = "+91";
     txtPhCC2.Text  = "+91";
     txtPhone1.Text = "";
     txtPhone2.Text = "";
     txtVenu.Text   = "";
     DDLcampm.ClearSelection();
     DDLch.ClearSelection();
     DDLClubName.ClearSelection();
     DDLcm.ClearSelection();
     DDLeampm.ClearSelection();
     DDLeh.ClearSelection();
     DDLem.ClearSelection();
     event_closing_date.Clear();
     event_date.Clear();
     listemailCC.Items.Clear();
     listemailTo.Items.Clear();
 }
    //private void bindMonth()
    //{
    //    for (int i = 1; i <= 31; i++)
    //    {
    //        chkMonthly.Items.Add(i.ToString());
    //    }
    //}
    private void reset()
    {
        //DDLFrequency.ClearSelection();
        txtDesc.Text = "";
        StartDate.Clear();
        EndDate.Clear();
        txtEventTitle.Text = "";
        txtVenu.Text       = "";
        //StartTime.Clear();
        //EndTime.Clear();
        DDLsh.ClearSelection(); DDLsm.ClearSelection(); DDLeh.ClearSelection(); DDLem.ClearSelection(); DDLsampm.ClearSelection(); DDLeampm.ClearSelection();
        chkClub.Checked   = false;
        chkDining.Checked = false;
        chkEnter.Checked  = false;

        ////if (checkList)
        ////{
        ////    foreach (ListItem li in chkMonthly.Items)
        ////    {
        ////        li.Selected = false;
        ////    }
        ////}
    }