Hi all
There is a usercontrol base on a ultraTextEditor which you can't input nonNumeric text into the usercontrol.
but when i set the cell's property EditorControl = myusercontrol, i still can input the nonNumeric text into the
cell, don't suggest to use another control . please help,it's Urgent ,thanks!
Hi,
It's hard to answer your question, since you didn't really explain how you prevented non-numeric input. I suspect you are probably use KeyDown and/or KeyPress, though. If that's the case, then it won't work in the grid, because those events will not fire for the editor control.
The grid does not actually use the EditorControl control that you specify. The editor control merely provides a copy of it's own internal editor to the grid. The grid already has it's own key events.
If you have the latest version of the grid, you can use the new ControlContainerEditor to embed your usercontrol (or any control) directly into a grid cell. So that would allow you to use the same control.
Thanks! Mike
this usercontrol is provided by another company! and the version of infragistic products is specifed ,we are
using the version 2.0