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
1175
UltraMaskedtextbox problems.........
posted

 Hi

there are some following problems in Ultramaskedtextbox: 

1 -this should not be allowed; i mean if the text is 999_-____-77__

2 -if there is text 868_-_____-____, then curson should be after 868, but if i click at the last of the textbox curson moves there, how to stop it.

3 - how to put curson at the stat of section in the ultramaskedtextbox. 

Regards

Asad 

  • 48586
    posted

    Hello,

     

    I am just checking about the progress of this issue. Did you solve your issue accordingly to the information that I provided  you?

     

    Thank you for using Infragistics Components.

  • 48586
    posted

    Hello,

     

    If you are setting your MaskInput to “####-###-####”, the default behavior of the control  is to disallow the customer to leave the component if the input value does not match to the mask. But if you want to manipulate the cursor you should set  SelectionStart property of the UltraMaskedEdit control. This property is used to returns or sets the position of the beginning of the text selection, if any. I have created a small sample to demonstrate the usage of the SelectionStart. I hope this help.

     

    Please let me know if you have any further questions.

    WinMaskEditBox.zip