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.

How to integrate a Ribbon into a Dialog?

Thread ID:

Created:

Updated:

Platform:

Replies:

129877 Apr 6,2017 05:46 PM Apr 10,2017 01:19 PM ASP.NET MVC 3
loading
Tags: Ribbon
Jesus
Asked On April 6, 2017 05:46 PM

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.

Buvana Sathasivam [Syncfusion]
Replied On April 7, 2017 01:33 PM

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, 

RibbonFeatures.cshtml 


@(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. 

Regards, 
Buvana S. 


Jesus
Replied On April 8, 2017 02:19 PM

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

"
Microsoft.AspNetCore.Mvc.Razor.HelperResult
"

Apreciating any help.

Rajesh Kumar Anburajan [Syncfusion]
Replied On April 10, 2017 01:19 PM

Jesus, 

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.  

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

Regards, 
Buvana S. 
 


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.

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.

;