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

  • SEARCH
  • Home
  • 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 602451
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T16:49:27+00:00 2026-05-13T16:49:27+00:00

I have a RadContextMenu that is bound to a Radgrid. The context menu just

  • 0

I have a RadContextMenu that is bound to a Radgrid. The context menu just allows the user to set the number of rows per page to show. When I use the Context menu on a RadMultipage that has several radgrids, the items being bound to the ContextMenu are incorrect.

For example the first RadContextMenu will have the following items added to it.
(5,10,25,100,250,500)

Several other RadContextMenus on the Multipage will have this set of items added to it.
(5,10,25,100)

When the page loads, every single ContextMenu on the different pages inside the Multipage has the first set of items added to it. The m_MaximumPaerRowsToDisplay property is being set correctly before OnInit is fired(I can step through and see that the other context menus are having the correct item set added).

The Items are being added to the ContextMenu during the OnInit event.

RadContextMenu1 = new RadContextMenu();
        RadMenuItem rmi = new RadMenuItem("Rows To Display".Localize());
        //there should always be at least a 5 rows added.
        rmi.Items.Add(new RadMenuItem("5"));
        if (m_MaximumPagerRowsToDisplay >= 10)
            rmi.Items.Add(new RadMenuItem("10"));
        if (m_MaximumPagerRowsToDisplay >= 25)
            rmi.Items.Add(new RadMenuItem("25"));
        if (m_MaximumPagerRowsToDisplay >= 50)
            rmi.Items.Add(new RadMenuItem("50"));
        if (m_MaximumPagerRowsToDisplay >= 100)
            rmi.Items.Add(new RadMenuItem("100"));
        if (m_MaximumPagerRowsToDisplay >= 250)
            rmi.Items.Add(new RadMenuItem("250"));
        if (m_MaximumPagerRowsToDisplay >= 500)
            rmi.Items.Add(new RadMenuItem("500"));
        if (m_MaximumPagerRowsToDisplay >= 1000)
            rmi.Items.Add(new RadMenuItem("1000"));

Any ideas?

  • 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-13T16:49:28+00:00Added an answer on May 13, 2026 at 4:49 pm

    I solved the issue. It wasn’t related to the ContextMenu itself, it was related to the ContextNenu Event. The even being added to the page in javascript was only being added for one control, instead of each control having their own event. I added the ClientID of the control to the Event name and when registering the script and that fixed the issue.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Have two separate databases. The master that holds the user information(username, password, address etc.).
Have a SomeLib.pro file that contains: CONFIG += debug TEMPLATE = lib TARGET =
Have a matrix report now that has Position, Hours and Wages for a location
Have a bunch of WCF REST services hosted on Azure that access a SQL
Have a look at one of my websites: moskah.com The problem is that it
Have a simple contact us XPage created. Have server side validation in place that
Have a really weird one here. The app has two targets, just to be
Have some dates in my local Oracle 11g database that are in this format:
Have an app that can use tts to read text messages. It can also
Have just started to get into CakePHP since a couple of weeks back. I

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.