Hi,
I have a control that is basically an 'enhanced' version of the date time picker. It consist of a masked text box with a date time picker, where we can only see the button to open the calender. When I changed the value of the picker, the text box is affected and vice-versa, it handled date errors like we want it to. The advantage is that it is easier to use for our user (they wanted it so I can't really have anything else). On its own it works just fine but when I tried to put it into a datagridview column (I used some turorial on how to do that with a masked text box and just a calendar too and they seem to work ), it behave really weird. When I leave the cell by clicking elsewhere everything looks fine, but when I enter and leave by using the TAB key it usualy doesn't keep the value. What makes it ever more confusing is that on some occasion, which I couldn't explain, it seems to work while not on other. It seems like some event doesn't fire when I leave via the TAB key but I can't put my finger on it.
Since most of our user of power-user who would write tons of data while tabbing.. this is a real issue for us.
I have VS.NET 2005 on Windows XP.
I have a control that is basically an 'enhanced' version of the date time picker. It consist of a masked text box with a date time picker, where we can only see the button to open the calender. When I changed the value of the picker, the text box is affected and vice-versa, it handled date errors like we want it to. The advantage is that it is easier to use for our user (they wanted it so I can't really have anything else). On its own it works just fine but when I tried to put it into a datagridview column (I used some turorial on how to do that with a masked text box and just a calendar too and they seem to work ), it behave really weird. When I leave the cell by clicking elsewhere everything looks fine, but when I enter and leave by using the TAB key it usualy doesn't keep the value. What makes it ever more confusing is that on some occasion, which I couldn't explain, it seems to work while not on other. It seems like some event doesn't fire when I leave via the TAB key but I can't put my finger on it.
Since most of our user of power-user who would write tons of data while tabbing.. this is a real issue for us.
I have VS.NET 2005 on Windows XP.
Comment