468,119 Members | 1,988 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,119 developers. It's quick & easy.

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 1318
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by tony wong | last post: by
7 posts views Thread by Anz | last post: by
13 posts views Thread by didacticone | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.