Ejemplo n.º 1
0
        private global::System.Web.UI.HtmlControls.HtmlGenericControl @__BuildControldvFormulario()
        {
            global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl;
            @__ctrl           = new global::System.Web.UI.HtmlControls.HtmlGenericControl("div");
            this.dvFormulario = @__ctrl;
            @__ctrl.ID        = "dvFormulario";
            System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
    <div class=""row clearfix"">
        <div class=""col-md-6 column"">
            <div class=""btn-group btn-breadcrumb"">
                <a class=""btn btn-warning sinMargen""><i class=""glyphicon glyphicon-home""></i>USTED ESTÁ EN:</a>
                <a class=""btn btn-primary sinMargen"">Contabilidad</a>
                <a class=""btn btn-info sinMargen"">Bitácora Siniestro</a>
            </div>
        </div>

    </div>

    <br />
    <table style=""width:100%"">
        <tr>
            <td class=""auto-style1""></td>

            <td style=""width:5%""></td>
            <td class=""auto-style8"">&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td></td>
            <td align=""right"">
                "));
            global::System.Web.UI.WebControls.LinkButton @__ctrl1;
            @__ctrl1 = this.@__BuildControllkHistorico();
            @__parser.AddParsedSubObject(@__ctrl1);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("&nbsp; &nbsp;\r\n                "));
            global::System.Web.UI.WebControls.LinkButton @__ctrl2;
            @__ctrl2 = this.@__BuildControllkBitacoraPago();
            @__parser.AddParsedSubObject(@__ctrl2);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                &nbsp; &nbsp;\r\n                "));
            global::System.Web.UI.WebControls.LinkButton @__ctrl3;
            @__ctrl3 = this.@__BuildControllkRegistroBitacora();
            @__parser.AddParsedSubObject(@__ctrl3);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
            </td>
        </tr>

    </table>

    <br />
    <br />


    <div class=""row clearfix"">
        <div class=""col-md-12 column form-horizontal"">
            <div class=""row clearfix"">
                <!-- Grupo 1 -->
                <div class=""col-md-4"">
                    <div class=""column form-group"">
                        <label for=""inputEmail4"" class=""col-sm-4 control-label"">Acreedor:</label>
                        <div class=""col-sm-8"">
                            "));
            global::System.Web.UI.WebControls.DropDownList @__ctrl4;
            @__ctrl4 = this.@__BuildControlddlAcreedor();
            @__parser.AddParsedSubObject(@__ctrl4);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                        </div>
                    </div>
                    <div class=""column form-group"">
                        <label for=""inputEmail3"" class=""col-sm-4 control-label"">Rut:</label>
                        <div class=""col-sm-8"">
                            "));
            global::System.Web.UI.WebControls.TextBox @__ctrl5;
            @__ctrl5 = this.@__BuildControltxtRUT();
            @__parser.AddParsedSubObject(@__ctrl5);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                        </div>
                    </div>

                    <div class=""column form-group"">
                        <label for=""inputEmail3"" class=""col-sm-4 control-label"">Fecha Pago desde:</label>
                        <div class=""col-sm-8"">
                            "));
            global::Microsoft.SharePoint.WebControls.DateTimeControl @__ctrl6;
            @__ctrl6 = this.@__BuildControldtcFechaInicio();
            @__parser.AddParsedSubObject(@__ctrl6);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                        </div>
                    </div>

                </div>
                <!-- Grupo 2 -->
                <div class=""col-md-4"">
                    <div class=""column form-group"">
                        <label for=""inputEmail3"" class=""col-sm-4 control-label"">Causa:</label>
                        <div class=""col-sm-8"">
                            "));
            global::System.Web.UI.WebControls.DropDownList @__ctrl7;
            @__ctrl7 = this.@__BuildControlddlCausa();
            @__parser.AddParsedSubObject(@__ctrl7);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                        </div>
                    </div>
                    <div class=""column form-group"">
                        <label for=""inputEmail3"" class=""col-sm-4 control-label"">Razón Social:</label>
                        <div class=""col-sm-8"">
                            "));
            global::System.Web.UI.WebControls.TextBox @__ctrl8;
            @__ctrl8 = this.@__BuildControltxtRazonSocial();
            @__parser.AddParsedSubObject(@__ctrl8);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                        </div>
                    </div>

                    <div class=""column form-group"">
                        <label for=""inputEmail3"" class=""col-sm-4 control-label"">Fecha Pago hasta:</label>
                        <div class=""col-sm-8"">
                            "));
            global::Microsoft.SharePoint.WebControls.DateTimeControl @__ctrl9;
            @__ctrl9 = this.@__BuildControlstcFechaFin();
            @__parser.AddParsedSubObject(@__ctrl9);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                        </div>
                    </div>

                </div>
                <!-- Grupo 3 -->
                <div class=""col-md-3"">
                    <div class=""column form-group"">
                        <label for=""inputEmail3"" class=""col-sm-5 control-label"">Motivo:</label>
                        <div class=""col-sm-7"">
                            "));
            global::System.Web.UI.WebControls.DropDownList @__ctrl10;
            @__ctrl10 = this.@__BuildControlddlMotivo();
            @__parser.AddParsedSubObject(@__ctrl10);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                        </div>
                    </div>
                    <div class=""column form-group"">
                        <label for=""inputEmail3"" class=""col-sm-5 control-label"">Nº Certificado:</label>
                        <div class=""col-sm-7"">
                            "));
            global::System.Web.UI.WebControls.TextBox @__ctrl11;
            @__ctrl11 = this.@__BuildControltxtNCertificado();
            @__parser.AddParsedSubObject(@__ctrl11);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                        </div>\r\n                    </div>\r\n                </d" +
                                                                          "iv>\r\n                <!-- Grupo 3 -->\r\n                <div class=\"col-md-1\">\r\n " +
                                                                          "                   <div class=\"column form-group\">\r\n                        "));
            global::System.Web.UI.WebControls.Button @__ctrl12;
            @__ctrl12 = this.@__BuildControlbtnBuscar();
            @__parser.AddParsedSubObject(@__ctrl12);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                    </div>\r\n                </div>\r\n            </div>\r\n       " +
                                                                          " </div>\r\n    </div>\r\n    <br />\r\n\r\n    "));
            global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl13;
            @__ctrl13 = this.@__BuildControldv_buscarEmpresas();
            @__parser.AddParsedSubObject(@__ctrl13);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n    <br />\r\n\r\n    <hr />\r\n    "));
            global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl14;
            @__ctrl14 = this.@__BuildControldvSuccess();
            @__parser.AddParsedSubObject(@__ctrl14);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\r\n    "));
            global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl15;
            @__ctrl15 = this.@__BuildControldvWarning();
            @__parser.AddParsedSubObject(@__ctrl15);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n    "));
            global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl16;
            @__ctrl16 = this.@__BuildControldvError();
            @__parser.AddParsedSubObject(@__ctrl16);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\r\n"));
            return(@__ctrl);
        }
 // *********************************************************************
 //  BuildItemTemplate
 //
 /// <summary>
 /// Builds the default item template if the user does not specify one
 /// </summary>
 ///
 // ********************************************************************/
 private void BuildItemTemplate(Control _ctrl)
 {
     // add the DataBoundLiteralControl to the parser
     System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(_ctrl));
     __parser.AddParsedSubObject(BeginBuildItemTemplate());
 }
 private void @__BuildControl__control2(System.Web.UI.Control @__ctrl)
 {
     System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n        <div style=\"font-weight: bold;\"></div>\r\n    "));
 }
        private global::System.Web.UI.HtmlControls.HtmlGenericControl @__BuildControldvFormulario() {
            global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl;
            @__ctrl = new global::System.Web.UI.HtmlControls.HtmlGenericControl("div");
            this.dvFormulario = @__ctrl;
            @__ctrl.ID = "dvFormulario";
            System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"

<!-- Page-Title -->
<div class=""row marginInicio"">
    <div class=""col-sm-12"">
        <h4 class=""page-title"">Documentos Curse</h4>
        <ol class=""breadcrumb"">
            <li>
                <a href=""#"">Operaciones</a>
            </li>
            <li class=""active"">Documentos Curse
            </li>
        </ol>
    </div>
</div>


 <!-- Empresa -->
 <div class=""row"">
    <div class=""col-md-12"">
        <div class=""alert alert-gray"">
            <p><strong>Empresa:
                "));
            global::System.Web.UI.WebControls.Label @__ctrl1;
            @__ctrl1 = this.@__BuildControllbEmpresa();
            @__parser.AddParsedSubObject(@__ctrl1);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("</strong> /\r\n                "));
            global::System.Web.UI.WebControls.Label @__ctrl2;
            @__ctrl2 = this.@__BuildControllbRut();
            @__parser.AddParsedSubObject(@__ctrl2);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                / Negocio:\r\n                "));
            global::System.Web.UI.WebControls.Label @__ctrl3;
            @__ctrl3 = this.@__BuildControllbOperacion();
            @__parser.AddParsedSubObject(@__ctrl3);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                / Ejecutivo:\r\n                "));
            global::System.Web.UI.WebControls.Label @__ctrl4;
            @__ctrl4 = this.@__BuildControllbEjecutivo();
            @__parser.AddParsedSubObject(@__ctrl4);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("</p>\r\n        </div>\r\n    </div>\r\n</div>\r\n\r\n<br />\r\n"));
            global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl5;
            @__ctrl5 = this.@__BuildControldvSuccess();
            @__parser.AddParsedSubObject(@__ctrl5);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\r\n"));
            global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl6;
            @__ctrl6 = this.@__BuildControldvWarning();
            @__parser.AddParsedSubObject(@__ctrl6);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\r\n"));
            global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl7;
            @__ctrl7 = this.@__BuildControldvError();
            @__parser.AddParsedSubObject(@__ctrl7);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
<br />

<!-- tabs -->
<div class=""row"">
    <div class=""col-md-12"">
        <ul class=""nav nav-tabs navtab-bg nav-justified"">
            <li>
                <a href=""#tab1"" data-toggle=""tab"" aria-expanded=""false"">
                    <span class=""visible-xs""><i class=""fa fa-user""></i></span>
                    <span class=""hidden-xs"">
                        "));
            global::System.Web.UI.WebControls.LinkButton @__ctrl8;
            @__ctrl8 = this.@__BuildControllbDistribucionFondo();
            @__parser.AddParsedSubObject(@__ctrl8);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                    </span>
                </a>
            </li>
            <li class=""active"">
                <a href=""#tab2"" data-toggle=""tab"" aria-expanded=""true"">
                    <span class=""visible-xs""><i class=""fa fa-home""></i></span>
                    <span class=""hidden-xs"">
                        "));
            global::System.Web.UI.WebControls.LinkButton @__ctrl9;
            @__ctrl9 = this.@__BuildControllblDocumentoCurse();
            @__parser.AddParsedSubObject(@__ctrl9);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                    </span>
                </a>
            </li>
        </ul>
        <div class=""tab-content"">
            <div class=""tab-pane active"" id=""tab2"">
                <div class=""row"">
                    <!-- col 1/4 -->
                    <div class=""col-md-6 col-sm-6"">
                        <div class=""form-group"">
                            <label for="""">Acreedor:</label>
                            "));
            global::System.Web.UI.WebControls.TextBox @__ctrl10;
            @__ctrl10 = this.@__BuildControltxtAcreedor();
            @__parser.AddParsedSubObject(@__ctrl10);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                        </div>
                    </div>
                    <!-- col 2/4 -->
                    <div class=""col-md-6 col-sm-6"">
                        <div class=""form-group"">
                            <label for="""">Tipo de Producto:</label>
                            "));
            global::System.Web.UI.WebControls.TextBox @__ctrl11;
            @__ctrl11 = this.@__BuildControltxtTipoProducto();
            @__parser.AddParsedSubObject(@__ctrl11);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                        </div>
                    </div>
                </div>

                <!-- tabla / grilla -->
                <div class=""row"">
                    <div class=""col-md-12"">
                        <table border=""0"" style=""table-layout: fixed; width: 100%;"">
                            <tr>
                                <td>
                                    <div class=""card-box"">
                                        "));
            global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl12;
            @__ctrl12 = this.@__BuildControldocumentos();
            @__parser.AddParsedSubObject(@__ctrl12);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                                    </div>\r\n                                </t" +
                        "d>\r\n                            </tr>\r\n                        </table>\r\n       " +
                        "             </div>\r\n                </div>\r\n\r\n                "));
            global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl13;
            @__ctrl13 = this.@__BuildControlDivArchivo();
            @__parser.AddParsedSubObject(@__ctrl13);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\r\n                "));
            global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl14;
            @__ctrl14 = this.@__BuildControlbotones();
            @__parser.AddParsedSubObject(@__ctrl14);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\r\n            </div>\r\n\r\n\r\n            </div>\r\n        </div>\r\n    </div>\r\n\r\n\r\n"));
            return @__ctrl;
        }
Ejemplo n.º 5
0
        private void @__BuildControlTree(global::LeaveApplication.ResignationForm.ResignationForm @__ctrl)
        {
            System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"

<script src=""../_layouts/15/LeaveApplication/LeaveRequest.js""></script>
<script src=""../_layouts/15/LeaveApplication/jquery.min.js""></script>

<div class=""content-box container"">
    <h4>Resignation Process</h4>
    <div class=""form-horizontal"">
        <div class=""row"">
            <div class=""col-md-6"">
                <div class=""form-group"">
                    <label class=""control-label col-xs-12  col-md-4"">Employee Name</label>

                    <div class=""col-xs-12 col-md-8"">
                        "));
            global::System.Web.UI.WebControls.DropDownList @__ctrl1;
            @__ctrl1 = this.@__BuildControlddlEmployee();
            @__parser.AddParsedSubObject(@__ctrl1);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                    </div>
                </div>
            </div>
            <div class=""col-md-6"">

                <div class=""form-group"">
                    <label class=""control-label col-xs-12  col-md-4"">Employee id</label>

                    <div class=""col-xs-12 col-md-8"">
                        "));
            global::System.Web.UI.WebControls.Label @__ctrl2;
            @__ctrl2 = this.@__BuildControllblEmpID();
            @__parser.AddParsedSubObject(@__ctrl2);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                    </div>
                </div>
            </div>
        </div>
        <div class=""row"">
            <div class=""col-md-6"">
                <div class=""form-group"">
                    <label class=""control-label col-xs-12  col-md-4"">Department</label>

                    <div class=""col-xs-12 col-md-8"">
                        "));
            global::System.Web.UI.WebControls.Label @__ctrl3;
            @__ctrl3 = this.@__BuildControllblDepartment();
            @__parser.AddParsedSubObject(@__ctrl3);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                    </div>
                </div>
            </div>
            <div class=""col-md-6"">
                <div class=""form-group"">
                    <label class=""control-label col-xs-12  col-md-4"">Designation</label>

                    <div class=""col-xs-12 col-md-8"">
                        "));
            global::System.Web.UI.WebControls.Label @__ctrl4;
            @__ctrl4 = this.@__BuildControllblDesgination();
            @__parser.AddParsedSubObject(@__ctrl4);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                    </div>
                </div>
            </div>
        </div>
        <div class=""row"">
            <div class=""col-md-6"">
                <div class=""form-group"" id=""Selecteddates"">
                    <label class=""control-label col-xs-12  col-md-4"">Date (MM/DD/YYYY)</label>

                    <div class=""col-xs-12 col-md-8 halfdaycont"">
                        "));
            global::Microsoft.SharePoint.WebControls.DateTimeControl @__ctrl5;
            @__ctrl5 = this.@__BuildControldateTimeDate();
            @__parser.AddParsedSubObject(@__ctrl5);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                    </div>
                </div>
            </div>
        </div>
        <div class=""row"">
            <div class=""col-md-6"">
                <div class=""form-group"">
                    <label class=""control-label col-xs-12  col-md-4"">PL Current Balance</label>

                    <div class=""col-xs-12 col-md-8"">
                        "));
            global::System.Web.UI.WebControls.Label @__ctrl6;
            @__ctrl6 = this.@__BuildControllblplCurrent();
            @__parser.AddParsedSubObject(@__ctrl6);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                    </div>
                </div>
            </div>
            <div class=""col-md-6"">
                <div class=""form-group"">
                    <label class=""control-label col-xs-12  col-md-4"">PL Need to pay</label>

                    <div class=""col-xs-12 col-md-8"">
                        "));
            global::System.Web.UI.WebControls.Label @__ctrl7;
            @__ctrl7 = this.@__BuildControllblplneedtopay();
            @__parser.AddParsedSubObject(@__ctrl7);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                    </div>\r\n                </div>\r\n            </div>\r\n       " +
                                                                          " </div>\r\n        <div class=\"row\">\r\n            <ul class=\"submit_cnt\">\r\n       " +
                                                                          "         <li>\r\n                    "));
            global::System.Web.UI.WebControls.Button @__ctrl8;
            @__ctrl8 = this.@__BuildControlbtnSubmit();
            @__parser.AddParsedSubObject(@__ctrl8);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("</li>\r\n                <li>\r\n                    "));
            global::System.Web.UI.WebControls.Button @__ctrl9;
            @__ctrl9 = this.@__BuildControlbtnReset();
            @__parser.AddParsedSubObject(@__ctrl9);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("</li>\r\n\r\n            </ul>\r\n        </div>\r\n        <div class=\"row\">\r\n          " +
                                                                          "  "));
            global::System.Web.UI.WebControls.HiddenField @__ctrl10;
            @__ctrl10 = this.@__BuildControlhdnCurrentUsername();
            @__parser.AddParsedSubObject(@__ctrl10);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n            "));
            global::System.Web.UI.WebControls.HiddenField @__ctrl11;
            @__ctrl11 = this.@__BuildControlhdnReportingTo();
            @__parser.AddParsedSubObject(@__ctrl11);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n            "));
            global::System.Web.UI.WebControls.HiddenField @__ctrl12;
            @__ctrl12 = this.@__BuildControlhdnCurrentYear();
            @__parser.AddParsedSubObject(@__ctrl12);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n            "));
            global::System.Web.UI.WebControls.HiddenField @__ctrl13;
            @__ctrl13 = this.@__BuildControlhdnEmployeeType();
            @__parser.AddParsedSubObject(@__ctrl13);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n            "));
            global::System.Web.UI.WebControls.HiddenField @__ctrl14;
            @__ctrl14 = this.@__BuildControlhdnHolidayList();
            @__parser.AddParsedSubObject(@__ctrl14);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n            "));
            global::System.Web.UI.WebControls.HiddenField @__ctrl15;
            @__ctrl15 = this.@__BuildControlhdnFnclStarts();
            @__parser.AddParsedSubObject(@__ctrl15);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n            "));
            global::System.Web.UI.WebControls.HiddenField @__ctrl16;
            @__ctrl16 = this.@__BuildControlhdnFnclEnds();
            @__parser.AddParsedSubObject(@__ctrl16);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n            "));
            global::System.Web.UI.WebControls.HiddenField @__ctrl17;
            @__ctrl17 = this.@__BuildControlhdnFinancialStratmonth();
            @__parser.AddParsedSubObject(@__ctrl17);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n        </div>\r\n        <div class=\"row\">\r\n            "));
            global::System.Web.UI.WebControls.Label @__ctrl18;
            @__ctrl18 = this.@__BuildControllblError();
            @__parser.AddParsedSubObject(@__ctrl18);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n        </div>\r\n    </div>\r\n</div>\r\n\r\n\r\n\r\n"));
        }
