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

Right to Left footer

1 Answer 21 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rizwan
Top achievements
Rank 1
Rizwan asked on 01 Oct 2010, 10:52 AM
Hi
   I am facing a problem which I can recreate on your site. Can you please go to 
http://demos.telerik.com/aspnet-ajax/grid/examples/styles/righttoleft/defaultcs.aspx

1) Change the page size to 50, on reload notice that the space between the navigation buttons and the page numbers is same as it was before , Where it should be reduced like it works in Left to right version.

2) Now change page size to 3 and see how it overflows the page numbers.


any CSS /JS patch to fix the issue would be highly appreciated, I am currently using  2010.2.826.35 version.

Best Regards
Rizwan Bashir

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 01 Oct 2010, 11:19 AM
Hello Rizwan,

Due to a rendering bug in IE in RTL mode, the pager numbers' wrapper needs a pixel width. The default width set in the RadGrid base stylesheet is 220px:

.RadGridRTL .rgNumPart
{
    width:220px;
}

You should adjust this value, according to your preferences. This is done in the demo like this:

.RadGrid .rgPager .rgNumPart
{
     width:80px;
}

Of course, this technique will not work well with ANY page size, but I am afraid there is no other workaround, except to create a CSS rule programmatically, depending on the page size and append it to the page as a string.

Sincerely yours,
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
Tags
Grid
Asked by
Rizwan
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or