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
1120
Custom Editror
posted

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

 

 

 

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    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.

Children
No Data