protected void ToolBar1_ItemClick(object sender, EO.Web.ToolBarEventArgs e)
 {
     if (e.Item.ToolTip == "Add New")
     {
         Session["SPDS_SignatorySetup_ID"] = "0";
         Session["SIGNATORY_NAME"]         = "%";
         Session["UPLOAD_IMAGE_PATH"]      = "%";
         Session["UPLOAD_IMAGE"]           = "%";
         Session["CURRENT_STATUS"]         = "%";
         Session["A_userID"]   = "%";
         Session["A_DateTime"] = "%";
         Session["E_UserID"]   = "%";
         Session["E_DateTime"] = "%";
         Response.Redirect("../SignatorySetup/frmSPDS_SignatorySetupSPC.aspx" + "?" + "s1=" + Request.QueryString[0].ToString());
     }
     else if (e.Item.ToolTip == "Search")
     {
         Session["SPDS_SignatorySetup_ID"]             = "%" + TXT_ID.Text + "%";
         Session["SPDS_SignatorySetup_SIGNATORY_NAME"] = "%" + TXT_SIGNATORY_NAME.Text + "%";
     }
     else if (e.Item.ToolTip == "Refresh")
     {
         TXT_ID.Text             = "";
         TXT_SIGNATORY_NAME.Text = "";
     }
 }
Beispiel #2
0
 protected void ToolBar1_ItemClick(object sender, EO.Web.ToolBarEventArgs e)
 {
     if (e.Item.ToolTip == "Add New")
     {
         Session["SPDS_SignatoryCategorySetup_ID"]            = "0";
         Session["SPDS_SignatoryCategorySetup_CATEGORY_NAME"] = "%";
         //Session["SPDS_SignatoryCategorySetup_FROM_LIMIT"] = "%";
         //Session["SPDS_SignatoryCategorySetup_TO_LIMIT"] = "%";
         //Session["SPDS_SignatoryCategorySetup_CurrentStatus"] = "%";
         ///  Response.Redirect("../SignatoryCategorySetup/frmSPDS_SignatoryCategorySetupSPC.aspx");
     }
     else if (e.Item.ToolTip == "Search")
     {
         Session["SPDS_SignatoryCategorySetup_CATEGORY_NAME"] = "%" + TXT_CATEGORY_NAME.Text + "%";
         ////Session["SPDS_SignatoryCategorySetup_FROM_LIMIT"] = "%" + TXT_FROM_LIMIT.Text + "%";
         ////Session["SPDS_SignatoryCategorySetup_TO_LIMIT"] = "%" + TXT_TO_LIMIT.Text + "%";
         ////Session["SPDS_SignatoryCategorySetup_CurrentStatus"] = "%" + TXT_CurrentStatus.Text + "%";
     }
     else if (e.Item.ToolTip == "Refresh")
     {
         TXT_CATEGORY_NAME.Text = "";
         //TXT_FROM_LIMIT.Text = "";
         //TXT_TO_LIMIT.Text = "";
         //TXT_CurrentStatus.Text = "";
     }
 }
