|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to prevent press "SHIFT + ENTER" in datagrid?Hi,
Now, I have a datagrid with data input. The data type is nvarchar. While I press "SHIFT+ENTER", it moves to a new row for the same data row. Can I prevent it from happening? Thanks a lot, Ray ray wrote:
> Hi, You will need to inherit the datagridtextboxcolumn and overwrite the > Now, I have a datagrid with data input. The data type is nvarchar. While > I press "SHIFT+ENTER", it moves to a new row for the same data row. Can I > prevent it from happening? > Thanks a lot, > Ray > > keypress event. Apply your inherited datagridtextboxcolumn to your tablestyles. Chris |
|||||||||||||||||||||||