Sugurim maps are not working with ASP.NET wizard - google-maps-api-3

When I put the subgurim map into the asp.net wizards second step then getting error as below.
Uncaught ReferenceError: google is not defined
If anybody can help then very appreciated.
Thanks,

I got the same error when upgrading and using the map in a user control. I had to manually add <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=API_KEY&sensor=SET_TO_TRUE_OR_FALSE">
into the user control and it now works fine

Related

Unable to get property 'entries' of undefined or null reference

Does anyone encountered this error message? This only occurs using IE specifically version 11.
Google Maps API Error
I just added version on the version on the js reference.
<script async defer
src="https://maps.googleapis.com/maps/api/js?v=3.29&
key=YOUR_API_KEY&callback=initMap">
See below post for more information.
Google Maps API Error with no changes in the page code

Get grecaptcha in knockout viewmodel asp.net mvc umbraco

I am trying to use google's recaptcha in my web site(Umbraco). The problem I am facing is that I can not use grecaptcha in my viewmodel.
So far, I have included into my _Layout.cshtml
<script src='https://www.google.com/recaptcha/api.js'></script>
But when I try to access grecaptcha in view model I get
cannot resolve symbol grecaptcha
error.
So I can't do any of actions related to captcha.
I ended up with grecapctha.reset() on view, not viemodel

Dotnetnuke You have included the Google Maps API multiple times on this page

I am using DNN 7.3 and Porto theme.
I am getting error in console:
You have included the Google Maps API multiple times on this page.
This may cause unexpected errors.
I also get warning
Google Maps API warning: NoApiKeys.
I am including it in Google-recommended way, with my API key:
<script async defer src="https://maps.googleapis.com/maps/api/js?key=my_api_key&callback=my_callbak_function"
type="text/javascript"></script>
In page source I see
<script src="//maps.google.com/maps/api/js?sensor=false" type="text/javascript"></script>
which was added by DNN (or Porto theme) and this is the cause of the problem, but I cannot find where and how to disable it (or edit so it includes my api key).
I dont have much experience with DNN so any help is welcome.
Checking with the theme developer us usually the best approach.
I received a DLL from theme developer that does not add Google Maps API javascript and that has fixed this issue.

Trying to connect to Facebook through the API

I am trying to connect to Facebook through the API but it is giving me an error of Type:
FacebookUser is not defined in vb file.
I have tried with namespaces but it is not working.
what should I do?
Make sure FacebookUser.api is inside the handler. If possible to post part of code would be better to identify the issue.

I am getting /'undefined' redirection from my MVC 3 Razor Website

I have MVC 3 website. When checked Google Analytics I saw 'undefined' error and I don't know why I am getting that error.
When I visit that page below I am not getting but some how someone getting that redirection to undefined.
How can I define why I am getting that error or is it something with MVC 3?
ORIGINAL WEB PAGE
http://www.emlakrex.com/Sonuc/detay/Merkez,Bursa,Kiralik,Arsa,Arazi,Ilanlari,2000-TL/PrptyID-273163
REDIRECTED WEB PAGE
http://www.emlakrex.com/'undefined'
undefined often comes from javascript. I can only assume that your re-direct is carried out by javascript, or, you have some java script function that attempts to use an undefined variable. Please provide some code samples of where you think this is failing.

Resources