views:

215

answers:

1

Can someone please let me know where the error text 'Input is not in a correct format.' is defined, which is thrown when alphanumeric data is entered in a numeric column in a Silverlight application? Is it in a resource file? I am trying to find out how to display this message in other languages. Please note that this message is different from 'Input string was not in a correct format' exception thrown when a conversion from String to Int fails.

Thanks

A: 

You should debug your application in Visual Studio; set the exceptions option to break when a CLR Exception is thrown.

Michael S. Scherotter
Thanks for the input. I tried debugging and it is with the call to GetResourceFromDefault. I think it is a funciton in a Microsoft DLL based on C++. Does anyone know how this function call works (which resource file is used to search for the key etc.)?internal static extern string GetResourceFromDefault(string key);
NewT4