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

Unwanted horizontal scrollbar in Caramel theme

2 Answers 84 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Kenny
Top achievements
Rank 1
Kenny asked on 19 May 2009, 03:37 PM
I'm using the Caramel theme and somehow, the last column is a little bit over on the right side and thus, making the horizontal scrollbar appears. If I changes the theme to Office_Black, everything is fine. Below is the code used and some screenshot to make it more clear:

<telerik:RadGridView Name="radGridView1" telerik:StyleManager.Theme="Caramel" 
                                     ShowGroupPanel="False" IsFilteringAllowed="True" 
                                     Foreground="Black" Margin="10,30,10,20" AutoGenerateColumns="False" 
                                     RowIndicatorVisibility="Collapsed" ColumnsWidthMode="Fill"
 
                    <telerik:RadGridView.Columns> 
                        <telerik:GridViewDataColumn UniqueName="Title" HeaderText="Title" IsFilterable="False" /> 
                        <telerik:GridViewDataColumn UniqueName="Artist" HeaderText="Artist" Width="Auto" /> 
                        <telerik:GridViewDataColumn UniqueName="Key" HeaderText="Key" Width="Auto"/> 
                    </telerik:RadGridView.Columns> 
                </telerik:RadGridView> 

You can see the filter icon got covered up for a small part on the last column (Key).

No horizontal scrollbar, and the icon shows up perfectly.

How do I fix this issue with the Caramel theme?

Thank you very much,
Kenny.

2 Answers, 1 is accepted

Sort by
0
Kalin Milanov
Telerik team
answered on 25 May 2009, 07:37 AM
Hi Kenny,

I apologize for the late response as it took us a while to figure out what exactly is causing your problem and whether or not it will be fixed with the SP2 release.

The horizontal scroll bar appears due to a left margin which is used to create the grid border. The bad news is the fix for this issue will not make SP2. However you could choose to edit the template of the grid and remove the margin in question. I have prepared a sample application which does just that. 

On another note Caramel theme support will be discontinued with SP2 so I would suggest you consider switching to another theme.

I hope this will work for you.

Best wishes,
Kalin Milanov
the Telerik team

Instantly find answers to your questions on the newTelerik Support Portal.
Check out the tipsfor optimizing your support resource searches.
0
Kenny
Top achievements
Rank 1
answered on 25 May 2009, 09:22 PM
Thank you very much, I appreciate your helps. I'll be using another theme if the Caramel theme will not be included in future releases.

Thanks again.
Tags
GridView
Asked by
Kenny
Top achievements
Rank 1
Answers by
Kalin Milanov
Telerik team
Kenny
Top achievements
Rank 1
Share this question
or