Hi,
Is it possible to set the value of tri-state box to following:
0 - Unchecked
1- Checked
2- Grayed Box
3-Checked
Note: As of this moment, I can only display the Grayed Box when I set the value to DBNull.Value.
Regards,
Njel
Hi Njel,
I'm not sure I understand what you are asking. Can you explain in a little more detail?
Hi Mike,
Tri-state checkbox has three state which are the following.
Checked,Unchecked and Grayed Box.
To be able to display all of these states we have to set following values to the tri-state checkbox.
0 to display Unchecked state
1 to display Checked state
DBNull.Value to display Grayed box state.
Is it possible to set value=2 of tri-state checkbox and display Grayed Box?
Note: Grayed box is the state between checked and unchecked.