how to define the width of EditorFor?

0

I have this code in the view:

@Html.EditorFor(model => model.Fecha)

@Html.EditorFor(model => model.Fecha)

and in my model:

public class SaldoCursoParaleloParam
    {
        [Required(ErrorMessage = "Ingrese una Fecha Valida")]
        [DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}", ApplyFormatInEditMode = true)]
        [DataType(DataType.Date)]
        public DateTime Fecha { get; set; }
}

my EditorFor is defined as dateTimerPicker type

What I want to know is how can I define the width.

because it looks like this:

I do not want to use JQuery or JavaScript

    
asked by 30.10.2017 в 23:26
source

0 answers