C
Cincy Steve
Guest
I have a derived TextBox thats bound to a DataTable value using a BindingSource. I would like to let the user nullify the text if theres an initial value by hitting Escape. Im trying to do that by setting the Text property to string.Empty in the OnKeyPress method and then setting e.Handled = true. Its not working. The value remains as it was when the user entered the TextBox. I am executing BindingSource.EndEdit() in a Validated event handler in order to finalize the binding.
Is there any way to do what I want?
Thx. Steve
Continue reading...
Is there any way to do what I want?
Thx. Steve
Continue reading...