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
60
user control in ultrawingrid
posted

hi everybody, i hope somebody help me, i need to do a user control that i can see it in a ultrawingrid, i saw an example with the ricthTextEditor, but i would like read documentation about that task!!!! in fact i need a user control with the ultrawincombo's features embebed in a ultragridcell that i can type in the combo's head

Parents
  • 469350
    Verified Answer
    Offline posted

     Hi,

        In order to truly embed a control in a grid cell, you would need to implement an EmbeddableEditorBase. This is not a trivial task and if you take a look at the code for the RichTextEditor sample, you can see it requires quite a bit of code. Even an experienced developer can takes days or even weeks writing an editor. So I would advise against it unless you can't acheive what you want any other way. 

        A very easy alternative is to create a custom dropdown in the grid. You can use an UltraTextEditor control and add a DropDownEditorButton to it's ButtonsRight collection, and then assign any control you want (like a UserControl) to the Control property of the button. This will create an instant dropdown with the control ovf your choice and you can assign this UltraTextEditor as the EditorControl of the grid column to provide a custom dropdown in the grid. You then handle a few events to control what happens when you drop down or close up the combo.

         

Reply Children