We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to use Ribbon applicationMenu links?

Thread ID:

Created:

Updated:

Platform:

Replies:

109945 Jul 12,2013 05:35 AM UTC Jul 25,2013 01:13 PM UTC ASP.NET MVC (Classic) 2
loading
Tags: Tools
Laszlo Boross
Asked On July 12, 2013 05:35 AM UTC

I have been evaluating the Ribbon control and the examples are good for getting started, but I could not find an example that implements navigation using the applicationMenu.

e.g. I want my application menu to contain 3 items, Home, Developer and Exit, and I want them to navigate between pages of the app, so in the ribbon I define these application menus:

.ApplicationMenuText("File").ApplicationMenu(applicationMenu =>
        {
        applicationMenu.Add().Text("Home").ImageUrl("/Images/bullet.png").UrlMapper("/Home");
        applicationMenu.Add().Text("Developer").ImageUrl("/Images/bullet.png").UrlMapper("/Developer");
        applicationMenu.Add().Text("Exit").ImageUrl("/Images/bullet.png").UrlMapper("/Exit");
        })

I assume UrlMapper is used to control the link, since the applicationMenu does not have a ClientSideOnClick method, but when I look at the source, there is no mention of the url in the menu.

I even tried to put straight html in the text like below, but jquery seems to block the event.

applicationMenu.Add().Text("<a rel='nofollow' href='/Home'>Home</a>").ImageUrl("/Images/bullet.png");

Can someone please provide an example of how to use the Ribbon applicationMenu?

Regards, Laszlo



Laszlo Boross
Replied On July 18, 2013 04:27 AM UTC

Bump.

I still can't get this working, has anyone had success with the Ribbon Application Menu?

Sunil Prabakar C [Syncfusion]
Replied On July 25, 2013 01:13 PM UTC

Hi Laszlo,

Thanks for your patience.

Kindly refer the direct trac incident: 110954 for more information. Kindly follow up the below link.

http://www.syncfusion.com/support/directtrac/incidents/110954

Regards
Sunil Prabakar C

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;