Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
Hello,
I am new to Kendo grid. I would like to add a textarea for inline editing of a grid field. Currently in edit mode there is a text box and I want to replace this with a multi line textarea. My grid is using Ajax.
thanks.
Hi I solved by:
Creating EditorTemplate TextArea.cshtml in Shared/EditorTemplates
@Html.TextAreaFor(m=>m, new { rows = 5, @style = "color:red", cols="35"})
Referenced in grid
columns.Bound(p => p.Comments).Title("Comments").Width(300).EditorTemplateName("TextArea");
Another option is to define Telerik UI for ASP.NET Core TextArea editor into the "TextArea" editor template:
@model string @(Html.Kendo().TextAreaFor(m => m) .Rows(5) .Cols(35) .HtmlAttributes(new { style = "color: red;" }) )