Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError using grid #2

Open
MMartin1968 opened this issue Dec 12, 2017 · 6 comments
Open

TypeError using grid #2

MMartin1968 opened this issue Dec 12, 2017 · 6 comments

Comments

@MMartin1968
Copy link

I used the installation instruction and followed the example.

When running the application I now get the error TypeError: Unable to get property ...
I get this multiple times
error
Clicking on the pagers and buttons do not work in this case.

The same error I see when I go to the installation page: http://documentation.aspnetcore.mvc-controls.com/QuickStart/Installation

Any ideas on how to solve this?

@frankabbruzzese
Copy link
Member

It looks like if some JavaScript file is missing, probably the globalize library, or the various cultures. Buttons do not work because exception aborted the execution of other javascript files.

Are you sure all globalization stuffs have been moved in the deployment area by executing all gulp tasks mentioned in the installation procedure? Are you sure the culture of your browser is among the ones included in the JavaScript culture files? If not either exclude this culture from theasp.net core culture definitions or add the appropriate culture (if available) in the move:gdata gulp task.

If every js file appears to be in place, please put your code on a github repository so we can analyze it.

@MMartin1968
Copy link
Author

The culture used is en-GB (I checked with debugging), checking _GlobalizationScriptsPartial the culture variable. I installed all globalization packages (and ran the gulp tasks). Looking into wwwroot/lib/globalize/cldr-data/main in contains a 'en-GB' folder. The only difference so far is the usage of more recent libraries e.g. I use globalize version 1.3.0, cldr-data version 32.0.0

As mentioned before I get the same error when accessing your installation page in IE 11 (http://documentation.aspnetcore.mvc-controls.com/QuickStart/Installation).

@frankabbruzzese
Copy link
Member

We had other similar issues with ie, but we were not able to reproduce them. Probably they are connected with some browser security settings (probably cookies acceptance)
Have you tested your app with a different browser?

@frankabbruzzese
Copy link
Member

Oops I erroneously closed the issue! Anyway please put your code on github so we can analyze it.

@MMartin1968
Copy link
Author

I checked cookie settings but notice no difference.
I will add my solution later this evening (or tomorrow).

@frankabbruzzese
Copy link
Member

@MMartin1968 , the point is that we access http://documentation.aspnetcore.mvc-controls.com/QuickStart/Installation with ie 11 and get no error! However we had a similar report from an Edge user, and an IE12 user. Needless to say our edge and IE12 work perfectly! So the problem should be some IE/Edge specific Browser setting.

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

No branches or pull requests

2 participants