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
585
I want to embed richtextbox in ultragridcell
posted

Hi~

help me, please!

I need to show some subscript or superscript character in ultragridcell. So I'm using richtextbox in winform control.

richtextbox is fine when it belongs winform, but is not in ultragridcell. What's wrong with me?

I'll attach some sample project and screenshot.

thank you for your help!

RichTextBoxEditor.zip
Parents
No Data
Reply
  • 469350
    Offline posted

    The RichTextBox control is a wrapper for the Windows RichTextBox class. It doesn't support the control.Draw method, so it will not work in a ControlContainerEditor.

    There's a sample included with the Infragistics controls that demonstrates how to embed a RichTextBox in a cell. Assuming you chose to install the samples, it will be located under your Infragistics directory:

    ...\2014.1\Samples\Grid\CS\RichTextEditor

Children