Пример #1
0
 public static void MergeRowsPackwise(C1.Web.UI.Controls.C1GridView.C1GridView gridView)
 {
     for (int i = gridView.Rows.Count - 2; i >= 0; i--)
     {
         C1GridViewRow row  = gridView.Rows[i];
         C1GridViewRow row2 = gridView.Rows[i + 1];
         if (row.Cells[1].Text == row2.Cells[1].Text)
         {
             row.Cells[1].RowSpan  = (row2.Cells[1].RowSpan < 2) ? 2 : (row2.Cells[1].RowSpan + 1);
             row2.Cells[1].Visible = false;
         }
         if (row.Cells[2].Text == row2.Cells[2].Text)
         {
             row.Cells[2].RowSpan  = (row2.Cells[2].RowSpan < 2) ? 2 : (row2.Cells[2].RowSpan + 1);
             row2.Cells[2].Visible = false;
             row.Cells[0].RowSpan  = (row2.Cells[0].RowSpan < 2) ? 2 : (row2.Cells[0].RowSpan + 1);
             row2.Cells[0].Visible = false;
             row.Cells[3].RowSpan  = (row2.Cells[3].RowSpan < 2) ? 2 : (row2.Cells[3].RowSpan + 1);
             row2.Cells[3].Visible = false;
             row.Cells[4].RowSpan  = (row2.Cells[4].RowSpan < 2) ? 2 : (row2.Cells[4].RowSpan + 1);
             row2.Cells[4].Visible = false;
             row.Cells[5].RowSpan  = (row2.Cells[5].RowSpan < 2) ? 2 : (row2.Cells[5].RowSpan + 1);
             row2.Cells[5].Visible = false;
         }
     }
 }
Пример #2
0
    protected void lnkIssue_Click(object sender, EventArgs e)
    {
        C1GridViewRow parent = ((LinkButton)sender).Parent.Parent as C1GridViewRow;
        LinkButton    button = (LinkButton)parent.FindControl("lnkIssue");

        this.Session["Itmcode"] = button.CommandArgument;
        this.runjQueryCode("window.open('Smt_Inv_ItemtrackingIssue.aspx','popup','location=1,status=1,left=100,top=100,scrollbars=1,width=820,height=480')");
    }
    protected void btnPrintpoconfirm_Click(object sender, System.EventArgs e)
    {
        C1GridViewRow parent = ((LinkButton)sender).Parent.Parent as C1GridViewRow;
        string        str    = parent.Cells[3].Text.Trim();

        this.Session["pono"]  = str;
        this.Session["Param"] = "PONO";
        this.runjQueryCode("window.open('Report_Merchandising/Smt_MerchandisingReport.aspx','popup','location=1,status=1,left=0,top=0,scrollbars=1,width=970,height=600')");
    }
    protected void btnPrintRevised_Click(object sender, System.EventArgs e)
    {
        C1GridViewRow parent = ((LinkButton)sender).Parent.Parent as C1GridViewRow;
        LinkButton    button = (LinkButton)parent.FindControl("btnPrintRevised");

        this.Session["pono"]  = button.CommandArgument;
        this.Session["Param"] = "PONO";
        this.runjQueryCode("window.open('Report_Merchandising/Smt_MerchandisingReport.aspx','popup','location=1,status=1,left=0,top=0,scrollbars=1,width=970,height=600')");
    }
    protected void btnViewRevised_Click(object sender, System.EventArgs e)
    {
        this.grdDisPODtl.DataSource = null;
        this.grdDisPODtl.DataBind();
        C1GridViewRow parent = ((LinkButton)sender).Parent.Parent as C1GridViewRow;
        LinkButton    button = (LinkButton)parent.FindControl("btnViewRevised");

        this.viewPODtl(int.Parse(button.CommandArgument));
    }
Пример #6
0
    protected void lnkprintrevised_Click(object sender, EventArgs e)
    {
        C1GridViewRow parent = ((LinkButton)sender).Parent.Parent as C1GridViewRow;
        LinkButton    button = (LinkButton)parent.FindControl("lnkprintrevised");

        this.Session["GRNNO"] = button.CommandArgument;
        this.Session["Param"] = "GRNNO";
        this.runjQueryCode("window.open('Smt_Inv_ReportDisplay.aspx','popup','location=1,status=1,left=0,top=0,scrollbars=1,width=970,height=600')");
    }
    protected void btnPODtlview_Click(object sender, System.EventArgs e)
    {
        //this.grdDisPODtl.set_DataSource(null);
        this.grdDisPODtl.DataSource = null;
        this.grdDisPODtl.DataBind();
        C1GridViewRow parent = ((LinkButton)sender).Parent.Parent as C1GridViewRow;
        string        str    = parent.Cells[3].Text.Trim();

        this.viewPODtl(int.Parse(str));
    }
