Skip to content
This repository has been archived by the owner on Dec 24, 2021. It is now read-only.

Using with ASP.net core 3, visual studio 2019 preview #27

Open
smithgor opened this issue Feb 22, 2019 · 2 comments
Open

Using with ASP.net core 3, visual studio 2019 preview #27

smithgor opened this issue Feb 22, 2019 · 2 comments

Comments

@smithgor
Copy link

Thanks for the work that's been done on this guys - it gives an instant boost to using devexpress on blazor while we wait for the native controls to come along.

I have been testing the fork produced by Sven5 as I've now moved on to VS 2019 and razor components (as they'll go to production first).

I created a razor components project (the standar App and Server project that VS 2019 produces) and linked in BlazorDevExtreme to the app project, added the devextreme items to index.htm and am trying to use just the datagrid page. I am getting a problem that I assume is to this separation (seen in the browser dev tools):
SCRIPT5022: Could not find 'BlazorDevExtreme_DxDataGrid_Init' in 'window'.
components.server.js (22,47598)

Sorry, I'm a bit new to this, but can anyone please give me some guidance on how I should combine BlazorDevExtreme with my code to get it to work? I'm assuming the above means it isn't finding registration.js?

Thanks in advance.

@MihaMarkic
Copy link
Owner

See #28

@sven5
Copy link

sven5 commented Apr 3, 2019

@smithgor

Just giving some advice: Currently, with .net core 3.0 preview 3 you have to manually copy the registration.js to your razor components app and include the reference in index.html

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants