Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. expand multiline textbox at runtime

expand multiline textbox at runtime

Scheduled Pinned Locked Moved ASP.NET
sysadminhelptutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    yang__lee
    wrote on last edited by
    #1

    Dear ASP Gurus, I am populating my multiline textbox on page in UpdatePanel with some text as header name + vbnewline ------------ + vbnewline value1 + vbnewline value2 + vbnewline . . . value30 + vbnewline . . Now I need to get the print of my web page but for now only first 10 rows are visible in the print I need to expand this textbox to see all the rows in my print out. How to expand this textbox at runtime probably at two points.. 1. after I populate the textbox or 2. at page.ispostback = true may be at client side or server side? Could you please help me? regards Lee Could you please help me.

    Leya

    B 1 Reply Last reply
    0
    • Y yang__lee

      Dear ASP Gurus, I am populating my multiline textbox on page in UpdatePanel with some text as header name + vbnewline ------------ + vbnewline value1 + vbnewline value2 + vbnewline . . . value30 + vbnewline . . Now I need to get the print of my web page but for now only first 10 rows are visible in the print I need to expand this textbox to see all the rows in my print out. How to expand this textbox at runtime probably at two points.. 1. after I populate the textbox or 2. at page.ispostback = true may be at client side or server side? Could you please help me? regards Lee Could you please help me.

      Leya

      B Offline
      B Offline
      Bardy85
      wrote on last edited by
      #2

      This should show all the lines; TextBox mytxtBox = new TextBox(); mytxtBox.Rows = X; X being the number of lines you will have. Hope this helped.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups