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

Appearance of the RadGrid page buttons

2 Answers 95 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Cedo
Top achievements
Rank 1
Cedo asked on 13 Oct 2010, 05:10 PM
Hello

We are using "out of the box" RadGrids with no special formattings other than Skin="Sunset". Our RadGrid page buttons are somehow split in the middle what makes them too wide and strange looking:

Screenshot of our RadGrid page buttons

Is this the normal appearance of RadGrid buttons? Do we have to do some custom formatting to make them look "normal" (not split and not so wide) ?

This is how our RadGrid is defined in the aspx file:

<telerik:RadGrid ID="RadGridApplicationLogs" runat="server" 
    AllowFilteringByColumn="True" AllowPaging="True" AllowSorting="True" GridLines="None" DataSourceID="ObjectDataSourceApplicationLogs" ShowGroupPanel="False" Skin="Sunset" >
    <MasterTableView AutoGenerateColumns="False" DataKeyNames="ApplicationLogID" CommandItemDisplay="Bottom">
        <Columns>
...
        </Columns>
    </MasterTableView>
    <ClientSettings AllowDragToGroup="False" EnablePostBackOnRowClick="true">
        <Scrolling AllowScroll="True" UseStaticHeaders="True" ScrollHeight="300px" />
        <Selecting AllowRowSelect="True" />
        <Resizing AllowRowResize="False" EnableRealTimeResize="False" ResizeGridOnColumnResize="True" AllowColumnResize="True"></Resizing>
    </ClientSettings>
</telerik:RadGrid>
 
Thanks

2 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 14 Oct 2010, 11:25 AM
Hello Cedo,

Surely this is not the expected appearance of the RadGrid page number buttons. You can see them here:

http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/paging/defaultcs.aspx

You probably have some custom width CSS styles defined for <a> or <span> elements, which influence RadGrid. Check this using Firebug.

Regards,
Dimo
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Cedo
Top achievements
Rank 1
answered on 21 Oct 2010, 02:33 PM

Hello Dimo

Thank you very much for your reply. Your suggestion was right on the spot.  The problem was indeed due to a CSS style for <a> elements. After removing the following CSS style definition the page buttons appeared normal and correct:

a, a:visited {
                text-decoration: none;
                width: 100px;
}

Thanks and Regards

Tags
Grid
Asked by
Cedo
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Cedo
Top achievements
Rank 1
Share this question
or