Пример #8
0
        protected override void CreateRowTemplate(C1GridViewRow row)
        {
            var check = (GridUtils.GetCell(row, ReferenciaGeograficaVo.IndexCheck).FindControl("chkSelected") as CheckBox);

            if (check == null)
            {
                GridUtils.GetCell(row, ReferenciaGeograficaVo.IndexCheck).Controls.Add(check = new CheckBox {
                    ID = "chkSelected"
                });
            }
        }
Пример #9
0
        protected override void CreateRowTemplate(C1GridViewRow row)
        {
            var check = GridUtils.GetCell(row, ReporteTicketVo.IndexCheck).FindControl("chkSelected") as CheckBox;

            if (check == null)
            {
                GridUtils.GetCell(row, ReporteTicketVo.IndexCheck).Controls.Add(new CheckBox {
                    ID = "chkSelected"
                });
            }
        }
Пример #10
0
        protected override void CreateHeaderTemplate(C1GridViewRow row)
        {
            if (row == null)
            {
                return;
            }

            //var chk = row.FindControl("chkSelectAll") as CheckBox;
            //if (chk == null) GridUtils.GetCell(row, ReporteTicketVo.IndexCheck).Controls.Add(chk = new CheckBox { ID = "chkSelectAll", AutoPostBack = true });
            //chk.CheckedChanged += ChkSelectAllCheckedChanged;
        }
Пример #11
0
 public Parameter(C1GridViewRow row)
 {
     Row             = row;
     TxtNombre       = GetControl <TextBox>("txtNombre");
     TxtDescripcion  = GetControl <TextBox>("txtDescripcion");
     TxtTipoDato     = GetControl <TextBox>("txtTipoDato");
     TxtConsumidor   = GetControl <TextBox>("txtConsumidor");
     TxtValorInicial = GetControl <TextBox>("txtValorInicial");
     ChkEditable     = GetControl <CheckBox>("chkEditable");
     ChkReboot       = GetControl <CheckBox>("chkReboot");
 }
Пример #12
0
        /// <summary>
        /// Creates the template for the ImageButton that represents an action property.
        /// </summary>
        /// <param name="row"></param>
        /// <param name="controlId"></param>
        /// <param name="originalColumnIndex"> </param>
        private void CreateImageTemplate(C1GridViewRow row, string controlId, int originalColumnIndex)
        {
            var imgbtn = GridUtils.GetCell(row, originalColumnIndex).FindControl(controlId) as Image;

            if (imgbtn == null)
            {
                GridUtils.GetCell(row, originalColumnIndex).Controls.Add(new Image {
                    ID = controlId
                });
            }
        }
Пример #13
0
    protected void btnPrintpoconfirm_Click(object sender, EventArgs e)
    {
        Label label = (Label)base.Master.FindControl("lbltotalinfo");

        label.Text = "";
        C1GridViewRow parent = ((LinkButton)sender).Parent.Parent as C1GridViewRow;
        Label         label2 = (Label)parent.FindControl("lblPONO");

        this.Session["Param"] = "PONO";
        this.Session["pono"]  = label2.Text.Trim();
        this.runjQueryCode("window.open('Report_Merchandising/Smt_MerchandisingReport.aspx','popup','location=1,status=1,left=0,top=0,scrollbars=1,width=970,height=600')");
    }
Пример #14
0
        protected override void CreateRowTemplate(C1GridViewRow row)
        {
            var cell   = GridUtils.GetCell(row, PeriodoVo.IndexAction);
            var button = cell.FindControl("btCambiarEstado") as LinkButton;

            if (button == null)
            {
                cell.Controls.Add(new LinkButton {
                    ID = "btCambiarEstado", OnClientClick = "return confirm('Esta seguro?');", CommandName = "CambiarEstado", Text = @"Cerrar"
                });
            }
        }
    protected void btnPrintpoconfirm_Click(object sender, EventArgs e)
    {
        Label label = (Label)base.Master.FindControl("lbltotalinfo");

        label.Text = "";
        C1GridViewRow parent = ((Button)sender).Parent.Parent as C1GridViewRow;
        Label         label2 = (Label)parent.FindControl("lblIssueNo");

        this.Session["Param"]    = "FR";
        this.Session["IssueNID"] = label2.Text.Trim();
        this.runjQueryCode("window.open('Smt_Inv_ReportDisplay.aspx','popup','location=1,status=1,left=0,top=0,scrollbars=1,width=970,height=600')");
    }
