Access textbox in tileview on button click

2 posts, 0 answers
  1. Travis
    Travis avatar
    4 posts
    Member since:
    Aug 2010

    Posted 15 Feb 2012 Link to this post

    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
  2. Travis
    Travis avatar
    4 posts
    Member since:
    Aug 2010

    Posted 15 Feb 2012 Link to this post

    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
  3. DevCraft banner
Back to Top