This question is actually general programming issue that is not related to any of our controls. This is why I suggest looking for an answer in other online resources. You can try searching in StackOverflow.
Pavel R. Pavlov
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos
and start improving your app based on facts, not hunches.