I want to constrain the user to should not enter the space in the text box widget in the run time.
How to achieve this one?
let me know anybody knows the solution.
The validator will fire once the textbox loses focus, e.g. the user clicks outside or presses ENTER or TAB. If the user selects some other control on the same mashup (e.g. OK button), the text box will lose its focus first, which still gives you the chance to validate his input.
thank you for your work around solution.
but my requirement still differs from this one.
I don't need to trigger the event to execute the validator. the widget itself need to constrain the white space.
Then take a look at "Masked Textbox" widget. In the "Mask" property specify something like "*****", then it will accept 5 alpha-numeric character and no whitespace.