Ejemplo n.º 6
0
        private void @__BuildControlTree(global::EmployeeWebParts.WebParts.CreateEmployee.CreateEmployee @__ctrl)
        {
            System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"

<link type=""text/css"" rel=""stylesheet"" href=""/Style%20Library/CSS/bootstrap.min.css"" />
<script src=""/Style Library/Scripts/jquery-3.5.1.min.js""></script>



<div class=""container"">

    <div class=""row"">
        <div class=""col-md-3 col-sm-3"">
            <label for=""txtName"" id=""lblName"">Name</label>
        </div>
        <div class=""col-md-6 col-sm-6"">
            "));
            global::System.Web.UI.WebControls.TextBox @__ctrl1;
            @__ctrl1 = this.@__BuildControltxtName();
            @__parser.AddParsedSubObject(@__ctrl1);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\r\n            \r\n        </div>\r\n    </div>\r\n    <div class=\"row\">\r\n        <div" +
                                                                          " class=\"col-md-3 col-sm-3\">\r\n            <label for=\"txtBirthdate\" id=\"lblBirthd" +
                                                                          "ate\">Birthdate</label>\r\n        </div>\r\n        <div class=\"col-md-6 col-sm-6\">\r" +
                                                                          "\n            "));
            global::System.Web.UI.WebControls.TextBox @__ctrl2;
            @__ctrl2 = this.@__BuildControltxtBirthdate();
            @__parser.AddParsedSubObject(@__ctrl2);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\r\n            \r\n        </div>\r\n    </div>\r\n\r\n    <div class=\"row\">\r\n        <d" +
                                                                          "iv class=\"col-md-3 col-sm-3\">\r\n            <label for=\"rbGender\" id=\"lblGender\">" +
                                                                          "Gender</label>\r\n        </div>\r\n        <div class=\"col-md-6 col-sm-6\">\r\n       " +
                                                                          "     "));
            global::System.Web.UI.WebControls.DropDownList @__ctrl3;
            @__ctrl3 = this.@__BuildControlrbGender();
            @__parser.AddParsedSubObject(@__ctrl3);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\r\n            \r\n        </div>\r\n    </div>\r\n\r\n    <div class=\"row\">\r\n        <d" +
                                                                          "iv class=\"col-md-3 col-sm-3\">\r\n            <label for=\"txtSalary\" id=\"lblSalary\"" +
                                                                          ">Salary</label>\r\n        </div>\r\n        <div class=\"col-md-6 col-sm-6\">\r\n      " +
                                                                          "      "));
            global::System.Web.UI.WebControls.TextBox @__ctrl4;
            @__ctrl4 = this.@__BuildControltxtSalary();
            @__parser.AddParsedSubObject(@__ctrl4);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"

            
        </div>
    </div>

    <div class=""row"">
        <div class=""col-md-3 col-sm-3"">
            <label for=""chDepartment"" id=""lblDepartment"">Department</label>
        </div>
        <div class=""col-md-6 col-sm-6"">
            "));
            global::System.Web.UI.WebControls.DropDownList @__ctrl5;
            @__ctrl5 = this.@__BuildControlchDepartment();
            @__parser.AddParsedSubObject(@__ctrl5);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"

            
        </div>
    </div>

    <div class=""row"">
        <div class=""col-md-3 col-sm-3"">
            <label for=""txtProfileURL "" id=""lblProfileURL"">Profile URL</label>
        </div>
        <div class=""col-md-4 col-sm-4"">
            "));
            global::System.Web.UI.WebControls.TextBox @__ctrl6;
            @__ctrl6 = this.@__BuildControltxtProfileURL();
            @__parser.AddParsedSubObject(@__ctrl6);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n        </div>\r\n        <div class=\"col-md-3 col-sm-3\">\r\n            "));
            global::System.Web.UI.WebControls.TextBox @__ctrl7;
            @__ctrl7 = this.@__BuildControltxtProfileURLDes();
            @__parser.AddParsedSubObject(@__ctrl7);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
        </div>
    </div>

    <div class=""row"">
        <div class=""col-md-3 col-sm-3"">
            <label for=""txtBriefofExp "" id=""lbltxtBriefofExp"">Brief of experience</label>
        </div>
        <div class=""col-md-6 col-sm-6"">
            "));
            global::System.Web.UI.WebControls.TextBox @__ctrl8;
            @__ctrl8 = this.@__BuildControltxtBriefofExp();
            @__parser.AddParsedSubObject(@__ctrl8);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n            \r\n        </div>\r\n    </div>\r\n\r\n    <div class=\"row\">\r\n\r\n        <d" +
                                                                          "iv class=\"col-md-6 col-sm-6\" style=\"align-content: center\">\r\n            "));
            global::System.Web.UI.WebControls.Button @__ctrl9;
            @__ctrl9 = this.@__BuildControlbtnSave();
            @__parser.AddParsedSubObject(@__ctrl9);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n        </div>\r\n    </div>\r\n    \r\n    <label id=\"lblErrorMessage\"></label>\r\n   " +
                                                                          " \r\n</div>\r\n\r\n\r\n<script type=\"text/javascript\">  \r\n    \'use strict\';\r\n    $(docum" +
                                                                          "ent).ready(function () {\r\n      \r\n        $.ajax({\r\n            url: _spPageCont" +
                                                                          "extInfo.webAbsoluteUrl + \"/_api/web/lists/GetByTitle(\'Employees\')/fields?$filter" +
                                                                          "=EntityPropertyName eq \'EmployeeDepartment\'\",\r\n            type: \"GET\",\r\n       " +
                                                                          "     headers: {\r\n                \"accept\": \"application/json;odata=verbose\",\r\n  " +
                                                                          "          },\r\n            success: function (data) {\r\n                console.lo" +
                                                                          "g(data.d.results[0].Choices.results);\r\n                var depChoices = data.d.r" +
                                                                          "esults[0].Choices.results;\r\n                for (var dep of depChoices) {\r\n     " +
                                                                          "               console.log(dep);\r\n                    $(\"select[id*=\'chDepartmen" +
                                                                          "t\']\").append(`<option Value=\"${dep}\">${dep}</option>`);\r\n                }\r\n    " +
                                                                          "        },\r\n            error: function (error) {\r\n                alert(JSON.st" +
                                                                          "ringify(error));\r\n            }\r\n        });\r\n\r\n        $.ajax({\r\n            ur" +
                                                                          "l: _spPageContextInfo.webAbsoluteUrl + \"/_api/web/lists/GetByTitle(\'Employees\')/" +
                                                                          "fields?$filter=EntityPropertyName eq \'EmployeeGender\'\",\r\n            type: \"GET\"" +
                                                                          ",\r\n            headers: {\r\n                \"accept\": \"application/json;odata=ver" +
                                                                          "bose\",\r\n            },\r\n            success: function (data) {\r\n                " +
                                                                          "console.log(data.d.results[0].Choices.results);\r\n                var genderChoic" +
                                                                          "es = data.d.results[0].Choices.results;\r\n                for (var gender of gend" +
                                                                          "erChoices) {\r\n                    console.log(gender);\r\n                    $(\"s" +
                                                                          "elect[id*=\'rbGender\']\").append(`<option Value=\"${gender}\">${gender}</option>`);\r" +
                                                                          "\n                }\r\n            },\r\n            error: function (error) {\r\n     " +
                                                                          "           alert(JSON.stringify(error));\r\n            }\r\n        });\r\n        \r\n" +
                                                                          "\r\n    });\r\n\r\n\r\n    var allowAdd = false;\r\n    var listTitle = \"Employees\";\r\n\r\n  " +
                                                                          "  function CreateListItem() {\r\n        // validate Input\r\n        var valid = tr" +
                                                                          "ue;\r\n        var txtError = $(\"#lblErrorMessage\");\r\n        txtError.val(\"\");\r\n " +
                                                                          "       var textName = $(\"input[id*=\'txtName\']\").val();\r\n        var birthDate = " +
                                                                          "$(\"input[id *= \'txtBirthdate\']\").val();\r\n        var txtSalary = $(\"input[id *= " +
                                                                          "\'txtSalary\']\").val();\r\n        var txtBriefofExp = $(\"textarea[id *= \'txtBriefof" +
                                                                          "Exp\']\").val();\r\n        var emailPattern = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\\.[a-" +
                                                                          "zA-Z]{2,4}$/;\r\n\r\n        if (textName.length < 20 || textName.length > 100) {\r\n " +
                                                                          "           txtError.append(\"Name Length between 20 & 100 \").show();\r\n           " +
                                                                          " valid = false;\r\n        }\r\n        if (new Date(birthDate) > new Date() || birt" +
                                                                          "hDate === \"\") {\r\n            txtError.append(\" Date is inValid\");\r\n            v" +
                                                                          "alid = false;\r\n        }\r\n        if (txtSalary === null || txtSalary === undefi" +
                                                                          "ned) {\r\n            txtError.append(\" Salary required\");\r\n            valid = fa" +
                                                                          "lse;\r\n        }\r\n        if (txtBriefofExp === null || txtBriefofExp === undefin" +
                                                                          "ed || txtBriefofExp.length > 200) {\r\n            txtError.append(\" Brief  requir" +
                                                                          "ed\");\r\n            valid = false;\r\n        }\r\n        if (!valid) {\r\n           " +
                                                                          " txtError.show();\r\n        }\r\n\r\n        var siteURL = _spPageContextInfo.webAbso" +
                                                                          "luteUrl;\r\n        console.log(\"from top nav - \" + siteURL);\r\n        var apiPath" +
                                                                          " = siteURL + \"/_api/lists/getbytitle(\'Employee\')/items\";\r\n\r\n\r\n        if (valid)" +
                                                                          " {\r\n            var item = {\r\n                \"__metadata\": {\r\n                 " +
                                                                          "   \"type\": \"SP.Data.EmployeeListItem\"\r\n                },\r\n                \"Titl" +
                                                                          "e\": $(\"input[id*=\'txtName\']\").val(),\r\n                \"EmployeeName\": $(\"input[i" +
                                                                          "d *= \'txtName\']\").val(),\r\n                \"EmployeeBirthdate\": $(\"input[id *= \'t" +
                                                                          "xtBirthdate\']\").val(),\r\n                \"BriefOfExperience\": $(\"textarea[id *= \'" +
                                                                          "txtBriefofExp\']\").val(),\r\n                \"EmployeeGender\": $(\"select[id*=\'rbGen" +
                                                                          "der\'] :selected\").val(),\r\n                \"EmployeeSalary\": parseInt($(\"input[id" +
                                                                          " *= \'txtSalary\']\").val()),\r\n                \"EmployeeDepartment\": $(\"select[id*=" +
                                                                          "\'chDepartment\'] :selected\").val(),\r\n                \"ProfileURL\": {\r\n           " +
                                                                          "         \'__metadata\': { \'type\': \'SP.FieldUrlValue\' },\r\n                    \'Des" +
                                                                          "cription\': $(\"textarea[id *= \'txtProfileURLDes\']\").val(),\r\n                    \'" +
                                                                          "Url\': $(\"input[id *= \'txtProfileURL\']\").val()\r\n                }\r\n            };" +
                                                                          "\r\n            siteURL = _spPageContextInfo.webAbsoluteUrl;\r\n            console." +
                                                                          "log(\"from top nav - \" + siteURL);\r\n            var apiPath = siteURL + \"/_api/li" +
                                                                          "sts/getbytitle(\'Employees\')/items\";\r\n            $.ajax({\r\n                url: " +
                                                                          "apiPath,\r\n                type: \"POST\",\r\n                headers: {\r\n           " +
                                                                          "         \"accept\": \"application/json;odata=verbose\",\r\n                    \"X-Req" +
                                                                          "uestDigest\": $(\"#__REQUESTDIGEST\").val(),\r\n                    \"content-Type\": \"" +
                                                                          "application/json;odata=verbose\"\r\n                },\r\n                data: JSON." +
                                                                          "stringify(item),\r\n                //\"{__metadata:{\'type\':\'SP.Data.EmployeesListI" +
                                                                          "tem\'},EmployeeName: \" + $(\"input[id*=\'txtName\']\").val() + \",Title: \" + $(\"input[" +
                                                                          "id*=\'txtName\']\").val() + \",EmployeeBirthdate: \" + $(\"input[id*=\'txtBirthdate\']\")" +
                                                                          ".val() + \",BriefOfExperience:\" + $(\"input[id*=\'txtBriefofExp\']\").val() + \",Gende" +
                                                                          "r:Male,Salary: \" + $(\"input[id*=\'txtSalary\']\").val() + \",EmployeeDepartment:HR,P" +
                                                                          "rofileURL:http://nsasa  } \",\r\n                async: false,\r\n                suc" +
                                                                          "cess: function (data) {\r\n                    console.log(data.d.results);\r\n     " +
                                                                          "               var r = confirm(\"Successful Message!\");\r\n                    if (" +
                                                                          "r == true) {\r\n                        window.location.reload();\r\n               " +
                                                                          "     }\r\n                }, eror: function (data) {\r\n                    console." +
                                                                          "log(\"An error occurred. Please try again.\");\r\n                }\r\n            });" +
                                                                          "\r\n        }\r\n\r\n    }\r\n\r\n\r\n\r\n    // check permoissions forUser\r\n    function getL" +
                                                                          "istUserEffectivePermissions() {\r\n        var endpointUrl = _spPageContextInfo.we" +
                                                                          "bAbsoluteUrl + \"/_api/web/lists/getbytitle(\'\" + listTitle + \"\')/getusereffective" +
                                                                          "permissions(@u)?@u=\'\" + encodeURIComponent(_spPageContextInfo.userLoginName) + \"" +
                                                                          "\'\";\r\n        return $.getJSON(endpointUrl);\r\n    }\r\n\r\n    function parseBasePerm" +
                                                                          "issions(value) {\r\n        var permissions = new SP.BasePermissions();\r\n        p" +
                                                                          "ermissions.initPropertiesFromJson(value);\r\n        allowAdd = permissions.has(SP" +
                                                                          ".PermissionKind.addListItems);\r\n        if (allowAdd)\r\n            CreateListIte" +
                                                                          "m();\r\n        console.log(allowAdd);\r\n    }\r\n\r\n\r\n    function checkPermission() " +
                                                                          "{\r\n        debugger;\r\n        getListUserEffectivePermissions()\r\n            .do" +
                                                                          "ne(function (data) {\r\n                parseBasePermissions(data);\r\n            }" +
                                                                          ");\r\n    }\r\n</script>\r\n"));
        }
Ejemplo n.º 7
0
 private void @__BuildControl__control2(System.Web.UI.Control @__ctrl)
 {
     System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                    <div id=\"noticiasitens\">\r\n                "));
 }
