Is there a way to display a nice user massage instead of an empty chart or empty table if no data is returned?
Empty Result Set message
Hi Jennifer,
I’m not sure about attaching a user massage but you can certainly change the message that is going to be displayed.
First of all, you can disable the standard message with the property on each control called “Disable No Data Indicator”.
Then you can use the data error or no data events to do something when this message that you just disabled would typically be displayed. The easiest thing to do is to put a custom label or image on top of the control and have it appear by changing the opacity. Make it 0 be default and script it to 1 when you want it to show up. You can make the message go away again using a script in the Data Changed event.
Since there are a few steps involved, you probably don’t want to do this every time and i’d lean on this only for those controls that you know might not show data regularly.
Note: you can use layers instead of script in these events if you prefer.
If you have any trouble, please let me know.