- Home
- Forum
- ASP.NET Core
- syncfusion tools greyed out
syncfusion tools greyed out
We are sorry for the inconvenience.
We suspect that the reported issue occurred as the toolbox was not opened in the Designer page. If so, please open the designer and then open the Visual Studio toolbox. Now, Syncfusion controls will be enabled in toolbox.
If you still face the reported issue, please share us the following details. It would be much helpful for us to analyze the reported issue.
1. Follow the steps suggested in the below KB article link and send us the zip file which consists of complete Syncfusion Installer logs generated by our tool.
http://www.syncfusion.com/kb/2331
2. Syncfusion Essential Studio version you are using.
3. Screen shot of the issue.
4. Screen shot of the Visual Studio About window.
Regards,
Manivannan S.
Thanks for the update.
We are not providing toolbox support for ASP.NET Core platform. We are providing the toolbox support only for the following Essential Studio platforms.
1. ASP.NET
2. ASP.NET (Classic)
3. Windows Forms
4. WPF
5. Universal Windows Platform
As you are using the Syncfusion ASP.NET Core template, you can continue using it. Please let us know if you face any issues.
Regards,
Manivannan S.
Sent: Wednesday, January 10, 2018 4:44 PM
Subject: RE: Syncfusion support community forum 135361, Syncfusion tools greyed out, has been updated.
- You mentioned about scaffolded tables by this do you expect to edit the details of the particular row in a different view.
- The hierarchy binding can be used to create a grid with parent and child relationship in which the details of particular row can be viewed in the child grid. Do you want to bind the data to the grid using hierarchical binding.
- If possible share the complete code snippets of grid in your project.
- Share the Essential studio versions
Hi Sathyanarayanamoorthy,
Thanks for this and the patience you and your colleagues show when dealing with pretty basic queries. I've tried to answer your points and I attach a zip of the project.
- You mentioned about scaffolded tables by this do you expect to edit the details of the particular row in a different view.
- My reference to scaffolded was to indicate that I had used the Entity Framework feature which looks at a model and then scaffolds controller/views to enable CRUD
- The hierarchy binding can be used to create a grid with parent and child relationship in which the details of particular row can be viewed in the child grid. Do you want to bind the data to the grid using hierarchical binding.
- Yes, and as you can see from the attached code I tried to do exactly that for Order/OrderItem but received errors as follows
AspNetCore._Views_Bookings_Index_cshtml+<ExecuteAsync>d__27.MoveNext() in Index.cshtml at line 7+
<ej-grid id="HierarchyGrid" datasource="ViewBag.OrdersSource" allow-paging="true">
AspNetCore._Views_Bookings_Index_cshtml+<<ExecuteAsync>b__27_0>d.MoveNext() in Index.cshtml at line 13
<ej-grid query-string="OrderID" allow-paging="true" datasource="ViewBag.OrderItemsSource">
- If possible share the complete code snippets of grid in your project.
-
<ej-grid id="HierarchyGrid" datasource="ViewBag.OrdersSource" allow-paging="true">
<e-columns>
<e-column field="BookingID" header-text="Booking" text-align="Right" width="85"></e-column>
<e-column field="OrderDate" header-text="Time" width="100"></e-column>
<e-column field="Coverse"></e-column>
</e-columns>
<ej-grid query-string="OrderID" allow-paging="true" datasource="ViewBag.OrderItemsSource">
<e-page-settings page-size="5"></e-page-settings>
<e-columns>
<e-column field="OrderID" header-text="OrderID" text-align="Right" width="75"></e-column>
<e-column field="MenuItem" header-text="Item" width="100"></e-column>
<e-column field="MenuItemPrice" width="120"></e-column>
</e-columns>
</ej-grid>
</ej-grid>
I had also tried the following but that also failed
<h2>Syncfusion Grid Test</h2>
<ej-grid id="TestGrid" datasource="@ViewBag.BookingsSource" allow-paging="true" allow-resize-to-fit="true">
<e-datamanager json="(IEnumerable<object>)ViewBag.BookingsSource" />
<e-edit-settings allow-adding="true" allow-deleting="true" allow-editing="true"></e-edit-settings>
<e-toolbar-settings show-toolbar="true" toolbar-items="@(new List<string>() {"add","edit","delete","cancel","update" })"></e-toolbar-settings>
</ej-grid>
- Share the Essential studio versions
15.4.0.20
Thanks,
Jim
|
<div id="ControlRegion">
<ej-grid id="FlatGrid" allow-paging="true">
<e-datamanager id="myData" json="(IEnumerable<object>)ViewBag.datasource" adaptor="remoteSaveAdaptor" update-url="/Grid/Update"></e-datamanager>
<e-edit-settings allow-adding="true" allow-editing="true" allow-deleting="true"></e-edit-settings>
<e-toolbar-settings show-toolbar="true" toolbar-items='@new List<string> {"add","edit","update","cancel"}' />
<e-columns>
……………………
<e-column field="EmployeeID" header-text="FirstName" width="80" foreign-key-field="EmployeeID" foreign-key-value="FirstName" datasource="@ViewBag.dataSource2"></e-column>
………………………..
</e-columns>
<ej-grid query-string="EmployeeID" datasource="ViewBag.child">
<e-columns>
………………………..
</e-columns>
</ej-grid>
</ej-grid>
</div>
|
To: Syncfusion Support
To: Syncfusion Support
Subject: RE: Syncfusion support community forum 135361, syncfusion tools greyed out, has been updated.
“return Json(data, JsonRequestBehavior.AllowGet);” yet that generates the error “Json doesn’t exist in current context” with suggested fixes including “change JSON to MvcJsonOptionsreferences”. |
<ej-grid id="FlatGrid" allow-paging="true">
<e-datamanager json="ViewBag.datasource" update-url="/Home/NormalUpdate" insert-url="/Home/NormalInsert" remove-url="/Home/NormalDelete" adaptor="remoteSaveAdaptor" />
<e-columns>
<e-column field="OrderID" header-text="Order ID" text-align="Right" width="75" is-primary-key="true"></e-column>
---------------------
</e-columns>
</ej-grid>
[controller]
public class HomeController : Controller
{
private NORTHWNDContext _context;
public HomeController(NORTHWNDContext context)
{
_context = context;
}
public IActionResult Index()
{
ViewBag.datasource = _context.Orders.ToList();
return View();
}
public JsonResult NormalInsert([FromBody]CRUDModel<Orders> param)
{
----------------
}
public JsonResult NormalUpdate([FromBody]CRUDModel<Orders> param)
{
------------------
}
public JsonResult Remove([FromBody]CRUDModel<Orders> param)
{
----------------
}
}
}
|
|
<ej-grid id="FlatGrid" allow-paging="true">
<e-datamanager json="ViewBag.datasource" update-url="/Home/NormalUpdate" insert-url="/Home/NormalInsert" remove-url="/Home/NormalDelete" adaptor="remoteSaveAdaptor" /> <e-edit-settings allow-adding="true" allow-editing="true" allow-deleting="true"></e-edit-settings>
<e-columns>
---------------------------
<e-column field="EmployeeID" header-text="First Name" width="80" foreign-key-field="EmployeeID" foreign-key-value="FirstName" datasource="@ViewBag.datasource1"></e-column>
--------------------
</e-columns>
</ej-grid>
[controller]
private NORTHWNDContext _context;
public HomeController(NORTHWNDContext context)
{
_context = context;
}
public IActionResult Index()
{
ViewBag.datasource = _context.Orders.ToList();
ViewBag.datasource1 = _context.Employees.ToList();
return View();
}
|
- 18 Replies
- 7 Participants
-
JI Jim
- Jan 2, 2018 05:10 PM UTC
- Feb 2, 2018 01:20 PM UTC