Ejemplo n.º 8
0
        private void @__BuildControlTree(global::SPLargeFileUploader.LargeFileUploader.LargeFileUploader @__ctrl)
        {
            System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"

<!-- Force latest IE rendering engine or ChromeFrame if installed -->
<!--[if IE]>
    <meta http-equiv=""X-UA-Compatible"" content=""IE=edge,chrome=1"">
    <![endif]-->

<link href=""../_layouts/15/POCSPLargeFileUploader/css/bootstrap.min.css"" rel=""stylesheet"" />
<link rel=""stylesheet"" href=""../_layouts/15/POCSPLargeFileUploader/css/style.css"">

<link rel=""stylesheet"" href=""../_layouts/15/POCSPLargeFileUploader/css/jquery.fileupload.css"">

"));
            global::System.Web.UI.WebControls.HiddenField @__ctrl1;
            @__ctrl1 = this.@__BuildControlhdnSiteUrl();
            @__parser.AddParsedSubObject(@__ctrl1);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
            global::System.Web.UI.WebControls.HiddenField @__ctrl2;
            @__ctrl2 = this.@__BuildControlhdnLibraryName();
            @__parser.AddParsedSubObject(@__ctrl2);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"

<div class=""container adjustWidth"">
    
   
    <!-- The fileinput-button span is used to style the file input field as button -->
    <span class=""btn btn-success fileinput-button"">
        <i class=""glyphicon glyphicon-plus""></i>
        <span>Select files...</span>
        <!-- The file input field used as target for the file upload widget -->
        <input id=""fileupload"" type=""file"" name=""files[]"" multiple>
    </span>
    <button type=""button"" id=""uploadBtn"" class=""btn btn-primary start"">
        <i class=""glyphicon glyphicon-upload""></i>
        <span>Start upload</span>
    </button>

    <br>
    <br>
    "));
            global::System.Web.UI.WebControls.Button @__ctrl3;
            @__ctrl3 = this.@__BuildControlbtnSubmit();
            @__parser.AddParsedSubObject(@__ctrl3);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
    
    <br />
    <!-- The global progress bar -->
    <div id=""progress"" class=""progress"">
        <div class=""progress-bar progress-bar-success""></div>
    </div>

    <!-- The container for the uploaded files -->
    <div id=""files"" class=""files""></div>
    <div id=""dvFileMessage""></div>
    <br>
</div>



<script src=""../_layouts/15/POCSPLargeFileUploader/js/vendor/jquery.js""></script>
<script src=""../_layouts/15/POCSPLargeFileUploader/js/vendor/jquery.ui.widget.js""></script>

<script src=""../_layouts/15/POCSPLargeFileUploader/js/jquery.iframe-transport.js""></script>


<script src=""../_layouts/15/POCSPLargeFileUploader/js/jquery.fileupload.js""></script>
<script src=""../_layouts/15/POCSPLargeFileUploader/js/vendor/tether.min.js""></script>
<script src=""../_layouts/15/POCSPLargeFileUploader/js/bootstrap.min.js""></script>

<script src=""../_layouts/15/POCSPLargeFileUploader/js/startUpload.js""></script>



"));
        }
        private global::System.Web.UI.HtmlControls.HtmlGenericControl @__BuildControldvFormulario()
        {
            global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl;
            @__ctrl           = new global::System.Web.UI.HtmlControls.HtmlGenericControl("div");
            this.dvFormulario = @__ctrl;
            @__ctrl.ID        = "dvFormulario";
            System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"

    <!-- Page-Title -->
    <div class=""row marginInicio"">
        <div class=""col-sm-12"">
            <h4 class=""page-title"">Riesgo</h4>
            <ol class=""breadcrumb"">
                <li>
                    <a href=""#"">Detalle Cartera Morosos</a>
                </li>
                <li class=""active"">Detalle Cartera Morosos</li>
            </ol>
        </div>
    </div>


    <div class=""row"">
        <div class=""col-md-12"">
            <div class=""card-box"">
                <div class=""row"">
                    <div class=""col-md-12 col-sm-12"">
                        <h4>Detale Certificado</h4>
                    </div>

                    <div class=""form-horizontal"" role=""form"">
                        <div class=""col-md-6"">
                            <div class=""form-group"">
                                <label class=""col-sm-5 control-label"">Empresa</label>
                                <div class=""col-sm-7"">
                                    "));
            global::System.Web.UI.WebControls.TextBox @__ctrl1;
            @__ctrl1 = this.@__BuildControltxtEmpresa();
            @__parser.AddParsedSubObject(@__ctrl1);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                                </div>
                            </div>

                           

                            <div class=""form-group"">
                                <label class=""col-sm-5 control-label"">N° Certificado</label>
                                <div class=""col-sm-7"">
                                    "));
            global::System.Web.UI.WebControls.TextBox @__ctrl2;
            @__ctrl2 = this.@__BuildControltxtNroCertificado();
            @__parser.AddParsedSubObject(@__ctrl2);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                                </div>
                            </div>

                            <div class=""form-group"">
                                <label class=""col-sm-5 control-label"">Fondo</label>
                                <div class=""col-sm-7"">
                                    "));
            global::System.Web.UI.WebControls.TextBox @__ctrl3;
            @__ctrl3 = this.@__BuildControltxtFondo();
            @__parser.AddParsedSubObject(@__ctrl3);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                                </div>
                            </div>

                            <div class=""form-group"">
                                <label class=""col-sm-5 control-label"">Dias Mora</label>
                                <div class=""col-sm-7"">
                                    "));
            global::System.Web.UI.WebControls.TextBox @__ctrl4;
            @__ctrl4 = this.@__BuildControltxtDiasMora();
            @__parser.AddParsedSubObject(@__ctrl4);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                                </div>
                            </div>

                            <div class=""form-group"">
                                <label class=""col-sm-5 control-label"">Capital</label>
                                <div class=""col-sm-7"">
                                    "));
            global::System.Web.UI.WebControls.TextBox @__ctrl5;
            @__ctrl5 = this.@__BuildControltxtCapital();
            @__parser.AddParsedSubObject(@__ctrl5);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                                </div>
                            </div>

                            <div class=""form-group"">
                                <label class=""col-sm-5 control-label"">Monto Mora</label>
                                <div class=""col-sm-7"">
                                    "));
            global::System.Web.UI.WebControls.TextBox @__ctrl6;
            @__ctrl6 = this.@__BuildControltxtMontoMora();
            @__parser.AddParsedSubObject(@__ctrl6);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                                </div>
                            </div>

                            <div class=""form-group"">
                                <label class=""col-sm-5 control-label"">Cuotas Pagadas</label>
                                <div class=""col-sm-7"">
                                    "));
            global::System.Web.UI.WebControls.TextBox @__ctrl7;
            @__ctrl7 = this.@__BuildControltxtCuotasPagadas();
            @__parser.AddParsedSubObject(@__ctrl7);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                                </div>
                            </div>

                            <div class=""form-group"">
                                <label class=""col-sm-5 control-label"">Saldo Certificado</label>
                                <div class=""col-sm-7"">
                                    "));
            global::System.Web.UI.WebControls.TextBox @__ctrl8;
            @__ctrl8 = this.@__BuildControltxtSaldoCertificado();
            @__parser.AddParsedSubObject(@__ctrl8);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                                </div>
                            </div>

                            <div class=""form-group"">
                                <label class=""col-sm-5 control-label"">Fogape(SM)</label>
                                <div class=""col-sm-7"">
                                    "));
            global::System.Web.UI.WebControls.TextBox @__ctrl9;
            @__ctrl9 = this.@__BuildControltxtFogape();
            @__parser.AddParsedSubObject(@__ctrl9);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                                </div>
                            </div>

                            <div class=""form-group"">
                                <label class=""col-sm-5 control-label"">Deuda CF / Valor Fondo</label>
                                <div class=""col-sm-7"">
                                    "));
            global::System.Web.UI.WebControls.TextBox @__ctrl10;
            @__ctrl10 = this.@__BuildControltxtDeudaCF();
            @__parser.AddParsedSubObject(@__ctrl10);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                                </div>
                            </div>

                        </div>

                        <div class=""col-md-6"">

                                <div class=""form-group"">
                                    <label class=""col-sm-5 control-label"">Giro</label>
                                    <div class=""col-sm-7"">
                                        "));
            global::System.Web.UI.WebControls.TextBox @__ctrl11;
            @__ctrl11 = this.@__BuildControltxtGiro();
            @__parser.AddParsedSubObject(@__ctrl11);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                                    </div>
                                </div>

                                

                                <div class=""form-group"">
                                    <label class=""col-sm-5 control-label"">Acreedor</label>
                                    <div class=""col-sm-7"">
                                        "));
            global::System.Web.UI.WebControls.TextBox @__ctrl12;
            @__ctrl12 = this.@__BuildControltxtAcreedor();
            @__parser.AddParsedSubObject(@__ctrl12);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                                    </div>
                                </div>

                                <div class=""form-group"">
                                    <label class=""col-sm-5 control-label"">Tramo</label>
                                    <div class=""col-sm-7"">
                                        "));
            global::System.Web.UI.WebControls.TextBox @__ctrl13;
            @__ctrl13 = this.@__BuildControltxtTramo();
            @__parser.AddParsedSubObject(@__ctrl13);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                                    </div>
                                </div>

                                <div class=""form-group"">
                                    <label class=""col-sm-5 control-label"">Intereses</label>
                                    <div class=""col-sm-7"">
                                        "));
            global::System.Web.UI.WebControls.TextBox @__ctrl14;
            @__ctrl14 = this.@__BuildControltxtIntereses();
            @__parser.AddParsedSubObject(@__ctrl14);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                                    </div>
                                </div>

                                <div class=""form-group"">
                                    <label class=""col-sm-5 control-label"">Cuotas Mora</label>
                                    <div class=""col-sm-7"">
                                        "));
            global::System.Web.UI.WebControls.TextBox @__ctrl15;
            @__ctrl15 = this.@__BuildControltxtCuotasMora();
            @__parser.AddParsedSubObject(@__ctrl15);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                                    </div>
                                </div>

                                <div class=""form-group"">
                                    <label class=""col-sm-5 control-label"">Cuotas Pactadas</label>
                                    <div class=""col-sm-7"">
                                        "));
            global::System.Web.UI.WebControls.TextBox @__ctrl16;
            @__ctrl16 = this.@__BuildControltxtCuotasPactadas();
            @__parser.AddParsedSubObject(@__ctrl16);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                                    </div>
                                </div>

                                <div class=""form-group"">
                                    <label class=""col-sm-5 control-label"">Cuotas Pactasdas</label>
                                    <div class=""col-sm-7"">
                                        "));
            global::System.Web.UI.WebControls.TextBox @__ctrl17;
            @__ctrl17 = this.@__BuildControlTextBox2();
            @__parser.AddParsedSubObject(@__ctrl17);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                                    </div>
                                </div>

                                <div class=""form-group"">
                                    <label class=""col-sm-5 control-label"">Garantia VA</label>
                                    <div class=""col-sm-7"">
                                        "));
            global::System.Web.UI.WebControls.TextBox @__ctrl18;
            @__ctrl18 = this.@__BuildControltxtGarantia();
            @__parser.AddParsedSubObject(@__ctrl18);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                                    </div>
                                </div>

                                <div class=""form-group"">
                                    <label class=""col-sm-5 control-label"">Deuda CF / Deuda Total</label>
                                    <div class=""col-sm-7"">
                                        "));
            global::System.Web.UI.WebControls.TextBox @__ctrl19;
            @__ctrl19 = this.@__BuildControlTextBox3();
            @__parser.AddParsedSubObject(@__ctrl19);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                                    </div>
                                </div>

                                <div class=""form-group"">
                                    <label class=""col-sm-5 control-label"">% Cobertura</label>
                                    <div class=""col-sm-7"">
                                        "));
            global::System.Web.UI.WebControls.TextBox @__ctrl20;
            @__ctrl20 = this.@__BuildControltxtCobertura();
            @__parser.AddParsedSubObject(@__ctrl20);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                                    </div>
                                </div>


                        </div>

                    </div>
                </div>


                <div class=""row"">
                    <div class=""col-md-12 col-sm-12"">
                        <h4>Contactos</h4>
                    </div>

                    <div class=""col-md-12"">
                        <table border=""0"" style=""table-layout: fixed; width: 100%;"">
                            <tr>
                                <td>
                                    <div class=""card-box"">
                                        <div class=""table-responsive"">
                                            "));
            global::System.Web.UI.WebControls.GridView @__ctrl21;
            @__ctrl21 = this.@__BuildControlgridContactos();
            @__parser.AddParsedSubObject(@__ctrl21);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>

                <!-- BOTONES -->
                <table width=""100%"">
                    <tr>
                        <td>
                            "));
            global::System.Web.UI.WebControls.Button @__ctrl22;
            @__ctrl22 = this.@__BuildControlbtnAtras();
            @__parser.AddParsedSubObject(@__ctrl22);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                        </td>\r\n                        <td></td>\r\n             " +
                                                                          "       </tr>\r\n                </table>\r\n\r\n            </div>\r\n        </div>\r\n  " +
                                                                          "  </div>\r\n\r\n\r\n\r\n"));
            return(@__ctrl);
        }
Ejemplo n.º 10
0
 private void @__BuildControlTree(global::I.BLF.WorkflowCenter.WorkflowCenter.WorkflowCenter @__ctrl)
 {
     System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\r\n\r\n<script src=\"../_layouts/15/I.BLF.WorkflowCenter/Script/jquery-1.11.1.min.j" +
                                                                   "s\" type=\"text/javascript\"></script>\r\n\r\n<script type=\"text/javascript\">\r\n    func" +
                                                                   "tion ShowAdminWorkflows() {;\r\n        HideAllWorkflows();\r\n        $(\"div[id*=Ad" +
                                                                   "minDept]\").css(\"display\", \"block\");\r\n    }\r\n\r\n    function ShowFinanceWorkflows(" +
                                                                   ") {;\r\n        HideAllWorkflows();\r\n        $(\"div[id*=FinanceDept]\").css(\"displa" +
                                                                   "y\", \"block\");\r\n    }\r\n\r\n    function ShowHRWorkflows() {;\r\n        HideAllWorkfl" +
                                                                   "ows();\r\n        $(\"div[id*=HRDept]\").css(\"display\", \"block\");\r\n    }\r\n\r\n    func" +
                                                                   "tion ShowSCMWorkflows() {;\r\n        HideAllWorkflows();\r\n        $(\"div[id*=SCMD" +
                                                                   "ept]\").css(\"display\", \"block\");\r\n    }\r\n\r\n    function ShowITWorkflows() {;\r\n   " +
                                                                   "     HideAllWorkflows();\r\n        $(\"div[id*=ITDept]\").css(\"display\", \"block\");\r" +
                                                                   "\n    }\r\n\r\n    function ShowMOWorkflows() {;\r\n        HideAllWorkflows();\r\n      " +
                                                                   "  $(\"div[id*=MODept]\").css(\"display\", \"block\");\r\n    }\r\n\r\n    function HideAllWo" +
                                                                   "rkflows() {\r\n        $(\".cnt\").css(\"display\", \"none\");\r\n    }\r\n\r\n</script>\r\n<lin" +
                                                                   "k href=\"../_layouts/15/I.BLF.WorkflowCenter/CSS/style.css\" rel=\"stylesheet\" type" +
                                                                   "=\"text/css\" />\r\n\r\n\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<body>\r\n    <ta" +
                                                                   "ble>\r\n        <tr>\r\n            <td>\r\n                <div id=\"wrapper\">\r\n      " +
                                                                   "              <div style=\"color: rgb(68, 68, 68); padding-left: 20px; font-size:" +
                                                                   " 19px;\">Workflow Center</div>\r\n                <!-- top-nav -->\r\n\t\t            <" +
                                                                   "nav class=\"top-nav\">\r\n\t\t\t            <div class=\"shell\">\r\n\t\t\t\t            <a hre" +
                                                                   "f=\"#\" class=\"nav-btn\">HOMEPAGE<span></span></a>\r\n\t\t\t\t            <span class=\"to" +
                                                                   "p-nav-shadow\"></span>\r\n\t\t\t\t            <ul>\r\n\t\t\t\t\t            "));
     global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl1;
     @__ctrl1 = this.@__BuildControlAdminTab();
     @__parser.AddParsedSubObject(@__ctrl1);
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\t\t\t\t\t            "));
     global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl2;
     @__ctrl2 = this.@__BuildControlFITab();
     @__parser.AddParsedSubObject(@__ctrl2);
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\t\t\t\t\t            "));
     global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl3;
     @__ctrl3 = this.@__BuildControlHRTab();
     @__parser.AddParsedSubObject(@__ctrl3);
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                                "));
     global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl4;
     @__ctrl4 = this.@__BuildControlITTab();
     @__parser.AddParsedSubObject(@__ctrl4);
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\t\t\t\t\t            "));
     global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl5;
     @__ctrl5 = this.@__BuildControlSCMTab();
     @__parser.AddParsedSubObject(@__ctrl5);
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                                "));
     global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl6;
     @__ctrl6 = this.@__BuildControlMOTab();
     @__parser.AddParsedSubObject(@__ctrl6);
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\t\t\t\t\t            \r\n\t\t\t\t            </ul>\r\n\t\t\t            </div>\r\n\t\t            " +
                                                                   "</nav>\r\n                </div>\r\n            </td>          \r\n        </tr>\r\n    " +
                                                                   "    <tr>\r\n            <td>\r\n                <div class=\"content\" >\r\n\t           " +
                                                                   "     "));
     global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl7;
     @__ctrl7 = this.@__BuildControlFinanceDept();
     @__parser.AddParsedSubObject(@__ctrl7);
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                    "));
     global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl8;
     @__ctrl8 = this.@__BuildControlSCMDept();
     @__parser.AddParsedSubObject(@__ctrl8);
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                    "));
     global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl9;
     @__ctrl9 = this.@__BuildControlAdminDept();
     @__parser.AddParsedSubObject(@__ctrl9);
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                    "));
     global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl10;
     @__ctrl10 = this.@__BuildControlHRDept();
     @__parser.AddParsedSubObject(@__ctrl10);
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                    "));
     global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl11;
     @__ctrl11 = this.@__BuildControlITDept();
     @__parser.AddParsedSubObject(@__ctrl11);
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                     "));
     global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl12;
     @__ctrl12 = this.@__BuildControlMODept();
     @__parser.AddParsedSubObject(@__ctrl12);
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                </div>\r\n            </td>\r\n        </tr>   \r\n    </table>\r\n    " +
                                                                   ""));
     global::System.Web.UI.HtmlControls.HtmlInputText @__ctrl13;
     @__ctrl13 = this.@__BuildControlerrorMsg();
     @__parser.AddParsedSubObject(@__ctrl13);
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n</body>\r\n</html>"));
 }
        private global::System.Web.UI.HtmlControls.HtmlGenericControl @__BuildControldvFormulario()
        {
            global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl;
            @__ctrl           = new global::System.Web.UI.HtmlControls.HtmlGenericControl("div");
            this.dvFormulario = @__ctrl;
            @__ctrl.ID        = "dvFormulario";
            System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
<!-- Page-Title -->
<div class=""row marginInicio"">
    <div class=""col-sm-12"">
        <h4 class=""page-title"">Contabilidad</h4>
        <ol class=""breadcrumb"">
            <li>
                <a href=""#"">Inicio</a>
            </li>
            <li class=""active"">Bitacora Factutación
            </li>
        </ol>
    </div>
</div>

<br />
"));
            global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl1;
            @__ctrl1 = this.@__BuildControldvSuccess();
            @__parser.AddParsedSubObject(@__ctrl1);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\r\n"));
            global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl2;
            @__ctrl2 = this.@__BuildControldvWarning();
            @__parser.AddParsedSubObject(@__ctrl2);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\r\n"));
            global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl3;
            @__ctrl3 = this.@__BuildControldvError();
            @__parser.AddParsedSubObject(@__ctrl3);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
<br />



    <!-- filtros-->
    <div class=""row"">
        <div class=""col-md-12"">
            <div class=""card-box"">
                <div class=""row"">
                   
                        <div class=""col-md-3 col-sm-6"">
                            <div class=""form-group"">
                                <label for="""">Transacción:</label>
                                "));
            global::System.Web.UI.WebControls.DropDownList @__ctrl4;
            @__ctrl4 = this.@__BuildControlddlTipoTransaccion();
            @__parser.AddParsedSubObject(@__ctrl4);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                            </div>\r\n                            <div class=\"for" +
                                                                          "m-group\">\r\n                                <label for=\"\">Rut:</label>\r\n         " +
                                                                          "                       "));
            global::System.Web.UI.WebControls.TextBox @__ctrl5;
            @__ctrl5 = this.@__BuildControltxtRUT();
            @__parser.AddParsedSubObject(@__ctrl5);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                            </div>
                        </div>

                        <div class=""col-md-3 col-sm-6"">
                            <div class=""form-group"">
                                <label for="""">Sub Etapa:</label>
                                "));
            global::System.Web.UI.WebControls.DropDownList @__ctrl6;
            @__ctrl6 = this.@__BuildControlddlEstado();
            @__parser.AddParsedSubObject(@__ctrl6);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                            </div>\r\n                            <div class=\"for" +
                                                                          "m-group\">\r\n                                <label for=\"\">Razón Social:</label>\r\n" +
                                                                          "                                "));
            global::System.Web.UI.WebControls.TextBox @__ctrl7;
            @__ctrl7 = this.@__BuildControltxtBuscar();
            @__parser.AddParsedSubObject(@__ctrl7);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                            </div>
                        </div>

                        <div class=""col-md-3 col-sm-6"">
                            <div class=""form-group"">
                                <label for="""">Factura/Nota Crédito:</label>
                                "));
            global::System.Web.UI.WebControls.TextBox @__ctrl8;
            @__ctrl8 = this.@__BuildControltxtNroTransaccion();
            @__parser.AddParsedSubObject(@__ctrl8);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                            </div>\r\n\r\n                            <div class=\"f" +
                                                                          "orm-group dateIn\">\r\n                                <label>Fecha emision desde:<" +
                                                                          "/label>\r\n                                "));
            global::Microsoft.SharePoint.WebControls.DateTimeControl @__ctrl9;
            @__ctrl9 = this.@__BuildControldtcFechaInicio();
            @__parser.AddParsedSubObject(@__ctrl9);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                            </div>
                        </div>

                        <div class=""col-md-3 col-sm-6"">
                            <div class=""form-group"">
                                <label for="""">Nº Certificado:</label>
                                "));
            global::System.Web.UI.WebControls.TextBox @__ctrl10;
            @__ctrl10 = this.@__BuildControltxtNCertificado();
            @__parser.AddParsedSubObject(@__ctrl10);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                            </div>\r\n                            <div class=\"for" +
                                                                          "m-group dateIn\">\r\n                                <label for=\"\">Fecha emision ha" +
                                                                          "sta:</label>\r\n                                "));
            global::Microsoft.SharePoint.WebControls.DateTimeControl @__ctrl11;
            @__ctrl11 = this.@__BuildControldtcFechaFin();
            @__parser.AddParsedSubObject(@__ctrl11);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                            </div>\r\n                            <div class=\"for" +
                                                                          "m-group rpsForm\">\r\n                                "));
            global::System.Web.UI.WebControls.Button @__ctrl12;
            @__ctrl12 = this.@__BuildControlbtnBuscar();
            @__parser.AddParsedSubObject(@__ctrl12);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("&nbsp;\r\n                            </div>\r\n                        </div>\r\n\r\n   " +
                                                                          "             </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n\r\n    "));
            global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl13;
            @__ctrl13 = this.@__BuildControldv_buscarEmpresas();
            @__parser.AddParsedSubObject(@__ctrl13);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\r\n"));
            return(@__ctrl);
        }
