Forum  Core :: SDK (Vi...  Bug Reports  right to left in some controls
Previous Previous
 
Next Next
New Post 7/24/2011 9:13 PM
  mtahmasebi
47 posts
No Ranking


right to left in some controls 

Hello

I create a new project.

add a textbox as textbox1

add a new textbox as textbox2 and set textbox2 Multiline property to True and set it's Scrollbars property to Vertical

and also add a listbox

in web.config I've set Culture and uiCultue to fa-IR

in form constructor after InitializeComponent I've set "Right to left" property of all of these controls to No.

            textBox1.RightToLeft = Gizmox.WebGUI.Forms.RightToLeft.No;
            listBox1.RightToLeft = Gizmox.WebGUI.Forms.RightToLeft.No;
            textBox2.RightToLeft = Gizmox.WebGUI.Forms.RightToLeft.No;

When I run project, textbox1's RightToLeft is OK (it means textbox1 is Left to Right), but the others (textbox2 and listbox) remain right to left.

please see this screenshot.

tahmasebi.org/rtl.jpg

Thanks in advance

 
New Post 7/26/2011 4:29 PM
  palli
11838 posts
1st Level Poster




Re: right to left in some controls 

Hi mtahmasebi,

Thanks for the report.

I opened a new tracker entry on the subject. Please view it here and follow up on our progress.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 8/21/2011 12:43 PM
  mtahmasebi
47 posts
No Ranking


Re: right to left in some controls 
Modified By mtahmasebi  on 8/21/2011 3:44:07 PM)

Hi Palli

RichTextBox's Right To Left doesn't work, this control is diffrent from other simple Control, so I can't run a JQuery Script to Change the right to left of this control at run time.

Actually I need Right To Left of all of Control to work preciesly to done my job.

Finally, I must say that I'm really appreciate for your support.

 

 
New Post 10/2/2011 9:32 AM
  ori.cohen
4390 posts
1st Level Poster




Re: right to left in some controls 

Hello M.Tahmasebi,

My appologies for the very late reply.
Please confirm that you would like to change the direction of the HTML content of the RichTextBox's rich text area using JavaScript.
If this is infact the case, you will need to change the HTML of that rich text so the direction of the text will be the opposite of what it is by default on en-US.

I am not sure if you wish to do this on runtime or via configuration though.
More information could be helpful.

Regards,

Ori Cohen
Support Manager, the Visual WebGui team

 
New Post 10/10/2011 11:38 PM
  mtahmasebi
47 posts
No Ranking


Re: right to left in some controls 
Modified By mtahmasebi  on 10/11/2011 2:41:39 AM)

Hello O.Cohen,

I need to say thank you for your good support.

I  as a foreign developer need your full support of  foreign languages in your frameworks.

My language is Right to Left and after working on your framework for 6 month I saw some problems that I want to describe them here:

If I want to have a project that generally support right to left, I should set Culture and uiculture: fa-IR in web.config

Above settings makes entire project and its components Right to Left. But in some items  I want some components  not be right to left ,it means I set Right to Left property in runtime but unfortunately it doesn’t work correctly for some components such as  listbox and etc.

So this concern that I need sometimes to change the direction is very important to me, and also another important problem is that entire components can support right to left.

With completion and solve above problems I can say that this framework is good for foreigner that their languages are right to left.

Regards,

M.Tahmasebi

 
Previous Previous
 
Next Next
  Forum  Core :: SDK (Vi...  Bug Reports  right to left in some controls
CompanionKit Bottom
.NET Web, Cloud and Mobile application delivery platform | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2011 Visual WebGui®       Visual WebGui weblog on ASP.NET Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS