473,395 Members | 1,675 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 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 1515
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: SK | last post by:
Is there a way to store HTML into a MySQL TEXT column, yet be able to search over textual content only? For example, if I store the following HTML snippet: <p>A very <em>small</em>...
3
by: gooderthanyou | last post by:
I have a textfield and you of course you can select text... When they hit the bold button I want it to obtain the selected text and bold it, the hard part is trying to figure out if javascript...
2
by: John Kreps | last post by:
(acc 2002) I've got six unbound text boxes on a subform that has a white background. Each of those six boxes has an expression that when true, will change its background from white to another...
2
by: PMB | last post by:
Thank you in advance for any and all assistance. I'm trying to input data from strings to a memo field. I would like to know how to check first to see if there is text there currently and if so...
8
by: Mike MacSween | last post by:
tblCourses one to many to tblEvents. A course may have an intro workshop (a type of event), a mid course workshop, a final exam. Or any combination. Or something different in the future. At...
6
by: shoo | last post by:
Any one know how to do this? thank Write a simple text-formatting program that produces neatly printed output from input text containing embedded command lines that determine how to format the...
3
by: michael sorens | last post by:
The documentation for the RichTextBox is sketchy at best. I want to do a very simple task but I cannot find information on this. I am using a RichTextBox as an output window. Some text I want to...
16
by: Neil | last post by:
I posted a few days ago that it seems to me that the Access 2007 rich text feature does not support: a) full text justification; b) programmatic manipulation. I was hoping that someone might...
3
by: realmerl | last post by:
Hi All. I'm trying to transform a html document into plain text via xslt. Simple you say! (i hope) I have got it working, by using the magnificent <xsl:value-of select="."/>. This returns the...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.