Ejemplo n.º 12
0
        private void @__BuildControlTree(global::AlertWebpart.VisualWebPart1.VisualWebPart1 @__ctrl)
        {
            System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n<head><title>Alerts</title>\r\n<style type=\"text/css\">\r\n\r\n    .timestamp {\r\n     " +
                                                                          "   font-style:italic;\r\n        font-size:10px;\r\n    }\r\n\r\n#AlertContainer\r\n{\r\n\twi" +
                                                                          "dth:350px;\r\n}\r\n\r\n#AlertBanner\r\n{\r\n\tpadding-left:20px;\r\n\tbackground: #d20202;\r\n\tf" +
                                                                          "ont-family:Arial, Helvetica, sans-serif;\r\n\tfont-size:20px;\r\n\tfont-weight:bold;\r\n" +
                                                                          "\tcolor:white;\r\n}\r\n\r\n#AlertsList\r\n{\r\n\tfont-family:Arial, Helvetica, sans-serif;\r\n" +
                                                                          "\tfont-size:8px;\r\n\tpadding:0;\r\n\tmargin:0;\r\n}\r\n\r\n#AlertsList p\r\n{\r\n\tfont-family:Ar" +
                                                                          "ial, Helvetica, sans-serif;\r\n\tfont-size:10px;\r\n}\r\n\r\n#AlertsList li\r\n{\r\n\tdisplay:" +
                                                                          "block;\r\n\twidth:100%;\r\n\tbackground-color:#F2F2F2;\r\n}\r\n\r\n.AlertsText\r\n{\r\n\tvertical" +
                                                                          "-align:text-top;\r\n\tposition:static;\r\n\tpadding-right:20px;\r\n    color:black;\r\n\tma" +
                                                                          "rgin:0;\r\n\tmargin-top:-40px;\r\n\tmargin-left:45px;\r\n\tpadding-top:0px;\r\n\tdisplay: bl" +
                                                                          "ock;\t\r\n}\r\n\r\n.AlertsText h1\r\n{\r\n    color:black;\r\n}\r\n\r\n\r\n.AlertsImage\r\n{\r\n\twidth:" +
                                                                          "20px;\r\n\tpadding:10px;\r\n}\r\n\r\n.green\r\n{\r\n\twidth: 25px;\r\n\theight: 25px;\r\n\tbackgroun" +
                                                                          "d: #669900;\r\n}\r\n\r\n.yellow\r\n{\r\n\twidth: 25px;\r\n\theight: 25px;\r\n\tbackground: #ff990" +
                                                                          "0;\r\n}\r\n\r\n.red\r\n{\r\n\twidth: 25px;\r\n\theight: 25px;\r\n\tbackground: #d20202;\r\n}\r\n\r\n.Al" +
                                                                          "ertItem\r\n{\r\n\twidth:100%;\r\n\tdisplay: table-row;\r\n}\r\n\r\n</style>\r\n<script>\r\n    (fu" +
                                                                          "nction (factory) {\r\n        if (typeof define === \'function\' && define.amd) {\r\n " +
                                                                          "           // AMD. Register as an anonymous module.\r\n            define([\'jquery" +
                                                                          "\'], factory);\r\n        } else {\r\n            // Browser globals\r\n            fac" +
                                                                          "tory(jQuery);\r\n        }\r\n    }(function ($) {\r\n        $.timeago = function (ti" +
                                                                          "mestamp) {\r\n            if (timestamp instanceof Date) {\r\n                return" +
                                                                          " inWords(timestamp);\r\n            } else if (typeof timestamp === \"string\") {\r\n " +
                                                                          "               return inWords($.timeago.parse(timestamp));\r\n            } else i" +
                                                                          "f (typeof timestamp === \"number\") {\r\n                return inWords(new Date(tim" +
                                                                          "estamp));\r\n            } else {\r\n                return inWords($.timeago.dateti" +
                                                                          "me(timestamp));\r\n            }\r\n        };\r\n        var $t = $.timeago;\r\n\r\n     " +
                                                                          "   $.extend($.timeago, {\r\n            settings: {\r\n                refreshMillis" +
                                                                          ": 60000,\r\n                allowPast: true,\r\n                allowFuture: false,\r" +
                                                                          "\n                localeTitle: false,\r\n                cutoff: 0,\r\n              " +
                                                                          "  strings: {\r\n                    prefixAgo: null,\r\n                    prefixFr" +
                                                                          "omNow: null,\r\n                    suffixAgo: \"ago\",\r\n                    suffixF" +
                                                                          "romNow: \"from now\",\r\n                    inPast: \'any moment now\',\r\n            " +
                                                                          "        seconds: \"less than a minute\",\r\n                    minute: \"about a min" +
                                                                          "ute\",\r\n                    minutes: \"%d minutes\",\r\n                    hour: \"ab" +
                                                                          "out an hour\",\r\n                    hours: \"about %d hours\",\r\n                   " +
                                                                          " day: \"a day\",\r\n                    days: \"%d days\",\r\n                    month:" +
                                                                          " \"about a month\",\r\n                    months: \"%d months\",\r\n                   " +
                                                                          " year: \"about a year\",\r\n                    years: \"%d years\",\r\n                " +
                                                                          "    wordSeparator: \" \",\r\n                    numbers: []\r\n                }\r\n   " +
                                                                          "         },\r\n\r\n            inWords: function (distanceMillis) {\r\n               " +
                                                                          " if (!this.settings.allowPast && !this.settings.allowFuture) {\r\n                " +
                                                                          "    throw \'timeago allowPast and allowFuture settings can not both be set to fal" +
                                                                          "se.\';\r\n                }\r\n\r\n                var $l = this.settings.strings;\r\n   " +
                                                                          "             var prefix = $l.prefixAgo;\r\n                var suffix = $l.suffixA" +
                                                                          "go;\r\n                if (this.settings.allowFuture) {\r\n                    if (d" +
                                                                          "istanceMillis < 0) {\r\n                        prefix = $l.prefixFromNow;\r\n      " +
                                                                          "                  suffix = $l.suffixFromNow;\r\n                    }\r\n           " +
                                                                          "     }\r\n\r\n                if (!this.settings.allowPast && distanceMillis >= 0) {" +
                                                                          "\r\n                    return this.settings.strings.inPast;\r\n                }\r\n\r" +
                                                                          "\n                var seconds = Math.abs(distanceMillis) / 1000;\r\n               " +
                                                                          " var minutes = seconds / 60;\r\n                var hours = minutes / 60;\r\n       " +
                                                                          "         var days = hours / 24;\r\n                var years = days / 365;\r\n\r\n    " +
                                                                          "            function substitute(stringOrFunction, number) {\r\n                   " +
                                                                          " var string = $.isFunction(stringOrFunction) ? stringOrFunction(number, distance" +
                                                                          "Millis) : stringOrFunction;\r\n                    var value = ($l.numbers && $l.n" +
                                                                          "umbers[number]) || number;\r\n                    return string.replace(/%d/i, val" +
                                                                          "ue);\r\n                }\r\n\r\n                var words = seconds < 45 && substitut" +
                                                                          "e($l.seconds, Math.round(seconds)) ||\r\n                  seconds < 90 && substit" +
                                                                          "ute($l.minute, 1) ||\r\n                  minutes < 45 && substitute($l.minutes, M" +
                                                                          "ath.round(minutes)) ||\r\n                  minutes < 90 && substitute($l.hour, 1)" +
                                                                          " ||\r\n                  hours < 24 && substitute($l.hours, Math.round(hours)) ||\r" +
                                                                          "\n                  hours < 42 && substitute($l.day, 1) ||\r\n                  day" +
                                                                          "s < 30 && substitute($l.days, Math.round(days)) ||\r\n                  days < 45 " +
                                                                          "&& substitute($l.month, 1) ||\r\n                  days < 365 && substitute($l.mon" +
                                                                          "ths, Math.round(days / 30)) ||\r\n                  years < 1.5 && substitute($l.y" +
                                                                          "ear, 1) ||\r\n                  substitute($l.years, Math.round(years));\r\n\r\n      " +
                                                                          "          var separator = $l.wordSeparator || \"\";\r\n                if ($l.wordSe" +
                                                                          "parator === undefined) { separator = \" \"; }\r\n                return $.trim([pref" +
                                                                          "ix, words, suffix].join(separator));\r\n            },\r\n\r\n            parse: funct" +
                                                                          "ion (iso8601) {\r\n                var s = $.trim(iso8601);\r\n                s = s" +
                                                                          ".replace(/\\.\\d+/, \"\"); // remove milliseconds\r\n                s = s.replace(/-/" +
                                                                          ", \"/\").replace(/-/, \"/\");\r\n                s = s.replace(/T/, \" \").replace(/Z/, " +
                                                                          "\" UTC\");\r\n                s = s.replace(/([\\+\\-]\\d\\d)\\:?(\\d\\d)/, \" $1$2\"); // -0" +
                                                                          "4:00 -> -0400\r\n                s = s.replace(/([\\+\\-]\\d\\d)$/, \" $100\"); // +09 -" +
                                                                          "> +0900\r\n                return new Date(s);\r\n            },\r\n            dateti" +
                                                                          "me: function (elem) {\r\n                var iso8601 = $t.isTime(elem) ? $(elem).a" +
                                                                          "ttr(\"datetime\") : $(elem).attr(\"title\");\r\n                return $t.parse(iso860" +
                                                                          "1);\r\n            },\r\n            isTime: function (elem) {\r\n                // j" +
                                                                          "Query\'s `is()` doesn\'t play well with HTML5 in IE\r\n                return $(elem" +
                                                                          ").get(0).tagName.toLowerCase() === \"time\"; // $(elem).is(\"time\");\r\n            }" +
                                                                          "\r\n        });\r\n\r\n        // functions that can be called via $(el).timeago(\'acti" +
                                                                          "on\')\r\n        // init is default when no action is given\r\n        // functions a" +
                                                                          "re called with context of a single element\r\n        var functions = {\r\n         " +
                                                                          "   init: function () {\r\n                var refresh_el = $.proxy(refresh, this);" +
                                                                          "\r\n                refresh_el();\r\n                var $s = $t.settings;\r\n        " +
                                                                          "        if ($s.refreshMillis > 0) {\r\n                    this._timeagoInterval =" +
                                                                          " setInterval(refresh_el, $s.refreshMillis);\r\n                }\r\n            },\r\n" +
                                                                          "            update: function (time) {\r\n                var parsedTime = $t.parse" +
                                                                          "(time);\r\n                $(this).data(\'timeago\', { datetime: parsedTime });\r\n   " +
                                                                          "             if ($t.settings.localeTitle) $(this).attr(\"title\", parsedTime.toLoc" +
                                                                          "aleString());\r\n                refresh.apply(this);\r\n            },\r\n           " +
                                                                          " updateFromDOM: function () {\r\n                $(this).data(\'timeago\', { datetim" +
                                                                          "e: $t.parse($t.isTime(this) ? $(this).attr(\"datetime\") : $(this).attr(\"title\")) " +
                                                                          "});\r\n                refresh.apply(this);\r\n            },\r\n            dispose: " +
                                                                          "function () {\r\n                if (this._timeagoInterval) {\r\n                   " +
                                                                          " window.clearInterval(this._timeagoInterval);\r\n                    this._timeago" +
                                                                          "Interval = null;\r\n                }\r\n            }\r\n        };\r\n\r\n        $.fn.t" +
                                                                          "imeago = function (action, options) {\r\n            var fn = action ? functions[a" +
                                                                          "ction] : functions.init;\r\n            if (!fn) {\r\n                throw new Erro" +
                                                                          "r(\"Unknown function name \'\" + action + \"\' for timeago\");\r\n            }\r\n       " +
                                                                          "     // each over objects here and call the requested function\r\n            this" +
                                                                          ".each(function () {\r\n                fn.call(this, options);\r\n            });\r\n " +
                                                                          "           return this;\r\n        };\r\n\r\n        function refresh() {\r\n           " +
                                                                          " var data = prepareData(this);\r\n            var $s = $t.settings;\r\n\r\n           " +
                                                                          " if (!isNaN(data.datetime)) {\r\n                if ($s.cutoff == 0 || Math.abs(di" +
                                                                          "stance(data.datetime)) < $s.cutoff) {\r\n                    $(this).text(inWords(" +
                                                                          "data.datetime));\r\n                }\r\n            }\r\n            return this;\r\n  " +
                                                                          "      }\r\n\r\n        function prepareData(element) {\r\n            element = $(elem" +
                                                                          "ent);\r\n            if (!element.data(\"timeago\")) {\r\n                element.data" +
                                                                          "(\"timeago\", { datetime: $t.datetime(element) });\r\n                var text = $.t" +
                                                                          "rim(element.text());\r\n                if ($t.settings.localeTitle) {\r\n          " +
                                                                          "          element.attr(\"title\", element.data(\'timeago\').datetime.toLocaleString(" +
                                                                          "));\r\n                } else if (text.length > 0 && !($t.isTime(element) && eleme" +
                                                                          "nt.attr(\"title\"))) {\r\n                    element.attr(\"title\", text);\r\n        " +
                                                                          "        }\r\n            }\r\n            return element.data(\"timeago\");\r\n        }" +
                                                                          "\r\n\r\n        function inWords(date) {\r\n            return $t.inWords(distance(dat" +
                                                                          "e));\r\n        }\r\n\r\n        function distance(date) {\r\n            return (new Da" +
                                                                          "te().getTime() - date.getTime());\r\n        }\r\n\r\n        // fix for IE6 suckage\r\n" +
                                                                          "        document.createElement(\"abbr\");\r\n        document.createElement(\"time\");" +
                                                                          "\r\n    }));\r\n</script>\r\n\r\n\r\n<script type=\"text/javascript\">\r\n    jQuery(document)" +
                                                                          ".ready(function () {\r\n        jQuery(\"abbr.timeago\").timeago();\r\n    });\r\n</scri" +
                                                                          "pt>\r\n\r\n\r\n\r\n\r\n</head>\r\n<body>\r\n<div id=\"AlertContainer\">\r\n<div id=\"AlertBanner\">A" +
                                                                          "lerts</div>\r\n\t<ul id=\"AlertsList\">\r\n        "));
            global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl1;
            @__ctrl1 = this.@__BuildControlAlertItemsHere();
            @__parser.AddParsedSubObject(@__ctrl1);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
    </ul>
