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

RadTextBox CharacterCasing remove textbox focus

3 Answers 121 Views
TextBox
This is a migrated thread and some comments may be shown as answers.
Solmanager
Top achievements
Rank 1
Solmanager asked on 06 Feb 2014, 01:00 PM
Hi!

When I change the value of RadTextBox CharacterCasing to CharacterCasing.Upper, this RadTextBox lost the focus.
Why? Does it has a solution?

Thanks

3 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 07 Feb 2014, 08:50 AM
Hello,

Thank you for writing. 

Can you please tell me how can I reproduce the undesired behavior? How are you changing the CharacterCasing property of the control - in the constructor, on Load, in some other event?

I am looking forward to your reply. 

Regards,
Stefan
Telerik

Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).

0
Solmanager
Top achievements
Rank 1
answered on 07 Feb 2014, 10:38 AM
Hello Stefan,

I'm changing the CharacterCasing in the Window Load Event.
The sintax which I use is the next one:

public Binding Bind(IBindableComponent control)
{
    (control as Telerik.WinControls.UI.RadTextBox).TextBoxElement.TextBoxItem.TextBoxControl.Focused;// Is True
    (control as Telerik.WinControls.UI.RadTextBox).TextBoxElement.TextBoxItem.TextBoxControl.CharacterCasing = CharacterCasing.Upper;
    (control as Telerik.WinControls.UI.RadTextBox).TextBoxElement.TextBoxItem.TextBoxControl.Focused;// Is False
}

Regards,
Juan
0
Stefan
Telerik team
answered on 10 Feb 2014, 09:39 AM
Hello Juan,

Thank you for writing back.

On my end the characters in the text box are correctly upper cased. Please refer to the attached sample application which I have used for my tests.

If you continue experiencing issues, please modify the sample I have provided and get back to me with it so I can investigate the precise case.

I have converted this forum thread into a support ticket in order to allow attachments. You can find it in your Telerik account.

I am looking forward to your reply. 

Regards,
Stefan
Telerik

Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).

Tags
TextBox
Asked by
Solmanager
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Solmanager
Top achievements
Rank 1
Share this question
or