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

[Solved] asp.net grid with RTL direction

6 Answers 258 Views
Grid
This is a migrated thread and some comments may be shown as answers.
avner avner
Top achievements
Rank 1
avner avner asked on 02 Feb 2010, 03:19 PM
Hello,

Before I purchase the controls, I make a small check if they support right to left.

I'm having a problem with RadGrid, in my MasterPage I must define the body direction to "RTL":
<body Direction="rtl">

Then i define in my grid  <MasterTableView Dir="RTL">, as a result the filter window is open all over the page width.


Is there a solution to the problem?

Thanks in advance

Avner

6 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 03 Feb 2010, 02:01 PM
Hello Avner,

Here is an online demo about the RadGrid RTL support. The filtering menu works as expected:

http://demos.telerik.com/aspnet-ajax/grid/examples/styles/righttoleft/defaultcs.aspx 

Can you please provide some more information (simple runnable page), so that we can test the filtering menu?

By the way, the correct setting is

<body dir="rtl">

or with CSS:

body
{
      direction: rtl ;
}


Regards,
Dimo
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
0
avner avner
Top achievements
Rank 1
answered on 04 Feb 2010, 01:24 PM
Hello telerik support team,

You can see on the filter.jpg file, that when i click on the filter options, it open the filter window all over the screen.
I want that the filter window will be small as the filter window in the example you gave me.

In Additional i added the aspx and the cd code screen shout (aspx.jpg,cs.jpg).

You have any idea how i can fix this bug, so the page align will be from right to left(<body dir="rtl>) , and the grid aligan will be from right to left as well?

Regards,
Avner
0
Dimo
Telerik team
answered on 04 Feb 2010, 04:34 PM
Hi Avner,

What do you have in the CSS file? Does removing the CSS file prevent the problem with the filtering menu?

Kind regards,
Dimo
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
0
avner avner
Top achievements
Rank 1
answered on 07 Feb 2010, 07:09 AM
Hello,

In the current project (the example page that i upload)  my css file is empty, i try to remove the css link tag, and i still have the same problem.

You can try the same example:
     1. open new project
     2. add <body dir="rtl">
     3. add the grid into the page.
     4. add <mastertableview dir="RTL" >
     5. write a smiple datasource and bound it.

If you dont have the same problem, please update your example project so i can examine the code.
Or if  you have any other idea what cold be the problem, please let me know

Avner.
0
avner avner
Top achievements
Rank 1
answered on 07 Feb 2010, 11:45 AM
Hello again,

I found out that the problem is with Internet Explorer 6.0

Do your grid support right to left filters with IE 6.0?

there is anything i shold add to fix that problem on IE 6.0?


Avner.
0
Accepted
Dimo
Telerik team
answered on 08 Feb 2010, 02:28 PM
Hello Avner,

Now I see. Please add this CSS rule to your page:

.RadMenu_Context_rtl
{
      direction:rtl !important;
}


Greetings,
Dimo
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
Tags
Grid
Asked by
avner avner
Top achievements
Rank 1
Answers by
Dimo
Telerik team
avner avner
Top achievements
Rank 1
Share this question
or