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

Input Problem with Right To Left

7 Answers 116 Views
Input
This is a migrated thread and some comments may be shown as answers.
alias
Top achievements
Rank 1
alias asked on 06 Apr 2012, 09:11 PM
Hi Dear telerik


when i use RadInput  with right to left text box, i have a bad problem: 
Warning icon is in the right side and this image conflict with text.
for this problem i used  this topic http://www.telerik.com/community/forums/aspnet-ajax/input/input-problem-with-right-to-left.aspx and my problem Solved.

when i Used  RadInput  with left to right text box for Numeric Entry Warning icon is in the left side and this image conflict with text.

i want warning icon is in Left Side and warning text is in right side for both of LTR and RTL

please Help me.

please see attached image : 

7 Answers, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 10 Apr 2012, 06:44 PM
Hello Ali,

Try using a div class to apply RTL mode to your controls. I have attached a sample project showing how to do that. Please give it a look and tell me know about the result.

Kind regards,
Eyup
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.
0
alias
Top achievements
Rank 1
answered on 11 Apr 2012, 03:25 PM
Hi Eyup

this Sample Does not Work for me.


Please Help me step by step.


tnx.
0
Eyup
Telerik team
answered on 13 Apr 2012, 11:41 AM
Hello Ali,

Another approach is to modify the CSS method shown in the provided topic by adding :
html body form .RadInput_Default .riError, html body form .RadInput_Error_Default
       {
           background-position: 3px -298px;
       }
html body .riTextBox
       {
           text-align: right !important;
       }
 
I have tried this styling and it works on my side properly. Please give it a try and inform me on the result.

Regards,
Eyup
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.
0
alias
Top achievements
Rank 1
answered on 14 Apr 2012, 12:32 PM
Hi Eyup

this css does not work for RTL Textbox

plz See Attachment


Tnx.
0
Shinu
Top achievements
Rank 2
answered on 16 Apr 2012, 11:52 AM
Hi alias,

Try adding the following css.

CSS:
<style type="text/css">
   .RadInput  .riError
     {
         background-position: 3px  -298px  !important ;
     }
</style>

Hope this helps.

Thanks,
-Shinu.
0
alias
Top achievements
Rank 1
answered on 17 Apr 2012, 02:38 AM
hi Shinu

this is not work for me


tnx.
0
Eyup
Telerik team
answered on 18 Apr 2012, 06:10 PM
Hi Alias,

The provided CSS works as expected on my end. Please look at the attached project where I included three text boxes in default, RTL and LTR mode and tell me what I am missing.

Greetings,
Eyup
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
Input
Asked by
alias
Top achievements
Rank 1
Answers by
Eyup
Telerik team
alias
Top achievements
Rank 1
Shinu
Top achievements
Rank 2
Share this question
or