Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Displaying a text file's contents on a web form using C#
Message
General information
Forum:
ASP.NET
Category:
Web forms
Miscellaneous
Thread ID:
00734400
Message ID:
00734477
Views:
15
Just use a textbox make the textmode multiline and it will render as textarea

>Surprisingly, I haven't seen a Web Form control that lets uses the TEXTAREA tag (which is what you need). In your case, you could probably just drop a label or placeholder control on the form (I like the label, but either should work). Clear the text of the label. In the codebehind page of the form that should display the textfile, just built the HTML manually and stuff it into the .Text property of the label:
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform