Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > How to find the Textbox text length. . . .

Reply
Thread Tools

How to find the Textbox text length. . . .

 
 
Raghuram
Guest
Posts: n/a
 
      05-07-2005
i have a textbox with the max 5000 char and if the user reaches to the max
he should be alerted with an msg displaying "reaced to max".
i tried to do this by TextBox1_TextChanged but i was failed.
please can any one help me
Raghuram


 
Reply With Quote
 
 
 
 
Peter Rilling
Guest
Posts: n/a
 
      05-07-2005
You need to do this in JavaScript. Try using some JS events like
onkeypress.

"Raghuram" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> i have a textbox with the max 5000 char and if the user reaches to the max
> he should be alerted with an msg displaying "reaced to max".
> i tried to do this by TextBox1_TextChanged but i was failed.
> please can any one help me
> Raghuram
>
>



 
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
How to find which button was clicked in a repeater itemtemplate and find the value of textbox AlecL ASP .Net 3 04-11-2007 10:52 PM
Textbox, Input (text) on turbotax... anyone know which 3rd party textbox this is??? pld888@gmail.com ASP .Net 3 02-23-2007 08:51 PM
Find.find does not find orphaned links? Wybo Dekker Ruby 1 11-15-2005 02:50 PM
ASP.NET textbox loses text value in composite control but Textbox subclass doesn't!? ErwinP ASP .Net Web Controls 1 08-19-2005 01:50 PM
writing two textbox's text in one textbox agb ASP .Net Web Controls 1 08-27-2003 12:57 AM



Advertisments