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

Offset of SCrollBars

3 Answers 82 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Roger Barnes
Top achievements
Rank 1
Roger Barnes asked on 08 Jul 2008, 09:01 PM

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



3 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 11 Jul 2008, 11:41 AM
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
0
Roger Barnes
Top achievements
Rank 1
answered on 16 Jul 2008, 08:09 PM
I have the suggest style applied already, still doesn't keep the centered content from shifting left when a vertical scroll is added.
0
Svetlina Anati
Telerik team
answered on 17 Jul 2008, 02:33 PM
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
Tags
Splitter
Asked by
Roger Barnes
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Roger Barnes
Top achievements
Rank 1
Share this question
or