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
20
Custom Cell Editor
posted

Hi , anybody can tell me ,

Q: Can i use inherted third party control which is a UserControl as embeded cell editor ? Detail , the actual scenario is that i have a composite usercontrol which is composed of a TextBox and Button controls, this control fulfil my custom need,then i make a inherited control which inherit my usercontrol and now want to make  this inherited control as embeded cell editor , it could be possible or not .

my second question is second

Q: Can i use UserControl as embededable cell editor ?

Thanks

Regards Salahuddin

 

Parents
  • 469350
    Verified Answer
    Offline posted

     Hi Salahuddin,

        You cannot simply embed any control in a grid cell. You would need to create an editor, which is not a trivial task and can take several days if not weeks even for an experienced developer. I would not recommend attempting this unless you own a subscription with source code so you can use the existing editors as examples or unless you have no other choice.

        If you just need a button and text in a cell, then the grid can already do this. All you have to do is set the Style on the column to EditorButton.

        If you need something more complex than that, then you can probably get what you want using the existing editors with editor buttons. You can even add a custom dropdown to a grid cell and drop down any control you want very easily by using a DropDownEditorButton. 

         

Reply Children
No Data