0

Is there any way how to force uppercasing value in textbox when typing? Not after value changed, but when typing.

Raptor
  • 392
  • 1
  • 4
  • 21

1 Answers1

1

You can use CSS for that:

<input id="textbox" style="text-transform: uppercase" />
<script>
    $("#textbox").kendoTextBox();
</script>

Example

Aleksandar
  • 1,029
  • 5
  • 6
  • Please check question - that's not what I want. I need uppercased value, not CSS transformation. – Raptor Jan 31 '23 at 17:15
  • 2
    It is part of the solution though. If you need the uppercased value then it needs to be converted when you post it or after the server receives it. Lots of different scenarios are discussed in this question: https://stackoverflow.com/questions/11100041/how-do-you-automatically-set-text-box-to-uppercase – NigelK Jan 31 '23 at 22:58
  • You said you need it *"when typing"*, so this answer satisfies that condition. – DontVoteMeDown Feb 03 '23 at 09:40