By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,115 Members | 898 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,115 IT Pros & Developers. It's quick & easy.

text Formatting

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a
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

P: n/a
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

P: n/a
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.