Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Controlling text in a Text Area

Reply
Thread Tools

Controlling text in a Text Area

 
 
leo
Guest
Posts: n/a
 
      12-05-2005
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





 
Reply With Quote
 
 
 
 
Evertjan.
Guest
Posts: n/a
 
      12-05-2005
leo wrote on 05 dec 2005 in microsoft.public.inetserver.asp.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)

 
Reply With Quote
 
 
 
 
leo
Guest
Posts: n/a
 
      12-06-2005
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." <(E-Mail Removed)> wrote in message
news:Xns97236D01FC318eejj99@194.109.133.242...
> leo wrote on 05 dec 2005 in microsoft.public.inetserver.asp.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)
>



 
Reply With Quote
 
Evertjan.
Guest
Posts: n/a
 
      12-06-2005
leo wrote on 06 dec 2005 in microsoft.public.inetserver.asp.general:
> "Evertjan." <(E-Mail Removed)> wrote in message
>> leo wrote on 05 dec 2005 in microsoft.public.inetserver.asp.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)

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MVC2: linking from one area view to another area view Andy B. ASP .Net 0 04-30-2010 07:46 AM
do structure definitions go in data area or in code area... hotadvice C Programming 14 10-02-2007 04:10 AM
Controlling text in a Text Area or Text leo ASP General 1 12-05-2005 01:13 AM
Add point to graphics area without having to paint the whole area? Mark Java 1 06-27-2005 03:09 AM
Controlling no of lines for text area input effendi@epitome.com.sg Javascript 2 02-15-2005 05:50 PM



Advertisments