This is a migrated thread and some comments may be shown as answers.

Multi-Line Textbox

1 Answer 2143 Views
TextBox
This is a migrated thread and some comments may be shown as answers.
n/a
Top achievements
Rank 1
n/a asked on 18 Jun 2020, 03:02 PM

Hello,

I am currently using the textbox UI component for my webapp and i'm utilizing the floating label and I'm very pleased with the outcome. I came across many situations where I need a text field that would benefit from multi line capabilities.

it seems like there are currently no UI components at this time that allow multi-line capabilities. Are there any solutions at all, at this time, that will allow me to use a text field with multi-line??

 

Thanks,

 

1 Answer, 1 is accepted

Sort by
0
Silviya Stoyanova
Telerik team
answered on 22 Jun 2020, 12:05 PM

Hello Malik,

Indeed, we can not propose a component with multi-line capabilities, but I would suggest using the HTML helper TextAreaFor. For example:

@Html.TextAreaFor(m => m.Description, new { @class = "k-textbox", style = "width: 100%;", placeholder="Description" })
Or as it is shown in the following Demo for MVC: https://demos.telerik.com/aspnet-mvc/styling

Kind Regards,
Silviya Stoyanova
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
TextBox
Asked by
n/a
Top achievements
Rank 1
Answers by
Silviya Stoyanova
Telerik team
Share this question
or