With Asp.net I have one multiline textbox to take the users' input. I am using a separate webpage to build a print friendly version of that textbox. First I stored the input from the textbox to the session, then I retrieve it from the print friendly page using "Label". I am not using textbox in the print friendly page because I can not control the textbox size when print. My problem is that I the text format in the previous textbox won't keep and all the text goes to one line when I use label to retrieve the text stored in the session. I tried following:
Session["TextBox1"].ToString().Replace(char.ConvertFromUtf32(13),"<br/>")
But it when there are more than two spaces entered in the textbox, it will only show one space in the label.
Any thoughts? Thanks.