Scrollbar problem in disabled RadTextBox under Internet Explorer

3 posts, 0 answers
  1. pawelg
    pawelg avatar
    9 posts
    Member since:
    Aug 2012

    Posted 01 Oct 2012 Link to this post

    I have a multiline RadTextBox on my page:
    <telerik:RadTextBox ID="DescriptionTextBox" TextMode="MultiLine" runat="server" Width="100%" Height="150px" />

    Later, this textbox is made read-only (from code-behind - depending on permissions of user). Under Chrome and Firefox everything works well - even though the textbox is disabled, I can use scrollbar and read all the text. Unfortunately, under IE (both IE8 and IE9) the scrollbar is shown but it's not enabled.

    Is there any way to make it usable?

    Thank you in advance.
  2. Maria Ilieva
    Maria Ilieva avatar
    4017 posts

    Posted 04 Oct 2012 Link to this post

    Hi Pawel,

    Please note that the described behaviour is actually browser behaviour and this is how the IE works even regular asp TextBox is used. This is a limitation in IE on which the disabled inputs disable their scrolling also. Possible approach in this case is to use the ReadOnly property instead of disabling the control.

    Maria Ilieva
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. pawelg
    pawelg avatar
    9 posts
    Member since:
    Aug 2012

    Posted 04 Oct 2012 Link to this post

    Hello Maria,

    Thank you for your answer, I didn't know about this limitation. Now it works perfectly with ReadOnly set to false.

    Best regards,
Back to Top