cancel
Showing results for 
Search instead for 
Did you mean: 

Date Parameter Error

Former Member
0 Kudos

Post Author: ej2

CA Forum: .NET

I am having problems with a date parameter on the parameter page that the CrystalReportViewer control automatically generates.When the CrystalReportViewer displays the list of report parameters, date parameters shows a weird error that says "Business Objects" and has a red x on the right side. And when the calendar icon is clicked it generates this javascript error: Object ExpectedBelow is a screen shot of the error: And here is the html source of the error:<!-- Start of PARA_DISCRETETEXTBOX ><input class="pePromptTextBox" type="text" title="Discrete Value" name="pid0PCXT338028248D0F3D3DED2FE3401DiscreteValue" value="" maxlength="65535" size="41" onKeyPress="PCXT338028248D0F3D3DED2FE3401_onKeyPress(event)"><a href="BLOCKED SCRIPTdoNothing()" onClick="DateTimeFormat=false; setDateField('aspnetForm', 'pid0PCXT338028248D0F3D3DED2FE3401DiscreteValue');INwriteCalendar(event,230,250,200,100);"><img src="../aspnet_client/System_Web/2_0_50727/crystalreportviewers115/prompting/images/calendar.gif" ALT="Calendar" border=0></a><div class="INcalendarWindow" id="INIDcalendarWindow" onmousedown="INnoClose()"><iframe src="" scroll=none frameborder=0 style="width:100%;height:100%;position:absolute;z-index:-9999"></iframe><div class="INcalendarTitle" onmousedown="dragStart(event,'INIDcalendarWindow')"><table cellspacing="0" cellpadding="1" border="0" style="background:url(../aspnet_client/System_Web/2_0_50727/crystalreportviewers115/prompting/images/button_middle_normal.gif);"><tr><td class="INtitleText">&nbsp;Business Objects</td><td class="INclose" onclick="INcloseWin()"><img alt="Close" src="../aspnet_client/System_Web/2_0_50727/crystalreportviewers115/prompting/images/errormsg.gif" height="12" width="12"/></td></tr></table></div><div class="INcalendarTop" id="INIDcalendarTop">i</div><div class="INcalendarBottom" id="INIDcalendarBottom">i</div></div><! End of PARA_DISCRETETEXTBOX --> I am using the VS 2005 with C#. Any help is a appreciated.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Post Author: stuartstreet

CA Forum: .NET

Hi,I've just deployed an ASP.NET website to my win2003 server and am having the same problem. i'm also using vs 2005 pro as dev env. i don't see that you ever got a reply but did you find a resolution? I would appreciate the knowledge. Thanks

Former Member
0 Kudos

2 years later... did you ever get a resolution to this one?

I have same frustrating problem.

Thanks

Mike

former_member183750
Active Contributor
0 Kudos

Please create a new thread providing information as per the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement]

Step 2 Asking Your Question; Provide Enough Information

Ludek

Answers (1)

Answers (1)

Former Member
0 Kudos

Post Author: ej2

CA Forum: .NET

I never figured out what was causing this problem. So I read in the list of parameters off the report and created my own controls. It's not perfect but it works a heck of a lot better than the automatic ones.