Hi,
I have a xamComboEditor, in which I would like to limit the length to 10. I want to restrict the user input after 10th character is keyed in. I tried using ValueConstraint, it has two issues, (1) it allows user to key in more than 10 characters and (2) it displays an error message after user tabs out of the cell. Neither of these behavior, I want. In my case user must be just restricted to type anything after the 10th character. Could you suggest how to go about this?
Thanks in advance.
Regards,
Balaji Rajendran
CCH - WK
Torrance, CA
Hello Balaji,
I have been looking into this for you and it seems there is no built-in way to achieve it. What I can suggest is that you retemplate the XamComboEditor so it uses a XamMaskEditor in its EditTemplate, which would provide the necessary functionality. You can start by copying its original templates to your project (you can get them form the DefaultStyles folder) and modify them of your choosing.
Please let me know if you require any further assistance on the matter.
Sincerely,
Petar Monov
Developer Support Engineer
Infragistics Bulgaria
www.infragistics.com/support
Hi Peter,
Thanks for responding. Could you please elaborate on this with an example? I am not sure of how to retemplate xamComboEditor with XamMastEditor. I request your assistance on this.
Regarads,
Balaji Rajendran.