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

How can I suppress scroll bars on ContentURL page view

4 Answers 60 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Tomica
Top achievements
Rank 2
Tomica asked on 21 Sep 2012, 10:49 PM
I have a tab strip paired with a multi-page control, latest release for 2012.

Sometimes the content accessed via ContentURL is larger than the size of the PageView page.

This triggers scroll bars.

I have set scrollbars on the parent multi-page to "none" and also on the particular page view container itself.

Neither of these settings suppress the scroll bars.

How to do I get rid of them?

I want the excess content in the URL to be clipped.

4 Answers, 1 is accepted

Sort by
0
Kate
Telerik team
answered on 24 Sep 2012, 03:46 PM
Hi Tomica,

In general the RadMultiPage control as well as the RadPageView-s have a CssClass property that you can use to a assign different css classes to the control and customize the appearance of the control. In case this does not help, however, I would need to test the page that you have locally so I can help you in your particular case. 

Greetings,
Kate
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.
0
Tomica
Top achievements
Rank 2
answered on 25 Sep 2012, 04:49 PM
Yes, CssClass does the trick, problem solved.
0
Chad Hensley
Top achievements
Rank 1
answered on 29 Sep 2012, 05:02 AM
Hello,

Can you share your solution?  

I am actually trying to do the same thing, but I can't get it to work the way I want.

I use overflow:hidden in body of the aspx that is target of the contenturl.  That hides the scollbars fine.  

The problem is that the pageview doesn't expand to 100% without the scroll bars.  I want the pageview to force the main RTS to have a larger scrollbar, while suppressing the pageview scrollbar.

The reason I need to suppress the scrolling is because that aspx actually has tabs too, and those tabs disappear under the main tabs when scrolling.

I can't use child tabs because of performance issues, so I had to basically embed one RTS in another.



Thanks for any help you can provide.
0
Chad Hensley
Top achievements
Rank 1
answered on 29 Sep 2012, 05:19 AM
Nevermind, I got it to work by setting the height to 1000px instead of 100%.  

It would be nice if the PageView could expand to 100% of the contenturl height.
Tags
TabStrip
Asked by
Tomica
Top achievements
Rank 2
Answers by
Kate
Telerik team
Tomica
Top achievements
Rank 2
Chad Hensley
Top achievements
Rank 1
Share this question
or