on 2012 Nov 30 3:57 PM
I've created an app to allow my reports to be displayed as a web page.
Some of my reports require parameters that are either set in code or is set by the user through the (CR created) dialog box that pops up when the report is displayed. This last place is the issue.
As I was developing the website, occasionally the dialog box would pop up requesting the required parameters but with the list of choices (in drop down boxes) empty. I discovered that, usually, the problem stemmed from setting the CrystalReportViewer1.ID to a value that contained an invalid character (only alphanumeric, spaces or dashes are allowed).
Now I have run across a parameter dialog with missing items but I have verified the ID property is valid.
So, what else might cause the parameter dialog box to pop up sans parameter options? I have verified (running the report outside of the web site) that there will be a list of options in the dropdown list.
TIA
Request clarification before answering.
Hi Clifton,
Could be a caching issue, not much to go on so try enabling logging, if you have it built in. May be related to the report object or no memory available to build the list.
Make sure you close and dispose of the report objects when you are done with them to free up memory. And call GC.Collect then too to force Windows to free that memory marked for release.
Do the Try/Catch around your blocks also to see if it catches anything.
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 13 | |
| 8 | |
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.