Beispiel #3
0
 protected void ToolBar1_ItemClick(object sender, EO.Web.ToolBarEventArgs e)
 {
     if (e.Item.ToolTip == "Search")
     {
         Session["DRAFTIQUIRY_RemitterNo"]      = "%" + TXT_RemitterNO.Text;       // +"%";
         Session["DRAFTIQUIRY_RemitterName"]    = "%" + TXT_RemitterName.Text;     // + "%";
         Session["DRAFTIQUIRY_BeneficiaryNo"]   = "%" + TXT_BENEFICIARY_NO.Text;   // + "%";
         Session["DRAFTIQUIRY_BeneficiaryName"] = "%" + TXT_BENEFICIARY_NAME.Text; // + "%";
         Session["DRAFTIQUIRY_STARDRAFTNO"]     = "%" + TXT_STARDRAFT_NO.Text;     // + "%";
         Session["DRAFTIQUIRY_STATIONNAME"]     = "%" + TXT_STATION_NAME.Text;     // + "%";
         Session["DRAFTIQUIRY_PODNO"]           = "%" + TXT_PODNO.Text;            // + "%";
         Session["DRAFTIQUIRY_REMITTANCENO"]    = "%" + TXT_REMITTANCE_NO.Text;    // + "%";
         Session["DRAFTIQUIRY_SPDS_TYPE"]       = "%" + TXT_SPDS_TYPE.Text;        // + "%";
         Session["DRAFTIQUIRY_DRAFTNO"]         = "%" + TXT_DRAFTNO.Text;          // + "%";
     }
     else if (e.Item.ToolTip == "Refresh")
     {
         TXT_RemitterNO.Text                                  =
             TXT_RemitterName.Text                            =
                 TXT_BENEFICIARY_NO.Text                      =
                     TXT_BENEFICIARY_NAME.Text                =
                         TXT_STARDRAFT_NO.Text                =
                             TXT_STATION_NAME.Text            =
                                 TXT_PODNO.Text               =
                                     TXT_REMITTANCE_NO.Text   =
                                         TXT_SPDS_TYPE.Text   =
                                             TXT_DRAFTNO.Text = "";
     }
 }
 protected void ToolBar1_ItemClick(object sender, EO.Web.ToolBarEventArgs e)
 {
     if (e.Item.ToolTip == "Add New")
     {
         Session["SPDS_PrintAgentDetail_ID"]                = "0";
         Session["SPDS_PrintAgentDetail_PRINT_AGENT_ID"]    = "0";
         Session["SPDS_PrintAgentDetail_PRINT_LOCATION_ID"] = "0";
         //Session["SPDS_PrintAgentDetail_DONGAL_PIN"] = "%";
         //Session["SPDS_PrintAgentDetail_MASTER_ZIP_CODE"] = "%";
         // Response.Redirect("../PrintAgentDetail/frmSPDS_PrintAgentDetailSPC.aspx");
     }
     else if (e.Item.ToolTip == "Search")
     {
         //Session["SPDS_PrintAgentDetail_PRINT_AGENT_ID"] = "%" + TXT_PRINT_AGENT_ID.Text + "%";
         Session["SPDS_PrintAgentDetail_PRINT_LOCATION_ID"] = "%" + TXT_PRINT_LOCATION_ID.Text + "%";
         //Session["SPDS_PrintAgentDetail_DONGAL_PIN"] = "%" + TXT_DONGAL_PIN.Text + "%";
         //Session["SPDS_PrintAgentDetail_MASTER_ZIP_CODE"] = "%" + TXT_MASTER_ZIP_CODE.Text + "%";
     }
     else if (e.Item.ToolTip == "Refresh")
     {
         //TXT_PRINT_AGENT_ID.Text = "";
         TXT_PRINT_LOCATION_ID.Text = "";
         //TXT_DONGAL_PIN.Text = "";
         //TXT_MASTER_ZIP_CODE.Text = "";
     }
 }
Beispiel #5
0
    protected void ToolBar1_ItemClick(object sender, EO.Web.ToolBarEventArgs e)
    {
        if (e.Item.ToolTip == "Add New")
        {
            Session["SPDS_AuthorizationMatrix_ID"]              = "0";
            Session["SPDS_AuthorizationMatrix_CUSTOMER_NAME"]   = "%";
            Session["SPDS_AuthorizationMatrix_INSTRUMENT_NAME"] = "%";

            Response.Redirect("../AuthorizationMatrix/frmSPDS_AuthorizationMatrixSPC.aspx" + "?" + "s1=" + Request.QueryString[0].ToString());
        }
        else if (e.Item.ToolTip == "Search")
        {
            Session["SPDS_AuthorizationMatrix_CUSTOMER_NAME"]          = "%" + TXT_CUSTOMER_ID.Text + "%";
            Session["SPDS_AuthorizationMatrix_INSTRUMENT_NAME"]        = "%" + TXT_INSTRUMENT_ID.Text + "%";
            Session["SPDS_AuthorizationMatrix_MAKE_SIGNATORY_NAME"]    = "%" + TXT_MAKE_SIGNATORY_ID.Text + "%";
            Session["SPDS_AuthorizationMatrix_CHECKER_SIGNATORY_NAME"] = "%" + TXT_CHECKER_SIGNATORY_ID.Text + "%";
            Session["SPDS_AuthorizationMatrix_CATEGORY_NAME"]          = "%" + TXT_CATEGORY_ID.Text + "%";
        }
        else if (e.Item.ToolTip == "Refresh")
        {
            TXT_CUSTOMER_ID.Text          = "";
            TXT_INSTRUMENT_ID.Text        = "";
            TXT_MAKE_SIGNATORY_ID.Text    = "";
            TXT_CHECKER_SIGNATORY_ID.Text = "";
            TXT_CATEGORY_ID.Text          = "";
        }
    }