</div>


</body>
<script type=""text/javascript"">
    findWorstAlert();
    function findWorstAlert() {
        domList = document.getElementById(""AlertsList"");
        if ((domList.innerHTML.toString()).indexOf(""class=\""red\"""") > -1) {
            AlertBanner = document.getElementById(""AlertBanner"");
            AlertBanner.style.backgroundColor = ""#d20202"";
        }
        else if ((domList.innerHTML.toString()).indexOf(""class=\""yellow\"""") > -1) {
            AlertBanner = document.getElementById(""AlertBanner"");
            AlertBanner.style.backgroundColor = ""#ff9900"";
        }
        else {
            AlertBanner = document.getElementById(""AlertBanner"");
            AlertBanner.style.backgroundColor = ""#669900"";
            if ((domList.innerHTML.toString()).indexOf(""li"") == -1) {
                domList.innerHTML = ""<li><div class=\""AlertItem\""><div class=\""AlertsImage\""><div class=\""green\""></div></div><div class=\""AlertsText\""><h1>No current alerts</h1><p>All is well in the district</p><p class=\""timestamp\"">Now</p></div></div></li>""
            }
        }
    }


</script>

"));
        }
Ejemplo n.º 13
0
        private void @__BuildControlTree(global::WebPartsTCE.NoticiaDetalhesMPC.NoticiaDetalhesMPC @__ctrl)
        {
            System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"



<section class=""page-top"" style=""color:#ffffff; background-color: #993300"">
    <div class=""container"">
		    <div class=""row"">
			    <div class=""col-md-12"">
				    <ul class=""breadcrumb"">
					    <li><a href=""/"">Home</a></li>
					    <li class=""active"">Detalhes da Notícia</li>
				    </ul>
			    </div>
		    </div>
		    <div class=""row"">
			    <div class=""col-md-12"">
				    <h2 style=""color:#ffffff"">"                ));
            global::System.Web.UI.WebControls.Label @__ctrl1;
            @__ctrl1 = this.@__BuildControllblIDCategoria();
            @__parser.AddParsedSubObject(@__ctrl1);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"</h2>
			    </div>
		    </div>
	</div>
</section>

<div class=""container"" id=""container"">

	<div class=""row"">
		<div class=""col-md-9"">
			<div class=""blog-posts single-post"">

				<article class=""post post-large blog-single-post"">
					<div class=""post-image"">
						<div>
							<div class=""owl-wrapper-outer"">
                                <div class=""owl-wrapper"" style=""left: 0px; display: block;"">
                                    "));
            global::System.Web.UI.WebControls.Literal @__ctrl2;
            @__ctrl2 = this.@__BuildControlltlImagens();
            @__parser.AddParsedSubObject(@__ctrl2);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                                </div>
							</div>
						<div class=""owl-controls""><div class=""owl-pagination""><div class=""owl-page active""><span class=""""></span></div><div class=""owl-page""><span class=""""></span></div></div></div></div>
					</div>

					<div class=""post-date"">
						<span class=""day"">"                        ));
            global::System.Web.UI.WebControls.Label @__ctrl3;
            @__ctrl3 = this.@__BuildControllblDia();
            @__parser.AddParsedSubObject(@__ctrl3);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("</span>\r\n\t\t\t\t\t\t<span class=\"month\">"));
            global::System.Web.UI.WebControls.Label @__ctrl4;
            @__ctrl4 = this.@__BuildControllblMes();
            @__parser.AddParsedSubObject(@__ctrl4);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("</span>\r\n\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t<div class=\"post-content\">\r\n\r\n\t\t\t\t\t\t<h2><a href=\"#\">" +
                                                                          ""));
            global::System.Web.UI.WebControls.Label @__ctrl5;
            @__ctrl5 = this.@__BuildControllblTitulo();
            @__parser.AddParsedSubObject(@__ctrl5);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("</a></h2>\r\n                        \r\n\t\t\t\t\t\t<div class=\"post-meta\">\r\n\t\t\t\t\t\t\t<span>" +
                                                                          "<i class=\"icon icon-user\"></i> Por <a>"));
            global::System.Web.UI.WebControls.Label @__ctrl6;
            @__ctrl6 = this.@__BuildControllblUsername();
            @__parser.AddParsedSubObject(@__ctrl6);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("</a></span>\r\n\r\n\t\t\t\t\t\t</div>\r\n\r\n                        "));
            global::System.Web.UI.WebControls.Literal @__ctrl7;
            @__ctrl7 = this.@__BuildControlltlCorpo();
            @__parser.AddParsedSubObject(@__ctrl7);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\r\n\r\n\r\n\t\t\t\t\t\t<div class=\"post-block post-share\">\r\n                        \r\n    " +
                                                                          "                        "));
            global::System.Web.UI.WebControls.Literal @__ctrl8;
            @__ctrl8 = this.@__BuildControlltlShare();
            @__parser.AddParsedSubObject(@__ctrl8);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                            "));
            global::System.Web.UI.WebControls.Label @__ctrl9;
            @__ctrl9 = this.@__BuildControlLabel1();
            @__parser.AddParsedSubObject(@__ctrl9);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
						</div>


					</div>
				</article>

			</div>
		</div>

		<div class=""col-md-3"">
			<aside class=""sidebar"">
                <!--
                <h4><a href=""noticiaLegado.aspx""><i class=""icon icon-star""></i>Notícias Legado</a></h4>
                -->
                <h4><a href=""http://antigo.tce.se.gov.br/sitev2/conteudo.lista.frame.php?id=4"" target=""_blank""><i class=""icon icon-star""></i>Notícias Legado</a></h4>

				<hr>

				<h4>Categorias</h4>
				<ul class=""nav nav-list primary push-bottom"">
                    "));
            global::System.Web.UI.WebControls.Literal @__ctrl10;
            @__ctrl10 = this.@__BuildControlltlCategorias();
            @__parser.AddParsedSubObject(@__ctrl10);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
				</ul>

				<div class=""tabs"">
					<ul class=""nav nav-tabs"">
						<li class=""active""><a href=""#recentPosts"" data-toggle=""tab"">Recentes</a></li>
						<li><a href=""#popularPosts"" data-toggle=""tab""><i class=""icon icon-star""></i> Populares</a></li>
					</ul>
					<div class=""tab-content"">
						<div class=""tab-pane active"" id=""recentPosts"">
							<ul class=""simple-post-list"">
	
                                "));
            global::System.Web.UI.WebControls.Literal @__ctrl11;
            @__ctrl11 = this.@__BuildControlltlRecentes();
            @__parser.AddParsedSubObject(@__ctrl11);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\t\r\n\t\t\t\t\t\t\t</ul>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t<div class=\"tab-pane\" id=\"popularPosts\">\r\n" +
                                                                          "\t\t\t\t\t\t\t<ul class=\"simple-post-list\">\r\n                                "));
            global::System.Web.UI.WebControls.Literal @__ctrl12;
            @__ctrl12 = this.@__BuildControlltlPopulares();
            @__parser.AddParsedSubObject(@__ctrl12);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
							</ul>
						</div>
					</div>
				</div>

				<hr>

				<h4>RSS Feed</h4>
				<p>

				<a class=""ms-calloutLink"" id=""ctl00_ctl26_g_3fe5c3e7_d646_457e_9449_a96513a7bf92_diidRSSFeed"" onclick=""return STSNavigate(this.href);"" href=""mpc/noticias/_layouts/15/listfeed.aspx?List={C6E23A99-CDB5-4496-97FA-78358A1089D0}""><span class=""s4-clust ms-blog-linkCommandImage"" style=""width: 16px; height: 16px; overflow: hidden; display: inline-block; position: relative;""><img style=""border-width: 0px; left: -236px !important; top: -66px !important; position: absolute;"" src=""/_layouts/15/images/spcommon.png?rev=23""></span>&nbsp;<span class=""ms-splinkbutton-text"">RSS Feed</span></a>
			


				</p>

			</aside>
		</div>
	</div>

</div>"));
        }
Ejemplo n.º 14
0
 private void @__BuildControlTree(global::MultiAdministracion.wpListarBitacoraPago.wpListarBitacoraPago.wpListarBitacoraPago @__ctrl)
 {
     System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\r\n<link rel=\"stylesheet\" href=\"../../_layouts/15/PagerStyle.css\" />\r\n<script ty" +
                                                                   "pe=\"text/javascript\" src=\"../../_layouts/15/MultiAdministracion/wpEmpresasRelaci" +
                                                                   "onadas.js\"></script>\r\n\r\n<script type=\"text/javascript\">\r\n    document.onkeydown " +
                                                                   "= function () {\r\n        //109->\'-\' \r\n        //56->\'(\' \r\n        if (window.eve" +
                                                                   "nt && (window.event.keyCode == 109 || window.event.keyCode == 56)) {\r\n          " +
                                                                   "  window.event.keyCode = 505;\r\n        }\r\n\r\n        if (window.event.keyCode == " +
                                                                   "505) {\r\n            return false;\r\n        }\r\n\r\n        if (window.event && (win" +
                                                                   "dow.event.keyCode == 8)) {\r\n            valor = document.activeElement.value;\r\n " +
                                                                   "           if (valor == undefined) { return false; } //Evita Back en página. \r\n\r" +
                                                                   "\n            else {\r\n                if (document.activeElement.getAttribute(\'ty" +
                                                                   "pe\') == \'select-one\')\r\n                { return false; } //Evita Back en select." +
                                                                   " \r\n                if (document.activeElement.getAttribute(\'type\') == \'button\')\r" +
                                                                   "\n                { return false; } //Evita Back en button. \r\n                if " +
                                                                   "(document.activeElement.getAttribute(\'type\') == \'radio\')\r\n                { retu" +
                                                                   "rn false; } //Evita Back en radio. \r\n                if (document.activeElement." +
                                                                   "getAttribute(\'type\') == \'checkbox\')\r\n                { return false; } //Evita B" +
                                                                   "ack en checkbox. \r\n                if (document.activeElement.getAttribute(\'type" +
                                                                   "\') == \'file\')\r\n                { return false; } //Evita Back en file. \r\n       " +
                                                                   "         if (document.activeElement.getAttribute(\'type\') == \'reset\')\r\n          " +
                                                                   "      { return false; } //Evita Back en reset. \r\n                if (document.ac" +
                                                                   "tiveElement.getAttribute(\'type\') == \'submit\')\r\n                { return false; }" +
                                                                   " //Evita Back en submit. \r\n                if (document.activeElement.getAttribu" +
                                                                   "te(\'type\') == \'input\')\r\n                { return false; } //Evita Back en inout." +
                                                                   " \r\n                else //Text, textarea o password \r\n                {\r\n       " +
                                                                   "             if (document.activeElement.value.length == 0)\r\n                    " +
                                                                   "{ return false; } //No realiza el backspace(largo igual a 0). \r\n                " +
                                                                   "    else {\r\n                        document.activeElement.value.keyCode = 8;\r\n " +
                                                                   "                   } //Realiza el backspace. \r\n                }\r\n            }\r" +
                                                                   "\n\r\n            if (window.event && (window.event.keyCode == 13)) {\r\n            " +
                                                                   "    valor = document.activeElement.value;\r\n                if (valor == undefine" +
                                                                   "d) { return false; } //Evita Enter en página. \r\n                else {\r\n        " +
                                                                   "            if (document.activeElement.getAttribute(\'type\') == \'select-one\')\r\n  " +
                                                                   "                  { return false; } //Evita Enter en select. \r\n                 " +
                                                                   "   if (document.activeElement.getAttribute(\'type\') == \'button\')\r\n               " +
                                                                   "     { return false; } //Evita Enter en button. \r\n                    if (docume" +
                                                                   "nt.activeElement.getAttribute(\'type\') == \'radio\')\r\n                    { return " +
                                                                   "false; } //Evita Enter en radio. \r\n                    if (document.activeElemen" +
                                                                   "t.getAttribute(\'type\') == \'checkbox\')\r\n                    { return false; } //E" +
                                                                   "vita Enter en checkbox. \r\n                    if (document.activeElement.getAttr" +
                                                                   "ibute(\'type\') == \'file\')\r\n                    { return false; } //Evita Enter en" +
                                                                   " file. \r\n                    if (document.activeElement.getAttribute(\'type\') == " +
                                                                   "\'reset\')\r\n                    { return false; } //Evita Enter en reset. \r\n      " +
                                                                   "              if (document.activeElement.getAttribute(\'type\') == \'submit\')\r\n    " +
                                                                   "                { return false; } //Evita Enter en submit. \r\n                   " +
                                                                   " if (document.activeElement.getAttribute(\'type\') == \'input\')\r\n                  " +
                                                                   "  { return false; } //Evita Back en input. \r\n                    else //Text, te" +
                                                                   "xtarea o password \r\n                    {\r\n                        if (document." +
                                                                   "activeElement.value.length == 0)\r\n                        { return false; } //No" +
                                                                   " realiza el backspace(largo igual a 0). \r\n                        //else {\r\n    " +
                                                                   "                    //    document.activeElement.value.keyCode = 13;\r\n          " +
                                                                   "              //} //Realiza el enter. \r\n                    }\r\n                }" +
                                                                   "\r\n            }\r\n        }\r\n    }\r\n\r\n</script>\r\n\r\n\r\n"));
     global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl1;
     @__ctrl1 = this.@__BuildControldvWarning1();
     @__parser.AddParsedSubObject(@__ctrl1);
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\r\n"));
     global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl2;
     @__ctrl2 = this.@__BuildControldvFormulario();
     @__parser.AddParsedSubObject(@__ctrl2);
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
 }
Ejemplo n.º 15
0
        // *********************************************************************
        //  BuildFooterTemplate
        //
        /// <summary>
        /// This function is called to create the template for the footer
        /// </summary>
        ///
        // ********************************************************************/
        override protected void BuildFooterTemplate(Control _ctrl)
        {
            System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(_ctrl));

            __parser.AddParsedSubObject(RenderFooterTemplate());
        }
