Click here to Skip to main content
15,888,202 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more: , +
Hi All,


I am using a rich text box like control in my project which generates content as html content which i want to save the content as html page in asp.net . How can i achieve this.

Please any suggestions on this.

thanks in advance..
Posted
Comments
Sergey Alexandrovich Kryukov 16-Dec-15 2:24am    
Not clear. Not clear how "a rich text box like control" can generate any HTML content, but if you have some content, what's the problem to save it? To save where, exactly? "As HTML page" does not explain anything.
—SA
[no name] 16-Dec-15 2:32am    
i am using editlive control for editing word document .but when read the content from the controls it parse as html.so i want to convert this docx on server.before that i want to save that content as html page then convert html page to document file.
Sergey Alexandrovich Kryukov 16-Dec-15 2:52am    
Word document? Why? Don't you need HTML? Do you have HTML already or not? If you do, what's the problem of saving it? And I have no idea what do you mean by "document file"...
—SA
Sinisa Hajnal 16-Dec-15 4:12am    
Just to clarify: You're using MS Office Word. You created some text. You edited that text in Rich Text Control in some HTML editor. Now you want that content saved as a html page. Right? You CANNOT save it as aspx page, that would require server class, but as simple HTML page you can. But you could also save .doc document as HTML page. Go to Save As...and select Single page or HTML page option and save it.

1 solution

Hi,
You can use Notepad to create HTML page and after completing all information save this page as Example.html (page name during save). It will be automatically save as HTML page.
 
Share this answer
 
Comments
[no name] 17-Dec-15 2:50am    
hahaaha..thanks.. I am using editlive control for word processing.it is web/windows text editor from ephox.I want to save the content of the control to a html page. :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900