Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
220
Input Mask for Time in format hhhh:mm
posted

Hi,

I need to enter a time in the format hhhh:mm to be entered into i a grid.

I tried setting the MaskInput Property of the Column to "nnnn:nn" entering the time works fine, but as soon as the AfterCellUpdate is fired the value is set to hhhhmm without the ":". I need the Value as a String.

Is there any way to accomplish this

Edit: The Grid is databound so i cant set the type property and I tried setting a format too without succeeding