Ejemplo n.º 16
0
        // *********************************************************************
        //  BuildItemTemplate
        //
        /// <summary>
        /// This function is called to create the template for the header
        /// </summary>
        ///
        // ********************************************************************/
        private void BuildItemTemplate(Control _ctrl)
        {
            System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(_ctrl));

            __parser.AddParsedSubObject(RenderItemTemplate());
        }
 private void @__BuildControlTree(global::LeaveApplication.EditEmployeeInformation.EditEmployeeInformation @__ctrl)
 {
     global::System.Web.UI.WebControls.Label @__ctrl1;
     @__ctrl1 = this.@__BuildControllb1();
     System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
     @__parser.AddParsedSubObject(@__ctrl1);
     global::System.Web.UI.WebControls.TextBox @__ctrl2;
     @__ctrl2 = this.@__BuildControltxtempid();
     @__parser.AddParsedSubObject(@__ctrl2);
     global::System.Web.UI.WebControls.Label @__ctrl3;
     @__ctrl3 = this.@__BuildControlLabel1();
     @__parser.AddParsedSubObject(@__ctrl3);
     global::System.Web.UI.WebControls.TextBox @__ctrl4;
     @__ctrl4 = this.@__BuildControltxtempusername();
     @__parser.AddParsedSubObject(@__ctrl4);
     global::System.Web.UI.WebControls.Label @__ctrl5;
     @__ctrl5 = this.@__BuildControlLabel2();
     @__parser.AddParsedSubObject(@__ctrl5);
     global::System.Web.UI.WebControls.TextBox @__ctrl6;
     @__ctrl6 = this.@__BuildControltxtfristname();
     @__parser.AddParsedSubObject(@__ctrl6);
     global::System.Web.UI.WebControls.Label @__ctrl7;
     @__ctrl7 = this.@__BuildControlLabel3();
     @__parser.AddParsedSubObject(@__ctrl7);
     global::System.Web.UI.WebControls.TextBox @__ctrl8;
     @__ctrl8 = this.@__BuildControltxtlastname();
     @__parser.AddParsedSubObject(@__ctrl8);
     global::System.Web.UI.WebControls.Label @__ctrl9;
     @__ctrl9 = this.@__BuildControlLabel4();
     @__parser.AddParsedSubObject(@__ctrl9);
     global::System.Web.UI.WebControls.DropDownList @__ctrl10;
     @__ctrl10 = this.@__BuildControlDdlEmptype();
     @__parser.AddParsedSubObject(@__ctrl10);
     global::System.Web.UI.WebControls.Label @__ctrl11;
     @__ctrl11 = this.@__BuildControlLabel5();
     @__parser.AddParsedSubObject(@__ctrl11);
     global::System.Web.UI.WebControls.DropDownList @__ctrl12;
     @__ctrl12 = this.@__BuildControlDdlDep();
     @__parser.AddParsedSubObject(@__ctrl12);
     global::System.Web.UI.WebControls.Label @__ctrl13;
     @__ctrl13 = this.@__BuildControlLabel6();
     @__parser.AddParsedSubObject(@__ctrl13);
     global::System.Web.UI.WebControls.DropDownList @__ctrl14;
     @__ctrl14 = this.@__BuildControlDdlDesignation();
     @__parser.AddParsedSubObject(@__ctrl14);
     global::System.Web.UI.WebControls.Label @__ctrl15;
     @__ctrl15 = this.@__BuildControlLabel7();
     @__parser.AddParsedSubObject(@__ctrl15);
     global::System.Web.UI.WebControls.DropDownList @__ctrl16;
     @__ctrl16 = this.@__BuildControlddlReportingTo();
     @__parser.AddParsedSubObject(@__ctrl16);
     global::System.Web.UI.WebControls.Label @__ctrl17;
     @__ctrl17 = this.@__BuildControlLabel8();
     @__parser.AddParsedSubObject(@__ctrl17);
     global::Microsoft.SharePoint.WebControls.DateTimeControl @__ctrl18;
     @__ctrl18 = this.@__BuildControlDtDoj();
     @__parser.AddParsedSubObject(@__ctrl18);
     global::System.Web.UI.HtmlControls.HtmlTableRow @__ctrl19;
     @__ctrl19 = this.@__BuildControldivdop();
     @__parser.AddParsedSubObject(@__ctrl19);
     global::System.Web.UI.HtmlControls.HtmlTableRow @__ctrl20;
     @__ctrl20 = this.@__BuildControldivCFPL();
     @__parser.AddParsedSubObject(@__ctrl20);
     global::System.Web.UI.WebControls.Label @__ctrl21;
     @__ctrl21 = this.@__BuildControlLblError();
     @__parser.AddParsedSubObject(@__ctrl21);
     global::System.Web.UI.WebControls.HiddenField @__ctrl22;
     @__ctrl22 = this.@__BuildControlempSPid();
     @__parser.AddParsedSubObject(@__ctrl22);
     global::System.Web.UI.WebControls.HiddenField @__ctrl23;
     @__ctrl23 = this.@__BuildControlhdnCurrentYear();
     @__parser.AddParsedSubObject(@__ctrl23);
     global::System.Web.UI.WebControls.HiddenField @__ctrl24;
     @__ctrl24 = this.@__BuildControlhdnCurrentEmpType();
     @__parser.AddParsedSubObject(@__ctrl24);
     global::System.Web.UI.WebControls.HiddenField @__ctrl25;
     @__ctrl25 = this.@__BuildControlhdnStrtFnclMnth();
     @__parser.AddParsedSubObject(@__ctrl25);
     global::System.Web.UI.WebControls.HiddenField @__ctrl26;
     @__ctrl26 = this.@__BuildControlhdnCurrentUsername();
     @__parser.AddParsedSubObject(@__ctrl26);
     global::System.Web.UI.WebControls.HiddenField @__ctrl27;
     @__ctrl27 = this.@__BuildControlhdnCurrentManager();
     @__parser.AddParsedSubObject(@__ctrl27);
     global::System.Web.UI.WebControls.HiddenField @__ctrl28;
     @__ctrl28 = this.@__BuildControlhdncurrentEmployee();
     @__parser.AddParsedSubObject(@__ctrl28);
     global::System.Web.UI.WebControls.Button @__ctrl29;
     @__ctrl29 = this.@__BuildControlBtnRegister();
     @__parser.AddParsedSubObject(@__ctrl29);
     global::System.Web.UI.WebControls.Button @__ctrl30;
     @__ctrl30 = this.@__BuildControlBtnCancel();
     @__parser.AddParsedSubObject(@__ctrl30);
     @__ctrl.SetRenderMethodDelegate(new System.Web.UI.RenderMethod(this.@__Render__control1));
 }
 private void @__BuildControlTree(global::MeetingListWebpart.VisualWebPart1.VisualWebPart1 @__ctrl)
 {
     System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n<head>\r\n    <link rel=\"stylesheet\" href=\"/_catalogs/masterpage/scripts/Meetings" +
                                                                   "Scripts/footable.core.css\" />\r\n    \t\t    <script src=\"/_catalogs/masterpage/scri" +
                                                                   "pts/MeetingsScripts/footable.js\" type=\"text/javascript\"></script>\r\n    <script s" +
                                                                   "rc=\"/_catalogs/masterpage/scripts/MeetingsScripts/footable.paginate.js\" type=\"te" +
                                                                   "xt/javascript\"></script>\r\n\r\n\r\n  \r\n\r\n<title>Meetings Webpart</title>\r\n\r\n<style>\r\n" +
                                                                   ".MeetingContainer \r\n{\r\n\ttext-align:center;\r\n\tfont-family:Arial;\r\n\twidth:100%;\r\n}" +
                                                                   "\r\n\r\n.MeetingContainer table tr\r\n{\r\n\r\n\tmargin-top:5px;\r\n}\r\n.MeetingContainer tabl" +
                                                                   "e \r\n{\r\n    border: 1px solid #666280;\r\n\twidth:100%;\r\n    max-width:700px;\r\n\tbord" +
                                                                   "er-collapse:separate;\r\n    margin-left:auto;\r\n    margin-right:auto;\r\n\r\n\r\n}\r\n.Me" +
                                                                   "etingContainer .edges\r\n\t{\r\n\t\tmargin:0;\r\n\t\tpadding:0;\r\n\t\ttext-align:center;\r\n\t\tfo" +
                                                                   "nt-size:10px;\r\n\t\tcolor:white;\r\n\t\twidth:22%;\r\n\t\theight:150px;\r\n\t\tbackground: rgb(" +
                                                                   "102,98,128); \r\n\r\n\t}\r\n.MeetingContainer .edges h1,.MeetingContainer .edges h2\r\n\t{" +
                                                                   "\r\n        color:white;\r\n\t\tpadding:0;\r\n\t\tmargin:0;\r\n\t}\r\n.MeetingContainer .middle" +
                                                                   "cell\r\n\t{\r\n    padding-left:5px;\r\n    padding-right:5px;\r\n\t\ttext-align:left;\r\n\t\tw" +
                                                                   "idth:56%;\r\n\t\tborder-width:1px;\r\n\t\tborder-style:solid;\r\n\t\tborder-color:rgb(102,98" +
                                                                   ",128);\r\n\t\tborder-bottom-width:1px;\r\n\t\tborder-bottom-style:solid;\r\n\t\tborder-botto" +
                                                                   "m-color:rgb(102,98,128);\r\n\r\n\t}\r\n\r\n.ui-widget-header, .ui-state-default\r\n{\r\n    b" +
                                                                   "ackground:#666280!important;\r\n}\r\n\r\n.ui-tabs-active\r\n{\r\n    background:white!impo" +
                                                                   "rtant;\r\n}\r\n\r\n#MeetingContainer, #ArchiveMeetingContainer\r\n{\r\n    width:100%;\r\n  " +
                                                                   "  padding:0;\r\n}\r\n\r\n.ui-widget-content\r\n{\r\n    border:none;\r\n}\r\n\r\n#tabs\r\n{\r\n    w" +
                                                                   "idth:700px;\r\n}\r\n\t\r\n\t.MeetingContainer table tr > td\r\n{\r\n  margin-bottom: 1em;\r\n}" +
                                                                   "\r\n.MeetingContainer a\r\n{\r\n\tfont-size:8px;\r\n}\r\n.MeetingContainer .center\r\n{\r\n\tfon" +
                                                                   "t-weight:normal;\r\n\tline-height:80px;\r\n}\r\n\r\n.meeting-location-popup {\r\n    width:" +
                                                                   " 600px;\r\n    height: 450px;\r\n    background: white;\r\n    position: absolute;\r\n  " +
                                                                   "  top: 0;\r\n    right: 0;\r\n    bottom: 0;\r\n    left: 0;\r\n    margin: auto;\r\n}\r\n\r\n" +
                                                                   ".meeting-location-container-popup {\r\n    display:none;\r\n    position: fixed;\r\n  " +
                                                                   "  top: 0;\r\n    right: 0;\r\n    bottom: 0;\r\n    left: 0;\r\n    background: rgba(0,0" +
                                                                   ",0,.8);\r\n}\r\n\r\n.MeetingContainer h3\r\n{\r\n    color:white;\r\n    font-weight:bold;\r\n" +
                                                                   "}\r\n.middlecell h1\r\n{\r\n    color:black;\r\n    font-size: 20px !important;\r\n}\r\n\r\n.M" +
                                                                   "eetingContainer a\r\n{\r\n    font-size:10px;\r\n}\r\n\r\n.MeetingContainer li\r\n{\r\n    dis" +
                                                                   "play:inline-block;\r\n    width:20px;\r\n    height:20px;\r\n    font-size:12px;\r\n    " +
                                                                   "background-color:#2b2f32;\r\n    line-height:20px;\r\n    color:white;\r\n    padding:" +
                                                                   "5px;\r\n    margin-left:1px;\r\n    margin-right:1px;\r\n}\r\n\r\n\r\n.MeetingContainer li a" +
                                                                   ",.MeetingContainer li a:visited\r\n{\r\n        width:20px;\r\n    height:20px;\r\n    f" +
                                                                   "ont-size:18px;\r\n    background-color:#2b2f32;\r\n    color:white;\r\n}\r\n\r\n.MeetingCo" +
                                                                   "ntainer .active\r\n{\r\n    background-color:#878079;\r\n\r\n}\r\n.MeetingContainer .activ" +
                                                                   "e a\r\n{\r\n    background-color:#878079;\r\n\r\n}\r\n.MeetingContainer .active a\r\n{\r\n    " +
                                                                   "color:black;\r\n\r\n}\r\n\r\n.hoverpointer { cursor: pointer; }\r\n\r\n</style>\r\n\r\n</head>\r\n" +
                                                                   "\r\n<body>\r\n    <div id=\"tabs\">\r\n        <ul>\r\n            <li><a href=\"#MeetingCo" +
                                                                   "ntainer\">Current Meetings</a></li>\r\n            <li><a href=\"#ArchiveMeetingCont" +
                                                                   "ainer\">Past Meetings/Minutes</a></li>\r\n        </ul>\r\n\r\n\t    <div class=\"Meeting" +
                                                                   "Container\" id=\"MeetingContainer\">\r\n\t\t    "));
     global::System.Web.UI.HtmlControls.HtmlTable @__ctrl1;
     @__ctrl1 = this.@__BuildControlmeetingTable();
     @__parser.AddParsedSubObject(@__ctrl1);
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\t    </div>\r\n\r\n        <div class=\"MeetingContainer\" id=\"ArchiveMeetingContaine" +
                                                                   "r\">\r\n            "));
     global::System.Web.UI.HtmlControls.HtmlTable @__ctrl2;
     @__ctrl2 = this.@__BuildControlarchiveMeetingTable();
     @__parser.AddParsedSubObject(@__ctrl2);
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n        </div>\r\n\r\n        <div id=\"meeting-location-container-popup\" class=\"mee" +
                                                                   "ting-location-container-popup\" onclick=\"hidelocationpopup()\">\r\n            <div " +
                                                                   "id=\"meeting-location-popup\" class=\"meeting-location-popup\"></div>\r\n        </div" +
                                                                   ">\r\n    </div>\r\n    <script type=\"text/javascript\">\r\n\r\n        document.getElemen" +
                                                                   "tsByClassName(\"meetingTable\")[0].innerHTML = document.getElementsByClassName(\"me" +
                                                                   "etingTable\")[0].innerHTML + \"<tfoot><tr><td colspan=\\\"3\\\"><div class=\\\"paginatio" +
                                                                   "n pagination-centered\\\"></div></td></tr></tfoot>\";\r\n        document.getElements" +
                                                                   "ByClassName(\"meetingTable\")[1].innerHTML = document.getElementsByClassName(\"meet" +
                                                                   "ingTable\")[1].innerHTML + \"<tfoot><tr><td colspan=\\\"3\\\"><div class=\\\"pagination " +
                                                                   "pagination-centered\\\"></div></td></tr></tfoot>\";\r\n\r\n          $(function () {\r\n " +
                                                                   "             $(\'.meetingTable\').footable();\r\n          });\r\n\r\n          function" +
                                                                   " displayMeetingLocation(iframeCode) {\r\n              //$(\"meeting-location-popup" +
                                                                   "\").html(iframeCode).text();\r\n              var popuplocation = document.getEleme" +
                                                                   "ntById(\"meeting-location-popup\");\r\n              popuplocation.innerHTML = ifram" +
                                                                   "eCode;\r\n\r\n              var popupcontainer = document.getElementById(\"meeting-lo" +
                                                                   "cation-container-popup\");\r\n              popupcontainer.style.display = \'block\';" +
                                                                   "\r\n          }\r\n          function hidelocationpopup() {\r\n              var lpop " +
                                                                   "= document.getElementById(\"meeting-location-container-popup\");\r\n              lp" +
                                                                   "op.style.display = \'none\';\r\n          }\r\n\r\n          $(function () {\r\n          " +
                                                                   "    $(\"#tabs\").tabs();\r\n\r\n\r\n\r\n          });\r\n\r\n\r\n\r\n\r\n</script>\r\n\r\n</body>"));
 }
Ejemplo n.º 19
0
 private void @__BuildControlTree(global::Proj1.HVE.WebParts.HVEGetSQL1.HVEGetSQL1 @__ctrl)
 {
     global::System.Web.UI.WebControls.GridView @__ctrl1;
     @__ctrl1 = this.@__BuildControlGridView1();
     System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
     @__parser.AddParsedSubObject(@__ctrl1);
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\r\n\r\n"));
     global::System.Web.UI.WebControls.Repeater @__ctrl2;
     @__ctrl2 = this.@__BuildControlRepeater1();
     @__parser.AddParsedSubObject(@__ctrl2);
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n<br />\r\n"));
     global::System.Web.UI.WebControls.Button @__ctrl3;
     @__ctrl3 = this.@__BuildControlButton1();
     @__parser.AddParsedSubObject(@__ctrl3);
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n<br />\r\n"));
     global::System.Web.UI.WebControls.Label @__ctrl4;
     @__ctrl4 = this.@__BuildControlLabel1();
     @__parser.AddParsedSubObject(@__ctrl4);
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n<p>\r\n    &nbsp;</p>\r\n"));
     global::System.Web.UI.WebControls.Label @__ctrl5;
     @__ctrl5 = this.@__BuildControlLabel2();
     @__parser.AddParsedSubObject(@__ctrl5);
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\r\n"));
     global::System.Web.UI.WebControls.Label @__ctrl6;
     @__ctrl6 = this.@__BuildControlLabel3();
     @__parser.AddParsedSubObject(@__ctrl6);
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
     global::System.Web.UI.WebControls.Label @__ctrl7;
     @__ctrl7 = this.@__BuildControlLabel4();
     @__parser.AddParsedSubObject(@__ctrl7);
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
     global::System.Web.UI.WebControls.Label @__ctrl8;
     @__ctrl8 = this.@__BuildControlLabel5();
     @__parser.AddParsedSubObject(@__ctrl8);
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
     global::System.Web.UI.WebControls.Label @__ctrl9;
     @__ctrl9 = this.@__BuildControlLabel7();
     @__parser.AddParsedSubObject(@__ctrl9);
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
     global::System.Web.UI.WebControls.Label @__ctrl10;
     @__ctrl10 = this.@__BuildControlLabel6();
     @__parser.AddParsedSubObject(@__ctrl10);
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
     global::System.Web.UI.WebControls.Label @__ctrl11;
     @__ctrl11 = this.@__BuildControlLabel8();
     @__parser.AddParsedSubObject(@__ctrl11);
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
     global::System.Web.UI.WebControls.Label @__ctrl12;
     @__ctrl12 = this.@__BuildControlLabel9();
     @__parser.AddParsedSubObject(@__ctrl12);
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
     global::System.Web.UI.WebControls.Label @__ctrl13;
     @__ctrl13 = this.@__BuildControlLabel10();
     @__parser.AddParsedSubObject(@__ctrl13);
     global::System.Web.UI.DataBoundLiteralControl @__ctrl14;
     @__ctrl14 = this.@__BuildControl__control5();
     @__parser.AddParsedSubObject(@__ctrl14);
     global::System.Web.UI.WebControls.Literal @__ctrl15;
     @__ctrl15 = this.@__BuildControlLiteralText();
     @__parser.AddParsedSubObject(@__ctrl15);
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n    </div>\r\n<div>\r\n    "));
     global::System.Web.UI.WebControls.Label @__ctrl16;
     @__ctrl16 = this.@__BuildControlLabel11();
     @__parser.AddParsedSubObject(@__ctrl16);
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n</div>\r\n\r\n"));
 }
 private void @__BuildControl__control2(System.Web.UI.Control @__ctrl)
 {
     System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n           \r\n            <div style=\"width:100%;background-color:#ededed\">\r\n\r\n\r" +
                                                                   "\n        "));
 }
 private void @__BuildControl__control2(System.Web.UI.Control @__ctrl)
 {
     System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                <div id=\"aniversariantes\">\r\n                    <ul>\r\n         " +
                                                                   "   "));
 }
