472,954 Members | 1,773 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,954 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 1496
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: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

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.