web form add a line break to a place holder

Discussion in 'ASP .Net Building Controls' started by mbalam, Aug 29, 2003.

  1. mbalam

    mbalam Guest

    have a web form with page layout = FlowLayout
    have a PlaceHolder
    adding controls to the PlaceHolder
    e.g. PlaceHolder.Controls.Add (TextBox1);
    question
    how do I had a line break to the PlaceHolder ?
     
    mbalam, Aug 29, 2003
    #1
    1. Advertisements

  2. The simplest thing is probably to just add a Literal with "<br>" in it.
     
    David Rothgery, Aug 29, 2003
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.