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.

Razor support

Thread ID:

Created:

Updated:

Platform:

Replies:

128149 Jan 5,2017 02:21 AM Jan 9,2017 07:59 AM ASP.NET Core 3
loading
Tags: General
MAI
Asked On January 5, 2017 02:21 AM

Hi Everyone
Maybe a stupid question. If I start a new asp.net core project in Visual Studio. Will I still be able to use razor syntax for syncfunction components?
Some components are not completely finnished for tag helpers, the grid( filtering, drag & drop etc.) for an example. So I hope I can stick with the old fasion razor syntax for those components.
If not, is there any other way it can work with both technics? Razor syntax and tag helpers.....
Best regards

Manikandan Mariappan [Syncfusion]
Replied On January 6, 2017 08:13 AM

Hi Remi, 
  
To utilize our all components with all features in ASP.NET Core platform, the best way is choosing the Tag Helper support.  
  
Query: Some components are not completely finished for tag helpers, the grid( filtering, drag & drop etc.) 
  
We have completed the Tag Helper for all the properties in Grid control and we can enable the filtering and drag and drop by using below Tag Helper. 
  
[Drag and Drop]  
<ej-grid id="FlatGrid" allow-paging="true" row-drop-settings="@(new RowDropSettings() {DropMapper="Home/RowDropHandler",DropTargetID="#DestGrid" })" allow-row-drag-and-drop="true">  
    <e-datamanager json="ViewBag.dataSource" adaptor="remoteSaveAdaptor"></e-datamanager>  
    . . .  
  
</ej-grid>  
[Controller]  
public ActionResult RowDropHandler(List<Orders> added, List<Orders> deleted)  
{  
      //TO do here when droping  
      return Json(added);  
}  
  
[Filtering]  
<ej-grid id="FlatGrid" allow-paging="true" allow-filtering="true">    
    <e-filter-settings filter-type="Menu"></e-filter-settings>  
    . . .  
</ej-grid>  
  
  
  
Also, we have created a sample that can be downloaded from the below link.  
Please let us know if you need any further assistance. 
Regards, 
Manikandan Mariappan 


MAI
Replied On January 7, 2017 03:52 PM

That is really great. Thank you very much.

When will the features that are available on Live Demo for asp.net MVC be available on Live Demo for asp.net core?

Best regards

Manikandan Mariappan [Syncfusion]
Replied On January 9, 2017 07:59 AM

Hi Remi, 

We have logged “Need to add a sample for filtering and Row drag and drop” as a usability feature in our end and it will be included in our ASP.NET Core sample browser Live Demo in the Volume 1, 2017 release which will be expected to be rolled out by the mid of February 2017.  
 
Regards, 
Manikandan Mariappan 


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.

;