Best Way to Determine Max Length Textbox

Discussion in 'ASP .Net' started by =?Utf-8?B?TWlrZSBNb29yZQ==?=, Nov 23, 2004.

  1. Is it better to find the max length of a textbox using the
    dataset (database length fields) or using the length property
    of the textbox?

    Also, which is the best and easiest to do - custom validator or
    expression validator for max and min length of textbox fields?
    =?Utf-8?B?TWlrZSBNb29yZQ==?=, Nov 23, 2004
    #1
    1. Advertising

  2. HI Mike it depends on what u want to do!
    U can even use Javascript if u want...
    The ball is in ur court!
    Patrick

    "Mike Moore" wrote:

    > Is it better to find the max length of a textbox using the
    > dataset (database length fields) or using the length property
    > of the textbox?
    >
    > Also, which is the best and easiest to do - custom validator or
    > expression validator for max and min length of textbox fields?
    =?Utf-8?B?UGF0cmljay5PLklnZQ==?=, Nov 23, 2004
    #2
    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. Abhishek Srivastava

    Best way to check minimum length for a textbox field

    Abhishek Srivastava, Feb 10, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    23,432
    efontana
    Mar 10, 2009
  2. Dan Manes
    Replies:
    1
    Views:
    733
    David Browne
    Apr 23, 2006
  3. Michael Ekstrand
    Replies:
    3
    Views:
    11,852
    Andrew Koenig
    Mar 24, 2007
  4. Summercool
    Replies:
    9
    Views:
    882
    dorayme
    Oct 23, 2007
  5. Greg Ferris

    Textarea max rows and max characters per row

    Greg Ferris, Jan 16, 2004, in forum: Javascript
    Replies:
    2
    Views:
    577
    Greg Ferris
    Jan 16, 2004
Loading...

Share This Page