We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Auto Width and Height (Classic and Mobile)


How to set auto width and height after setting a long input in RTE whether in Classic or on Mobile?

                    editor.SetText(txtarea.value); //very long value

Thank You,

2 Replies

MB michael bilika May 30, 2016 08:40 AM UTC

Auto Height works but not yet on Width.

                editor.Width = Unit.Percentage(100);
                editor.ResizeMode = RTEResizeMode.AutoAdjustHeight;

KR Keerthana Rajendran Syncfusion Team June 2, 2016 01:56 PM UTC

Hi Michael, 
Sorry for the inconvenience caused. We require some more details to provide correct solution so can you please provide additional details on this. 
1) Confirm us whether the platform is MVC (classic)? 
2)The RTE height and width has to be set to the automatically depending on text value. Is this your requirement? 
3)Can you please share code snippets or sample to proceed further on  this? 

Live Chat Icon For mobile
Up arrow icon