B
bie2
Hi,
I have a datagrid with many records, I want to delete all of them.
I'm doing CTRL-A and press delete...I take a long time to delete it and
the UI is froze during that time.
So I would like to make this delete in a worker thread, but how can I
catch the delete command before it happen??
I'm doing a windows app.
A solution I have is capture the keypress event and see if it's delete
has been pressed and if a complete row has been selected and do the
worker thread there.
But is there an event generated like on the web datagrid, that have a
DeleteCommand event.
Thanks
Frank
I have a datagrid with many records, I want to delete all of them.
I'm doing CTRL-A and press delete...I take a long time to delete it and
the UI is froze during that time.
So I would like to make this delete in a worker thread, but how can I
catch the delete command before it happen??
I'm doing a windows app.
A solution I have is capture the keypress event and see if it's delete
has been pressed and if a complete row has been selected and do the
worker thread there.
But is there an event generated like on the web datagrid, that have a
DeleteCommand event.
Thanks
Frank