Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @if (!Model.Id.Equals(null))
- {
- @Html.DropDownListFor(m => m.Modificar.IdClase, new SelectList(Model.ListaClases, "IdClase", "Clase", Model.Modificar.IdClase), new { @class = "input form-control input-lg", @required = "required", @style = "height: 40px; font-size:16px" })
- }
- else
- {
- @Html.DropDownListFor(m => m.ListaClases, new SelectList(Model.ListaClases, "IdClase", "Clase"), new { @class = "input form-control input-lg", @required = "required", @style = "height: 40px; font-size:16px" })
- }
- var clases = $('#Id').val() != "" ? $('#Modificar_IdClase') : $('#ListaClases');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement