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

Horizontal Scrollbar in Rich text Box

6 Answers 287 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Albert
Top achievements
Rank 1
Albert asked on 18 Nov 2010, 12:41 PM
Hello ,

I am using Ribbon bar with  Rad Rich text Box. When I'll add image from ribbon bar's insert picture button, image will be added in Rich text box. I have not set any Horizontal or vertical Scrollbar to rich text box yet. But when image is lager than rich text box's height-width,then I need to show Horizontal and vertical Scrollbar to rich text box.

Right now it is showing only vertical scroll bar when image is large only and not horizontal.

It is not showing horizontal scroll bar even after I set it to rich text box.

Below is link for sample solution for it , Please tell me what to do to show Horizontal Scrollbar.
http://cid-b605d291965fb825.office.live.com/self.aspx/.Documents/ScrollIssue.rar

I am also attaching one snapshot of that.

-Thanks 




6 Answers, 1 is accepted

Sort by
0
Albert
Top achievements
Rank 1
answered on 23 Nov 2010, 01:25 PM
Hey..

If anybody has sample application in which horizontal scroll bar working when we add larger image , then please send me .

And my document layout mode is Flow.

-Thanks
0
Iva Toteva
Telerik team
answered on 23 Nov 2010, 06:00 PM
Hi Albert,

By design, when in Flow LayoutMode, the content of the document is flowing vertically and document width is always equal to available width in the RichTextBox. Thus no horizontal scrollbars are meant to be shown.

You can see that in MS Word when inserting a big picture in web Layout mode, a horizontal scroll-bar is shown, but when attempting to print the document for example, the picture is still being cropped.
In MS RichTextBox, the picture is being resized along with the rich textbox.

Overall, there are different approaches that can be adopted. We will consider them, but cannot promise anything specific.
 
Sincerely yours,
Iva
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Liza
Top achievements
Rank 1
answered on 21 Oct 2011, 03:19 PM
Hi

I have the same problem. When I add large image (width of the image is larger then width of Rich text Box), it doesn't showed in full size. I can't scroll it horizontally. How should I enable horizontal scrolling or reduce image size automatically?

Thank You
0
Boby
Telerik team
answered on 26 Oct 2011, 04:45 PM
Hello Liza,
This issue is fixed in 2011 Q3 Beta. You can check it at our beta demo page. The fix will be released with the next version, 2011 Q3.

Regards,
Boby
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Vennila
Top achievements
Rank 1
answered on 30 Sep 2014, 08:17 PM
We are using version 14.0.74.12, but still have same problem. do you have any sample project anywhere?
Thank you
0
Aylin
Telerik team
answered on 02 Oct 2014, 04:51 PM
Hi Vennila,

The provided version number is a little bit confusing to us since our version format is different, e.g. 2014.2 729 (Q2 2014 SP1).

Still, if you are using RadRichTextBox for Silverlight, we are already aware of this issue in the latest versions of the control. You can track our progress on this through the Horizontal scroll is not shown in Flow layout mode with big images item in the Ideas & Feedback Portal. I'm afraid I cannot suggest a workaround at this point.

Please excuse us for the inconvenience. Let me know if I can assist you with anything else.

Regards,
Aylin
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
RichTextBox
Asked by
Albert
Top achievements
Rank 1
Answers by
Albert
Top achievements
Rank 1
Iva Toteva
Telerik team
Liza
Top achievements
Rank 1
Boby
Telerik team
Vennila
Top achievements
Rank 1
Aylin
Telerik team
Share this question
or