Hi,
I'm currently using a report viewer to show different report. The list of report that can be show is in a comboBox. When I clicked on the button "preview", the reportViewer will show the selected item in the comboBox. I notice that if I click many times on the button preview when the report selected is the same, a error appears. Don't know if it is something wrong I'm doing or what, but here is the error that I received :
Index was out of range. Must be non-negative and less than the size of the collection.
Description: An unhandled exception occurred during
the execution of the current web request. Please review the stack trace
for more information about the error and where it originated in the
code.
Exception Details: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
Source Error:
Stack Trace:
Anyone know what it mean ?
Thank you
David
I'm currently using a report viewer to show different report. The list of report that can be show is in a comboBox. When I clicked on the button "preview", the reportViewer will show the selected item in the comboBox. I notice that if I click many times on the button preview when the report selected is the same, a error appears. Don't know if it is something wrong I'm doing or what, but here is the error that I received :
Server Error in '/' Application
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
Description: An unhandled exception occurred during
the execution of the current web request. Please review the stack trace
for more information about the error and where it originated in the
code.
Exception Details: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
Source Error:
An unhandled exception was generated during the execution of the current
web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
|
Stack Trace:
|
Anyone know what it mean ?
Thank you
David