Click here to Skip to main content
15,892,674 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Why there is an issue in one single pop up code behind change unpated? But in iis the above condtn change isn't working.But in local is fine. We excluded pages such as global.asax and few other as its not used rt now and then published.
ishing .Will that affect this . All else are working ok in server too.

My code Updated in the pop up page is as follows:
C#
if (hidSalaryAdvance.Value.ToString() == "True")
                  {
                      odfacility = 1;
                     //Added by Alex on Feb 4,2014 to see whether any have OD facility and if any store to a session
                      Session["odfacility"] = "1";
                      //Added by Alex on Jan 28,2014 to append Employee Id Values with OD Facility
                      if (count == 0)
                      {
                          EmpId = hidEmpId.Value.ToString();
                      }
                      else
                      {
                          EmpId += ","+hidEmpId.Value.ToString();
                      }


                      count++;

                  }
                  else
                  {
                      odfacility = 0;
                  }
                  CorporateId = hidCorporateId.Value.ToString();
                  recordcount++;
                  int output;
                  //Added by Alex on Feb 4,2014 to save only if no OD facility set AND CHECKBOX CHEcked
                  if (odfacility == 0 && chkVerify != null && chkVerify.Checked)
                  {
                      if (Session["ROLE"].ToString() == "C3V")
                      {
                          output = new AFSPosting().SaveUpdateStatus(hidCorporateId.Value, Double.Parse(hidC3EmpRegId.Value), userId, ref count);
                      }
                      else
                      {
                          output = new AFSPosting().SaveC3MakerUpdateStatus(hidCorporateId.Value, hidupdateStatus.Value, Double.Parse(hidC3EmpRegId.Value), userId);
                      }

                      if (output != 0)
                          Common.showMessage("An error occured while saving the records ", this);
                      else
                          Common.UserPageAudit(Session["User"].ToString(), "Post Employee Updations/Deletions", Session["ROLE"].ToString(), "Employee Updation/Deletion Verified");
                  }
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