user384080
user384080

Reputation: 4692

google map API for ASP.net

I have been trying to compile the project from http://www.shabdar.org/google-maps-user-control-for-ASP-Net-part1.html but it is complaining

  1. The name 'hidEventName' does not exist in the current cont
  2. The type or namespace name 'GoogleObject' could not be found (are you missing a using directive or an assembly reference?)

I have copied the required files. What am I missing?

Upvotes: 0

Views: 1849

Answers (2)

tuanh
tuanh

Reputation: 11

-you delete GoogleMapForASPNet.ascx, and creat new WebUserControl, set name =GoogleMapForASPNet.ascx you coppy code last GoogleMapForASPNet.ascx into this. now it's ok

-The type or namespace name 'GoogleObject' -> you not coppy forder app_code , you coppy two file .cs into project-> ok!

Upvotes: 1

gogu
gogu

Reputation: 81

Just downloaded the project from the link you specified, opened it in Visual Studio 2010, did the requested conversion, compiled and run it without any problems.

What version of VS are you using?

Upvotes: 2

Related Questions