Ejemplo n.º 22
0
 private void @__BuildControlTree(global::MultiAdministracion.wpMensaje.wpMensaje.wpMensaje @__ctrl)
 {
     System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\r\n\r\n<script type=\"text/javascript\">\r\n    document.onkeydown = function () {\r\n  " +
                                                                   "      //109->\'-\' \r\n        //56->\'(\' \r\n        if (window.event && (window.event" +
                                                                   ".keyCode == 109 || window.event.keyCode == 56)) {\r\n            window.event.keyC" +
                                                                   "ode = 505;\r\n        }\r\n\r\n        if (window.event.keyCode == 505) {\r\n           " +
                                                                   " return false;\r\n        }\r\n\r\n        if (window.event && (window.event.keyCode =" +
                                                                   "= 8)) {\r\n            valor = document.activeElement.value;\r\n            if (valo" +
                                                                   "r == undefined) { return false; } //Evita Back en página. \r\n\r\n            else {" +
                                                                   "\r\n                if (document.activeElement.getAttribute(\'type\') == \'select-one" +
                                                                   "\')\r\n                { return false; } //Evita Back en select. \r\n                " +
                                                                   "if (document.activeElement.getAttribute(\'type\') == \'button\')\r\n                { " +
                                                                   "return false; } //Evita Back en button. \r\n                if (document.activeEle" +
                                                                   "ment.getAttribute(\'type\') == \'radio\')\r\n                { return false; } //Evita" +
                                                                   " Back en radio. \r\n                if (document.activeElement.getAttribute(\'type\'" +
                                                                   ") == \'checkbox\')\r\n                { return false; } //Evita Back en checkbox. \r\n" +
                                                                   "                if (document.activeElement.getAttribute(\'type\') == \'file\')\r\n    " +
                                                                   "            { return false; } //Evita Back en file. \r\n                if (docume" +
                                                                   "nt.activeElement.getAttribute(\'type\') == \'reset\')\r\n                { return fals" +
                                                                   "e; } //Evita Back en reset. \r\n                if (document.activeElement.getAttr" +
                                                                   "ibute(\'type\') == \'submit\')\r\n                { return false; } //Evita Back en su" +
                                                                   "bmit. \r\n                if (document.activeElement.getAttribute(\'type\') == \'inpu" +
                                                                   "t\')\r\n                { return false; } //Evita Back en inout. \r\n                " +
                                                                   "else //Text, textarea o password \r\n                {\r\n                    if (do" +
                                                                   "cument.activeElement.value.length == 0)\r\n                    { return false; } /" +
                                                                   "/No realiza el backspace(largo igual a 0). \r\n                    else {\r\n       " +
                                                                   "                 document.activeElement.value.keyCode = 8;\r\n                    " +
                                                                   "} //Realiza el backspace. \r\n                }\r\n            }\r\n\r\n            if (" +
                                                                   "window.event && (window.event.keyCode == 13)) {\r\n                valor = documen" +
                                                                   "t.activeElement.value;\r\n                if (valor == undefined) { return false; " +
                                                                   "} //Evita Enter en página. \r\n                else {\r\n                    if (doc" +
                                                                   "ument.activeElement.getAttribute(\'type\') == \'select-one\')\r\n                    {" +
                                                                   " return false; } //Evita Enter en select. \r\n                    if (document.act" +
                                                                   "iveElement.getAttribute(\'type\') == \'button\')\r\n                    { return false" +
                                                                   "; } //Evita Enter en button. \r\n                    if (document.activeElement.ge" +
                                                                   "tAttribute(\'type\') == \'radio\')\r\n                    { return false; } //Evita En" +
                                                                   "ter en radio. \r\n                    if (document.activeElement.getAttribute(\'typ" +
                                                                   "e\') == \'checkbox\')\r\n                    { return false; } //Evita Enter en check" +
                                                                   "box. \r\n                    if (document.activeElement.getAttribute(\'type\') == \'f" +
                                                                   "ile\')\r\n                    { return false; } //Evita Enter en file. \r\n          " +
                                                                   "          if (document.activeElement.getAttribute(\'type\') == \'reset\')\r\n         " +
                                                                   "           { return false; } //Evita Enter en reset. \r\n                    if (d" +
                                                                   "ocument.activeElement.getAttribute(\'type\') == \'submit\')\r\n                    { r" +
                                                                   "eturn false; } //Evita Enter en submit. \r\n                    if (document.activ" +
                                                                   "eElement.getAttribute(\'type\') == \'input\')\r\n                    { return false; }" +
                                                                   " //Evita Back en input. \r\n                    else //Text, textarea o password \r" +
                                                                   "\n                    {\r\n                        if (document.activeElement.value" +
                                                                   ".length == 0)\r\n                        { return false; } //No realiza el backspa" +
                                                                   "ce(largo igual a 0). \r\n                        //else {\r\n                       " +
                                                                   " //    document.activeElement.value.keyCode = 13;\r\n                        //} /" +
                                                                   "/Realiza el enter. \r\n                    }\r\n                }\r\n            }\r\n  " +
                                                                   "      }\r\n    }\r\n\r\n</script>\r\n\r\n<div align=\"center\">\r\n    <table>\r\n        <tr>\r\n" +
                                                                   "            <td align=\"center\">\r\n                <h3>\r\n                    "));
     global::System.Web.UI.WebControls.Label @__ctrl1;
     @__ctrl1 = this.@__BuildControllblTitulo();
     @__parser.AddParsedSubObject(@__ctrl1);
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("</h3>\r\n            </td>\r\n        </tr>\r\n        <tr>\r\n            <td align=\"cen" +
                                                                   "ter\">\r\n                "));
     global::System.Web.UI.WebControls.Label @__ctrl2;
     @__ctrl2 = this.@__BuildControllblMensaje();
     @__parser.AddParsedSubObject(@__ctrl2);
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n            </td>\r\n        </tr>\r\n    </table>\r\n\r\n    <br />\r\n    "));
     global::System.Web.UI.WebControls.Button @__ctrl3;
     @__ctrl3 = this.@__BuildControlbtnAceptar();
     @__parser.AddParsedSubObject(@__ctrl3);
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\r\n</div>"));
 }
 private void @__BuildControlTree(global::MultiOperacion.wpDocumentosCurse.wpDocumentosCurse.wpDocumentosCurse @__ctrl) {
     System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\r\n<style type=\"text/css\">\r\n    .btn { font:14px \'Noto Sans\', \'Helvetica Neue\', " +
                 "Helvetica, Arial, sans-serif !important; }\r\n</style>\r\n\r\n<script type=\"text/javas" +
                 "cript\" src=\"../../_layouts/15/MultiOperacion/Operacion.js\"></script>\r\n<script ty" +
                 "pe=\"text/javascript\" src=\"../../_layouts/15/MultiOperacion/FuncionesCliente.js\">" +
                 "</script>\r\n<script type=\"text/javascript\">\r\n    document.onkeydown = function ()" +
                 " {\r\n        //109->\'-\' \r\n        //56->\'(\' \r\n        if (window.event && (window" +
                 ".event.keyCode == 109 || window.event.keyCode == 56)) {\r\n            window.even" +
                 "t.keyCode = 505;\r\n        }\r\n\r\n        if (window.event.keyCode == 505) {\r\n     " +
                 "       return false;\r\n        }\r\n\r\n        if (window.event && (window.event.key" +
                 "Code == 8)) {\r\n            valor = document.activeElement.value;\r\n            if" +
                 " (valor == undefined) { return false; } //Evita Back en página. \r\n\r\n            " +
                 "else {\r\n                if (document.activeElement.getAttribute(\'type\') == \'sele" +
                 "ct-one\')\r\n                { return false; } //Evita Back en select. \r\n          " +
                 "      if (document.activeElement.getAttribute(\'type\') == \'button\')\r\n            " +
                 "    { return false; } //Evita Back en button. \r\n                if (document.act" +
                 "iveElement.getAttribute(\'type\') == \'radio\')\r\n                { return false; } /" +
                 "/Evita Back en radio. \r\n                if (document.activeElement.getAttribute(" +
                 "\'type\') == \'checkbox\')\r\n                { return false; } //Evita Back en checkb" +
                 "ox. \r\n                if (document.activeElement.getAttribute(\'type\') == \'file\')" +
                 "\r\n                { return false; } //Evita Back en file. \r\n                if (" +
                 "document.activeElement.getAttribute(\'type\') == \'reset\')\r\n                { retur" +
                 "n false; } //Evita Back en reset. \r\n                if (document.activeElement.g" +
                 "etAttribute(\'type\') == \'submit\')\r\n                { return false; } //Evita Back" +
                 " en submit. \r\n                if (document.activeElement.getAttribute(\'type\') ==" +
                 " \'input\')\r\n                { return false; } //Evita Back en inout. \r\n          " +
                 "      else //Text, textarea o password \r\n                {\r\n                    " +
                 "if (document.activeElement.value.length == 0)\r\n                    { return fals" +
                 "e; } //No realiza el backspace(largo igual a 0). \r\n                    else {\r\n " +
                 "                       document.activeElement.value.keyCode = 8;\r\n              " +
                 "      } //Realiza el backspace. \r\n                }\r\n            }\r\n\r\n          " +
                 "  if (window.event && (window.event.keyCode == 13)) {\r\n                valor = d" +
                 "ocument.activeElement.value;\r\n                if (valor == undefined) { return f" +
                 "alse; } //Evita Enter en página. \r\n                else {\r\n                    i" +
                 "f (document.activeElement.getAttribute(\'type\') == \'select-one\')\r\n               " +
                 "     { return false; } //Evita Enter en select. \r\n                    if (docume" +
                 "nt.activeElement.getAttribute(\'type\') == \'button\')\r\n                    { return" +
                 " false; } //Evita Enter en button. \r\n                    if (document.activeElem" +
                 "ent.getAttribute(\'type\') == \'radio\')\r\n                    { return false; } //Ev" +
                 "ita Enter en radio. \r\n                    if (document.activeElement.getAttribut" +
                 "e(\'type\') == \'checkbox\')\r\n                    { return false; } //Evita Enter en" +
                 " checkbox. \r\n                    if (document.activeElement.getAttribute(\'type\')" +
                 " == \'file\')\r\n                    { return false; } //Evita Enter en file. \r\n    " +
                 "                if (document.activeElement.getAttribute(\'type\') == \'reset\')\r\n   " +
                 "                 { return false; } //Evita Enter en reset. \r\n                   " +
                 " if (document.activeElement.getAttribute(\'type\') == \'submit\')\r\n                 " +
                 "   { return false; } //Evita Enter en submit. \r\n                    if (document" +
                 ".activeElement.getAttribute(\'type\') == \'input\')\r\n                    { return fa" +
                 "lse; } //Evita Back en input. \r\n                    else //Text, textarea o pass" +
                 "word \r\n                    {\r\n                        if (document.activeElement" +
                 ".value.length == 0)\r\n                        { return false; } //No realiza el b" +
                 "ackspace(largo igual a 0). \r\n                        //else {\r\n                 " +
                 "       //    document.activeElement.value.keyCode = 13;\r\n                       " +
                 " //} //Realiza el enter. \r\n                    }\r\n                }\r\n           " +
                 " }\r\n        }\r\n    }\r\n\r\n</script>\r\n\r\n\r\n "));
     global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl1;
     @__ctrl1 = this.@__BuildControldvWarning1();
     @__parser.AddParsedSubObject(@__ctrl1);
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\r\n\t\t\t\t\t\t\t\t\t\r\n"));
     global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl2;
     @__ctrl2 = this.@__BuildControldvFormulario();
     @__parser.AddParsedSubObject(@__ctrl2);
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\r\n\r\n\r\n\r\n\r\n"));
 }
Ejemplo n.º 24
0
 private void @__BuildControlTree(global::LeaveApplication.CancelEmployeeLeaves.CancelEmployeeLeaves @__ctrl)
 {
     global::System.Web.UI.WebControls.Label @__ctrl1;
     @__ctrl1 = this.@__BuildControllblEmpID();
     System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
     @__parser.AddParsedSubObject(@__ctrl1);
     global::System.Web.UI.WebControls.Label @__ctrl2;
     @__ctrl2 = this.@__BuildControllblDesgination();
     @__parser.AddParsedSubObject(@__ctrl2);
     global::System.Web.UI.WebControls.Label @__ctrl3;
     @__ctrl3 = this.@__BuildControllblDepartment();
     @__parser.AddParsedSubObject(@__ctrl3);
     global::System.Web.UI.WebControls.DropDownList @__ctrl4;
     @__ctrl4 = this.@__BuildControlddlTypeofLeave();
     @__parser.AddParsedSubObject(@__ctrl4);
     global::System.Web.UI.WebControls.TextBox @__ctrl5;
     @__ctrl5 = this.@__BuildControltxtPurpose();
     @__parser.AddParsedSubObject(@__ctrl5);
     global::System.Web.UI.HtmlControls.HtmlTableRow @__ctrl6;
     @__ctrl6 = this.@__BuildControlSelecteddates();
     @__parser.AddParsedSubObject(@__ctrl6);
     global::System.Web.UI.HtmlControls.HtmlTableRow @__ctrl7;
     @__ctrl7 = this.@__BuildControloptinalDates();
     @__parser.AddParsedSubObject(@__ctrl7);
     global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl8;
     @__ctrl8 = this.@__BuildControltxtDuration();
     @__parser.AddParsedSubObject(@__ctrl8);
     global::System.Web.UI.WebControls.TextBox @__ctrl9;
     @__ctrl9 = this.@__BuildControlddlReportingTo();
     @__parser.AddParsedSubObject(@__ctrl9);
     global::System.Web.UI.WebControls.Button @__ctrl10;
     @__ctrl10 = this.@__BuildControlbtnSubmit();
     @__parser.AddParsedSubObject(@__ctrl10);
     global::System.Web.UI.WebControls.Button @__ctrl11;
     @__ctrl11 = this.@__BuildControlbtnReset();
     @__parser.AddParsedSubObject(@__ctrl11);
     global::System.Web.UI.WebControls.HiddenField @__ctrl12;
     @__ctrl12 = this.@__BuildControlhdnCurrentUsername();
     @__parser.AddParsedSubObject(@__ctrl12);
     global::System.Web.UI.WebControls.HiddenField @__ctrl13;
     @__ctrl13 = this.@__BuildControlhdnEmployeeType();
     @__parser.AddParsedSubObject(@__ctrl13);
     global::System.Web.UI.WebControls.HiddenField @__ctrl14;
     @__ctrl14 = this.@__BuildControlhdnHolidayList();
     @__parser.AddParsedSubObject(@__ctrl14);
     global::System.Web.UI.WebControls.HiddenField @__ctrl15;
     @__ctrl15 = this.@__BuildControlhdnStrtDate();
     @__parser.AddParsedSubObject(@__ctrl15);
     global::System.Web.UI.WebControls.HiddenField @__ctrl16;
     @__ctrl16 = this.@__BuildControlhdnEndDate();
     @__parser.AddParsedSubObject(@__ctrl16);
     global::System.Web.UI.WebControls.HiddenField @__ctrl17;
     @__ctrl17 = this.@__BuildControlhdnLeaveId();
     @__parser.AddParsedSubObject(@__ctrl17);
     global::System.Web.UI.WebControls.HiddenField @__ctrl18;
     @__ctrl18 = this.@__BuildControlhdnLeaveDuration();
     @__parser.AddParsedSubObject(@__ctrl18);
     global::System.Web.UI.WebControls.HiddenField @__ctrl19;
     @__ctrl19 = this.@__BuildControlhdnCurrentYear();
     @__parser.AddParsedSubObject(@__ctrl19);
     global::System.Web.UI.WebControls.HiddenField @__ctrl20;
     @__ctrl20 = this.@__BuildControlhdnReportingTo();
     @__parser.AddParsedSubObject(@__ctrl20);
     global::System.Web.UI.WebControls.Label @__ctrl21;
     @__ctrl21 = this.@__BuildControllblError();
     @__parser.AddParsedSubObject(@__ctrl21);
     @__ctrl.SetRenderMethodDelegate(new System.Web.UI.RenderMethod(this.@__Render__control1));
 }
