protected void btnSubCategoryMaster_click(object sender, EventArgs e) { checkRights(128); if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu")) { Response.Redirect("~/Admin/View/ViewSubCategoryMaster.aspx", false); } else { ModalPopupMsg.Show(); return; } }
protected void btnAnnexureV_click(object sender, EventArgs e) { checkRights(127); if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu")) { Response.Redirect("~/RoportForms/VIEW/ViewAnnexureVGST.aspx", false); } else { ModalPopupMsg.Show(); return; } }
protected void btnCurrencyMaster_click(object sender, EventArgs e) { checkRights(8); if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu")) { Response.Redirect("~/Admin/View/ViewCurrancyMaster.aspx", false); } else { ModalPopupMsg.Show(); return; // Response.Write("<script> alert('You Have No Rights To View.');</script>"); } }
protected void btnSalesOrderPendingStatus_click(object sender, EventArgs e) { //checkRights(109); checkRights(90); if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu")) { Response.Redirect("~/RoportForms/VIEW/ViewSalesPendingOrderStatus.aspx", false); } else { ModalPopupMsg.Show(); return; } }
protected void btnSelfSealingCertificate(object sender, EventArgs e) { checkRights(93); if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu")) { Response.Redirect("~/RoportForms/VIEW/ViewSelfSealingCertificateReport.aspx", false); } else { //Response.Write("<script> alert('You Have No Rights To View.');</script>"); ModalPopupMsg.Show(); return; } }
protected void btnTrayDeliveryChallanRegister(object sender, EventArgs e) { checkRights(78); if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu")) { Response.Redirect("~/RoportForms/VIEW/DeliveryChallanRegisterTray.aspx", false); } else { //Response.Write("<script> alert('You Have No Rights To View.');</script>"); ModalPopupMsg.Show(); return; } }
protected void btnMaterialRequisitionMISReport_Click(object sender, EventArgs e) { checkRights(62); if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu")) { Response.Redirect("~/RoportForms/VIEW/ViewMaterialRequisition_MIS.aspx", false); } else { //Response.Write("<script> alert('You Have No Rights To View.');</script>"); ModalPopupMsg.Show(); return; } }
protected void btnMaterialRequisition_click(object sender, EventArgs e) { checkRights(105); if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu")) { Response.Redirect("~/Transactions/VIEW/ViewExciseCreditEntry.aspx", false); } else { //Response.Write("<script> alert('You Have No Rights To View.');</script>"); ModalPopupMsg.Show(); return; } }
protected void btnGSTBillPassingPenReport_click(object sender, EventArgs e) { checkRights(124); if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu")) { Response.Redirect("~/RoportForms/VIEW/GINPendingForBillPassing.aspx", false); } else { //Response.Write("<script> alert('You Have No Rights To View.');</script>"); ModalPopupMsg.Show(); return; } }
protected void btnProCode_click(object sender, EventArgs e) { checkRights(112); if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu")) { Response.Redirect("~/Masters/VIEW/ViewProjectCodeMaster.aspx", false); } else { //Response.Write("<script> alert('You Have No Rights To View.');</script>"); ModalPopupMsg.Show(); return; } }
protected void btnDailyRegister_click(object sender, EventArgs e) { checkRights(109); if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu")) { Response.Redirect("~/RoportForms/VIEW/ViewDailyStockAccDetail.aspx", false); } else { //Response.Write("<script> alert('You Have No Rights To View.');</script>"); ModalPopupMsg.Show(); return; } }
protected void btnVCM_click(object sender, EventArgs e) { checkRights(67); if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu")) { Response.Redirect("../../Utility/ADD/CreateVCM.aspx", false); } else { Response.Write("<script> alert('You Have No Rights To View.');</script>"); ModalPopupMsg.Show(); return; } }
protected void btnPurRej_click(object sender, EventArgs e) { checkRights(68); if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu")) { Response.Redirect("~/Transactions/VIEW/ViewPurchaseRejection.aspx", false); } else { Response.Write("<script> alert('You Have No Rights To View.');</script>"); ModalPopupMsg.Show(); return; } }
protected void btnDispatchToSubReport_click(object sender, EventArgs e) { checkRights(21); if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu")) { Response.Redirect("~/RoportForms/VIEW/ViewDispatchtoSubcontractor.aspx", false); } else { Response.Write("<script> alert('You Have No Rights To View.');</script>"); ModalPopupMsg.Show(); return; } }
protected void btnWithoutPOInward_click(object sender, EventArgs e) { checkRights(39); if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu")) { Response.Redirect("~/Transactions/VIEW/ViewMaterialInwardExcludeSPO.aspx", false); } else { //Response.Write("<script> alert('You Have No Rights To View.');</script>"); ModalPopupMsg.Show(); return; } }
protected void btnTallyMaster_click(object sender, EventArgs e) { checkRights(32); if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu")) { Response.Redirect("~/Admin/View/ViewTallyMaster.aspx", false); } else { ModalPopupMsg.TargetControlID = "comp2"; popUpPanel5.Visible = true; ModalPopupMsg.Show(); //Response.Write("<script> alert('You Have No Rights To View.');</script>"); } }
protected void btnTallyPurchase_click(object sender, EventArgs e) { checkRights(67); if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu")) { //Response.Redirect("../../Utility/VIEW/ViewTallyTransferPurchase.aspx", false); Response.Redirect("../../Utility/ADD/TallyTransferPurchase.aspx?c_name=INSERT", false); } else { Response.Write("<script> alert('You Have No Rights To View.');</script>"); ModalPopupMsg.Show(); return; } }
protected void btnProcess_click(object sender, EventArgs e) { checkRights(88); if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu")) { string type = "purchase"; Response.Redirect("~/Admin/VIEW/ViewProcessMaster.aspx?c_name=" + type + "", false); } else { // Response.Write("<script> alert('You Have No Rights To View.');</script>"); ModalPopupMsg.Show(); return; } }
protected void btnUnlockRecords_click(object sender, EventArgs e) { checkRights(4); if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu")) { Response.Redirect("~/Admin/Add/RemoveModifyLock.aspx", false); } else { // Response.Write("<script> alert('You Have No Rights To View.');</script>"); ModalPopupMsg.TargetControlID = "comp3"; popUpPanel5.Visible = true; ModalPopupMsg.Show(); } }
protected void btnMasterReport_click(object sender, EventArgs e) { checkRights(117); if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu")) { string type = "purchase"; Response.Redirect("~/RoportForms/ADD/AllMasterReport.aspx", false); } else { // Response.Write("<script> alert('You Have No Rights To View.');</script>"); ModalPopupMsg.Show(); return; } }
protected void btnItemCategory_click(object sender, EventArgs e) { checkRights(9); if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu")) { Response.Redirect("~/Masters/VIEW/ViewItemCategoryMaster.aspx", false); } else { //popUpPanel5.Visible = true; //ModalPopupMsg.TargetControlID = "l1"; ModalPopupMsg.Show(); return; //Response.Write("<script> alert('You Have No Rights To View.');</script>"); } }
protected void SuppliInvoice_click(object sender, EventArgs e) { checkRights(66); if (CommonClasses.ValidRights(int.Parse(right.Substring(0, 1)), this, "For Menu")) { //Response.Redirect("../../Utility/VIEW/ViewTallyTransferSales.aspx", false); // Hiten // Direct Shows Tally Transfer Screen string type = "INSERT"; Response.Redirect("~/Utility/ADD/SuppliementoryInvoice.aspx?c_name=" + type, false); } else { Response.Write("<script> alert('You Have No Rights To View.');</script>"); ModalPopupMsg.Show(); return; } }