Beispiel #6
0
 protected void EditToolbar_ItemClick(object sender, EO.Web.ToolBarEventArgs e)
 {
     Page.Validate();
     if (e.Item.ToolTip == "Update")
     {
         if (Page.IsValid)
         {
             LOV_COLLECTION L = new LOV_COLLECTION();
             DataSet        DS;
             DS = L.SP_AuthorizationMatrix_DP
                      (((TextBox)FormView1.FindControl("TXT_CUSTOMER_ID_EDIT")).Text,
                      ///((TextBox)FormView1.FindControl("TXT_INSTRUMENT_ID_EDIT")).Text,
                      "123",
                      ((TextBox)FormView1.FindControl("TXT_MAKE_SIGNATORY_ID_EDIT")).Text,
                      ((TextBox)FormView1.FindControl("TXT_CHECKER_SIGNATORY_ID_EDIT")).Text,
                      ((TextBox)FormView1.FindControl("TXT_CATEGORY_ID_EDIT")).Text,
                      Session["SPDS_AuthorizationMatrix_ID"].ToString());
             if (DS.Tables[0].Rows.Count > 0)
             {
                 ((Label)FormView1.FindControl("lblDuplicate_EDIT")).Text = "Duplicate Record";
             }
             else
             {
                 if (DS.Tables[0].Rows.Count <= 0)
                 {
                     P_SPDS_AuthorizationMatrix.RecordInputStart();
                     P_SPDS_AuthorizationMatrix.Get_ID                   = Session["SPDS_AuthorizationMatrix_ID"].ToString();
                     P_SPDS_AuthorizationMatrix.Get_CUSTOMER_ID          = ((TextBox)FormView1.FindControl("TXT_CUSTOMER_ID_EDIT")).Text;
                     P_SPDS_AuthorizationMatrix.Get_INSTRUMENT_ID        = "123";///((TextBox)FormView1.FindControl("TXT_INSTRUMENT_ID_EDIT")).Text;
                     P_SPDS_AuthorizationMatrix.Get_MAKE_SIGNATORY_ID    = ((TextBox)FormView1.FindControl("TXT_MAKE_SIGNATORY_ID_EDIT")).Text;
                     P_SPDS_AuthorizationMatrix.Get_CHECKER_SIGNATORY_ID = ((TextBox)FormView1.FindControl("TXT_CHECKER_SIGNATORY_ID_EDIT")).Text;
                     P_SPDS_AuthorizationMatrix.Get_CATEGORY_ID          = ((TextBox)FormView1.FindControl("TXT_CATEGORY_ID_EDIT")).Text;
                     P_SPDS_AuthorizationMatrix.Get_A_UserID             = Session["U_NAME"].ToString();
                     P_SPDS_AuthorizationMatrix.Get_A_DateTime           = DateTime.Now.ToString("dd-MMM-yyyy").ToString();
                     P_SPDS_AuthorizationMatrix.Get_E_UserID             = Session["U_NAME"].ToString();//((TextBox)FormView1.FindControl("TXT_E_UserID_EDIT")).Text;
                     P_SPDS_AuthorizationMatrix.Get_E_DateTime           = DateTime.Now.ToString("dd-MMM-yyyy").ToString();
                     P_SPDS_AuthorizationMatrix.RecordInputCommit();
                     P_SPDS_AuthorizationMatrix.EditNewGroup();
                     BackPage();
                 }
                 else
                 {
                     ((TextBox)FormView1.FindControl("TXT_CUSTOMER_ID_EDIT")).Text          = "";
                     ((TextBox)FormView1.FindControl("TXT_INSTRUMENT_ID_EDIT")).Text        = "";
                     ((TextBox)FormView1.FindControl("TXT_MAKE_SIGNATORY_ID_EDIT")).Text    = "";
                     ((TextBox)FormView1.FindControl("TXT_CHECKER_SIGNATORY_ID_EDIT")).Text = "";
                     ((TextBox)FormView1.FindControl("TXT_CATEGORY_ID_EDIT")).Text          = "";
                     ((RequiredFieldValidator)FormView1.FindControl("REQ_CUSTOMER_ID_EDIT")).Validate();
                 }
             }
         }
     }
     else if (e.Item.ToolTip == "Cancel")
     {
         BackPage();
     }
 }
 protected void ToolBar1_ItemClick(object sender, EO.Web.ToolBarEventArgs e)
 {
     if (e.Item.ToolTip == "Search")
     {
         Session["rps_sp_RemittanceCode"] = "%" + TXT_REMITTERNO.Text + "%";
     }
     else if (e.Item.ToolTip == "Refresh")
     {
         TXT_REMITTERNO.Text = "";
     }
 }
