Hi
I want to create a custom editor which will allow only particular key strokes i.e. my editor should allow only 0-9, + , - , / . I want to set this editor to a column in the grid.
Can someone help me how to do it.
Thanks in advance
Navi
Hi Navi,
Creating your own editor is pretty complex. There's a sample called the RichtextEditor sample which demonstrates how to create an editor that edits rich text.
But if you have the latest version of the controls (NetAdvantage 2009 Volume 2), then it's much easier, because we now have the UltraControlContainerEditor. This component allows you to embed any control you want into a grid cell. So you can write a control or UserControl that does what you want and then put it into the grid with just a few property settings or a few lines of code.