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

Radgrid, Grouping and Context Menu

2 Answers 154 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Toxic
Top achievements
Rank 1
Toxic asked on 18 Jun 2011, 12:26 AM

For some reason I am having a problem with a Radgrid's  Context Menu when only some of the groups are expanded in a radgrid. 

The Grid is grouped using an expression. And when all groups are expanded a right click fires the Context Menu.

However if any of the groups are collapsed the event does not fire and the normal browser right click menu appears. If I then expand the collapsed item the context menu re appears on right click. 

Any ideas?

Cheers

Tox

2 Answers, 1 is accepted

Sort by
0
Toxic
Top achievements
Rank 1
answered on 18 Jun 2011, 05:47 PM
Ok, I have found a work around, but I'm confident this to be a bug. 

If I set GroupLoadMode = GridGroupLoadMode.Client after setting the grouping the context menu still works with some grouped, which suggests to me the problem lies with the loss of the context menu in the state of the radgrid after a postback when not all of the menu's are expanded. 

The work around is good for me since I don't need a postback on grouping/ungrouping. But others may. 

Tox

0
Iana Tsolova
Telerik team
answered on 22 Jun 2011, 04:22 PM
Hi Toxic,

Can you send us a video illustrating what happens if you are not applying your workaround? You can use Jing and upload the video at www.screencast.com.

Kind regards,
Iana
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Grid
Asked by
Toxic
Top achievements
Rank 1
Answers by
Toxic
Top achievements
Rank 1
Iana Tsolova
Telerik team
Share this question
or