ThinkGeo.com    |     Documentation    |     Premium Support

Click event issue

Hello,


 


I have a problem with the map's event click.


 When I click on the map, I have this error message :


 



Server Error in '/' Application.


Input string was not in a correct format.


Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 



Exception Details: System.FormatException: Input string was not in a correct format.



Source Error: 




    
        
            An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
        
    



Stack Trace: 




    
        
            
            
[FormatException: Input string was not in a correct format.]
   System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +2755599
   System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt) +117
   System.Double.Parse(String s, NumberStyles style, NumberFormatInfo info) +189
   ThinkGeo.MapSuite.WebEdition.Map.xd8262f22d29c57d5(String[] x2ad333ebea325bde) +429
   ThinkGeo.MapSuite.WebEdition.Map.x57b61acc3e039aed(String x96adbb16060a076f, NameValueCollection x13e9d0e2d3dc9cb2) +428
   System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +661
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1194
            
        
    

 


I don't know what can be the problem.


Thanks for your help,



Hello,  
  
 I add a controler (a button) in the same page as the map.  
  
 When I click in the button, I have the bug. I test it with another controler, I have the bug.  
  
 I wonder if the bug come from the map or from the page? (postback?) 
  





 


Soputhy,


I think your operating system is under some language which uses ',' as Decimal Symbol, right? If that's true, it is a known bug in the current version. Sorry for the inconvenience and here as below includes some detailed info about this problem.


gis.thinkgeo.com/Support/Dis...fault.aspx


Thanks,


Ben