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
1725
Getting the Control from EditorComponent
posted

Prior to 9.2 I used the EditorControlResolved method on a grid cell to obtain the control I needed to pass to obtain & set ValidationSettings. Starting with 9.2 this method has been depreciated and (per the message) should be replaced with EditorComponentResolved.

I'm trying to determine how best to find the same editor control from the editor component. I dont see a Control property on the component returned (or perhaps I missed it).  Is there some way through the component to get what I need here or perhaps a better way?

Thanks

Parents
  • 469350
    Suggested Answer
    Offline posted

    Hi Neil,

    Unless you are using the UltraContainerEditor, which is a component, or you are creating your own editor which is not a control, you can simply case the EditorComponent into a Control.

Reply Children