RadTextBox CharacterCasing remove textbox focus

4 posts, 0 answers
  1. Alc
    Alc avatar
    2 posts
    Member since:
    Jun 2012

    Posted 06 Feb 2014 Link to this post

    Hi!

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

    Thanks
  2. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 07 Feb 2014 Link to this post

    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).

  3. UI for WinForms is Visual Studio 2017 Ready
  4. Alc
    Alc avatar
    2 posts
    Member since:
    Jun 2012

    Posted 07 Feb 2014 in reply to Stefan Link to this post

    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
  5. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 10 Feb 2014 Link to this post

    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).

Back to Top