How can i set a text of a textblock of a child window. childWindowname.textblockName.Text = "" doesn't have any effect.
+1
A:
Odd. I have used Text from codebehind to change the text in my window without any problems. The only difference is that I had a public method in my child window that I called, and that set textblockname.Text.
e.g.
public void SetTextBlockMessage(string message)
{
textblockname.Text = message;
}
Dave
2010-02-11 14:20:31
Yes, I did it the same way, but there wasn't any effect.
elr
2010-02-13 11:49:40