This is a migrated thread and some comments may be shown as answers.

Context menu with no rows

2 Answers 62 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Kim
Top achievements
Rank 1
Kim asked on 26 Jul 2013, 07:23 PM
Hi,

I need to be able to popup a context menu if the user right clicks on the grid, even if there are no rows. I want to be able to show a "New" context menu item.

i can't seem to get the menu to show. It only work if i right click on a row.

Thanks,

Kim

2 Answers, 1 is accepted

Sort by
0
Kim
Top achievements
Rank 1
answered on 26 Jul 2013, 11:31 PM
Hi,

I found away around this. Thanks.

0
Dimitar
Telerik team
answered on 31 Jul 2013, 04:44 PM
Hi Kim,

Thank you for writing.

I am glad that you have found a solution for your problem. Also in the following topic you can find out how to open a context menu in  a mousedown event: Context Menus

I hope this will be useful. Should you have further questions, I would be glad to help.

Regards,
Dimitar
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
GridView
Asked by
Kim
Top achievements
Rank 1
Answers by
Kim
Top achievements
Rank 1
Dimitar
Telerik team
Share this question
or