How can I autosize a textarea in .net core depending on the text inside?

1 Answer 227 Views
TextArea
SK
Top achievements
Rank 2
Iron
Iron
SK asked on 03 Sep 2021, 07:19 PM
I have a textarea that displays a specific column's text depending on which row is selected. How can I have this textarea autosize depending on its contents?

1 Answer, 1 is accepted

Sort by
0
Mihaela
Telerik team
answered on 08 Sep 2021, 11:57 AM

Hello Sabri,

You could achieve the desired result by using jQuery as per the following Dojo example: 

https://dojo.telerik.com/UKOSuWoV

Also, check out this SO thread where have been discussed different approaches.

 

Regards, Mihaela Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
TextArea
Asked by
SK
Top achievements
Rank 2
Iron
Iron
Answers by
Mihaela
Telerik team
Share this question
or