Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6658899
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:58:02+00:00 2026-05-26T01:58:02+00:00

I found one old solution Here . But GridViewExpander is obsolete in 2009. Proof

  • 0

I found one old solution Here.

But GridViewExpander is obsolete in 2009. Proof Here.

How can i implement it (Context Menu on a Group Row in RadGridView) in another way?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T01:58:03+00:00Added an answer on May 26, 2026 at 1:58 am

    No answers… =(

    But i found solution.
    The are two ways to solve it:

    1) If you need custom style for your GridViewGroupRow – read about Templates Structure

    2) If not, then just use somthing like this:

    <TelerikNavigation:RadContextMenu.ContextMenu>
                <TelerikNavigation:RadContextMenu Opened="RadContextMenuOpened" ItemClick="ContextMenuItemClick" x:Name="contextMenu">
                </TelerikNavigation:RadContextMenu>
    

    private void RadContextMenuOpened(object sender, RoutedEventArgs e)
        {
            var menu = (RadContextMenu)sender;
            if (menu == null)
                return;
            var cell = menu.GetClickedElement<GridViewCell>();
            var row = menu.GetClickedElement<GridViewRow>();
            var groupRow = menu.GetClickedElement<GridViewGroupRow>();
            if (cell != null && row != null)
            {
                if (!cell.DataColumn.IsFrozen)
                {
                    //Code for current cell
                }
            }
            if (groupRow != null)
            {
                //Code for groupRow
            }
        }
    
    private void ContextMenuItemClick(object sender, RadRoutedEventArgs e)
        {
            if (_currentCell != null)
            {
                //Code for current cell
            }
            if (_currentGroupRow != null)
            {
                var menu = (RadContextMenu)sender;
                var clickedItem = e.OriginalSource as RadMenuItem;
                if (clickedItem != null)
                {
                    foreach (var gridViewRow in _currentGroupRow.ChildrenOfType<GridViewRow>())
                    {
                        foreach (var gridViewCellBase in gridViewRow.Cells)
                        {
                            if (gridViewCellBase.Column.UniqueName == "PlanObject")
                            {
                                var val = gridViewCellBase.DataContext as YourObjectName;
                                if (val != null)
                                {
                                    //.....
                                }
                            }
                        }
                    }
                    //....
                }
            }
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I tried searching here for a similar solution but didn't see one so I
i've found one cheat sheet for doctrine: cheat sheet but it doesn't list all
I usually type my map declarations but was doing some maint and found one
I found only one attempt to create such compiler - http://sourceforge.net/projects/xsltc/ . But this
I just found a solution to one of the weirdest bug i have ever
I have searched far and wide on this one, but haven't really found a
I found one source which successfully overrode Time.strftime like this: class Time alias :old_strftime
I found one example in which buttons are added to panels (instances of JPanel
I have Ubuntu Linux. I found one command will let me download unread message
what is the proper way to scale an SDL Surface? I found one explanation

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.