Beispiel #8
0
 protected void ToolBar1_ItemClick(object sender, EO.Web.ToolBarEventArgs e)
 {
     if (e.Item.ToolTip == "Search")
     {
         Session["RPS_POD_PODNo"] = "%" + TXT_PODNO.Text + "%";
     }
     else if (e.Item.ToolTip == "Refresh")
     {
         TXT_PODNO.Text = "";
     }
 }
Beispiel #9
0
 protected void ToolBar1_ItemClick(object sender, EO.Web.ToolBarEventArgs e)
 {
     if (e.Item.ToolTip == "Search")
     {
         Session["Batch_ID"] = "%" + TXT_PrincipleBankID.Text + "%";
     }
     else if (e.Item.ToolTip == "Refresh")
     {
         TXT_PrincipleBankID.Text = "";
     }
 }
 protected void ToolBar1_ItemClick(object sender, EO.Web.ToolBarEventArgs e)
 {
     if (e.Item.ToolTip == "Search")
     {
         Session["PrintLocationName"] = "%" + TXT_DistrictName.Text + "%";
     }
     else if (e.Item.ToolTip == "Refresh")
     {
         TXT_DistrictName.Text = "";
     }
 }
Beispiel #11
0
    protected void InsertToolbar_ItemClick(object sender, EO.Web.ToolBarEventArgs e)
    {
        Page.Validate();
        if (e.Item.ToolTip == "Insert")
        {
            if (Page.IsValid)
            {
                LOV_COLLECTION L = new LOV_COLLECTION();
                DataSet        DS;
                DS = L.SP_AuthorizationMatrix_DP

                         (Convert.ToString(CustomerID), Convert.ToString(InstrumentID), Convert.ToString(MakerSignatoryID),
                         Convert.ToString(CheckerSignatoryID), Convert.ToString(CategoryID), "0");

                if (DS.Tables[0].Rows.Count > 0)
                {
                    ((Label)FormView1.FindControl("lblDuplicate_INSERT")).Text = "Duplicate Record";
                }
                else
                {
                    if (DS.Tables[0].Rows.Count <= 0)
                    {
                        P_SPDS_AuthorizationMatrix.RecordInputStart();
                        P_SPDS_AuthorizationMatrix.Get_ID                   = "0";
                        P_SPDS_AuthorizationMatrix.Get_CUSTOMER_ID          = CustomerID;
                        P_SPDS_AuthorizationMatrix.Get_INSTRUMENT_ID        = InstrumentID;
                        P_SPDS_AuthorizationMatrix.Get_MAKE_SIGNATORY_ID    = MakerSignatoryID;
                        P_SPDS_AuthorizationMatrix.Get_CHECKER_SIGNATORY_ID = CheckerSignatoryID;
                        P_SPDS_AuthorizationMatrix.Get_CATEGORY_ID          = CategoryID;
                        P_SPDS_AuthorizationMatrix.Get_A_UserID             = Session["U_NAME"].ToString();//((TextBox)FormView1.FindControl("TXT_A_UserID_INSERT")).Text;
                        P_SPDS_AuthorizationMatrix.Get_A_DateTime           = DateTime.Now.ToString("dd-MMM-yyyy").ToString();
                        P_SPDS_AuthorizationMatrix.Get_E_UserID             = Session["U_NAME"].ToString();
                        P_SPDS_AuthorizationMatrix.Get_E_DateTime           = DateTime.Now.ToString("dd-MMM-yyyy").ToString();
                        P_SPDS_AuthorizationMatrix.RecordInputCommit();
                        P_SPDS_AuthorizationMatrix.AddNewGroup();
                        BackPage();
                    }
                    else
                    {
                        ((TextBox)FormView1.FindControl("TXT_CUSTOMER_ID_INSERT")).Text          = "";
                        ((TextBox)FormView1.FindControl("TXT_INSTRUMENT_ID_INSERT")).Text        = "";
                        ((TextBox)FormView1.FindControl("TXT_MAKE_SIGNATORY_ID_INSERT")).Text    = "";
                        ((TextBox)FormView1.FindControl("TXT_CHECKER_SIGNATORY_ID_INSERT")).Text = "";
                        ((TextBox)FormView1.FindControl("TXT_CATEGORY_ID_INSERT")).Text          = "";
                        ((RequiredFieldValidator)FormView1.FindControl("REQ_CUSTOMER_ID_INSERT")).Validate();
                    }
                }
            }
        }
        else if (e.Item.ToolTip == "Cancel")
        {
            BackPage();
        }
    }
 protected void ToolBar1_ItemClick(object sender, EO.Web.ToolBarEventArgs e)
 {
     if (e.Item.ToolTip == "Search")
     {
         Session["SPDS_InstrumentSetup_INSTRUMENT_NAME"] = "%" + TXT_INSTRUMENT_NAME.Text + "%";
     }
     else if (e.Item.ToolTip == "Refresh")
     {
         TXT_INSTRUMENT_NAME.Text = "";
     }
 }
