Assume a multi player word game. User puts in a word, sends it to the server via web service. client app polls for new words and put them in the right list box in the right tile.
Tiles generated in code based on colleciton or list. (not bound, just iterating the list and adding tiles for each item.) Not many tiles, unusally less than 10.
Each tile contains a Button, TextBox, and List. These are defined in XAML. and vary depending on small, large or resized in the fluid content control.
When the user types in a text box located in a tile, then clicks the button in the same tile, the code in the onclick event needs to find the text box and process the text in the box, and put it in the list box.
I'm having difficulty getting a handle on the text box in the button click event.
It doesnt seem to be as easy as iterate over the tiles, and get the text block in the tile...
Thoughts?
Tiles generated in code based on colleciton or list. (not bound, just iterating the list and adding tiles for each item.) Not many tiles, unusally less than 10.
Each tile contains a Button, TextBox, and List. These are defined in XAML. and vary depending on small, large or resized in the fluid content control.
When the user types in a text box located in a tile, then clicks the button in the same tile, the code in the onclick event needs to find the text box and process the text in the box, and put it in the list box.
I'm having difficulty getting a handle on the text box in the button click event.
It doesnt seem to be as easy as iterate over the tiles, and get the text block in the tile...
Thoughts?