ContextMenu is deprecated in 2005 in favor of CotextMenuStrip. If you still
want to use ContextMenu, you have to assign it to the grid's ContextMenu
property at runtime and show it in the MouseUp event. See the ContextMenu
documentation for an example.
Hope that helps,
Andrej
"AlexS" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Net 2.0
>
> It looks like only ContextMenuStrip can work with DataGridView. Whatever I
> tried with ContextMenu it's not shown.
>
> Is this by design or I miss something simple?
>
|