Hello,
Is there a way to only allow digits and the period char to be entered into an editable cell of an UltraGrid without using a mask input?
The reason I am asking is because I have min/max ranges for each cell stored in a database and these values can be changed by the user, and if I use a mask input I have to find out how many prompt chars to show depending on the number of digits of the max value. So instead of showing prompt chars in the cell, I would like it to be completely blank when the user is typing into it, but only allow the user to enter digits and the period char to type in decimals.
Is there a way this can be done?
Thanks in advance,
Emma
Hi Emma,
I am attaching a sample that shows how I got it to work using the KeyDown Event.
Please let me know if this solution works for you and if you require further assistance.
Regards,Ari Shaposhnik