Does anyone know what properties to set to make a Kendo MVC Textbox Multiline?
 @(Html.Kendo().TextBox()
     .Name("txtComments")
     .Value(@Model.Comments)
     .HtmlAttributes(new { style = "width:100%" })
 )
Thanks.
Does anyone know what properties to set to make a Kendo MVC Textbox Multiline?
 @(Html.Kendo().TextBox()
     .Name("txtComments")
     .Value(@Model.Comments)
     .HtmlAttributes(new { style = "width:100%" })
 )
Thanks.
 
    
    If you want a textarea, I'd recommend doing it this way: 
@Html.TextArea("textarea", "", new { @class="k-textbox", style = "width: 100%;" })
as their demo shows. This will allow you to get the same Kendo styling, if that's what you're going for.
 
    
    If you want to use with a model:
@Html.TextAreaFor(x => x.Description, new { @class = "k-textbox", style = "width: 100%;", placeholder = "Notes... Descriptions..." })
 
    
    My guess is that this is what you're looking for:
@Html.Kendo().TextArea()
Rather than:
@Html.Kendo().TextBox()
I found this question after wondering why TextBox didn't have a "Multiline" property or something similar... Turns out I was using the inappropriate object.
https://demos.telerik.com/aspnet-mvc/textarea
(Note that TextArea() may have not been available when the question was created)