Ejemplo n.º 25
0
        private void @__BuildControl__control2(System.Web.UI.Control @__ctrl)
        {
            System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n        <div style=\"display: none;\">\r\n            "));
            global::System.Web.UI.HtmlControls.HtmlInputHidden @__ctrl1;
            @__ctrl1 = this.@__BuildControlhidpagesize();
            @__parser.AddParsedSubObject(@__ctrl1);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n            "));
            global::System.Web.UI.WebControls.Button @__ctrl2;
            @__ctrl2 = this.@__BuildControlButton1();
            @__parser.AddParsedSubObject(@__ctrl2);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n            "));
            global::System.Web.UI.WebControls.HiddenField @__ctrl3;
            @__ctrl3 = this.@__BuildControlhdEntityName();
            @__parser.AddParsedSubObject(@__ctrl3);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
        </div>
        <div class=""filterBox"">
            <div class=""filterIptBox"">
                <table class=""filterTable"">
                    <tr>
                        <td style=""width: 40%;"">
                            <div style=""width: 200px;"">
                                "));
            global::System.Web.UI.WebControls.DropDownList @__ctrl4;
            @__ctrl4 = this.@__BuildControlddlEntityList();
            @__parser.AddParsedSubObject(@__ctrl4);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                            </div>

                        </td>
                        <td>
                            <div class=""operationBox"">

                                <ul class=""operationBtnBox"">
                                    <li>
                                        "));
            global::System.Web.UI.WebControls.LinkButton @__ctrl5;
            @__ctrl5 = this.@__BuildControllbtnSync();
            @__parser.AddParsedSubObject(@__ctrl5);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("</li>\r\n                                    <li><a class=\"operationBtn query fLeft" +
                                                                          "\" onclick=\"CheckSelectEntity();\">查询</a>\r\n                                    </l" +
                                                                          "i>\r\n                                    <li>\r\n                                  " +
                                                                          "      "));
            global::System.Web.UI.WebControls.LinkButton @__ctrl6;
            @__ctrl6 = this.@__BuildControllbtnExport();
            @__parser.AddParsedSubObject(@__ctrl6);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"</li>
                                </ul>
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div class=""cutOffRule clearBoth""></div>
        <div class=""resultBox"">
            "));
            global::System.Web.UI.WebControls.GridView @__ctrl7;
            @__ctrl7 = this.@__BuildControlGvDataSource();
            @__parser.AddParsedSubObject(@__ctrl7);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n        </div>\r\n        <div class=\"pageBox\">\r\n            "));
            global::Wuqi.Webdiyer.AspNetPager @__ctrl8;
            @__ctrl8 = this.@__BuildControlAspNetPager1();
            @__parser.AddParsedSubObject(@__ctrl8);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n        </div>\r\n    "));
        }
        private global::System.Web.UI.HtmlControls.HtmlGenericControl @__BuildControldvFormulario()
        {
            global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl;
            @__ctrl           = new global::System.Web.UI.HtmlControls.HtmlGenericControl("div");
            this.dvFormulario = @__ctrl;
            @__ctrl.ID        = "dvFormulario";
            System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
    <!-- Page-Title -->
    <div class=""row marginInicio"">
        <div class=""col-sm-12"">
            <h4 class=""page-title"">Contabilidad</h4>
            <ol class=""breadcrumb"">
                <li>
                    <a href=""#"">Inicio</a>
                </li>
                <li class=""active"">Contabilidad
                </li>
            </ol>
        </div>
    </div>

    <br />
    "));
            global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl1;
            @__ctrl1 = this.@__BuildControldvSuccess();
            @__parser.AddParsedSubObject(@__ctrl1);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n    "));
            global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl2;
            @__ctrl2 = this.@__BuildControldvWarning();
            @__parser.AddParsedSubObject(@__ctrl2);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n    "));
            global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl3;
            @__ctrl3 = this.@__BuildControldvError();
            @__parser.AddParsedSubObject(@__ctrl3);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"

    <!-- filtros-->
    <div class=""row"">
        <div class=""col-md-12"">
            <div class=""card-box"">
                <div class=""row"">

                    <div class=""col-md-3 col-sm-6"">
                        <div class=""form-group"">
                            <label for="""">Concepto</label>
                            "));
            global::System.Web.UI.WebControls.DropDownList @__ctrl4;
            @__ctrl4 = this.@__BuildControlddlTipoTransaccion();
            @__parser.AddParsedSubObject(@__ctrl4);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                        </div>\r\n\r\n                        <div class=\"form-grou" +
                                                                          "p\">\r\n                            <label>Rut:</label>\r\n                          " +
                                                                          "  "));
            global::System.Web.UI.WebControls.TextBox @__ctrl5;
            @__ctrl5 = this.@__BuildControltxtRUT();
            @__parser.AddParsedSubObject(@__ctrl5);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                        </div>
                    </div>

                    <div class=""col-md-3 col-sm-6"">
                        <div class=""form-group"">
                            <label for="""">Sub Etapa:</label>
                            "));
            global::System.Web.UI.WebControls.DropDownList @__ctrl6;
            @__ctrl6 = this.@__BuildControlddlEstado();
            @__parser.AddParsedSubObject(@__ctrl6);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                        </div>\r\n\r\n                        <div class=\"form-grou" +
                                                                          "p\">\r\n                            <label for=\"\">Razon Social:</label>\r\n          " +
                                                                          "                  "));
            global::System.Web.UI.WebControls.TextBox @__ctrl7;
            @__ctrl7 = this.@__BuildControltxtBuscar();
            @__parser.AddParsedSubObject(@__ctrl7);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                        </div>
                    </div>


                    <div class=""col-md-3 col-sm-6"">
                        <div class=""form-group"">
                            <label for="""">Factura/Nota Crédito:</label>
                            "));
            global::System.Web.UI.WebControls.TextBox @__ctrl8;
            @__ctrl8 = this.@__BuildControltxtNroTransaccion();
            @__parser.AddParsedSubObject(@__ctrl8);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                        </div>\r\n\r\n                        <div class=\"form-grou" +
                                                                          "p dateIn\">\r\n                            <label>Fecha emision desde:</label>\r\n   " +
                                                                          "                         "));
            global::Microsoft.SharePoint.WebControls.DateTimeControl @__ctrl9;
            @__ctrl9 = this.@__BuildControldtcFechaInicio();
            @__parser.AddParsedSubObject(@__ctrl9);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                        </div>
                    </div>
                    <div class=""col-md-3 col-sm-6"">
                        <div class=""form-group"">
                            <label for="""">Nº Certificado:</label>
                            "));
            global::System.Web.UI.WebControls.TextBox @__ctrl10;
            @__ctrl10 = this.@__BuildControltxtNCertificado();
            @__parser.AddParsedSubObject(@__ctrl10);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                        </div>\r\n                        <div class=\"form-group " +
                                                                          "dateIn\">\r\n                            <label for=\"\">Fecha emision hasta:</label>" +
                                                                          "\r\n                            "));
            global::Microsoft.SharePoint.WebControls.DateTimeControl @__ctrl11;
            @__ctrl11 = this.@__BuildControldtcFechaFin();
            @__parser.AddParsedSubObject(@__ctrl11);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                        </div>\r\n                        <div class=\"form-group " +
                                                                          "rpsForm\">\r\n                            "));
            global::System.Web.UI.WebControls.Button @__ctrl12;
            @__ctrl12 = this.@__BuildControlbtnBuscar();
            @__parser.AddParsedSubObject(@__ctrl12);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"&nbsp;
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>

    <!-- tabla / grilla -->
    <div class=""row"">
        <div class=""col-md-12"">
            <table border=""0"" style=""table-layout: fixed; width: 100%;"">
                <tr>
                    <td>
                        <div class=""card-box"">
                            <div class=""table-responsive"">
                                "));
            global::System.Web.UI.WebControls.GridView @__ctrl13;
            @__ctrl13 = this.@__BuildControlResultadosBusqueda();
            @__parser.AddParsedSubObject(@__ctrl13);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                            </div>\r\n                        </div>\r\n           " +
                                                                          "         </td>\r\n                </tr>\r\n            </table>\r\n        </div>\r\n   " +
                                                                          " </div>\r\n\r\n\r\n\r\n"));
            return(@__ctrl);
        }
 public virtual void BuildFooterTemplate(Control _ctrl)
 {
     System.Web.UI.IParserAccessor __parser = ((System.Web.UI.IParserAccessor)(_ctrl));
     __parser.AddParsedSubObject(new LiteralControl("\n</table>"));
 }
Ejemplo n.º 28
0
        private global::System.Web.UI.HtmlControls.HtmlGenericControl @__BuildControldvFormulario()
        {
            global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl;
            @__ctrl           = new global::System.Web.UI.HtmlControls.HtmlGenericControl("div");
            this.dvFormulario = @__ctrl;
            @__ctrl.ID        = "dvFormulario";
            System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n    <br />\r\n    "));
            global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl1;
            @__ctrl1 = this.@__BuildControldvSuccess();
            @__parser.AddParsedSubObject(@__ctrl1);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\r\n    "));
            global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl2;
            @__ctrl2 = this.@__BuildControldvWarning();
            @__parser.AddParsedSubObject(@__ctrl2);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\r\n    "));
            global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl3;
            @__ctrl3 = this.@__BuildControldvError();
            @__parser.AddParsedSubObject(@__ctrl3);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
    <br />

    <div class=""row"">
        <div class=""col-md-12"">
            <div class=""card-box"">
                <div class=""row"">

                    <div class=""col-md-3 col-sm-6"">
                        <label for="""">Empresa</label>
                        "));
            global::System.Web.UI.WebControls.TextBox @__ctrl4;
            @__ctrl4 = this.@__BuildControltxtRazonSocial();
            @__parser.AddParsedSubObject(@__ctrl4);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                        \r\n                    </div>\r\n                    <div " +
                                                                          "class=\"col-md-3 col-sm-6\">\r\n                        <label for=\"\">Mes</label>\r\n " +
                                                                          "                       "));
            global::System.Web.UI.WebControls.DropDownList @__ctrl5;
            @__ctrl5 = this.@__BuildControlddlMes();
            @__parser.AddParsedSubObject(@__ctrl5);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                    </div>\r\n                    <div class=\"col-md-3 col-sm-6\">" +
                                                                          "\r\n                        <label for=\"\">Etapa</label>\r\n                        "));
            global::System.Web.UI.WebControls.DropDownList @__ctrl6;
            @__ctrl6 = this.@__BuildControlddlEtapa();
            @__parser.AddParsedSubObject(@__ctrl6);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                    </div>\r\n                    <div class=\"col-md-3 col-sm-6\">" +
                                                                          "\r\n                        <label>Ejecutivo</label>\r\n                        "));
            global::System.Web.UI.WebControls.DropDownList @__ctrl7;
            @__ctrl7 = this.@__BuildControlddlEjecutivo();
            @__parser.AddParsedSubObject(@__ctrl7);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                    </div>\r\n\r\n                </div>\r\n                <div clas" +
                                                                          "s=\"row\">\r\n\r\n                    <div class=\"col-md-3 col-sm-6\">\r\n               " +
                                                                          "         <label for=\"\">Canal</label>\r\n                        "));
            global::System.Web.UI.WebControls.DropDownList @__ctrl8;
            @__ctrl8 = this.@__BuildControlddlCanal();
            @__parser.AddParsedSubObject(@__ctrl8);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                    </div>\r\n                    <div class=\"col-md-3 col-sm-6\">" +
                                                                          "\r\n                        <label>Fondo</label>\r\n                        "));
            global::System.Web.UI.WebControls.DropDownList @__ctrl9;
            @__ctrl9 = this.@__BuildControlddlFondo();
            @__parser.AddParsedSubObject(@__ctrl9);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                    </div>\r\n                    <div class=\"col-md-3 col-sm-6\" " +
                                                                          "style=\"padding-top: 10px\">\r\n                        <br />\r\n                    " +
                                                                          "    "));
            global::System.Web.UI.WebControls.Button @__ctrl10;
            @__ctrl10 = this.@__BuildControlBtnBuscar();
            @__parser.AddParsedSubObject(@__ctrl10);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- END FILTROS-->

    <!-- tabla / grilla -->
    <div class=""row"">
        <div class=""col-md-12"">
            <div class=""card-box"">
                <div class=""table-responsive"">
                    <div style=""float: right; padding: 10px 5px;"">
                        "));
            global::System.Web.UI.WebControls.Button @__ctrl11;
            @__ctrl11 = this.@__BuildControlbtnGuardarResumen();
            @__parser.AddParsedSubObject(@__ctrl11);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                    </div>\r\n                    "));
            global::System.Web.UI.WebControls.GridView @__ctrl12;
            @__ctrl12 = this.@__BuildControlgvTotalizado();
            @__parser.AddParsedSubObject(@__ctrl12);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl(@"
                </div>
            </div>
        </div>
    </div>

    <div class=""row"">
        <div class=""col-md-12"">
            <table border=""0"" style=""table-layout: fixed; width: 100%;"">
                <tr>
                    <td>
                        <div class=""card-box"">
                            <div class=""table-responsive"">
                                <div style=""float: right; padding: 10px 5px;"">
                                    "));
            global::System.Web.UI.WebControls.Button @__ctrl13;
            @__ctrl13 = this.@__BuildControlbtnImprimir();
            @__parser.AddParsedSubObject(@__ctrl13);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                                    "));
            global::System.Web.UI.WebControls.Button @__ctrl14;
            @__ctrl14 = this.@__BuildControlbtnReporte();
            @__parser.AddParsedSubObject(@__ctrl14);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                                    "));
            global::System.Web.UI.WebControls.Button @__ctrl15;
            @__ctrl15 = this.@__BuildControlbtnGuardarTodo();
            @__parser.AddParsedSubObject(@__ctrl15);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                                </div>\r\n                                <br />\r" +
                                                                          "\n                                <br />\r\n                                <br />\r" +
                                                                          "\n                                "));
            global::System.Web.UI.WebControls.GridView @__ctrl16;
            @__ctrl16 = this.@__BuildControlResultadosBusqueda();
            @__parser.AddParsedSubObject(@__ctrl16);
            @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n                            </div>\r\n                        </div>\r\n           " +
                                                                          "         </td>\r\n                </tr>\r\n            </table>\r\n        </div>\r\n   " +
                                                                          " </div>\r\n\r\n    \r\n"));
            return(@__ctrl);
        }
 private void @__BuildControl__control3(System.Web.UI.Control @__ctrl)
 {
     System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n        \r\n    "));
 }
 private void @__BuildControlTree(global::MultiFiscalia.wpDocumentosFiscalia.wpDocumentosFiscalia.wpDocumentosFiscalia @__ctrl)
 {
     System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\r\n<script type=\"text/javascript\" src=\"../../_layouts/15/MultiFiscalia/Fiscalia." +
                                                                   "js\"></script>\r\n\r\n<script type=\"text/javascript\">\r\n    document.onkeydown = funct" +
                                                                   "ion () {\r\n        //109->\'-\' \r\n        //56->\'(\' \r\n        if (window.event && (" +
                                                                   "window.event.keyCode == 109 || window.event.keyCode == 56)) {\r\n            windo" +
                                                                   "w.event.keyCode = 505;\r\n        }\r\n\r\n        if (window.event.keyCode == 505) {\r" +
                                                                   "\n            return false;\r\n        }\r\n\r\n        if (window.event && (window.eve" +
                                                                   "nt.keyCode == 8)) {\r\n            valor = document.activeElement.value;\r\n        " +
                                                                   "    if (valor == undefined) { return false; } //Evita Back en página. \r\n\r\n      " +
                                                                   "      else {\r\n                if (document.activeElement.getAttribute(\'type\') ==" +
                                                                   " \'select-one\')\r\n                { return false; } //Evita Back en select. \r\n    " +
                                                                   "            if (document.activeElement.getAttribute(\'type\') == \'button\')\r\n      " +
                                                                   "          { return false; } //Evita Back en button. \r\n                if (docume" +
                                                                   "nt.activeElement.getAttribute(\'type\') == \'radio\')\r\n                { return fals" +
                                                                   "e; } //Evita Back en radio. \r\n                if (document.activeElement.getAttr" +
                                                                   "ibute(\'type\') == \'checkbox\')\r\n                { return false; } //Evita Back en " +
                                                                   "checkbox. \r\n                if (document.activeElement.getAttribute(\'type\') == \'" +
                                                                   "file\')\r\n                { return false; } //Evita Back en file. \r\n              " +
                                                                   "  if (document.activeElement.getAttribute(\'type\') == \'reset\')\r\n                {" +
                                                                   " return false; } //Evita Back en reset. \r\n                if (document.activeEle" +
                                                                   "ment.getAttribute(\'type\') == \'submit\')\r\n                { return false; } //Evit" +
                                                                   "a Back en submit. \r\n                if (document.activeElement.getAttribute(\'typ" +
                                                                   "e\') == \'input\')\r\n                { return false; } //Evita Back en inout. \r\n    " +
                                                                   "            else //Text, textarea o password \r\n                {\r\n              " +
                                                                   "      if (document.activeElement.value.length == 0)\r\n                    { retur" +
                                                                   "n false; } //No realiza el backspace(largo igual a 0). \r\n                    els" +
                                                                   "e {\r\n                        document.activeElement.value.keyCode = 8;\r\n        " +
                                                                   "            } //Realiza el backspace. \r\n                }\r\n            }\r\n\r\n    " +
                                                                   "        if (window.event && (window.event.keyCode == 13)) {\r\n                val" +
                                                                   "or = document.activeElement.value;\r\n                if (valor == undefined) { re" +
                                                                   "turn false; } //Evita Enter en página. \r\n                else {\r\n               " +
                                                                   "     if (document.activeElement.getAttribute(\'type\') == \'select-one\')\r\n         " +
                                                                   "           { return false; } //Evita Enter en select. \r\n                    if (" +
                                                                   "document.activeElement.getAttribute(\'type\') == \'button\')\r\n                    { " +
                                                                   "return false; } //Evita Enter en button. \r\n                    if (document.acti" +
                                                                   "veElement.getAttribute(\'type\') == \'radio\')\r\n                    { return false; " +
                                                                   "} //Evita Enter en radio. \r\n                    if (document.activeElement.getAt" +
                                                                   "tribute(\'type\') == \'checkbox\')\r\n                    { return false; } //Evita En" +
                                                                   "ter en checkbox. \r\n                    if (document.activeElement.getAttribute(\'" +
                                                                   "type\') == \'file\')\r\n                    { return false; } //Evita Enter en file. " +
                                                                   "\r\n                    if (document.activeElement.getAttribute(\'type\') == \'reset\'" +
                                                                   ")\r\n                    { return false; } //Evita Enter en reset. \r\n             " +
                                                                   "       if (document.activeElement.getAttribute(\'type\') == \'submit\')\r\n           " +
                                                                   "         { return false; } //Evita Enter en submit. \r\n                    if (do" +
                                                                   "cument.activeElement.getAttribute(\'type\') == \'input\')\r\n                    { ret" +
                                                                   "urn false; } //Evita Back en input. \r\n                    else //Text, textarea " +
                                                                   "o password \r\n                    {\r\n                        if (document.activeE" +
                                                                   "lement.value.length == 0)\r\n                        { return false; } //No realiz" +
                                                                   "a el backspace(largo igual a 0). \r\n                        //else {\r\n           " +
                                                                   "             //    document.activeElement.value.keyCode = 13;\r\n                 " +
                                                                   "       //} //Realiza el enter. \r\n                    }\r\n                }\r\n     " +
                                                                   "       }\r\n        }\r\n    }\r\n\r\n</script>\r\n\r\n"));
     global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl1;
     @__ctrl1 = this.@__BuildControldvWarning1();
     @__parser.AddParsedSubObject(@__ctrl1);
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\t\t\t\t\t\t\t\t\t\r\n"));
     global::System.Web.UI.HtmlControls.HtmlGenericControl @__ctrl2;
     @__ctrl2 = this.@__BuildControldvFormulario();
     @__parser.AddParsedSubObject(@__ctrl2);
     @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n"));
 }