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

right-to-left direction for TreeList pagerstyle

5 Answers 206 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
Hatef
Top achievements
Rank 1
Hatef asked on 14 Apr 2012, 02:16 PM
how apply right-to-left direction for  pagerstyle of TreeList?

5 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 16 Apr 2012, 11:24 AM
Hi Hatef,

I suppose you want to align the pager to right. If so please try the following css.

CSS:
<style type="text/css">
 .RadTreeList .rtlPager .rtlWrap
   {
     float: right !important;
     padding: 0 10px !important;
   }
</style>

If you want to change the direction to rtl please try the following css.

CSS:
<style type="text/css">
 .RadTreeList .rtlPager .rtlWrap
   {
     direction:rtl !important;
   }
</style>

Thanks,
-Shinu.
0
Hatef
Top achievements
Rank 1
answered on 21 Apr 2012, 05:45 AM
thank's for your answer
it worked but not apply for image on navigation button (first page, last page, ...).


Hatef
Thanks,
0
Shinu
Top achievements
Rank 2
answered on 23 Apr 2012, 07:23 AM
Hi Hatef,

I tried the following code and its working for me as expected.

ASPX:
<telerik:RadTreeList ID="RadTreeList1" runat="server" AutoGenerateColumns="true" Height="500px" PagerStyle-Mode="NextPrevNumericAndAdvanced" DataSourceID="SqlDataSource1" AllowMultiItemEdit="true" DataKeyNames="id" AllowPaging="true"  ParentDataKeyNames="parent" >
....
</telerik:RadTreeList>

CSS:
<style type="text/css">
  .RadTreeList .rtlPager .rtlWrap
   {
     direction:rtl !important;   
     float: right !important;
     padding: 0 10px !important;
   }
</style>

Please take a look into the attached image.
Also please give a screenshot of your requirement if it doesn't helps.

Thanks,
Shinu.
0
Hatef
Top achievements
Rank 1
answered on 23 Apr 2012, 03:30 PM
Hi Shinu

please view screenshot of my requirement (correct_screenshot.jpg).

Thanks,
Hatef.
0
Tsvetina
Telerik team
answered on 26 Apr 2012, 09:03 AM
Hello Hatef,

This cannot be fixed using only styles. I would advise you to better specify your own pager template that follows the layout requirements that you have.

Kind regards,
Tsvetina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
TreeList
Asked by
Hatef
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Hatef
Top achievements
Rank 1
Tsvetina
Telerik team
Share this question
or