Get ready for beta!

Prepare for Halo Wars 2 Blitz Mode beta: Everything you need to know!

One Windows

Microsoft is building a new Windows 10 Shell for PC, Mobile and Xbox

On the Inside

Everything you need to know about the Xbox Insider Program

Beautiful compromises

Surface Studio review: you'll want one, even if you don't need one

3-in-1

Is this the Surface Phone? Microsoft awarded patents for foldable devices

Windows Central Offers

MCSE Certification bundle is just $39

Even more improvements

All the changes found in Windows 10 build 15007!

Games as a Service

What does the cancellation of Scalebound mean for future Xbox exclusives?

Windows Central Offers

Save $90 on these FRESHeBUDS Pro Magnetic Bluetooth Earbuds

Returning for 2017

We're back with an new episode of #AskDanWindows

Lifetime Subscription

VPNSecure is currently 91% off

Our favorite things

The Best of CES 2017 Awards

Infinity Edge in your hand

The XPS 13 2-in-1 is the Dell convertible we've always wanted

Project Valerie

Razer just made a laptop with three — THREE! — 17-inch 4K displays. 😱

Great design from Palo Alto

HP's CES 2017 releases are truly gorgeous PCs

Intel and Google's big day

CES 2017 Day Two: New laptops, new phones, and old ideas made new

Take five is better than ever

The updated Lenovo ThinkPad X1 packs Kaby Lake chips and zero bloatware

Everything we know about the next Xbox: Project Scorpio

UWPowered

'Game Mode' for Windows 10 will power Xbox One and Scorpio games too

Buyer's guide

Best accessories for Microsoft Surface Book

< >
Welcome to the Windows Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
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, 11: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, 08: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, 04: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, 03:14 PM

Posting Permissions