473,382 Members | 1,526 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,382 software developers and data experts.

Copy and paste text in a webform?

Please can someone help me out I am really stuck.

I am building a website and have been told to build into it an HTML
page which has a text box and a button to set the text to bold or
underline. The problem is that I do not see how this can be done using
ASP.NET. Is this the same as providing rich text which can be done
using a windows form control but possibly not using a web form? Does
anyone know how this can be achieve.

I appreciate any response and offer thanks.

Sicnerely,
Richard.
Nov 19 '05 #1
3 1509
Richard,

Handle the button's onclick event. In the event handler change the style for
the text box to make the text bold or underlined. You can do it on client
side with a bit of javascripting. There is no problem in doing it on server
side should you prefer this.

Eliyahu

"Richard Price" <or******@freenetname.co.uk> wrote in message
news:pa********************************@4ax.com...
Please can someone help me out I am really stuck.

I am building a website and have been told to build into it an HTML
page which has a text box and a button to set the text to bold or
underline. The problem is that I do not see how this can be done using
ASP.NET. Is this the same as providing rich text which can be done
using a windows form control but possibly not using a web form? Does
anyone know how this can be achieve.

I appreciate any response and offer thanks.

Sicnerely,
Richard.

Nov 19 '05 #2
Richard Price wrote:
Please can someone help me out I am really stuck.

I am building a website and have been told to build into it an HTML
page which has a text box and a button to set the text to bold or
underline. The problem is that I do not see how this can be done using
ASP.NET. Is this the same as providing rich text which can be done
using a windows form control but possibly not using a web form? Does
anyone know how this can be achieve.

I appreciate any response and offer thanks.

Sicnerely,
Richard.


There are several web-based html-editors around, even free ones.
We use fckEditor (http://www.fckeditor.net/), but I've seen several posts
where people have problems configuring it, so you are warned :-).

Hans Kesting
Nov 19 '05 #3
Find a thread down this group titled "html editing control", dated 9/9/2005,
a number of controls are mentioned there.

"Richard Price" <or******@freenetname.co.uk> wrote in message
news:pa********************************@4ax.com...
Please can someone help me out I am really stuck.

I am building a website and have been told to build into it an HTML
page which has a text box and a button to set the text to bold or
underline. The problem is that I do not see how this can be done using
ASP.NET. Is this the same as providing rich text which can be done
using a windows form control but possibly not using a web form? Does
anyone know how this can be achieve.

I appreciate any response and offer thanks.

Sicnerely,
Richard.

Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: tabonni | last post by:
Hello All I am creating an ASP page. There are a list of filename and checkbox next to it. When user checked all the documents they want and click ADD TO CLIPBOARD button. All filepaths will be...
3
by: Rachel Suddeth | last post by:
This may not be the right forum, but it's a problem I chiefly come across when trying to post here. When I do a copy/paste from VS, the text always looks really weird (and even if I'm in an...
3
by: :-) | last post by:
What is the easiest way to make a copy of a WebForm with a different name? If you just copy/paste, the class info gets mangled. If you create a new WebForm and copy everything over, it is...
3
by: G. Dean Blake | last post by:
In a ASP.NET Visual Studio project I have a webform named FinResults_AR.aspx and its associated vb and resx files. I want to copy and rename to FinResults_GL so that I have an exact duplicate...
6
by: Ben R. | last post by:
Hi, I've got a vb.net winforms app. Out of the box, I can use Ctrl X, C and V as expected in controls like textboxes. I've got a menustrip, and if I click the link "Add standard items" which...
17
by: Steve | last post by:
I'm trying to code cut, copy, and paste in vb 2005 so that when the user clicks on a toolbar button, the cut/copy/paste will work with whatever textbox the cursor is current located in (I have...
1
by: Grant Smith | last post by:
I've got an application that I can copy some text out of the RichTextBox control. I would like to keep the formatting so I'm able to copy it to the Clipboard with RTF formatting. I have no...
1
by: =?Utf-8?B?Q2hyaXM=?= | last post by:
I know I must be missing something easy, But I have a webform, which has a bunch of ASP.NET Text box controls. When a person tries to "Copy" the text out of one of the controls, they get a pop...
11
by: John | last post by:
Hi In a winform app I need to provide a menu with Cut, Copy and Paste options., What code do I use to accomplish cut, copy and paste features for fields on a winfrom? Thanks Regards
8
by: jh | last post by:
I'd like to copy/paste into a listbox during runtime. I can do this for a textbox but can't figure out how to accomplish this for a listbox. Any help? Thanks.
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.