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

Ribbonbutton with ActionLink

Thread ID:





120801 Oct 15,2015 06:55 PM UTC Oct 16,2015 12:09 PM UTC ASP.NET MVC 1
Tags: Ribbon
Niklas Raab
Asked On October 15, 2015 06:55 PM UTC

how can i create a RibbonButton with an @Url.Action ?

cntgrp.Id("new").Text("New").ToolTip("New").ButtonSettings(new ButtonProperties()
                        ContentType = ContentType.TextAndImage,
                        ImagePosition = ImagePosition.ImageTop,
                        PrefixIcon = "fa fa-users fa-2",
                        Text = "Adressen"

Kavitha Narayanan [Syncfusion]
Replied On October 16, 2015 12:09 PM UTC

Hi Niklas,


Thanks for using Syncfusion products.


We suggest you to use ribbon Custom contents using the property ContentID with the type "Custom" to create button with action link.


Please refer to the below code example and sample,




cntgrp.Id("btn1").ToolTip("anchor button").Type(RibbonButtonType.Custom).ContentID("A1").Add();

<a id="A1" rel='nofollow' href="http://www.syncfusion.com">

    <button id="btn">Anchor Button</button>// route link rel='nofollow' href with button



$("#btn").ejButton(); //To Render EJ Buttton.



Sample: Ribbon



Kavitha N.



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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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