Beispiel #13
0
 protected void ToolBar1_ItemClick(object sender, EO.Web.ToolBarEventArgs e)
 {
     if (e.Item.ToolTip == "Search")
     {
         Session["SPDS_LOV_CONFIF_ID"] = "%" + TXT_DraftNo.Text + "%";
     }
     else if (e.Item.ToolTip == "Refresh")
     {
         TXT_DraftNo.Text = "";
     }
 }
 protected void ToolBar1_ItemClick(object sender, EO.Web.ToolBarEventArgs e)
 {
     if (e.Item.ToolTip == "Search")
     {
         Session["LOV_FileName"] = "%" + txt_filename.Text + "%";
     }
     else if (e.Item.ToolTip == "Refresh")
     {
         txt_filename.Text = "";
     }
 }
Beispiel #15
0
 protected void ToolBar1_ItemClick(object sender, EO.Web.ToolBarEventArgs e)
 {
     if (e.Item.ToolTip == "Search")
     {
         Session["USER_SEARCH"] = "%" + TXT_USER_NAME.Text + "%";
     }
     else if (e.Item.ToolTip == "Refresh")
     {
         TXT_USER_NAME.Text     = "";
         RD_ProductName.Checked = false;
     }
 }
Beispiel #16
0
 protected void ToolBar1_ItemClick(object sender, EO.Web.ToolBarEventArgs e)
 {
     if (e.Item.ToolTip == "Search")
     {
         Session["CMN_Branch_BranchName"] = "%" + TXT_BranchName.Text + "%";
         Session["CMN_Branch_BranchCode"] = "%" + TXT_BranchCode.Text + "%";
     }
     else if (e.Item.ToolTip == "Refresh")
     {
         TXT_BranchName.Text = "";
     }
 }
