Exemplo n.º 1
0
        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);
            Utils.LoadDropDownList(ddlEmpresa, "Value1", "Id", _objSystemParameterBL.GetJoinOrganizationAndLocation(ref objOperationResult, ((ClientSession)Session["objClientSession"]).i_SystemUserId), DropDownListAction.All);
        }
Exemplo n.º 2
0
        private void LoadCombos()
        {
            OperationResult objOperationResult    = new OperationResult();
            var             dataListOrganization2 = _oSystemParameterBL.GetJoinOrganizationAndLocation(ref objOperationResult, 10);

            Utils.LoadDropDownList(ddlEmpresaCliente,
                                   "Value1",
                                   "Id",
                                   dataListOrganization2,
                                   DropDownListAction.All);
        }
Exemplo n.º 3
0
        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);
        }