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
835
Display image in context menu.
posted

I think this is just a .net question, but I'm doing it in the context of a grid. I'm trying to display a context menu with a graphic, but the graphic isn't showing up in the image column. Please let me know what I am doing wrong. Thanks.

Parents
  • 48586
    posted

    Hello ,

     

    ContextMenu isn’t displayed when you right click on any column, which type is image, because when you use such column cells do not entered in edit mode and by default the regular menu is displayed only when there is a cell in edit mode. What you could do is to implement your own context menu for this type of columns. I have created a small sample to illustrate how you could do that.

     

    Let me know if you have any further questions.

    WinGridContextMenu.zip
Reply Children