Exemplo n.º 1
0
 private void Clear()
 {
     txtExpiryDate.Text    = string.Format("{0:dd MMM yyyy}", DateTime.Now);
     lblMsg.InnerText      = string.Empty;
     txtShipmentDate.Text  = string.Empty;
     txtLCOpeningDate.Text = string.Empty;
     AddBlankRowTogvPurchaseProduct();
     btnSave.Enabled = true;
     UC_ProductSearch1.Clear();
     gvLC.DataSource = null;
     gvLC.DataBind();
     btnAdd.Enabled = true;
 }
Exemplo n.º 2
0
 private void Clear()
 {
     txtEntryDate.Text = string.Format("{0:dd MMM yyyy}", DateTime.Now);
     lblMsg.InnerText  = string.Empty;
     txtEntryDate.Text = string.Empty;
     ddlProductDivision.SelectedIndex = 0;
     AddBlankRowTogvPurchaseProduct();
     btnSave.Enabled            = true;
     ddlProductDivision.Enabled = true;
     UC_ProductSearch1.Clear();
     gvRequisition.DataSource = null;
     gvRequisition.DataBind();
     btnAdd.Enabled = true;
 }
 private void Clear()
 {
     //txtPurchaseOrderDate.Text = string.Format("{0:dd/MM/yyyy}", DateTime.Now);
     //txtIntDeliveryDate.Text = string.Format("{0:dd/MM/yyyy}", DateTime.Now);
     lblMsg.InnerText = string.Empty;
     ddlRequistionRef.SelectedIndex = 0;
     ddlProductDivision.Enabled     = true;
     AddBlankRowTogvPurchaseProduct();
     btnSave.Enabled          = true;
     ddlRequistionRef.Enabled = true;
     ckbVATTAXMessage.ClearSelection();
     UC_ProductSearch1.Clear();
     gvPurchaseOrder.DataSource = null;
     gvPurchaseOrder.DataBind();
     btnAdd.Enabled = true;
 }
Exemplo n.º 4
0
        private void Clear()
        {
            txtDeliveryChallanDate.Text = string.Format("{0:dd MMM yyyy}", DateTime.Now);
            lblMsg.InnerText            = string.Empty;
            txtDeliveryChallanDate.Text = string.Empty;
            txtVehicleInfo.Text         = string.Empty;

            AddBlankRowTogvPurchaseProduct();
            btnSave.Enabled = true;
            UC_ProductSearch1.Clear();
            gvDeliveryChallan.DataSource = null;
            gvDeliveryChallan.DataBind();
            btnAdd.Enabled = true;

            this.AlertNone(lblMsg);
        }