FIX: The Calendar Control Form Fails with the "System.FormatException" Error (318678)



The information in this article applies to:

  • Microsoft Mobile Internet Toolkit (MMIT)

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:

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.

Modification Type:MinorLast Reviewed:9/27/2005
Keywords:kbHotfixServer kbQFE kbbug kbCHTMLDevice kbfix kbQFE kbServerControls kbWMLDevice KB318678