Beispiel #17
0
 protected void ToolBar1_ItemClick(object sender, EO.Web.ToolBarEventArgs e)
 {
     if (e.Item.ToolTip == "Search")
     {
         Session["SPDS_UniversalUploadCofiguration_Channel"]           = "%" + TXT_Channel.Text + "%";
         Session["SPDS_UniversalUploadCofiguration_ConfigurationName"] = "%" + TXT_ConfigurationName.Text + "%";
     }
     else if (e.Item.ToolTip == "Refresh")
     {
         TXT_Channel.Text           = "";
         TXT_ConfigurationName.Text = "";
     }
 }
 protected void ToolBar1_ItemClick(object sender, EO.Web.ToolBarEventArgs e)
 {
     if (e.Item.ToolTip == "Search")
     {
         Session["RPS_DefaultMessages_DefaultMessageCode"] = "%" + TXT_DefaultMessageCode.Text + "%";
         Session["RPS_DefaultMessages_Description"]        = "%" + TXT_Description.Text + "%";
     }
     else if (e.Item.ToolTip == "Refresh")
     {
         TXT_DefaultMessageCode.Text = "";
         TXT_Description.Text        = "";
     }
 }
 protected void ToolBar1_ItemClick(object sender, EO.Web.ToolBarEventArgs e)
 {
     if (e.Item.ToolTip == "Search")
     {
         Session["Source"]        = "%" + TXT_Source.Text + "%";
         Session["Configuration"] = "%" + TXT_Configuration.Text + "%";
     }
     else if (e.Item.ToolTip == "Refresh")
     {
         TXT_Configuration.Text = "";
         TXT_Source.Text        = "";
     }
 }
 protected void ToolBar1_ItemClick(object sender, EO.Web.ToolBarEventArgs e)
 {
     if (e.Item.ToolTip == "Search")
     {
         Session["CONF_DEF_ID"]   = "%" + TXT_CONF_DEF_ID.Text + "%";
         Session["CONF_DEF_desc"] = "%" + TXT_CONF_DEF_desc.Text + "%";
     }
     else if (e.Item.ToolTip == "Refresh")
     {
         TXT_CONF_DEF_ID.Text   = "";
         TXT_CONF_DEF_desc.Text = "";
     }
 }
 protected void ToolBar1_ItemClick(object sender, EO.Web.ToolBarEventArgs e)
 {
     if (e.Item.ToolTip == "Search")
     {
         Session["SPDS_ProductMaster_ProductCode"] = "%" + TXT_ProductCode.Text + "%";
         Session["SPDS_ProductMaster_ProductName"] = "%" + TXT_ProductName.Text + "%";
     }
     else if (e.Item.ToolTip == "Refresh")
     {
         TXT_ProductCode.Text = "";
         TXT_ProductName.Text = "";
     }
 }
Beispiel #22
0
 protected void ToolBar1_ItemClick(object sender, EO.Web.ToolBarEventArgs e)
 {
     if (e.Item.ToolTip == "Search")
     {
         Session["SPDS_SignatorySetup_ID"]             = "%" + TXT_ID.Text + "%";
         Session["SPDS_SignatorySetup_SIGNATORY_NAME"] = "%" + TXT_SIGNATORY_NAME.Text + "%";
     }
     else if (e.Item.ToolTip == "Refresh")
     {
         TXT_ID.Text             = "";
         TXT_SIGNATORY_NAME.Text = "";
     }
 }
 protected void DisplayToolBar_ItemClick(object sender, EO.Web.ToolBarEventArgs e)
 {
     //if (e.Item.ToolTip == "Edit")
     //{ FormView1.ChangeMode(FormViewMode.Edit); }
     //else if (e.Item.ToolTip == "Cancel")
     //{ BackPage(); }
     //else if (e.Item.ToolTip == "Authorize / Unauthorize")
     //{
     //    LOV_COLLECTION L = new LOV_COLLECTION();
     //    DataSet DS;
     //    DS = L.SP_AuthorizeRecord("SPDS_InstrumentSetup", Session["U_NAME"].ToString(), DateTime.Now.ToString("MM-dd-yyyy"), Session["SPDS_InstrumentSetup_ID"].ToString());
     //    Response.Redirect("../InstrumentSetup/frmSPDS_InstrumentSetupSPC.aspx" + "?" + "s1=" + Request.QueryString[0].ToString());
     //}
 }
 protected void DisplayToolBar_ItemClick(object sender, EO.Web.ToolBarEventArgs e)
 {
     if (e.Item.ToolTip == "Edit")
     {
         FormView1.ChangeMode(FormViewMode.Edit);
     }
     else if (e.Item.ToolTip == "Cancel")
     {
         BackPage();
     }
     else if (e.Item.ToolTip == "Authorize / Unauthorize")
     {
     }
 }
 protected void DisplayToolBar_ItemClick(object sender, EO.Web.ToolBarEventArgs e)
 {
     //if (e.Item.ToolTip == "Edit")
     //{ FormView1.ChangeMode(FormViewMode.Edit); }
     //else if (e.Item.ToolTip == "Cancel")
     //{ BackPage(); }
     //else if (e.Item.ToolTip == "Authorize / Unauthorize")
     //{
     //    //LOV_COLLECTION lov = new LOV_COLLECTION();
     //    //DataSet ds = new DataSet();
     //    //ds = lov.Get_SP_RPS_DraftCancellation_Authorized(((Label)FormView1.FindControl("TXT_ID_DISPLAY")).Text, Session["UserId"].ToString(), System.DateTime.Now.ToString());
     //    //BackPage();
     //}
 }
