Hi all,
I have a datagrid that works great the only problem I have is when a user selects the row to alter the contents with the select button.
What happens now is I set a certain cell.text = "" withthis code.
when I do that the textbox is no longer editable by the user
I have a test that if they enter nothing in that field when they try to update it doesn't and returns a message and then the textbox becomes visible and theuser can then enter text.
my question is this:
Is there a way to clear the contents of a datagrid celland keep the textbox active? or how to reactivate the text box with out having to go through the error process?
Any suggestions would be greatly appreciated.
Thanks
Dan B.
To go where no programmer has gone before.
I have a datagrid that works great the only problem I have is when a user selects the row to alter the contents with the select button.
What happens now is I set a certain cell.text = "" withthis code.
Code:
dgEquip.Items(dgEquip.EditItemIndex).Cells(5).Text = ""
I have a test that if they enter nothing in that field when they try to update it doesn't and returns a message and then the textbox becomes visible and theuser can then enter text.
my question is this:
Is there a way to clear the contents of a datagrid celland keep the textbox active? or how to reactivate the text box with out having to go through the error process?
Any suggestions would be greatly appreciated.
Thanks
Dan B.
To go where no programmer has gone before.