help! datagrid lostfocus not fired

B

Batterhead

hi there,

i'm using c# and .netcf2 to develop a user control which embeds 2
datagrid controls (dgA and dgB). what i want to do is when the user
tabs around dgA or dgB, the current (highlighted) row in the datagrid
that losing focus to be unhighlighted, that is reasonable. however,
the datagrid that losing focus does not fire the lostfocus event and i
don't have a chance to unhighlight that non-current row, and i always
see multiple rows in dgA and dgB are highlighted at the same time.
any idea?

thanks
batterheadccw
 
B

Batterhead

hi there,

i'm using c# and .netcf2 to develop a user control which embeds 2
datagrid controls (dgA and dgB). what i want to do is when the user
tabs around dgA or dgB, the current (highlighted) row in the datagrid
that losing focus to be unhighlighted, that is reasonable. however,
the datagrid that losing focus does not fire the lostfocus event and i
don't have a chance to unhighlight that non-current row, and i always
see multiple rows in dgA and dgB are highlighted at the same time.
any idea?

thanks
batterheadccw

no one knows why?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top