Hi there. I have a label in my SL control. When I try to search for it by name I get an error that doesn't seem to make sense.
Running the following code:
System.ArgumentException : The control type 'ArtOfTest.WebAii.Silverlight.UI.TextBlock' does not match the xaml tag 'label'
Is this right??
I manage to find the label by doing
So if the above search worked why would the first one fail? If someone could explain this to me that would be great. I wonder if it's a bug or a coding error.