Пример #16
0
        protected override void CreateRowTemplate(C1GridViewRow row)
        {
            var lblEstado  = row.Cells[TicketVo.IndexEstado].FindControl("lblEstado") as ResourceLabel;
            var lnkIniciar = row.Cells[TicketVo.IndexEstado].FindControl("lnkIniciar") as ResourceLinkButton;
            var lnkCerrar  = row.Cells[TicketVo.IndexEstado].FindControl("lnkCerrar") as ResourceLinkButton;

            if (lblEstado == null)
            {
                lblEstado = new ResourceLabel {
                    ResourceName = "Labels", ID = "lblEstado", Visible = false
                };
                row.Cells[TicketVo.IndexEstado].Controls.Add(lblEstado);
            }

            if (lnkIniciar == null)
            {
                lnkIniciar = new ResourceLinkButton
                {
                    ResourceName     = "Labels",
                    ID               = "lnkIniciar",
                    CommandName      = "Start",
                    CommandArgument  = row.RowIndex.ToString(),
                    VariableName     = "TICKET_INICIAR",
                    Visible          = false,
                    CausesValidation = false
                };
                row.Cells[TicketVo.IndexEstado].Controls.Add(lnkIniciar);
            }

            if (lnkCerrar == null)
            {
                lnkCerrar = new ResourceLinkButton
                {
                    ResourceName     = "Labels",
                    ID               = "lnkCerrar",
                    CommandName      = "Close",
                    CommandArgument  = row.RowIndex.ToString(),
                    VariableName     = "TICKET_CERRAR",
                    Visible          = false,
                    CausesValidation = false
                };
                row.Cells[TicketVo.IndexEstado].Controls.Add(new Literal {
                    Text = "<br/>"
                });
                row.Cells[TicketVo.IndexEstado].Controls.Add(lnkCerrar);
            }


            lnkIniciar.Command += lnkbtnEstado_Command;
            lnkCerrar.Command  += lnkbtnEstado_Command;
        }
Пример #17
0
    protected void lnkEBIN_Click(object sender, EventArgs e)
    {
        C1GridViewRow parent = ((LinkButton)sender).Parent.Parent as C1GridViewRow;
        LinkButton    button = (LinkButton)parent.FindControl("lnkEBIN");
        string        str    = parent.Cells[4].Text.Trim();
        Label         label  = (Label)parent.FindControl("lblUnit");

        this._dlinventory.EbinRpt(int.Parse(button.CommandArgument));
        this.Session["Param"]   = "EBIN";
        this.Session["itm"]     = str;
        this.Session["Unit"]    = label.Text.Trim();
        this.Session["Itmcode"] = button.CommandArgument;
        this.runjQueryCode("window.open('Smt_Inv_ReportDisplay.aspx','popup','location=1,status=1,left=0,top=0,scrollbars=1,width=970,height=600')");
    }
Пример #18
0
        protected override void CreateHeaderTemplate(C1GridViewRow row)
        {
            if (row == null)
            {
                return;
            }

            var chk = row.FindControl("chkSelectAll") as CheckBox;

            if (chk == null)
            {
                GridUtils.GetCell(row, ReferenciaGeograficaVo.IndexCheck).Controls.Add(chk = new CheckBox {
                    ID = "chkSelectAll", AutoPostBack = true
                });
            }
            chk.CheckedChanged += ChkSelectAllCheckedChanged;
        }
