473,498 Members | 1,544 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

copy word doc onto asp page

18 New Member
i want to know that is it possible to copy from word doc and paste it on to textarea on a asp page.
when i do it normally bullets on document are not paste on to textarea .
they covert into different symbols(inverted ?)
what should i do to overcome this.
Apr 16 '07 #1
5 2446
jhardman
3,406 Recognized Expert Specialist
i wsnt to know that is it possible to copy from word doc and paste it on to textarea on a asp page.
when i do it normally bullets on document are not paste on to textarea .
they covert into different symbols(inverted ?)
what should i do to overcome this.
Could you clarify? You mean you are pasting text into a <textarea></textarea> HTML form on an ASP page, or into some scripted or applet rich text editor in a web page, or into an asp editor (not in a browser)? If you want to do the first (in a <textarea></textarea>) then you can't. The textarea can not accept anything but plain text. You can add bullets in many (but not all) of them by typing:
Expand|Select|Wrap|Line Numbers
  1. <ul><!-- beginning of list -->
  2. <li>First list item</li>
  3. <li>Second list item</li>
  4. </ul><!--end the list -->
  5.  
whether a given editor can accept more than plain text when it is pasted, depends on its programming.

Let me know if this answers your question.

Jared
Apr 16 '07 #2
iam_clint
1,208 Recognized Expert Top Contributor
you can find rich textarea codes that will accept pasting from documents on the web.


Or you can have it replace the ¿ in it with <li> </li> with javascript or when its submitted.
Apr 16 '07 #3
sajithkahawatta
18 New Member
i mean i want to paste on the textarea on the page in the browser.
if textarea is not good is rich textarea good for it.?
i think <li></li> can be used within sorce code. i want to paste like paste on this page.
can i know to way paste with bullets its ok
can i know a code to rith text area to do this
thank you
Apr 17 '07 #4
jhardman
3,406 Recognized Expert Specialist
As clint said, you can find the codes to accept pastes with bullets in some rich text editors from a simple web search. This is not done with ASP, (it should probably be either a java applet or javascript) so this is not a good forum in which to ask.

On the other hand, you could determine the character(s) used to denote a bulletted list when pasted to a textarea (an HTML textarea will only accept plain text, but the bullets might be converted to plain text, I've never tried.) and use ASP to convert that to <li></li>.

Does this answer your question?

Jared
Apr 17 '07 #5
sajithkahawatta
18 New Member
i will try this and reply u.thanks
Apr 18 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

2
2097
by: Maarten Koster | last post by:
Hi, I want to copy a page from the internet with fopen and fread. Now the problem is that you have to be logged in with a sessin to get to that page. Now I tried a couple of things. I tried to...
0
2095
by: TC | last post by:
Hello, Here is what I'm trying to do: -- Make sure both MS Excel and MS Word are running -- Create an Excel chart -- Save the Excel file -- Copy the Excel chart onto the clipboard using Ctrl...
5
4013
by: TC | last post by:
Hello, Here is what I'm trying to do: -- Make sure both MS Excel and MS Word are running -- Create an Excel chart -- Save the Excel file -- Copy the Excel chart onto the clipboard using Ctrl...
15
3352
by: Caversham | last post by:
Is there any macro / other tool - free or commercial - that can split long Word docs into multiple XHTML pages? Any comments on the quality/effectiveness of suitable products also welcomed.
0
1059
by: Jerwin | last post by:
I have successfully embedded a Word document in my ASPX. I can view an write onto the Word document, as if the word document was pasted on the page It's like a 4"x3" area where u can view a word...
7
11597
by: lgbjr | last post by:
Hello All, I¡¯m using a context menu associated with some pictureboxes to provide copy/paste functionality. Copying the image to the clipboard was easy. But pasting an image from the clipboard...
2
2122
by: 1388-2/HB | last post by:
On a W2K3 box running IIS 6 I have a web app that implements Forms Authentication mixed with AD (the login page autheticates users against AD & impersonates them with each page request). This...
2
2504
by: aychai | last post by:
Hi all, I have a scenario where users fills in textbox fields on ASP.NET page from the server and when he/she clicks on a download button, the data from fields will insert into an existing word...
5
10933
by: JohnSouth | last post by:
Hi I've seen lots of posts around this subject but nothing recent or very helpful. I've an ASP.Net c# application that needs to read Word documents from a directory on the web server, open...
0
7126
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
1
6891
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...
0
7381
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4916
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4595
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3096
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1424
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
659
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
293
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.