471,088 Members | 1,265 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,088 software developers and data experts.

text Formatting

I can't seem to cut-and-paste text, with either .doc or .html formatting,
into my .asp web-pages --all the formatting is lost. Is there some code that
needs to be added to the page that will tell.asp to leave the formatting the
way it is? I thought that the fact that .asp is a MicroSoft product, there
would be complete compatibility with "word.doc" text formatting --perhaps I'm
wrong about that. Thanks.
Sep 3 '08 #1
3 1418
on-line journal editor was thinking very hard :
I can't seem to cut-and-paste text, with either .doc or .html formatting,
into my .asp web-pages --all the formatting is lost. Is there some code that
needs to be added to the page that will tell.asp to leave the formatting the
way it is? I thought that the fact that .asp is a MicroSoft product, there
would be complete compatibility with "word.doc" text formatting --perhaps I'm
wrong about that. Thanks.
Where are you pasting?
* The "design" view of the page in Visual Studio? I get formatting
there.
* The "source" view? There you only get the plain text.
* A textarea in a rendered page in the browser? This is plain HTML,
nothing specific to Microsoft. You will get the plain text.

Hans Kesting
Sep 3 '08 #2
I'm pasting it into the "default.aspx" page.

"Hans Kesting" wrote:
on-line journal editor was thinking very hard :
I can't seem to cut-and-paste text, with either .doc or .html formatting,
into my .asp web-pages --all the formatting is lost. Is there some code that
needs to be added to the page that will tell.asp to leave the formatting the
way it is? I thought that the fact that .asp is a MicroSoft product, there
would be complete compatibility with "word.doc" text formatting --perhaps I'm
wrong about that. Thanks.

Where are you pasting?
* The "design" view of the page in Visual Studio? I get formatting
there.
* The "source" view? There you only get the plain text.
* A textarea in a rendered page in the browser? This is plain HTML,
nothing specific to Microsoft. You will get the plain text.

Hans Kesting
Sep 3 '08 #3
I'm sorry --the default.asp is in the "source" mode, I believe --I'll have to
try my cut-and-paste routine in "design" view. The problem is evident when I
"debug" and get the webpage in the "published" web-based format (as it would
appear on the web).

"Hans Kesting" wrote:
on-line journal editor was thinking very hard :
I can't seem to cut-and-paste text, with either .doc or .html formatting,
into my .asp web-pages --all the formatting is lost. Is there some code that
needs to be added to the page that will tell.asp to leave the formatting the
way it is? I thought that the fact that .asp is a MicroSoft product, there
would be complete compatibility with "word.doc" text formatting --perhaps I'm
wrong about that. Thanks.

Where are you pasting?
* The "design" view of the page in Visual Studio? I get formatting
there.
* The "source" view? There you only get the plain text.
* A textarea in a rendered page in the browser? This is plain HTML,
nothing specific to Microsoft. You will get the plain text.

Hans Kesting
Sep 3 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by SK | last post: by
3 posts views Thread by gooderthanyou | last post: by
6 posts views Thread by shoo | last post: by
3 posts views Thread by michael sorens | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.