view Agendas/trunk/src/Agendas.Web/Views/Shared/EditorTemplates/DateTime.cshtml @ 302:11dddcc9a862 tip

Historico de Eventos, no muestra bien la Url del Patrocinador.
author juanjose.montesdeocaarbos
date Tue, 14 Aug 2012 21:54:30 -0300
parents a731086c0b28
children
line wrap: on
line source

@model DateTime?
<script type="text/javascript">
    $(document).ready(function () {
        $("#@ViewData.TemplateInfo.GetFullHtmlFieldId(string.Empty)").datepicker({ dateFormat: 'dd/mm/yy' });
    });
</script>
@Html.TextBox(string.Empty, (Model.HasValue ? Model.Value.ToShortDateString() : string.Empty), new { style = "width: 80px" })