471,330 Members | 1,111 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,330 software developers and data experts.

DataGrid's TextBox KeyDown Event

Hi,

In my C# 1.1 windows form application, I have a KeyPress Event for a TextBox
in a DataGrid.
But I have some problem with the value of the KeyPress Event.
Saying the original value in that TextBox is AA, but when I key in another
character B after the 'AA',
the value in the KeyPress's sender is still 'AA', not 'AAB'.
How do I fix this problem?
Thanks for help.

protected void ItemCodeTextBox_KeyPress( object sender, KeyPressEventArgs e)
{
...

}

Jason
Aug 18 '08 #1
0 889

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Nick | last post: by
3 posts views Thread by bardo | last post: by
3 posts views Thread by Mike L | last post: by
9 posts views Thread by robert_rowe | last post: by
6 posts views Thread by Avi G | last post: by
2 posts views Thread by jd | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.