Results 1 to 2 of 2
  1. xp_vista007's Avatar
    Member

    Posts
    1 Posts
       #1  
    Hi. Can anyone help me how to add textBoxes in WindowsPhone 7 using condition.
    Ex. In one textBox I ask for number of persons , if user enters 5, I want to add 5 other textBoxes to ask their names.


    Thanks.
  2. strikexx's Avatar
    Member

    Posts
    14 Posts
    #2  
    I think this link is what you need:

    Creating elements dynamically in Windows Phone « DiggTheDrazen

    Instead of a button click event handler, you will need to handle the TextBox.TextChanged event, and add new textBoxes to a StackPanel using the code in the link above.

Similar Threads

  1. How to add a pause in voicemail dialing
    By showie in forum Windows Phone 7
    Replies: 16
    Last Post: 02-14-2014, 10:21 AM
  2. How to add username in secured wifi
    By Martin Ng in forum Windows Phone 7
    Replies: 2
    Last Post: 07-05-2012, 07:01 PM
  3. How to add 'Send to SkyDrive' to right-click menu on desktop
    By keyboardP in forum Windows Phone 7
    Replies: 3
    Last Post: 04-24-2012, 03:30 PM
  4. How to add categories on wp7 "Music & Videos" section?
    By ioannisgk in forum Windows Phone 7
    Replies: 2
    Last Post: 12-04-2011, 02:14 PM

Posting Permissions

B