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

How to integrate a Ribbon into a Dialog?

Greetings, I have a problem with the integration of my ribbon into a dialog form. I dont know if it is possible to do but i want to render a ribbon on my dialog add form wich comes from a Ribbon menu option.. I apreciate any help because i haven´t found any documentation about this specific scenario.

3 Replies

BS Buvana Sathasivam Syncfusion Team April 7, 2017 05:33 PM UTC

Hi Jesus, 

Thanks for using Syncfusion product. 

We had prepared sample with “render Ribbon control on dialog form”.  In Dialog control, ContentTemplate  was used for add content to the dialog.  Ribbon control was rendered within the dialog control using content template property.  Please find the below code and sample, 


@(Html.EJ().Dialog("dialog").ContentTemplate(               // Render dialog control 
          @<div>@(Html.EJ().Ribbon("defaultRibbon")……)</div>)// Render ribbon control 

Please refer the following UG document for dialog content template property: https://help.syncfusion.com/aspnetmvc/dialog/getting-started  

Please let us know if you have any further assistance. 

Buvana S. 

JE Jesus April 8, 2017 06:19 PM UTC

At the moment when I put the ribbon inside the contentTemplate().. the dialog render this text:


Apreciating any help.

RK Rajesh Kumar Anburajan Syncfusion Team April 10, 2017 05:19 PM UTC


Thanks for your update. 

We have analyzed your requirement for “ContentTemplate property Razor syntax is not support at ASP.NET Core”.  As this feature is not available in our product, we will consider this a feature request. If you could confirm some specific details, it would help us to implement the feature in line with your requirement. 

Please review the following description of the feature and let us know if it conforms to your requirement.  If our definition of this feature is different from your requirement, then let us know the specific details, so that we can work towards fulfilling your requirement.  

“ContentTemplate property of razor code does not support in  ASP.NET Core platform” 

Buvana S. 

Live Chat Icon For mobile
Up arrow icon