Beispiel #26
0
    protected void InsertToolbar_ItemClick(object sender, EO.Web.ToolBarEventArgs e)
    {
        Page.Validate();
        if (e.Item.ToolTip == "Insert")
        {
            if (Page.IsValid)
            {
                //LOV_COLLECTION L = new LOV_COLLECTION();
                //DataSet DS;
                //DS = L.SP_Currency_DP(((TextBox)FormView1.FindControl("TXT_CurrencyCode_INSERT")).Text, "0");
                //if (DS.Tables[0].Rows.Count > 0)
                //{
                //    ((Label)FormView1.FindControl("lblDuplicate_INSERT")).Text = "Duplicate Record";
                //}
                //else
                //{
                //    if (DS.Tables[0].Rows.Count <= 0)
                //    {

                P_CustomerConfigLink.RecordInputStart();
                P_CustomerConfigLink.Get_COMPANY_CODE    = ((TextBox)FormView1.FindControl("TXT_CustomerCode_INSERT")).Text;
                P_CustomerConfigLink.Get_CONF_DEF_ID     = ((TextBox)FormView1.FindControl("TXT_ConfigDefID_INSERT")).Text;
                P_CustomerConfigLink.Get_FTP_LOADPATH    = ((TextBox)FormView1.FindControl("TXT_Upload_Path_INSERT")).Text;
                P_CustomerConfigLink.Get_FTP_USERID      = ((TextBox)FormView1.FindControl("TXT_Upload_UserID_INSERT")).Text;
                P_CustomerConfigLink.Get_FTP_PASSWORD    = ((TextBox)FormView1.FindControl("TXT_Upload_Password_INSERT")).Text;
                P_CustomerConfigLink.Get_FTP_MOVEPATH    = ((TextBox)FormView1.FindControl("TXT_Move_Path_INSERT")).Text;
                P_CustomerConfigLink.Get_FTP_MOVE_USERID = ((TextBox)FormView1.FindControl("TXT_Move_UserID_INSERT")).Text;
                P_CustomerConfigLink.Get_FTP_PASSWORD    = ((TextBox)FormView1.FindControl("TXT_Move_Password_INSERT")).Text;
                //P_CMN_Currency.Get_A_UserID = Session["U_NAME"].ToString(); //"0";
                //P_CMN_Currency.Get_A_DateTime = DateTime.Now.ToString("dd-MMM-yyyy").ToString();
                //P_CMN_Currency.Get_E_UserID = Session["U_NAME"].ToString();
                //P_CMN_Currency.Get_E_DateTime = DateTime.Now.ToString("dd-MMM-yyyy").ToString();
                P_CustomerConfigLink.RecordInputCommit();
                P_CustomerConfigLink.AddNewGroup();
                BackPage();
                //    }
                //    else
                //    {
                //        ((TextBox)FormView1.FindControl("TXT_CurrencyCode_INSERT")).Text = "";
                //        ((RequiredFieldValidator)FormView1.FindControl("REQ_CurrencyCode_INSERT")).Validate();
                //    }
                //}
            }
        }
        else if (e.Item.ToolTip == "Cancel")
        {
            BackPage();
        }
    }
Beispiel #27
0
 protected void ToolBar1_ItemClick(object sender, EO.Web.ToolBarEventArgs e)
 {
     if (e.Item.ToolTip == "Search")
     {
         Session["SPDS_ProductArrangement_CustomerName"]      = "%" + TXT_CustomerName.Text + "%";
         Session["SPDS_ProductArrangement_ProductName"]       = "%" + TXT_ProductName.Text + "%";
         Session["SPDS_ProductArrangement_CorrespondentBank"] = "%";
         Session["SPDS_ProductArrangement_CourierName"]       = "%";
     }
     else if (e.Item.ToolTip == "Refresh")
     {
         TXT_CustomerName.Text = "";
         TXT_ProductName.Text  = "";
     }
 }
