Hi,
We regularly encounter a problem with our reports. Some user opens a report page, then, omits filling all the required fields parameters and then clicks on the Export or Refresh button. Because the parameters are not filled, the report crashes with an exception, which we can handle, but it would be a lot more convenient to prevent the user from clicking the buttons beforehand. Is there a convenient way to do that.
For your information, we tried setting the "ShowRefreshButton" and "ShowExportGroup" to False on the Load event and setting them to True on the NeedDataSource event. Unfortunatly, even if the NeedDataSource event is triggered and the setters properly set to True, the buttons won't be visible after the report is generated.
Regards,
We regularly encounter a problem with our reports. Some user opens a report page, then, omits filling all the required fields parameters and then clicks on the Export or Refresh button. Because the parameters are not filled, the report crashes with an exception, which we can handle, but it would be a lot more convenient to prevent the user from clicking the buttons beforehand. Is there a convenient way to do that.
For your information, we tried setting the "ShowRefreshButton" and "ShowExportGroup" to False on the Load event and setting them to True on the NeedDataSource event. Unfortunatly, even if the NeedDataSource event is triggered and the setters properly set to True, the buttons won't be visible after the report is generated.
Regards,