private void LoadTameliList()
    {
        try
        {
            ATTTameliSearch obj = new ATTTameliSearch();

            obj.OrgID = courtID;


            //if (txtAppelantName.Text.Trim() != "") obj.Appelant = txtAppelantName.Text;
            //if (txtRespondantName.Text.Trim() != "") obj.Respondant = txtRespondantName.Text;


            obj.TameliYesNo     = "null";
            obj.TameliDate      = "null";
            obj.SecClrkRcvdDate = "null";
            obj.VerifiedYesNo   = "null";

            List <ATTTameliSearch> lst = BLLTameliSearch.GetTameliForFeedBack(obj);
            TameliSend = lst;

            grdTameli.DataSource = lst;
            grdTameli.DataBind();

            grdTameli.SelectedIndex = -1;
        }
        catch (Exception ex)
        {
            lblStatusMessage.Text = ex.Message.ToString();
            this.programmaticModalPopup.Show();
        }
    }
Esempio n. 2
0
    protected void btnSearch_Click(object sender, EventArgs e)
    {
        if ((this.ddlCaseType.SelectedIndex < 1) && (this.txtCaseNo.Text == "___-__-____") && (this.txtRegNo.Text == "__-___-_____") &&
            (this.txtRegDate.Text == "____/__/__") && (this.txtVerifiedDate.Text.Trim() == "") && (this.txtRespondantName.Text.Trim() == ""))
        {
            this.lblStatusMessage.Text = "Please Enter (Or) Select Atleast One Field.";
            this.programmaticModalPopup.Show();
            return;
        }


        try
        {
            ATTTameliSearch obj = new ATTTameliSearch();

            obj.OrgID = orgID;

            if (ddlCaseType.SelectedIndex > 0)
            {
                obj.CaseTypeID = int.Parse(ddlCaseType.SelectedValue);
            }
            if (txtRegNo.Text.Trim() != "" && txtRegNo.Text.Trim() != "__-___-_____")
            {
                obj.RegNo = txtRegNo.Text;
            }
            if (txtCaseNo.Text.Trim() != "" && txtCaseNo.Text.Trim() != "___-__-____")
            {
                obj.CaseNo = txtCaseNo.Text;
            }
            if (txtRegDate.Text.Trim() != "" && txtRegDate.Text.Trim() != "____/__/__")
            {
                obj.CaseRegDate = txtRegDate.Text;
            }
            //if (txtAppelantName.Text.Trim() != "") obj.Appelant = txtAppelantName.Text;
            //if (txtRespondantName.Text.Trim() != "") obj.Respondant = txtRespondantName.Text;


            obj.TameliYesNo     = "Y";
            obj.VerifiedYesNo   = "null";
            obj.TameliDate      = "notnull";
            obj.SecClrkRcvdDate = "notnull";

            List <ATTTameliSearch> lst = BLLTameliSearch.GetTameliSearch(obj);
            TameliProcesss       = lst;
            grdTameli.DataSource = lst;


            grdTameli.DataBind();
            grdTameli.SelectedIndex = -1;
        }
        catch (Exception ex)
        {
            lblStatusMessage.Text = ex.Message.ToString();
            this.programmaticModalPopup.Show();
        }
    }
    private void LoadDataForTamildaarAssignment()
    {
        ATTTameliSearch obj = new ATTTameliSearch();

        List <ATTTameliSearch> lst = BLLTameliSearch.GetTameliForAssigningTamildaar(courtID);

        TameliAssignTamildaar = lst;

        grdAssignTamildaar.DataSource = lst;
        grdAssignTamildaar.DataBind();

        grdAssignTamildaar.SelectedIndex = -1;
    }
    private void LoadDeleteData()
    {
        ATTTameliSearch obj = new ATTTameliSearch();

        obj.OrgID = orgID;//new

        obj.TameliYesNo = "Y";
        //obj.TameliYesNo = "notnull";
        obj.VerifiedYesNo   = "null";
        obj.TameliDate      = "notnull";
        obj.SecClrkRcvdDate = "notnull";

        List <ATTTameliSearch> lst = BLLTameliSearch.GetTameliSearch(obj);

        TameliProcesss    = lst;
        grdTam.DataSource = lst;


        grdTam.DataBind();
        grdTam.SelectedIndex = -1;
    }