Hello,
If you are trying to serve some web pages using a IIS 5 server (Windows XP), you will probably get some Javascript error when a postback occurs on a page which embed a MapSuite control.
The error is due to the Json script created on server and provided to the browser. This code embed some coordinates (for exemple, the coordinates of the CurrentExtent). If the IIS server uses the default culture, and if your Windows is a french edition, the created coordinates will use the default french decimal separator. In this case, the Json script will look like this:
var jsonMap1={"cid":"Map1","uid":"Map1","currentExtent":{"left":-182,8125,"bottom":-159,9609375....
To correct this error, you have to configure the IIS WebSite to use another culture. For this, use the ASP.NET configuation tools of your WebSite or Virtual Directory, go to the Application tab, and set the Globalization parameters to the us-US culture (for exemple).
Does anybody else had this problem and found another solution?
For ThinkGeo: Is it possible in the next release, to force the use of a point as decimal separator?
Hoping this will help the french users who have encounter this problem.
Nicolas