annotate 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
rev   line source
150
19bab30521da Pasando DateTime a un EditorTemplates
Nelo@Guinea.neluz.int
parents:
diff changeset
1 @model DateTime?
19bab30521da Pasando DateTime a un EditorTemplates
Nelo@Guinea.neluz.int
parents:
diff changeset
2 <script type="text/javascript">
19bab30521da Pasando DateTime a un EditorTemplates
Nelo@Guinea.neluz.int
parents:
diff changeset
3 $(document).ready(function () {
202
a731086c0b28 Se soluciona ticket 174.
alabra
parents: 167
diff changeset
4 $("#@ViewData.TemplateInfo.GetFullHtmlFieldId(string.Empty)").datepicker({ dateFormat: 'dd/mm/yy' });
150
19bab30521da Pasando DateTime a un EditorTemplates
Nelo@Guinea.neluz.int
parents:
diff changeset
5 });
19bab30521da Pasando DateTime a un EditorTemplates
Nelo@Guinea.neluz.int
parents:
diff changeset
6 </script>
167
ea85bd893247 Ajustes menores de UI
nelopauselli
parents: 150
diff changeset
7 @Html.TextBox(string.Empty, (Model.HasValue ? Model.Value.ToShortDateString() : string.Empty), new { style = "width: 80px" })