473,808 Members | 2,882 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Controlling text in a Text Area

leo
Hello Guys

I have this problem in controlling a text in a Text Area. How can I do
that, for example the field size is 200, when it reaches 50 it automatically
goes to the next line. Because im having problem when viewing text in my
report,
it continuesly views in a straight line.

Can you give me ASP code for that

Im Using Microsoft Frontpage 2002 and MS Access..

Please help..

PS: to Mr.Bob L., Thank you very much...

Leo

Dec 5 '05 #1
3 1723
leo wrote on 05 dec 2005 in microsoft.publi c.inetserver.as p.general:
I have this problem in controlling a text in a Text Area. How can I do
that, for example the field size is 200, when it reaches 50 it
automatically goes to the next line. Because im having problem when
viewing text in my report,
it continuesly views in a straight line.

Can you give me ASP code for that


There are no textareas in ASP.

ASP is a platform for serverside code languages.

Please ask a clientside NG.

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Dec 5 '05 #2
leo
Sir Evertjan

Im using MS Access as my database and Microsoft Frontpage 2002 as my working
environment, also Im using Classic ASP code. Sir this is exactly my problem,
when I insert a line of text (or string) in a table data (<td>) the text
prints continuesly

sample code

<table>
<tr>
<td><%Response. Write long_lineoftext %><td>
</tr>
</table>

How can I control control the text, for example when it reaches 50 letters
it automatically prints to the next line?
"Evertjan." <ex************ **@interxnl.net > wrote in message
news:Xn******** ************@19 4.109.133.242.. .
leo wrote on 05 dec 2005 in microsoft.publi c.inetserver.as p.general:
I have this problem in controlling a text in a Text Area. How can I do
that, for example the field size is 200, when it reaches 50 it
automatically goes to the next line. Because im having problem when
viewing text in my report,
it continuesly views in a straight line.

Can you give me ASP code for that


There are no textareas in ASP.

ASP is a platform for serverside code languages.

Please ask a clientside NG.

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Dec 6 '05 #3
leo wrote on 06 dec 2005 in microsoft.publi c.inetserver.as p.general:
"Evertjan." <ex************ **@interxnl.net > wrote in message
leo wrote on 05 dec 2005 in microsoft.publi c.inetserver.as p.general:
> I have this problem in controlling a text in a Text Area. How can I
> do that, for example the field size is 200, when it reaches 50 it
> automatically goes to the next line. Because im having problem
> when viewing text in my report,
> it continuesly views in a straight line.
>
> Can you give me ASP code for that
>
There are no textareas in ASP.

ASP is a platform for serverside code languages.

Please ask a clientside NG.

Im using MS Access as my database and Microsoft Frontpage 2002 as my
working environment, also Im using Classic ASP code. Sir this is
exactly my problem, when I insert a line of text (or string) in a
table data (<td>) the text prints continuesly

sample code

<table>
<tr>
<td><%Response. Write long_lineoftext %><td>
</tr>
</table>

How can I control control the text, for example when it reaches 50
letters it automatically prints to the next line?


[Please do not toppost on usenet, Leo]

The above is not a "textarea" but a "table cell",
because "textarea" is something special in HTML.

in a table cell you can use CSS types to enforce nice linebreaking, but
again that is not serverside ASP, so please ask a clientside NG.

Putting a <br> every so-many chars could be done serverside or
clientside, but gives a terrible output with breaks in the middle of
words, like this:

Putting a <br every 50 ch

ars could be
done serversi
de, bur gives
a terrible o
utput with br
eaks in the m
iddle of word
s

Don't do that!

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Dec 6 '05 #4

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

Similar topics

0
1301
by: Steve McLellan | last post by:
Hi all, I've noticed that setting a Form's isMdiContainer to True results in the parent form allowing child windows to be moved out of its client area, and it adds scrollbars automatically to accomodate this. Is there any easy way of disabling this, and further is there any way of limiting the area to which client windows are allowed in? For example, to reserve part of the parent window for other stuff. Docking another control to an edge...
3
1504
by: effendi | last post by:
Is there a way I can control the number of lines a user enters in a textarea? I like to allow user to enter let say 5 lines and no more than that. Thanks in advance.
1
1630
by: leo | last post by:
Hello Guys I have this problem in controlling a the text in a Text Area. How can I do that for example the field size is 200, when it reaches 50 it automatically goes to the next line. Bcoz im having problem when viewing it in my report, it continuesly views in a strieght line and im having problem in printing. Pleasse help.. Thanks
8
2189
by: GaryDean | last post by:
We have been noticing that questions on vs.2005/2.0 don't appear to get much in answers so I'm reposting some questions posted by some of the programmers here in our organization that never got answered... In 1.1 we always did our own myDataAdapter.fills and we liked that control for lots of good reasons. Now the new DataSource (or is it a TableAdapter:Dataset) automatically fills the Gridview. How can we control that fill? In a...
10
12688
by: Jake Barnes | last post by:
This weekend I wanted to learn AJAX, so I set up a little toy page where I could experiment. The idea of this page is that you click in one of the boxes to get some controls, at which point you can add text, images, or HTML to the box. This seems to work fine in FireFox, but not in IE. You can see the problem here: http://www.publicdomainsoftware.org/ajaxExperiment.htm In FireFox, if you click in a box and then select "Add HTML" you...
3
12175
by: Ant | last post by:
Hi all, I have been trying to select text in a Text widget programmatically. I have been trying the following minimal example: #================================= from Tkinter import * def showgui(): win = Tk()
1
1907
by: bbcline | last post by:
Hi all, I'm a newbie to the forum and a Javascript beginner, I'd appreciate some help with a drop down box issue. Is it possble to limit the options/attributes in a drop down box based on how the attribute was rated in a previous question. Basically, if a customer gives a rating of 'Very Satisfied' or 'Somewhat Satisfied' (values 1 and 2, respectively) to an attribute, that attribute is removed from the list of options in a dropdown box...
1
2449
Haitashi
by: Haitashi | last post by:
Hi guys! First off let me explain that I know it's not possible to output html in a text area and expect it to appear rendered. =) I'm trying to come up with a solution. Basically, I receive from my database a field that contains html. Something like: <b>Awesome!</b> <br />
0
2785
by: thersitz | last post by:
Hi, Using aspnet3.5,VStudio 2008, VB 1.) I have a set of pages, with a search text box button within a userControl that searches across our websites and is registered in a masterpage. 2) Also within that set of pages, I have a second, distinct seach box and button that searches a specific database that is within an asp:content area
0
9600
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10631
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10374
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10114
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5548
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5686
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4331
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 we have to send another system
2
3859
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3011
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.