Пример #19
0
 /// <summary>
 /// Generates the Template columns for the action behaviours.
 /// </summary>
 /// <param name="row"></param>
 protected override void CreateRowTemplate(C1GridViewRow row)
 {
     CreateImageTemplate(row, "imgGrabaEnBase", AccionVo.IndexGrabaEnBase);
     CreateImageTemplate(row, "imgCambiaMensaje", AccionVo.IndexCambiaMensaje);
     CreateImageTemplate(row, "imgEsPopUp", AccionVo.IndexEsPopUp);
     CreateImageTemplate(row, "imgRequiereAtencion", AccionVo.IndexRequiereAtencion);
     CreateImageTemplate(row, "imgEsAlarmaSonora", AccionVo.IndexEsAlarmaSonora);
     CreateImageTemplate(row, "imgEnviaMails", AccionVo.IndexEnviaMails);
     CreateImageTemplate(row, "imgEnviaSms", AccionVo.IndexEnviaSms);
     CreateImageTemplate(row, "imgHabilitaUsuario", AccionVo.IndexHabilitaUsuario);
     CreateImageTemplate(row, "imgInhabilitaUsuario", AccionVo.IndexInHabilitaUsuario);
     CreateImageTemplate(row, "imgModificaIcono", AccionVo.IndexModificaIcono);
     CreateImageTemplate(row, "imgPideFoto", AccionVo.IndexPideFoto);
     CreateImageTemplate(row, "imgEvaluaGeocerca", AccionVo.IndexEvaluaGeocerca);
     CreateImageTemplate(row, "imgReportaAssistCargo", AccionVo.IndexReportaAssistCargo);
     CreateImageTemplate(row, "imgEnviaReporte", AccionVo.IndexEnviaReporte);
 }
Пример #20
0
        protected override void CreateRowTemplate(C1GridViewRow row)
        {
            var cellAjuste = GridUtils.GetCell(row, ConsolaTicketsVo.Index.Ajuste);
            var lnkAjuste  = cellAjuste.FindControl("lnkAjuste") as ResourceLinkButton;

            if (lnkAjuste == null)
            {
                lnkAjuste = new ResourceLinkButton
                {
                    ResourceName     = "Labels",
                    ID               = "lnkAjuste",
                    CommandName      = "TicketAjuste",
                    VariableName     = "Crear Ticket Ajuste",
                    CausesValidation = false
                };
                cellAjuste.Controls.Add(lnkAjuste);
            }
        }
    protected void btnEmail_Click(object sender, System.EventArgs e)
    {
        Label         label   = (Label)base.Master.FindControl("lbltotalinfo");
        C1GridViewRow parent  = ((LinkButton)sender).Parent.Parent as C1GridViewRow;
        LinkButton    button1 = (LinkButton)parent.FindControl("btnEmail");
        Label         label2  = (Label)parent.FindControl("lblSupplierID");
        Label         label3  = (Label)parent.FindControl("lblPO");

        try
        {
            this.Sentmail_supplier(int.Parse(label3.Text), int.Parse(label2.Text));
            label.Text = ("Success");
        }
        catch (System.Exception exception)
        {
            label.Text = (exception.Message);
        }
    }
Пример #22
0
        protected override void CreateRowTemplate(C1GridViewRow row)
        {
            var idEntrada      = Grid.DataKeys[row.RowIndex].Values[FichadaVo.IndexKeyIdEntrada].ToString();
            var cellEntrada    = row.Cells[GridUtils.GetColumnIndex(FichadaVo.IndexHoraEntrada)];
            var entradaDeleted = Convert.ToBoolean(Grid.DataKeys[row.RowIndex].Values[FichadaVo.IndexKeyEntradaDeleted]);
            var entradaEdited  = Convert.ToBoolean(Grid.DataKeys[row.RowIndex].Values[FichadaVo.IndexKeyEntradaEdited]);

            CellEdit(cellEntrada, idEntrada, true, entradaDeleted, entradaEdited);

            var idSalida      = Grid.DataKeys[row.RowIndex].Values[FichadaVo.IndexKeyIdSalida].ToString();
            var cellSalida    = row.Cells[GridUtils.GetColumnIndex(FichadaVo.IndexHoraSalida)];
            var salidaDeleted = Convert.ToBoolean(Grid.DataKeys[row.RowIndex].Values[FichadaVo.IndexKeySalidaDeleted]);
            var salidaEdited  = Convert.ToBoolean(Grid.DataKeys[row.RowIndex].Values[FichadaVo.IndexKeySalidaEdited]);

            CellEdit(cellSalida, idSalida, false, salidaDeleted, salidaEdited);

            var cellEdit = row.Cells[GridUtils.GetColumnIndex(FichadaVo.IndexEdit)];

            EditButton(cellEdit, idEntrada, idSalida);
        }
