Check Max Length

Discussion in 'ASP .Net Web Controls' started by Mike Moore, Nov 12, 2004.

  1. Mike Moore

    Mike Moore Guest

    Is there a asp.net validator control that validates the length of the text
    being entered or does everyone just write jscript for this?
     
    Mike Moore, Nov 12, 2004
    #1
    1. Advertising

  2. Mike Moore wrote:
    > Is there a asp.net validator control that validates the length of the text
    > being entered or does everyone just write jscript for this?


    There's not one out of the box, but you could create your own, either as
    an independent, compiled, custom server control, or by using a
    CustomValidator [http://aspnet.4guysfromrolla.com/articles/073102-1.aspx].

    --

    Scott Mitchell

    http://www.4GuysFromRolla.com

    * When you think ASP.NET, think 4GuysFromRolla.com!
     
    Scott Mitchell [MVP], Nov 12, 2004
    #2
    1. Advertising

  3. Scott Mitchell [MVP], Nov 23, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ray Dixon [MVP]

    Re: MailMessage Max Body Length

    Ray Dixon [MVP], Aug 25, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    824
    Corey Jackson
    Aug 25, 2003
  2. Replies:
    5
    Views:
    983
    X-Centric
    Jun 30, 2005
  3. Summercool
    Replies:
    9
    Views:
    927
    dorayme
    Oct 23, 2007
  4. Greg Ferris

    Textarea max rows and max characters per row

    Greg Ferris, Jan 16, 2004, in forum: Javascript
    Replies:
    2
    Views:
    630
    Greg Ferris
    Jan 16, 2004
  5. kriton
    Replies:
    0
    Views:
    369
    kriton
    Apr 22, 2005
Loading...

Share This Page