Mostrar mensagens com a etiqueta Informatica. Mostrar todas as mensagens
Mostrar mensagens com a etiqueta Informatica. Mostrar todas as mensagens

21 de junho de 2014

HTML: Divs on same line


 <div style="text-align:left; float: left;">
        <input name="submit" type="submit" id="button1" value="action1" />
</div>
<div style="text-align:right">
        <input name="submit" type="submit" id="button2" value="action2" />
        <input name="submit" type="submit" id="button3" value="action3"  />
</div>


read more

String Helper C#

String Helper C#

14 de junho de 2014

MVC Format Currency

<td class="TableGenericCell"
                                            colspan="4">
                                                @(Model.Saldo != null ? String.Format("{0:C}", Model.Saldo) : string.Empty)
                                        </td>

3 de maio de 2014

mvc 4 refresh partial view

<div id="CadastroHeader" style="border:1px solid blue">
@{
    Html.RenderAction(  "Index", 
                        "Cadastro", 
                        new { 
                                id_entidade = Model.id_Entidade,
                                tabname = "Header",
                                submit = "HeaderRefresh"
                            }
                        );
}
</div>

<script>

    $("#CadastroHeader").load("Cadastro",
                            {
                                id_entidade: "@(Model.id_Entidade)",
                                tabname: "Header",
                                submit: "HeaderRefresh"
                            });

</script>

19 de abril de 2014

avoid split / avoid unwanted page break in JasperReports


avoid split / avoid unwanted page break in JasperReports
Solution
1. All band:
Split Type = Immediate
2. All objects:
Position Type = Float
Stretch Type = No Strecth
2. Main report:
Ignore pagination = unchecked
3. Subreport:
Ignore pagination = checked

15 de março de 2014

8 de março de 2014

Jquery get value of Html.CheckBoxFor

@Html.CheckBoxFor(m => m.iSocio, new { id = "CBiSocio" })

Solution:
$("#CBiSocio").is(':checked')

LinkWithin

Related Posts with Thumbnails