Hi,
We need an editor control that can provide the following features:1, limit the max length of input. (6 characters)2, validate the acceptable character range: 0~9, A~Z
could you please propose the suitable ultra editor control? And show some code for this requested feature.
ThanksFelix
Hello Felix,
I believe that in this case you could use the 'WinMaskedEdit' control. Please take a look at the following link:
http://help.infragistics.com/NetAdvantage/WinForms/2012.1/CLR2.0/?page=WinMaskedEdit.html.
You could use it with the following code(using the InputMask property) in order to limit the entry to 6 digits - 0-9:
ultraMaskedEdit1.InputMask = "nnnnnn";
And in order to create a specified mask you could also take a look at this link:
http://help.infragistics.com/NetAdvantage/WinForms/2012.1/CLR2.0/?page=Infragistics2.Win.UltraWinMaskedEdit.v12.1~Infragistics.Win.UltraWinMaskedEdit.UltraMaskedEdit~InputMask.html.
Please do not hesitate to ask if something comes up.
I wanted to know if you were able to solve your issue based on these suggestions or you still need help. Please let me know.
Hi
Thanks for your assiatance, it works.
Regards