How can I suppress scroll bars on ContentURL page view

5 posts, 0 answers
  1. Tomica
    Tomica avatar
    147 posts
    Member since:
    Apr 2008

    Posted 21 Sep 2012 Link to this post

    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.
  2. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 24 Sep 2012 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Tomica
    Tomica avatar
    147 posts
    Member since:
    Apr 2008

    Posted 25 Sep 2012 Link to this post

    Yes, CssClass does the trick, problem solved.
  5. Chad Hensley
    Chad Hensley avatar
    54 posts
    Member since:
    Feb 2005

    Posted 29 Sep 2012 Link to this post

    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.
  6. Chad Hensley
    Chad Hensley avatar
    54 posts
    Member since:
    Feb 2005

    Posted 29 Sep 2012 Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017