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. Image for the cookie policy date
close icon

Ribbonbutton with ActionLink

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"

1 Reply

KN Kavitha Narayanan Syncfusion Team 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.


Live Chat Icon For mobile
Up arrow icon