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.
Unfortunately, activation email could not send to your email. Please try again.

Ribbonbutton with ActionLink

Thread ID:





120801 Oct 15,2015 02:55 PM Oct 16,2015 08:09 AM ASP.NET MVC 1
Tags: Ribbon
Niklas Raab
Asked On October 15, 2015 02:55 PM

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 08:09 AM

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.

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.