Пример #23
0
        protected override void CreateRowTemplate(C1GridViewRow row)
        {
            const int checkIndex = 0;

            var imgbtn = (row.Cells[checkIndex].FindControl("linkHistorico") as ImageButton);

            if (imgbtn == null)
            {
                row.Cells[checkIndex].Controls.Add(new ImageButton {
                    ID = "linkHistorico"
                });
            }

            var lblId = (row.Cells[checkIndex].FindControl("lblLinkHistorico") as Label);

            if (lblId == null)
            {
                row.Cells[checkIndex].Controls.Add(new Label {
                    ID = "lblLinkHistorico", Visible = false
                });
            }
        }
Пример #24
0
    protected void Editpo(object sender, EventArgs e)
    {
        this.lblrowindx.Text = "";
        C1GridViewRow parent = ((LinkButton)sender).Parent.Parent as C1GridViewRow;
        LinkButton    button = (LinkButton)parent.FindControl("btnEdit");
        DataTable     table  = this.blInventory.get_InformationdataTable("Sp_Smt_Poheader_Viewpodtl " + button.CommandArgument);

        this.drpSupplier.SelectedValue   = table.Rows[0]["nSuplierID"].ToString();
        this.drpOrderType.SelectedValue  = table.Rows[0]["nOrderType"].ToString();
        this.txtAttention.Text           = table.Rows[0]["cAtt"].ToString();
        this.drpDeliveryTo.SelectedValue = table.Rows[0]["Company_ID"].ToString();
        this.drpPIIssue.SelectedValue    = table.Rows[0]["nIssueTo"].ToString();
        this.txtCreditDays.Text          = table.Rows[0]["cCredtDay"].ToString();
        this.txtDeliverydt.Text          = table.Rows[0]["dDelevey"].ToString();
        this.txtRemarks.Text             = table.Rows[0]["cRemark"].ToString();
        this.txtPOno.Text = button.CommandArgument;
        this.drpCurrencytype.SelectedValue = table.Rows[0]["cCurType"].ToString();
        if (!string.IsNullOrEmpty(this.drpSupplier.SelectedValue))
        {
            this.drpMainCat.DataSource     = this.blInventory.get_Informationdataset("Sp_POOtherBooking_GetMainCat " + this.drpSupplier.SelectedValue);
            this.drpMainCat.DataTextField  = "cMainCategory";
            this.drpMainCat.DataValueField = "nMainCategory_ID";
            this.drpMainCat.DataBind();
            this.drpMainCat.Items.Insert(0, new ListItem(string.Empty, string.Empty));
            this.drpMainCat.SelectedIndex = 0;
            this.drpMainCat.Enabled       = true;
            DataTable table2 = this.blInventory.get_InformationdataTable("select cAtt from Smt_Suppliers where nCode='" + this.drpSupplier.SelectedValue + "'");
            this.txtAttention.Text = table2.Rows[0]["cAtt"].ToString();
        }
        DataTable table3 = this.blInventory.get_InformationdataTable("Sp_Smt_PoDetails_Viewpodtl " + button.CommandArgument);

        this.grdBookingDtl.DataSource = table3;
        this.grdBookingDtl.DataBind();
        this.ViewState["CurrentData"] = table3;
        this.C1TabControl1.MoveFirst();
    }
Пример #25
0
 protected virtual void CreateRowTemplate(C1GridViewRow row)
 {
 }
