Microsoft KB Archive/318678

= FIX: The Calendar Control Form Fails with the &quot;System.FormatException&quot; Error =

Article ID: 318678

Article Last Modified on 9/27/2005

-

APPLIES TO


 * Microsoft Mobile Internet Toolkit 1.0

-



This article was previously published under Q318678



SYMPTOMS
When you use a Calendar control form, it fails at run time and the following error is generated:

System.FormatException Input string was not in the correct format.



CAUSE
This problem occurs when the following conditions exist, regardless of the location of the Calendar control and the List control:
 * A Calendar control exists.

-and-
 * A List control has an ItemCommand event raised.



RESOLUTION
To resolve this issue, obtain the fix from the following Microsoft Web site:

http://msdn.microsoft.com/vstudio/downloads/vsnetupdates.asp



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.



MORE INFORMATION
In some cases, there are application workarounds. For example, you can use Link controls to replace a list of options for the navigation to different forms.

Keywords: kbbug kbfix kbwmldevice kbqfe kbservercontrols kbchtmldevice kbhotfixserver KB318678

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.