SAP Knowledge Base Article - Public

1873807 - Error promptengine_calendar is undefined when clicking on the date picker control from web application using .Net SDK

Symptom

Error promptengine_calendar is undefined when clicking on the date picker control from web application .Net SDK

Environment

  • Visual Studio 2010
  • Runtimes CR4VS 2010 SP5
  • Crystal Report 2011
  • .Net SDK
  • Web Apllication

Reproducing the Issue

  1. Create a web application using C# language.
  2. Drag a Crystal Report viewer control on a web page.
  3. Create a report which contains one static parameter of Date type.
  4. Add a code to view this report.
  5. Run your application.

Cause

ID property of Crystal Report Viewer is named including space in it

Resolution

  • Only combinations of alphanumeric characters and the underscore character ( _ ) are valid values for this property.
  • Remove the space from the ID property of Crystal Report Viewer Control and rename it.

Keywords

Error promptengine_calendar;CR4VS 2010;CR 2011;ID Property , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , Problem

Product

SAP Crystal Reports 2011