Пример #26
0
        protected override void CreateRowTemplate(C1GridViewRow row)
        {
            var lblEstado   = row.Cells[ViajeDistribucionVo.IndexEstado].FindControl("lblEstado") as ResourceLabel;
            var lnkIniciar  = row.Cells[ViajeDistribucionVo.IndexEstado].FindControl("lnkIniciar") as ResourceLinkButton;
            var lnkCerrar   = row.Cells[ViajeDistribucionVo.IndexEstado].FindControl("lnkCerrar") as ResourceLinkButton;
            var lnkReenviar = row.Cells[ViajeDistribucionVo.IndexEstado].FindControl("lnkReenviar") as ResourceLinkButton;
            var lnkAsociar  = row.Cells[ViajeDistribucionVo.IndexEstado].FindControl("lnkAsociar") as ResourceLinkButton;
            var lnkCombinar = row.Cells[ViajeDistribucionVo.IndexEstado].FindControl("lnkCombinar") as ResourceLinkButton;
            var cbVehiculo  = row.Cells[ViajeDistribucionVo.IndexVehiculo].FindControl("cbVehiculo") as DropDownList;

            if (lblEstado == null)
            {
                lblEstado = new ResourceLabel {
                    ResourceName = "Labels", ID = "lblEstado", Visible = false
                };
                row.Cells[ViajeDistribucionVo.IndexEstado].Controls.Add(lblEstado);
            }

            if (lnkIniciar == null)
            {
                lnkIniciar = new ResourceLinkButton
                {
                    ResourceName    = "Labels",
                    ID              = "lnkIniciar",
                    CommandName     = "Start",
                    CommandArgument = row.RowIndex.ToString("#0"),
                    VariableName    = "DISTRIBUCION_INICIAR",
                    Visible         = false
                };
                row.Cells[ViajeDistribucionVo.IndexEstado].Controls.Add(lnkIniciar);
            }

            row.Cells[ViajeDistribucionVo.IndexEstado].Controls.Add(new Literal {
                Text = @"<br/>"
            });

            if (lnkAsociar == null)
            {
                lnkAsociar = new ResourceLinkButton
                {
                    ResourceName    = "Labels",
                    ID              = "lnkAsociar",
                    CommandName     = "Asociar",
                    CommandArgument = row.RowIndex.ToString("#0"),
                    VariableName    = "ASOCIAR_VEHICULO",
                    Visible         = false,
                    OnClientClick   = string.Concat("return confirm('", CultureManager.GetString("SystemMessages", "CONFIRM_OPERATION"), "');")
                };

                row.Cells[ViajeDistribucionVo.IndexEstado].Controls.Add(lnkAsociar);
            }

            if (lnkCombinar == null)
            {
                lnkCombinar = new ResourceLinkButton
                {
                    ResourceName    = "Labels",
                    ID              = "lnkCombinar",
                    CommandName     = "Combinar",
                    CommandArgument = row.RowIndex.ToString("#0"),
                    VariableName    = "DISTRIBUCION_COMBINAR",
                    Visible         = false,
                    OnClientClick   = string.Concat("return confirm('", CultureManager.GetString("SystemMessages", "CONFIRM_OPERATION"), "');")
                };

                row.Cells[ViajeDistribucionVo.IndexEstado].Controls.Add(lnkCombinar);
            }

            if (lnkCerrar == null)
            {
                lnkCerrar = new ResourceLinkButton
                {
                    ResourceName    = "Labels",
                    ID              = "lnkCerrar",
                    CommandName     = "Close",
                    CommandArgument = row.RowIndex.ToString("#0"),
                    VariableName    = "DISTRIBUCION_CERRAR",
                    Visible         = false,
                    OnClientClick   = string.Concat("return confirm('", CultureManager.GetString("SystemMessages", "CONFIRM_OPERATION"), "');")
                };

                row.Cells[ViajeDistribucionVo.IndexEstado].Controls.Add(lnkCerrar);
            }

            if (lnkReenviar == null)
            {
                lnkReenviar = new ResourceLinkButton
                {
                    ResourceName    = "Labels",
                    ID              = "lnkReenviar",
                    CommandName     = "Reenviar",
                    CommandArgument = row.RowIndex.ToString("#0"),
                    VariableName    = "DISTRIBUCION_REENVIAR",
                    Visible         = false,
                    OnClientClick   = string.Concat("return confirm('", CultureManager.GetString("SystemMessages", "CONFIRM_OPERATION"), "');")
                };

                row.Cells[ViajeDistribucionVo.IndexEstado].Controls.Add(new Literal {
                    Text = @"<br/>"
                });
                row.Cells[ViajeDistribucionVo.IndexEstado].Controls.Add(lnkReenviar);
            }

            if (cbVehiculo == null)
            {
                cbVehiculo = new DropDownList
                {
                    ID      = "cbVehiculo",
                    Visible = true
                };

                row.Cells[ViajeDistribucionVo.IndexVehiculo].Controls.Add(cbVehiculo);
            }

            cbVehiculo.SelectedIndexChanged += ComboOnSelectedIndexChanged;
            lnkIniciar.Command  += LnkbtnEstadoCommand;
            lnkCerrar.Command   += LnkbtnEstadoCommand;
            lnkReenviar.Command += LnkbtnEstadoCommand;
            lnkAsociar.Command  += LnkbtnEstadoCommand;
            lnkCombinar.Command += LnkbtnEstadoCommand;
        }
Пример #27
0
 protected override void CreateRowTemplate(C1GridViewRow row)
 {
     CreateImageTemplate(row, "imgDefaut", TipoServicioCicloVo.IndexDefault);
 }
Пример #28
0
 public TableCell GetCell(C1GridViewRow row, int originalIndex)
 {
     return(row.Cells[GetColumnIndex(originalIndex)]);
 }