Offset of SCrollBars

4 posts, 0 answers
  1. Roger Barnes
    Roger Barnes avatar
    38 posts
    Member since:
    May 2008

    Posted 08 Jul 2008 Link to this post


    I have a RadSplitter in a user control which is a tabstrip, that's used in a master page, with the splitter's FullScreenMode="True", which seems to work fine.

    I change  the ContentURL in my Pane depedning on the tab menu item clicked, which loads the page, each page's conent is loaded centerd, however, when my content grows to the point that I need scroll bars, they are added by the splitter, but my content shifts to the left the same width of the vertical scrollbar.

    I've tried paddings, borders, etc. etc. with no luck.

    I'd like my content to stay in a static centered position, with or without the vertical scroll bar of the splitter.

    Ideas!

    Thanks in advance.

    Roger



  2. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 11 Jul 2008 Link to this post

    Hello Roger,

    Since I do not have your code I am not quite sure about your exact setup and I can only assume what could be causing the problem.

    I suggest to put the following style on the page, which you load in the RadPane:

    <style type="text/css">  
        html, body, form  
        {  
          height: 100%;  
          margin0px;  
          padding0px;  
        }  
        </style> 

    I also prepared a sample test project, based on the provided information. In case my suggestion does not help, please modify my project in order to reproduce the problem, open a news support ticket and send it back to me. Once I receive it, I will do my best to help.


    Greetings,
    Svetlina
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Roger Barnes
    Roger Barnes avatar
    38 posts
    Member since:
    May 2008

    Posted 16 Jul 2008 Link to this post

    I have the suggest style applied already, still doesn't keep the centered content from shifting left when a vertical scroll is added.
  4. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 17 Jul 2008 Link to this post

    Hello Roger,

    I assume that the problem comes from CSS styles which you have added or which is probably derived from another control. I cannot tell you exactly what is the reason until I do not have your project.

    That is why I want to kindly ask you to modify my project in order to replicate the problem or create your own, fully runnable reproduction project, open a new support ticket and send it to me along with some screenshots. This will help me locate the exact problem in your particular layout and I will modify it for you in order to meet your requirements.


    Sincerely yours,
    Svetlina
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top