private void LoadCombox() { OperationResult objOperationResult = new OperationResult(); Utils.LoadDropDownList(dllRitmo, "Value1", "Id", _objSystemParameterBL.GetSystemParameterForCombo(ref objOperationResult, 221), DropDownListAction.Select); Utils.LoadDropDownList(dllConclusiones, "Value1", "Id", _objSystemParameterBL.GetSystemParameterForCombo(ref objOperationResult, 221), DropDownListAction.Select); }
private void LoadData() { OperationResult objOperationResult = new OperationResult(); //Llenado de combos Utils.LoadDropDownList(ddlNodeId, "v_Description", "i_NodeId", _objNodeBL.GetAllNode(ref objOperationResult), DropDownListAction.All); Utils.LoadDropDownList(ddlEventTypeId, "Value1", "Id", _objSystemParameterBL.GetSystemParameterForCombo(ref objOperationResult, 102), DropDownListAction.All); Utils.LoadDropDownList(ddlSuccess, "Value1", "Id", _objSystemParameterBL.GetSystemParameterForCombo(ref objOperationResult, 111), DropDownListAction.All); string Mode = Request.QueryString.ToString(); string LogId = null; if (Request.QueryString["v_LogId"] != null) { LogId = Request.QueryString["v_LogId"].ToString(); } // Get the Entity Data LogList objEntity = _objLogBL.GetLog(ref objOperationResult, LogId); // Save the entity on the session Session["objEntity"] = objEntity; txtLogId.Text = objEntity.v_LogId; ddlNodeId.SelectedValue = objEntity.i_NodeId.ToString(); ddlEventTypeId.SelectedValue = objEntity.i_EventTypeId.ToString(); ddlSuccess.SelectedValue = objEntity.i_Success.ToString(); txtUserName.Text = objEntity.v_SystemUserName; txtExpirationDate.SelectedDate = objEntity.d_Date; txtProcessEntity.Text = objEntity.v_ProcessEntity; txtElementItem.Text = objEntity.v_ElementItem; txtError.Text = objEntity.v_ErrorException; }
private void LoadComboBox() { OperationResult objOperationResult = new OperationResult(); Utils.LoadDropDownList(ddlAptitud, "Value1", "Id", _objSystemParameterBL.GetSystemParameterForCombo(ref objOperationResult, 124), DropDownListAction.All); Utils.LoadDropDownList(ddlTipoESO, "Value1", "Id", _objSystemParameterBL.GetSystemParameterForCombo(ref objOperationResult, 118), DropDownListAction.All); Utils.LoadDropDownList(ddlProtocolo, "Value1", "Id", _objProtocolBL.GetProtocolBySystemUser(ref objOperationResult, ((ClientSession)Session["objClientSession"]).i_SystemUserId), DropDownListAction.Select); var UsuarioMaster = ((ClientSession)Session["objClientSession"]).v_UserName; if (UsuarioMaster == "ricardo.rueda.sj") { var ObtenerEmpresasCliente = new ProtocolBL().DevolverTodasEmpresas(ref objOperationResult); //txtEmpresa.Text = ObtenerEmpresasCliente.CustomerOrganizationName; Session["EmpresaClienteId"] = ObtenerEmpresasCliente[0].IdEmpresaCliente; Utils.LoadDropDownList(ddlEmpresa, "CustomerOrganizationName", "IdEmpresaCliente", ObtenerEmpresasCliente, DropDownListAction.All); } else { var ObtenerEmpresasCliente = new ProtocolBL().GetOrganizationCustumerByProtocolSystemUser(ref objOperationResult, ((ClientSession)Session["objClientSession"]).i_SystemUserId); //txtEmpresa.Text = ObtenerEmpresasCliente.CustomerOrganizationName; Session["EmpresaClienteId"] = ObtenerEmpresasCliente[0].IdEmpresaCliente; Utils.LoadDropDownList(ddlEmpresa, "CustomerOrganizationName", "IdEmpresaCliente", ObtenerEmpresasCliente, DropDownListAction.All); //ddlEmpresa.Enabled = false; //ddlEmpresa.se } }
private void LoadComboBox() { OperationResult objOperationResult = new OperationResult(); var _DocType = _objDataHierarchyBL.GetDataHierarchyForCombo(ref objOperationResult, 106); Utils.LoadDropDownList(ddlDocType, "Description", "Id", _DocType, DropDownListAction.Select); Utils.LoadDropDownList(ddlSexType, "Value1", "Id", _objSystemParameterBL.GetSystemParameterForCombo(ref objOperationResult, 100), DropDownListAction.Select); Utils.LoadDropDownList(ddlMaritalStatus, "Value1", "Id", _objSystemParameterBL.GetSystemParameterForCombo(ref objOperationResult, 101), DropDownListAction.Select); Utils.LoadDropDownList(ddlLevelOfId, "Description", "Id", _objDataHierarchyBL.GetDataHierarchyForCombo(ref objOperationResult, 108), DropDownListAction.Select); Utils.LoadDropDownList(ddlRolVenta, "Description", "Id", _objDataHierarchyBL.GetDataHierarchyForCombo(ref objOperationResult, 121), DropDownListAction.Select); Session["objDocType"] = _DocType; OperationResult objOperationResult1 = new OperationResult(); //Llenar combo ItemParameter Tree ddlProfession.DataTextField = "Description"; ddlProfession.DataValueField = "Id"; ddlProfession.DataSimulateTreeLevelField = "Level"; ddlProfession.DataEnableSelectField = "EnabledSelect"; List <DataForTreeView> t = _objDataHierarchyBL.GetDataHierarchyForCombo(ref objOperationResult1, 101); ddlProfession.DataSource = t; ddlProfession.DataBind(); this.ddlProfession.Items.Insert(0, new FineUI.ListItem("-- Seleccione --", "-1")); }
private void LoadComboBox() { OperationResult objOperationResult = new OperationResult(); Utils.LoadDropDownList(ddltipoServicioBus, "Value1", "Id", _objSystemParameterBL.GetSystemParameterForCombo(ref objOperationResult, 119), DropDownListAction.All); Utils.LoadDropDownList(ddlColaBus, "Value1", "Id", _objSystemParameterBL.GetSystemParameterForCombo(ref objOperationResult, 120), DropDownListAction.All); Utils.LoadDropDownList(ddlEstadoCitaBus, "Value1", "Id", _objSystemParameterBL.GetSystemParameterForCombo(ref objOperationResult, 122), DropDownListAction.All); //var ObtenerEmpresaCliente = new ProtocolBL().GetOrganizationCustumerByProtocolSystemUser_(ref objOperationResult, ((ClientSession)Session["objClientSession"]).i_SystemUserId); //txtEmpresa.Text = ObtenerEmpresaCliente.CustomerOrganizationName; //Session["EmpresaClienteId"] = ObtenerEmpresaCliente.IdEmpresaCliente; var UsuarioMaster = ((ClientSession)Session["objClientSession"]).v_UserName; //ricardo.rueda.sj if (UsuarioMaster == "aaa") { var ObtenerEmpresasCliente = new ProtocolBL().DevolverTodasEmpresas(ref objOperationResult); //txtEmpresa.Text = ObtenerEmpresasCliente.CustomerOrganizationName; Session["EmpresaClienteId"] = ObtenerEmpresasCliente[0].IdEmpresaCliente; Utils.LoadDropDownList(ddlEmpresa, "CustomerOrganizationName", "IdEmpresaCliente", ObtenerEmpresasCliente, DropDownListAction.All); } else { var ObtenerEmpresasCliente = new ProtocolBL().GetOrganizationCustumerByProtocolSystemUser(ref objOperationResult, ((ClientSession)Session["objClientSession"]).i_SystemUserId); //txtEmpresa.Text = ObtenerEmpresasCliente.CustomerOrganizationName; Session["EmpresaClienteId"] = ObtenerEmpresasCliente[0].IdEmpresaCliente; Utils.LoadDropDownList(ddlEmpresa, "CustomerOrganizationName", "IdEmpresaCliente", ObtenerEmpresasCliente, DropDownListAction.All); //ddlEmpresa.Enabled = false; //ddlEmpresa.se } dpFechaInicioBus.SelectedDate = DateTime.Now; }
private void LoadComboBox() { OperationResult objOperationResult = new OperationResult(); Utils.LoadDropDownList(ddlAptitud, "Value1", "Id", _objSystemParameterBL.GetSystemParameterForCombo(ref objOperationResult, 124), DropDownListAction.All); Utils.LoadDropDownList(ddlTipoESO, "Value1", "Id", _objSystemParameterBL.GetSystemParameterForCombo(ref objOperationResult, 118), DropDownListAction.All); Utils.LoadDropDownList(ddlProtocolo, "Value1", "Id", _objProtocolBL.GetProtocolBySystemUser(ref objOperationResult, ((ClientSession)Session["objClientSession"]).i_SystemUserId), DropDownListAction.All); }
private void LoadData() { OperationResult objOperationResult = new OperationResult(); OperationResult objOperationResultCommon = new OperationResult(); //Llenado de combos Utils.LoadDropDownList(ddlApplicationHierarchyTypeId, "Value1", "Id", _objProxyCommon.GetSystemParameterForCombo(ref objOperationResultCommon, 106), DropDownListAction.Select); Utils.LoadDropDownList(ddlScopeId, "Value1", "Id", _objProxyCommon.GetSystemParameterForCombo(ref objOperationResultCommon, 104), DropDownListAction.Select); Utils.LoadDropDownList(ddlTypeFormId, "Value1", "Id", _objProxyCommon.GetSystemParameterForCombo(ref objOperationResultCommon, 151), DropDownListAction.Select); Utils.LoadDropDownList(ddlBusinessRule, "Value1", "Id", _objProxyCommon.GetSystemParameterForCombo(ref objOperationResultCommon, 108), DropDownListAction.Select); //Llenar combo Parameter Tree ddlParentId.DataTextField = "Description"; ddlParentId.DataValueField = "Id"; ddlParentId.DataSimulateTreeLevelField = "Level"; ddlParentId.DataEnableSelectField = "EnabledSelect"; List <DtvAppHierarchy> t = _objProxySecurity.GetApplicationHierarchyForCombo(ref objOperationResult).ToList(); ddlParentId.DataSource = t; ddlParentId.DataBind(); this.ddlParentId.Items.Insert(0, new FineUI.ListItem("-- Seleccione --", "-1")); string Mode = Request.QueryString["Mode"].ToString(); int ApplicationHierarchyId = -1; if (Request.QueryString["i_ApplicationHierarchyId"] != null) { ApplicationHierarchyId = int.Parse(Request.QueryString["i_ApplicationHierarchyId"].ToString()); } if (Mode == "New") { // Additional logic here. } else if (Mode == "Edit") { // Get the Entity Data applicationhierarchyDto objEntity = _objProxySecurity.GetApplicationHierarchy(ref objOperationResult, ApplicationHierarchyId); // Save the entity on the session Session["objEntity"] = objEntity; // Show the data on the form ddlTypeFormId.SelectedValue = objEntity.i_TypeFormId.ToString(); ddlApplicationHierarchyTypeId.SelectedValue = objEntity.i_ApplicationHierarchyTypeId.ToString(); txtDescription.Text = objEntity.v_Description; txtForm.Text = objEntity.v_Form; txtCode.Text = objEntity.v_Code; ddlParentId.SelectedValue = objEntity.i_ParentId.ToString(); ddlScopeId.SelectedValue = objEntity.i_ScopeId.ToString(); } }
private void LoadComboBox() { OperationResult objOperationResult = new OperationResult(); var _DocType = _objDataHierarchyBL.GetDataHierarchyForCombo(ref objOperationResult, 106); Utils.LoadDropDownList(ddlDocType, "Description", "Id", _DocType, DropDownListAction.Select); Utils.LoadDropDownList(ddlSexType, "Value1", "Id", _objSystemParameterBL.GetSystemParameterForCombo(ref objOperationResult, 100), DropDownListAction.Select); Utils.LoadDropDownList(ddlMaritalStatus, "Value1", "Id", _objSystemParameterBL.GetSystemParameterForCombo(ref objOperationResult, 101), DropDownListAction.Select); Utils.LoadDropDownList(ddlLevelOfId, "Description", "Id", _objDataHierarchyBL.GetDataHierarchyForCombo(ref objOperationResult, 108), DropDownListAction.Select); Session["objDocType"] = _DocType; }
private void LoadComboBox() { OperationResult objOperationResult = new OperationResult(); Utils.LoadDropDownList(ddltipoServicioBus, "Value1", "Id", _objSystemParameterBL.GetSystemParameterForCombo(ref objOperationResult, 119), DropDownListAction.All); Utils.LoadDropDownList(ddlColaBus, "Value1", "Id", _objSystemParameterBL.GetSystemParameterForCombo(ref objOperationResult, 120), DropDownListAction.All); Utils.LoadDropDownList(ddlEstadoCitaBus, "Value1", "Id", _objSystemParameterBL.GetSystemParameterForCombo(ref objOperationResult, 122), DropDownListAction.All); var ObtenerEmpresaCliente = new ProtocolBL().GetOrganizationCustumerByProtocolSystemUser(ref objOperationResult, ((ClientSession)Session["objClientSession"]).i_SystemUserId); txtEmpresa.Text = ObtenerEmpresaCliente.CustomerOrganizationName; Session["EmpresaClienteId"] = ObtenerEmpresaCliente.IdEmpresaCliente; dpFechaInicioBus.SelectedDate = DateTime.Now; }
private void LoadCombos() { OperationResult objOperationResult = new OperationResult(); OrganizationBL oOrganizationBL = new OrganizationBL(); Utils.LoadDropDownList(ddlTipoEmpresa, "Value1", "Id", _objSystemParameterBL.GetSystemParameterForCombo(ref objOperationResult, 103), DropDownListAction.All); }
private void LoadComboBox() { OperationResult objOperationResult = new OperationResult(); var docType = _objSystemParameterBL.GetSystemParameterForCombo(ref objOperationResult, 105); // tipo de nodo Sigesoft.Server.WebClientAdmin.UI.Utils.LoadDropDownList(ddlNodeType, "Value1", "Id", docType, DropDownListAction.Select); }
private void LoadComboBox() { OperationResult objOperationResult1 = new OperationResult(); var roleNode = _objSystemParameterBL.GetSystemParameterForCombo(ref objOperationResult1, 115); Sigesoft.Server.WebClientAdmin.UI.Utils.LoadDropDownList(ddlRole, "Value1", "Id", roleNode, DropDownListAction.Select); }
private void LoadComboBox() { OperationResult objOperationResult = new OperationResult(); Utils.LoadDropDownList(ddlTipoESO, "Value1", "Id", _objSystemParameterBL.GetSystemParameterForCombo(ref objOperationResult, 118), DropDownListAction.All); var RolId = ((ClientSession)Session["objClientSession"]).i_RoleId; if (RolId == 1) { var clientOrganization = new ProtocolBL().GetOrganizationCustumer(ref objOperationResult); Utils.LoadDropDownList(ddlEmpresa, "CustomerOrganizationName", "IdEmpresaCliente", clientOrganization, DropDownListAction.All); ddlEmpresa.Enabled = true; } else { var ObtenerEmpresasCliente = new ProtocolBL().GetOrganizationCustumerByProtocolSystemUser(ref objOperationResult, ((ClientSession)Session["objClientSession"]).i_SystemUserId); Session["EmpresaClienteId"] = ObtenerEmpresasCliente[0].IdEmpresaCliente; Utils.LoadDropDownList(ddlEmpresa, "CustomerOrganizationName", "IdEmpresaCliente", ObtenerEmpresasCliente, DropDownListAction.All); ddlEmpresa.SelectedValue = Session["EmpresaClienteId"].ToString(); } Utils.LoadDropDownList(ddlProtocolo, "Value1", "Id", _objProtocolBL.GetProtocolBySystemUser(ref objOperationResult, ((ClientSession)Session["objClientSession"]).i_SystemUserId), DropDownListAction.All); }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { OperationResult objOperationResult = new OperationResult(); Utils UtilComboBox = new Utils(); //Llenado de combos Utils.LoadDropDownList(ddlNodeId, "v_Description", "i_NodeId", _objNodeBL.GetAllNode(ref objOperationResult), DropDownListAction.All); Utils.LoadDropDownList(ddlEventTypeId, "Value1", "Id", _objSystemParameterBL.GetSystemParameterForCombo(ref objOperationResult, 102), DropDownListAction.All); Utils.LoadDropDownList(ddlSuccess, "Value1", "Id", _objSystemParameterBL.GetSystemParameterForCombo(ref objOperationResult, 111), DropDownListAction.All); // Establecer el filtro inicial para los datos Session["strFilterExpression"] = null; BindGrid(); } }
private void LoadComboBox() { OperationResult objOperationResult = new OperationResult(); var _DocType = _objDataHierarchyBL.GetDataHierarchyForCombo(ref objOperationResult, 106); Utils.LoadDropDownList(ddlDocType, "Description", "Id", _DocType, DropDownListAction.Select); Utils.LoadDropDownList(ddlSexType, "Value1", "Id", _objSystemParameterBL.GetSystemParameterForCombo(ref objOperationResult, 100), DropDownListAction.Select); Utils.LoadDropDownList(ddlEmpresaCliente, "Value1", "Id", oOrganizationBL.GetAllOrganizations(ref objOperationResult), DropDownListAction.Select); }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { OperationResult objOperationResult = new OperationResult(); Utils.LoadDropDownList(ddlTipoOperacion, "Value1", "Id", _objSystemParameterBL.GetSystemParameterForCombo(ref objOperationResult, 177), DropDownListAction.Select); LoadData(); btnClose.OnClientClick = ActiveWindow.GetConfirmHideReference(); } }
private void LoadComboBox() { OperationResult objOperationResult = new OperationResult(); var _DocType = _objDataHierarchyBL.GetDataHierarchyForCombo(ref objOperationResult, 106); Utils.LoadDropDownList(ddlDocumento, "Description", "Id", _DocType, DropDownListAction.Select); Utils.LoadDropDownList(ddlGenero, "Value1", "Id", _objSystemParameterBL.GetSystemParameterForCombo(ref objOperationResult, 100), DropDownListAction.Select); //Utils.LoadDropDownList(ddlProtocoloId, "v_Name", "Id", oProtocolBL.DevolverProtocolosPorEmpresaOnly(Session["EmpresaClienteId"].ToString()), DropDownListAction.Select); }
private void LoadComboBox() { OperationResult objOperationResult = new OperationResult(); Utils.LoadDropDownList(ddlTipoESO, "Value1", "Id", _objSystemParameterBL.GetSystemParameterForCombo(ref objOperationResult, 118), DropDownListAction.All); Utils.LoadDropDownList(ddlEmpresa, "Value1", "Id", oOrganizationBL.GetAllOrganizations(ref objOperationResult), DropDownListAction.All); var o = _objProtocolBL.DevolverProtocolosPorEmpresaOnly("-1"); Utils.LoadDropDownList(ddlProtocolo, "Value1", "Id", o, DropDownListAction.Select); }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { OperationResult objOperationResult = new OperationResult(); DataHierarchyBL _objDataHierarchyBL = new DataHierarchyBL(); dpFechaInicio.SelectedDate = DateTime.Now.AddDays(-1); //DateTime.Parse("25/07/2014"); dpFechaFin.SelectedDate = DateTime.Now; // DateTime.Parse("25/07/2014"); var TipoUsuario = ((ClientSession)Session["objClientSession"]).i_SystemUserTypeId; if (TipoUsuario == 1) { Utils.LoadDropDownList(ddlCustomerOrganization, "Value1", "Id", oOrganizationBL.GetAllOrganizations(ref objOperationResult), DropDownListAction.All); } else { var RolId = ((ClientSession)Session["objClientSession"]).i_RoleId; if (RolId == 1) { var clientOrganization = oOrganizationBL.GetJoinOrganizationAndLocationALL(ref objOperationResult); Utils.LoadDropDownList(ddlCustomerOrganization, "Value1", "Id", clientOrganization, DropDownListAction.Select); } else { var clientOrganization = oOrganizationBL.GetJoinOrganizationAndLocation(ref objOperationResult, ((ClientSession)Session["objClientSession"]).i_SystemUserId); Utils.LoadDropDownList(ddlCustomerOrganization, "Value1", "Id", clientOrganization, DropDownListAction.Select); } } Utils.LoadDropDownList(ddlProtocolo, "Value1", "Id", oOrganizationBL.GetProtocolsByOrganizationForCombo(ref objOperationResult, "-1", "-1", null), DropDownListAction.Select); Utils.LoadDropDownList(ddlConsultorio, "Description", "Description2", _objDataHierarchyBL.GetDataHierarchyForCombo(ref objOperationResult, 124), DropDownListAction.Select); Utils.LoadDropDownList(ddlGrupoEtario, "Value1", "Id", BLL.Utils.GetSystemParameterForCombo(ref objOperationResult, 224, null), DropDownListAction.Select); Utils.LoadDropDownList(ddlGESO, "Value1", "Id", BLL.Utils.GetGESO(ref objOperationResult, null), DropDownListAction.Select); Utils.LoadDropDownList(ddlTipoESO, "Value1", "Id", _objSystemParameterBL.GetSystemParameterForCombo(ref objOperationResult, 118), DropDownListAction.Select); Utils.LoadDropDownList(ddlGenero, "Value1", "Id", _objSystemParameterBL.GetSystemParameterForCombo(ref objOperationResult, 100), DropDownListAction.Select); List <Sigesoft.Node.WinClient.BE.DiagnosticsByAgeGroup> l = new List <Sigesoft.Node.WinClient.BE.DiagnosticsByAgeGroup>(); } }
private void LoadData() { OperationResult objOperationResult = new OperationResult(); objMainEntityDetail = new List <TestList>(); Session["objMainEntityDetail"] = objMainEntityDetail; //Llenado de combos Utils.LoadDropDownList(ddlSoftwareComponentId, "Value1", "Id", _objSystemParameterBL.GetSystemParameterForCombo(ref objOperationResult, 144), DropDownListAction.Select); string Mode = Request.QueryString["Mode"].ToString(); int DeploymentFileId = 0; if (Request.QueryString["i_DeploymentFileId"] != null) { DeploymentFileId = int.Parse(Request.QueryString["i_DeploymentFileId"].ToString()); } if (Mode == "New") { } else { txtPackageSizeKb.Visible = true; txtPackageFiles.Visible = true; // Get the Entity Data deploymentfileDto objEntity = _objSyncBL.GetDeploymentFile(ref objOperationResult, DeploymentFileId); // Save the entity on the session Session["objEntity"] = objEntity; // Show the data on the form txtDeploymentFileId.Text = objEntity.i_DeploymentFileId.ToString(); txtDeploymentFileId.Enabled = false; ddlSoftwareComponentId.SelectedValue = objEntity.i_SoftwareComponentId.ToString(); ddlSoftwareComponentId.Enabled = false; txtFileName.Text = objEntity.v_FileName; txtFileName.Enabled = false; txtTargetSoftwareComponentVersion.Text = objEntity.v_TargetSoftwareComponentVersion; txtTargetSoftwareComponentVersion.Enabled = false; txtDescription.Text = objEntity.v_Description; txtDescription.Enabled = false; txtPackageFiles.Text = objEntity.v_PackageFiles; txtPackageFiles.Enabled = false; txtPackageSizeKb.Text = objEntity.r_PackageSizeKb.ToString(); txtPackageSizeKb.Enabled = false; filePhoto.Enabled = false; grdData.Enabled = false; btnSaveRefresh.Visible = false; } }
protected void Page_Load(object sender, EventArgs e) { OperationResult objOperationResult = new OperationResult(); if (!IsPostBack) { // Establecer el filtro inicial para los datos Session["strFilterExpression"] = null; btnNew.OnClientClick = winEdit.GetSaveStateReference(hfRefresh.ClientID) + winEdit.GetShowReference("FRM028A.aspx?Mode=New"); //Llenado de combos Utils.LoadDropDownList(ddlSoftwareComponentId, "Value1", "Id", _objSystemParameterBL.GetSystemParameterForCombo(ref objOperationResult, 144), DropDownListAction.All); } }
private void LoadCombos() { // Llenado de combos // Tipos de eso OperationResult objOperationResult = new OperationResult(); Utils.LoadDropDownList(cbGeso, "Value1", "Id", _oSystemParameterBL.GetGESO(ref objOperationResult, null), DropDownListAction.Select); Utils.LoadDropDownList(cbEsoType, "Value1", "Id", _oSystemParameterBL.GetSystemParameterForCombo(ref objOperationResult, 118), DropDownListAction.Select); // Lista de empresas por nodo int nodeId = 10; OperationResult objOperationResult1 = new OperationResult(); var dataListOrganization = _oSystemParameterBL.GetJoinOrganizationAndLocation(ref objOperationResult1, nodeId); var dataListOrganization1 = _oSystemParameterBL.GetJoinOrganizationAndLocation(ref objOperationResult1, nodeId); var dataListOrganization2 = _oSystemParameterBL.GetJoinOrganizationAndLocation(ref objOperationResult1, nodeId); Utils.LoadDropDownList(cbOrganization, "Value1", "Id", dataListOrganization, DropDownListAction.Select); Utils.LoadDropDownList(cbIntermediaryOrganization, "Value1", "Id", dataListOrganization1, DropDownListAction.Select); Utils.LoadDropDownList(cbOrganizationInvoice, "Value1", "Id", dataListOrganization2, DropDownListAction.Select); //Llenado de los tipos de servicios [Emp/Part] Utils.LoadDropDownList(cbServiceType, "Value1", "Id", _oSystemParameterBL.GetSystemParameterByParentIdForCombo(ref objOperationResult, 119, -1, null), DropDownListAction.Select); // combo servicio Utils.LoadDropDownList(cbService, "Value1", "Id", _oSystemParameterBL.GetSystemParameterForCombo(ref objOperationResult, -1), DropDownListAction.Select); }
private void LoadData() { OperationResult objOperationResult = new OperationResult(); //Llenado de combos Utils.LoadDropDownList(ddlSoftwareComponentId, "Value1", "Id", _objSystemParameterBL.GetSystemParameterForCombo(ref objOperationResult, 144), DropDownListAction.Select); string Mode = Request.QueryString["Mode"].ToString(); int SoftwareComponentId = 0; string SoftwareComponentVersion = ""; if (Request.QueryString["i_SoftwareComponentId"] != null) { SoftwareComponentId = int.Parse(Request.QueryString["i_SoftwareComponentId"].ToString()); } if (Request.QueryString["v_SoftwareComponentVersion"] != null) { SoftwareComponentVersion = Request.QueryString["v_SoftwareComponentVersion"].ToString(); } if (Mode == "New") { } else { ddlSoftwareComponentId.Enabled = false; txtSoftwareComponentVersion.Enabled = false; // Get the Entity Data softwarecomponentreleaseDto objEntity = _objSyncBL.GetSoftwareComponentRelease(ref objOperationResult, SoftwareComponentId, SoftwareComponentVersion); // Save the entity on the session Session["objEntity"] = objEntity; // Show the data on the form ddlSoftwareComponentId.SelectedValue = objEntity.i_SoftwareComponentId.ToString(); txtSoftwareComponentVersion.Text = objEntity.v_SoftwareComponentVersion; txtDeploymentFileId.Text = objEntity.i_DeploymentFileId.ToString(); dpReleaseDate.SelectedDate = objEntity.d_ReleaseDate.Value; txtDatabaseVersionRequired.Text = objEntity.v_DatabaseVersionRequired; txtReleaseNotes.Text = objEntity.v_ReleaseNotes; txtAdditionalInformation1.Text = objEntity.v_AdditionalInformation1; txtAdditionalInformation2.Text = objEntity.v_AdditionalInformation2; txtIsPublished.Text = objEntity.i_IsPublished.ToString(); txtIsLastVersion.Text = objEntity.i_IsLastVersion.ToString(); } }
private void loadCombo() { OperationResult objOperationResult = new OperationResult(); Utils.LoadDropDownList(ddlAptitud, "Value1", "Id", _objSystemParameterBL.GetSystemParameterForCombo(ref objOperationResult, 124), DropDownListAction.All); }
private void UcCuestNordico_Load(object sender, EventArgs e) { cbo1Cuello.Name = "N009-CSN00000001"; cbo1Hombro.Name = "N009-CSN00000002"; cbo1Dorsal.Name = "N009-CSN00000003"; cbo1Codo.Name = "N009-CSN00000004"; cbo1Mano.Name = "N009-CSN00000005"; cbo1HombroDir.Name = "N009-CSN00000006"; cbo1CodoDir.Name = "N009-CSN00000007"; cbo1ManoDir.Name = "N009-CSN00000008"; txt2Cuello.Name = "N009-CSN00000009"; txt2Hombro.Name = "N009-CSN00000010"; txt2Dorsal.Name = "N009-CSN0000001"; txt2Codo.Name = "N009-CSN00000012"; txt2Mano.Name = "N009-CSN00000013"; cbo3Cuello.Name = "N009-CSN00000014"; cbo3Hombro.Name = "N009-CSN00000015"; cbo3Dorsal.Name = "N009-CSN00000016"; cbo3Codo.Name = "N009-CSN00000017"; cbo3Mano.Name = "N009-CSN00000018"; cbo4Cuello.Name = "N009-CSN00000019"; cbo4Hombro.Name = "N009-CSN00000020"; cbo4Dorsal.Name = "N009-CSN00000021"; cbo4Codo.Name = "N009-CSN00000022"; cbo4Mano.Name = "N009-CSN00000023"; cbo5Cuello.Name = "N009-CSN00000024"; cbo5Hombro.Name = "N009-CSN00000025"; cbo5Dorsal.Name = "N009-CSN00000026"; cbo5Codo.Name = "N009-CSN00000027"; cbo5Mano.Name = "N009-CSN00000028"; cbo6Cuello.Name = "N009-CSN00000029"; cbo6Hombro.Name = "N009-CSN00000030"; cbo6Dorsal.Name = "N009-CSN00000031"; cbo6Codo.Name = "N009-CSN00000032"; cbo6Mano.Name = "N009-CSN00000033"; cbo7Cuello.Name = "N009-CSN00000034"; cbo7Hombro.Name = "N009-CSN00000035"; cbo7Dorsal.Name = "N009-CSN00000036"; cbo7Codo.Name = "N009-CSN00000037"; cbo7Mano.Name = "N009-CSN00000038"; cbo8Cuello.Name = "N009-CSN00000039"; cbo8Hombro.Name = "N009-CSN00000040"; cbo8Dorsal.Name = "N009-CSN00000041"; cbo8Codo.Name = "N009-CSN00000042"; cbo8Mano.Name = "N009-CSN00000043"; cbo9Cuello.Name = "N009-CSN00000044"; cbo9Hombro.Name = "N009-CSN00000045"; cbo9Dorsal.Name = "N009-CSN00000046"; cbo9Codo.Name = "N009-CSN00000047"; cbo9Mano.Name = "N009-CSN00000048"; cbo10Cuello.Name = "N009-CSN00000049"; cbo10Hombro.Name = "N009-CSN00000050"; cbo10Dorsal.Name = "N009-CSN00000051"; cbo10Codo.Name = "N009-CSN00000052"; cbo10Mano.Name = "N009-CSN00000053"; txt11Cuello.Name = "N009-CSN00000054"; txt11Hombro.Name = "N009-CSN00000055"; txt11Dorsal.Name = "N009-CSN0000056"; txt11Codo.Name = "N009-CSN00000057"; txt11Mano.Name = "N009-CSN00000058"; #region BindCombos OperationResult objOperationResult = new OperationResult(); SystemParameterBL objSystemParameterBl = new SystemParameterBL(); Utils.LoadDropDownList(cbo1Cuello, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 111), DropDownListAction.Select); Utils.LoadDropDownList(cbo1Hombro, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 111), DropDownListAction.Select); Utils.LoadDropDownList(cbo1Dorsal, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 111), DropDownListAction.Select); Utils.LoadDropDownList(cbo1Codo, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 111), DropDownListAction.Select); Utils.LoadDropDownList(cbo1Mano, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 111), DropDownListAction.Select); Utils.LoadDropDownList(cbo1HombroDir, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 246), DropDownListAction.Select); Utils.LoadDropDownList(cbo1CodoDir, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 246), DropDownListAction.Select); Utils.LoadDropDownList(cbo1ManoDir, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 246), DropDownListAction.Select); Utils.LoadDropDownList(cbo3Cuello, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 111), DropDownListAction.Select); Utils.LoadDropDownList(cbo3Hombro, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 111), DropDownListAction.Select); Utils.LoadDropDownList(cbo3Dorsal, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 111), DropDownListAction.Select); Utils.LoadDropDownList(cbo3Codo, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 111), DropDownListAction.Select); Utils.LoadDropDownList(cbo3Mano, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 111), DropDownListAction.Select); Utils.LoadDropDownList(cbo4Cuello, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 111), DropDownListAction.Select); Utils.LoadDropDownList(cbo4Hombro, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 111), DropDownListAction.Select); Utils.LoadDropDownList(cbo4Dorsal, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 111), DropDownListAction.Select); Utils.LoadDropDownList(cbo4Codo, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 111), DropDownListAction.Select); Utils.LoadDropDownList(cbo4Mano, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 111), DropDownListAction.Select); Utils.LoadDropDownList(cbo5Cuello, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 243), DropDownListAction.Select); Utils.LoadDropDownList(cbo5Hombro, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 243), DropDownListAction.Select); Utils.LoadDropDownList(cbo5Dorsal, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 243), DropDownListAction.Select); Utils.LoadDropDownList(cbo5Codo, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 243), DropDownListAction.Select); Utils.LoadDropDownList(cbo5Mano, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 243), DropDownListAction.Select); Utils.LoadDropDownList(cbo6Cuello, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 244), DropDownListAction.Select); Utils.LoadDropDownList(cbo6Hombro, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 244), DropDownListAction.Select); Utils.LoadDropDownList(cbo6Dorsal, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 244), DropDownListAction.Select); Utils.LoadDropDownList(cbo6Codo, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 244), DropDownListAction.Select); Utils.LoadDropDownList(cbo6Mano, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 244), DropDownListAction.Select); Utils.LoadDropDownList(cbo7Cuello, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 244), DropDownListAction.Select); Utils.LoadDropDownList(cbo7Hombro, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 244), DropDownListAction.Select); Utils.LoadDropDownList(cbo7Dorsal, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 244), DropDownListAction.Select); Utils.LoadDropDownList(cbo7Codo, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 244), DropDownListAction.Select); Utils.LoadDropDownList(cbo7Mano, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 244), DropDownListAction.Select); Utils.LoadDropDownList(cbo8Cuello, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 111), DropDownListAction.Select); Utils.LoadDropDownList(cbo8Hombro, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 111), DropDownListAction.Select); Utils.LoadDropDownList(cbo8Dorsal, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 111), DropDownListAction.Select); Utils.LoadDropDownList(cbo8Codo, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 111), DropDownListAction.Select); Utils.LoadDropDownList(cbo8Mano, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 111), DropDownListAction.Select); Utils.LoadDropDownList(cbo9Cuello, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 111), DropDownListAction.Select); Utils.LoadDropDownList(cbo9Hombro, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 111), DropDownListAction.Select); Utils.LoadDropDownList(cbo9Dorsal, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 111), DropDownListAction.Select); Utils.LoadDropDownList(cbo9Codo, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 111), DropDownListAction.Select); Utils.LoadDropDownList(cbo9Mano, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 111), DropDownListAction.Select); Utils.LoadDropDownList(cbo10Cuello, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 245), DropDownListAction.Select); Utils.LoadDropDownList(cbo10Hombro, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 245), DropDownListAction.Select); Utils.LoadDropDownList(cbo10Dorsal, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 245), DropDownListAction.Select); Utils.LoadDropDownList(cbo10Codo, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 245), DropDownListAction.Select); Utils.LoadDropDownList(cbo10Mano, "Value1", "Id", objSystemParameterBl.GetSystemParameterForCombo(ref objOperationResult, 245), DropDownListAction.Select); cbo1Cuello.SelectedValue = "0"; cbo1Hombro.SelectedValue = "0"; cbo1Dorsal.SelectedValue = "0"; cbo1Codo.SelectedValue = "0"; cbo1Mano.SelectedValue = "0"; cbo1HombroDir.SelectedValue = "3";; cbo1CodoDir.SelectedValue = "3"; cbo1ManoDir.SelectedValue = "3"; SearchControlAndSetEvents(this); #endregion }
private void loadCombo() { OperationResult objOperationResult = new OperationResult(); Utils.LoadDropDownList(ddlStatuComponent, "Value1", "Id", _objSystemParameterBL.GetSystemParameterForCombo(ref objOperationResult, 127), DropDownListAction.Select); }