This is a migrated thread and some comments may be shown as answers.

Access textbox in tileview on button click

1 Answer 49 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Travis
Top achievements
Rank 1
Travis asked on 16 Feb 2012, 01:05 AM
Hello,

I am wondering how best to handle the following scenario:

I have a databound textbox which is in a tab control which is in a tile view.  Below the textbox, is a button which I would like to have trigger an update back to a service when clicked with the current value in the textbox. 

I'm not sure how to capture the current value of the textbox in the code behind.

Thanks,
Travis

1 Answer, 1 is accepted

Sort by
0
Travis
Top achievements
Rank 1
answered on 16 Feb 2012, 03:40 AM
Update... found what I was looking for at the following link:

http://johnpapa.net/5-simple-steps-to-commanding-in-silverlight

Implemented pretty much exactly what John was describing into my viewmodel and it works like a charm.

Thanks,
Travis
Tags
TileView
Asked by
Travis
Top achievements
Rank 1
Answers by
Travis
Top achievements
Rank 1
Share this question
or