-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: Mrinal
Message 1 in Discussion
Hi Everybody , There's an issue related to winforms datagrid , i want to color
specific datagrid row based on some boolean value in the entity ( Data Table ) binded
to it , which is infact not an issue , as i have made a custom control derived from
DataGridTextBoxColumn that over rides the base class paint method and it delivers
appropriate result , but the problem that comes is , for this custom control , if i
want click in a cell to result in selection of whole row , using a code in Mouse Up
Event , it doesn't works as whole thing get re painted by logic in the custom control
and i am not able to get the solution for the problem . Any suggestions are welcome
, Code for Mouse Up event is as follows : 1. Get the Hit Test Object . 2. Get the
Point being Clicked . 3. Check if It's a Cell . 4. Select Whole Row . for any normal
DataGrid TextBox Column This thing Works Perfectly Fine . and Custom Control
mentioned above is one mentioned on Sync Fusion Site . regards , Mrinal
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]