This is a migrated thread and some comments may be shown as answers.

Map OnServerClick Bug

0 Answers 91 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Monzer
Top achievements
Rank 1
Monzer asked on 05 Jun 2009, 03:28 PM
Hi,

I have a <ve:Map....> control on my page and it works fine. I am using its, onserverclick, onserverfind, and onclientclick handlers. Here is the code for the control.

ve:Map ID="vemapDealerLocator" runat="server" Height="491px" Width="491px" ZoomLevel="2"
        OnServerClick="vemapDealerLocator_ServerClick" OnServerFind="vemapDealerLocator_ServerFind"
        OnClientClick="ClientClick" Center-Longitude="0" Center-Latitude="0" DashboardSize="Small" />



Now when I click on the map the onserverclick goes back to the server and calls the appropriate function in both the IE and Google Chrome browsers, but  for some reason when I try it in Firefox the following exception is thrown:
[Exception... "'Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: 281.79998779296875 is not a valid value for Int32.' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "JS frame :: chrome://firebug/content/spy.js :: onHTTPSpyReadyStateChange :: line 497" data: no]
mapcontrol.ashx?v=6.1()()mapcontr...shx?v=6.1 (line 126)
;this.CreditsFor=function(a,i,j,h){var e...efined")closeDependency("mapcontrol.js")

Can you please tell me the reason for this error?

Thanks,
Monzer

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Monzer
Top achievements
Rank 1
Share this question
or