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
160
Context Menu for Item in MainColumn
posted

Hi All,

I have UltraListView with assigned EditorControl property:

this.ultraListView1.MainColumn.EditorControl = this.ultraFormattedLinkLabel1;

for the ultraFormattedLinkLabel1 I assigned ContextMenuStrip property: 

this.ultraFormattedLinkLabel1.ContextMenuStrip = this.contextMenuStrip1;

When I start application and right click on the MainColumn item, context menu doesn't show. What else should I make ?

 Thanks,

 Ruslan

  • 69832
    Offline posted

    When you set the EditorControl property, you are telling UltraListView to get its embeddable editor from that control. When you assign a context menu to a control, it is used only by that control. You have to assign it to the UltraListView's ContextMenuStrip property.