I implemented the following blog:
I use it to show:
Please wait while report is loading...
This works great but I need to programmatically change the text in my TextBlock if there is an error like:
This report cannot be loaded due to an internal error. Please try again.
Using C#, how can I get the TextBlock defined in the xaml (which shows the first message), modify the text, and redisplay it? I tried naming the TextBlock but my codebehind doesn't recognize it.