我尝试使用此 Google Maps Control,但我不断收到此错误:
The base class includes the field 'GoogleMapForASPNet1', but its type
(Vehicle_Tracking_System.GoogleMapForASPNet) is not compatible with the type of control
(ASP.googlemapforaspnet_ascx).
我尝试使用此 Google Maps Control,但我不断收到此错误:
The base class includes the field 'GoogleMapForASPNet1', but its type
(Vehicle_Tracking_System.GoogleMapForASPNet) is not compatible with the type of control
(ASP.googlemapforaspnet_ascx).
请注意,控件是代码文件。您可以检查:
希望这会有所帮助,
注意:确保 System.Web.Extension 库的版本与您在添加引用时选择的版本相同。
例如,您正在添加“System.Web.Extensions,Version=4.0.0.0”,并且引用具有“System.Web.Extensions,Version=1.0.61025.0”。