How to load HTML file into Textarea as Plain Text?

V

Viktor

Hi everybody,
I am trying to load HTML file (on a server) into html Textarea control
("runat=server").
I have no problem opening HTML file on the server and writing its
content into TextArea, but all HTML tags are also being deisplayed in
TextArea (ex. "<HTML><BODY> This is the body of the file
</BODY></HTML>").

Is there a way to get just plain text from HTML file into textarea?
Ex., if I copy an HTML file from a browser and paste it into textArea,
I AM getting plain text, but is it possible to do it programmatically?

Thanks a lot!

Viktor
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,015
Latest member
AmbrosePal

Latest Threads

Top