Hi,
Can any body help me, it's urgent in my project I want textbox, in that whenerver I type something it get converted to the uppercase letters at that time only
Hi,
Can any body help me, it's urgent in my project I want textbox, in that whenerver I type something it get converted to the uppercase letters at that time only
try to capture the ascii value of the charactrer that u type in top the textbox and then convert it to uppercase using the ascii value again.
Hi Honey,
It's just so simple.
Create a javascript function ConverToUpper() which will be called onChange() event of textbox (clientside)
Here is the body of ConverToUpper()
function ConverToUpper()
{
document.getElementByID('TextBox1').value = document.getElementByID('TextBox1').value.toUpperCase();
}
Got It.
--V V--
Vikas Vaidya
Ucase(string)
Private Sub Form1_Load(ByVal sender As System.Object, ByVal _
e As System.EventArgs) Handles MyBase.Load
' Set the TextBox's character casing.
TextBox2.CharacterCasing = CharacterCasing.Upper
End Sub
Thanx to MS...no need to write any code for that...
Set the text box's CharacterCasing property to CharacterCasing.Upper.
at design time