Hi liutzuyi,
Thanks for contacting Syncfusion support.
Query1:
If I want create a button at razor page, I can use TagHelper
<ej-button id="button_imageOnly" text="login" show-rounded-corner="true" content-type="ImageOnly" prefix-icon="e-icon e-handup" />
Can I use fluent API ?
@Html.EJ().Button("button1").Text("SyncFusion")
because when I render the page, it will return
Syncfusion.JavaScript.ButtonPropertiesBuilder
string only, not a button
Answer:
We have checked with your query. Specified format (“@Html.EJ().Button("button1").Text("SyncFusion")”) in the query is used to render the Button component in ASP.Net MVC platform. We suggest you to use below code example to render button component in ASP.NET Core platform.
@{ Html.EJ().Button("button").Width("180px").Text("Sample").Render();} |
Query2:
Can syncfusion TagHelper support intelliSense ?
Answer:
We would like to let you know that this is known issue with ASP.NET core in Visual Studio 2017. Please refer the below link:
So please make use suggested extension (Razor Language Extension) to resolve the reported issue.
If you are using any other version of Visual studio, please provide more details that will help us to provide exact solution.
Regards,
Berly B.C