472,958 Members | 2,185 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,958 software developers and data experts.

Feedback The Number of Characters Entered Into Textarea?

I'm wondering if anybody has figured out how to implement this feedback
methodology [1] which displays [ x ] Characters Remaining when using the
TextBox TextMode="MultiLine" attribute which will cause the TextBox to be
output as a textarea element.

I have my constraints worked out. Its the feedback I am interested in
implementing.

<%= Clinton Gallagher

[1]
http://www.mediacollege.com/internet...haracters.html
Nov 19 '05 #1
4 1492
Looks like the article already talks you through how to implement that
feature. You can only do that in JavaScript. Is there a problem
implementing their code in your site?

"clintonG" <cs*********@REMOVETHISTEXTmetromilwaukee.com> wrote in message
news:ei**************@TK2MSFTNGP15.phx.gbl...
I'm wondering if anybody has figured out how to implement this feedback
methodology [1] which displays [ x ] Characters Remaining when using the
TextBox TextMode="MultiLine" attribute which will cause the TextBox to be
output as a textarea element.

I have my constraints worked out. Its the feedback I am interested in
implementing.

<%= Clinton Gallagher

[1]
http://www.mediacollege.com/internet...haracters.html

Nov 19 '05 #2
Hello Peter,

I attempted to implement using several strategies. The feedback won't
function. I think it may be due to the value of the gnarly name attribute
generated by the ASP.NET control tree. I've got to sleep on it tonight...

<%= Clinton Gallagher

"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Looks like the article already talks you through how to implement that
feature. You can only do that in JavaScript. Is there a problem
implementing their code in your site?

"clintonG" <cs*********@REMOVETHISTEXTmetromilwaukee.com> wrote in message
news:ei**************@TK2MSFTNGP15.phx.gbl...
I'm wondering if anybody has figured out how to implement this feedback
methodology [1] which displays [ x ] Characters Remaining when using the
TextBox TextMode="MultiLine" attribute which will cause the TextBox to be
output as a textarea element.

I have my constraints worked out. Its the feedback I am interested in
implementing.

<%= Clinton Gallagher

[1]
http://www.mediacollege.com/internet...haracters.html


Nov 19 '05 #3
The name of a control as seen by IE usually never changes (unless it is
dynamic). You could, in IE, view the html source and use the name provided
as your reference, or you could dynamically generate the JavaScript and use
the ClientID property of .NET to output the correct reference when
generating the JavaScript.

"clintonG" <cs*********@REMOVETHISTEXTmetromilwaukee.com> wrote in message
news:u2**************@TK2MSFTNGP12.phx.gbl...
Hello Peter,

I attempted to implement using several strategies. The feedback won't
function. I think it may be due to the value of the gnarly name attribute
generated by the ASP.NET control tree. I've got to sleep on it tonight...

<%= Clinton Gallagher

"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Looks like the article already talks you through how to implement that
feature. You can only do that in JavaScript. Is there a problem
implementing their code in your site?

"clintonG" <cs*********@REMOVETHISTEXTmetromilwaukee.com> wrote in
message news:ei**************@TK2MSFTNGP15.phx.gbl...
I'm wondering if anybody has figured out how to implement this feedback
methodology [1] which displays [ x ] Characters Remaining when using the
TextBox TextMode="MultiLine" attribute which will cause the TextBox to
be output as a textarea element.

I have my constraints worked out. Its the feedback I am interested in
implementing.

<%= Clinton Gallagher

[1]
http://www.mediacollege.com/internet...haracters.html



Nov 19 '05 #4
I'm going to try using the control's ID today...

<%= Clinton Gallagher

"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:O1*************@TK2MSFTNGP10.phx.gbl...
The name of a control as seen by IE usually never changes (unless it is
dynamic). You could, in IE, view the html source and use the name
provided as your reference, or you could dynamically generate the
JavaScript and use the ClientID property of .NET to output the correct
reference when generating the JavaScript.

"clintonG" <cs*********@REMOVETHISTEXTmetromilwaukee.com> wrote in message
news:u2**************@TK2MSFTNGP12.phx.gbl...
Hello Peter,

I attempted to implement using several strategies. The feedback won't
function. I think it may be due to the value of the gnarly name attribute
generated by the ASP.NET control tree. I've got to sleep on it tonight...

<%= Clinton Gallagher

"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Looks like the article already talks you through how to implement that
feature. You can only do that in JavaScript. Is there a problem
implementing their code in your site?

"clintonG" <cs*********@REMOVETHISTEXTmetromilwaukee.com> wrote in
message news:ei**************@TK2MSFTNGP15.phx.gbl...
I'm wondering if anybody has figured out how to implement this feedback
methodology [1] which displays [ x ] Characters Remaining when using
the TextBox TextMode="MultiLine" attribute which will cause the TextBox
to be output as a textarea element.

I have my constraints worked out. Its the feedback I am interested in
implementing.

<%= Clinton Gallagher

[1]
http://www.mediacollege.com/internet...haracters.html



Nov 19 '05 #5

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

Similar topics

1
by: Kenneth McDonald | last post by:
I'm working on the 0.8 release of my 'rex' module, and would appreciate feedback, suggestions, and criticism as I work towards finalizing the API and feature sets. rex is a module intended to make...
6
by: tony wong | last post by:
i wish to count number of characters in textarea box during typing in and display it somewhere in html page. so the number will increase during writing. is it possible to do it by javascript? ...
8
by: david.lindsay.green | last post by:
Hello all, I am quite new a web scripting and making web pages in general and I have stumbled across a problem I have as yet been unable to solve. I am trying to take the contents of a textarea box...
12
by: comp.lang.php | last post by:
I have a textarea where people can cut & paste their resume. Unfortunately they often cut & paste their Word resume into the textarea, funky characters and all. This causes the display to be...
9
by: Nathan Sokalski | last post by:
I have several TextBoxes with TextMode="MultiLine" in which I want to limit the number of characters that can be entered using a RegularExpressionValidator. I have come up with the following...
7
Haitashi
by: Haitashi | last post by:
This is in the head: <script language="javascript" type="text/javascript"> function limitText(limitField, limitCount, limitNum) { if (limitField.value.length > limitNum) { limitField.value =...
7
by: Anz | last post by:
Is there any javascript function for counting the number of lines inside a text area ?
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...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
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...
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
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
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...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.