Silverlight getting opened site

Posted by Rafal on Stack Overflow See other posts from Stack Overflow or by Rafal
Published on 2010-03-26T14:11:09Z Indexed on 2010/03/26 14:13 UTC
Read the original article Hit count: 512

Filed under:
|

Hi

Let's say I have a MainPage that has a buuton. I also have another page(Page2) that hase a textbox. I woud like to add a simple text "TEXT" to the textbox in Page2 while navigating by the button from MainPage. I have a problem with getting actually opened Site. In Windows Forms applications it is solved by:

Page2 page2 = (Page2)Application.OpenedForms["Page2"]; page2.TextBox.Text = "TEXT";

How can i do it in Silverlight? HELP")

© Stack Overflow or respective owner

Related posts about Silverlight

Related posts about usercontrols