Combobox uppercase input and keypress replace

8 posts, 0 answers
  1. Broken
    Broken avatar
    3 posts
    Member since:
    Jul 2011

    Posted 15 Jul 2011 Link to this post

    1) Is there a way to force input in uppercase?
    2) What if I need to replace some key press with other key press? For example if the user presses "D" key I want to insert some predefined character no matter what is current active input language. Where is the best place in code to hook this functionality in? (override method, event handling) I want this replace function to execute before anything else (before autocomplete occurs)
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 21 Jul 2011 Link to this post

    Hi,

    What exactly do you mean by force the input? Could you please elaborate more on what are you expecting this behaviour to be. Initially, you can always implement validation to the ComboBox.
    As for the key presses - you can use the TextInputStart event.

    Hope this information helps.

    Kind regards,
    Konstantina
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  3. DevCraft banner
  4. Broken
    Broken avatar
    3 posts
    Member since:
    Jul 2011

    Posted 21 Jul 2011 Link to this post

    1. By "force the input" I mean, that no metter in which case user eneters text, I want it to be (not just appear) in uppercase, and as soon as user types it (not on lost focus).

    2.Key presses: yes I can use TextInputStart to catch char press, but it's readonly solution, I can't change it to other Char, the only way to effect Text is using TEXT property and I'm sure setting it will messup AutoComplete, fire tons of cascading events, messup with binding, and call lot's of code I don't want to call.
  5. Mike
    Mike avatar
    10 posts
    Member since:
    Jun 2011

    Posted 21 Jul 2011 Link to this post

    I have the same issue.
  6. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 22 Jul 2011 Link to this post

    Hi,

    I am afraid that both cannot be achieved with the current implementation of the control. If we receive more clients' requests we will consider putting it in our development plans.

    Kind regards,
    Konstantina
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  7. Sven
    Sven avatar
    10 posts
    Member since:
    Mar 2012

    Posted 07 Mar 2012 Link to this post

    Then please consider it

    brgds
    Sven Weiberg
  8. danparker276
    danparker276 avatar
    389 posts
    Member since:
    Aug 2010

    Posted 02 Nov 2012 Link to this post

    Is there an issue I can vote on for this?  I'd like it too.
  9. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 08 Nov 2012 Link to this post

    Hello,

    Here you could vote for the issue and track its status.

    All the best,
    Konstantina
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top
DevCraft banner