I implemented the following blog:
http://blogs.telerik.com/pavelpavlov/posts/10-02-01/empty_data_template_in_radgridview_for_silverlight_and_wpf.aspx
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.