Beispiel #28
0
 protected void ToolBar1_ItemClick(object sender, EO.Web.ToolBarEventArgs e)
 {
     if (e.Item.ToolTip == "Search")
     {
         Session["RPS_Draft_DraftNo"] = "%" + TXT_DraftNo.Text + "%";
         //Session["PrincipleBankID"] = "%" + TXT_PrincipleBankID.Text + "%";
         //Session["CorrespondingBankID"] = "%" + TXT_CorrespondingBankID.Text + "%";
     }
     else if (e.Item.ToolTip == "Refresh")
     {
         TXT_DraftNo.Text = "";
         //TXT_PrincipleBankID.Text = "";
         //TXT_CorrespondingBankID.Text = "";
     }
 }
    protected void EditToolbar_ItemClick(object sender, EO.Web.ToolBarEventArgs e)
    {
        Page.Validate();
        if (e.Item.ToolTip == "Update")
        {
            if (Page.IsValid)
            {
                //LOV_COLLECTION L = new LOV_COLLECTION();
                //DataSet DS;
                //DS = L.SP_Currency_DP(((TextBox)FormView1.FindControl("txtBANKCODE_EDIT")).Text, "0");
                //if (DS.Tables[0].Rows.Count > 0)
                //{
                //    ((Label)FormView1.FindControl("lblDuplicate_EDIT")).Text = "Duplicate Record";
                //}
                //else
                //{
                //    if (DS.Tables[0].Rows.Count <= 0)
                //    {

                /* // Commit By ibrahim siad ali bhai
                 * CustBalObj.RecordInputStart();
                 * CustBalObj.setBankCode = ((TextBox)FormView1.FindControl("txtBANKCODE_EDIT")).Text;
                 * CustBalObj.setRateDate = ((TextBox)FormView1.FindControl("txtRATE_DATE_EDIT")).Text;
                 * CustBalObj.setBalAmount = ((TextBox)FormView1.FindControl("txtBAL_AMOUNT_EDIT")).Text;
                 *
                 * CustBalObj.setA_UserID = Session["U_NAME"].ToString();
                 * CustBalObj.setA_DateTime = DateTime.Now.ToString("dd-MMM-yyyy").ToString();
                 * CustBalObj.setE_UserID = Session["U_NAME"].ToString();
                 * CustBalObj.setE_DateTime = DateTime.Now.ToString("dd-MMM-yyyy").ToString();
                 * CustBalObj.RecordInputCommit();
                 * CustBalObj.EditNewGroup();
                 * BackPage();
                 * //    }
                 * //    else
                 * //    {
                 * ((TextBox)FormView1.FindControl("txtBANKCODE_EDIT")).Text = "";
                 * ((TextBox)FormView1.FindControl("txtRATE_DATE_EDIT")).Text = "";
                 * ((TextBox)FormView1.FindControl("txtBAL_AMOUNT_EDIT")).Text = "";
                 * //((RequiredFieldValidator)FormView1.FindControl("REQ_CurrencyCode_INSERT")).Validate();
                 * //    }
                 * // }*/
            }
        }
        else if (e.Item.ToolTip == "Cancel")
        {
            BackPage();
        }
    }
 protected void ToolBar1_ItemClick(object sender, EO.Web.ToolBarEventArgs e)
 {
     if (e.Item.ToolTip == "Add New")
     {
     }
     else if (e.Item.ToolTip == "Search")
     {
         Session["SPDS_CustomerInstrumentSetup_CUSTOMER_Name"]   = "%" + TXT_CUSTOMER_ID.Text + "%";
         Session["SPDS_CustomerInstrumentSetup_INSTRUMENT_Name"] = "%" + TXT_INSTRUMENT_ID.Text + "%";
     }
     else if (e.Item.ToolTip == "Refresh")
     {
         TXT_CUSTOMER_ID.Text   = "";
         TXT_INSTRUMENT_ID.Text = "";
     }
 }