4 Answers, 1 is accepted
0
Hi Smayr,
Thank you for writing.
The easiest way to do that would be to use the KeyPress event of the control:
I hope this helps.
Regards,
Stefan
Telerik
Thank you for writing.
The easiest way to do that would be to use the KeyPress event of the control:
void
radTextBox1_KeyPress(
object
sender, KeyPressEventArgs e)
{
e.KeyChar = Char.ToUpper(e.KeyChar);
}
I hope this helps.
Regards,
Stefan
Telerik
RadChart for WinForms is obsolete. Now what?
0
Smayr
Top achievements
Rank 1
answered on 30 May 2013, 09:01 AM
hello thank for u reply
I tried Private Sub txtWINSCOMP_KeyPress(ByVal sender As Object, ByVal e As KeyPressEventArgs)
e.KeyChar = [Char].ToUpper(e.KeyChar)
End Sub
but it didn t force the user data entry to be in upper case
and it seems whn i put a debug point
it s not going inside Private Sub txtWINSCOMP_KeyPress
what do you suggest
I tried Private Sub txtWINSCOMP_KeyPress(ByVal sender As Object, ByVal e As KeyPressEventArgs)
e.KeyChar = [Char].ToUpper(e.KeyChar)
End Sub
but it didn t force the user data entry to be in upper case
and it seems whn i put a debug point
it s not going inside Private Sub txtWINSCOMP_KeyPress
what do you suggest
0
Smayr
Top achievements
Rank 1
answered on 30 May 2013, 09:16 AM
I have found this article http://support.microsoft.com/kb/818363 and i would like to share on the forum
Character casing property solved my problem
thanks anyway
Character casing property solved my problem
thanks anyway
0
Hello Smayr,
The event was not hit because most likely you did not subscribe to it. However, thank you for sharing your solution with the community.
Regards,
Stefan
Telerik
The event was not hit because most likely you did not subscribe to it. However, thank you for sharing your solution with the community.
Regards,
Stefan
Telerik
RadChart for WinForms is obsolete. Now what?