Another quick one

Results 1 to 2 of 2

Thread: Another quick one

  1. #1
    Join Date
    Dec 1969

    Default Another quick one

    Ok I am using an ASP.NET custom validator to validate the len of a textarea&#039;s text. This is the function I am calling. I get an "is null or not an object" error.<BR><BR>&#060;script language="javascript"&#062;<BR>function checkLen(src, args){<BR>// well here is another thing that will not work in NS<BR> args.IsValid = (src.text.length()&#060;151);<BR>}<BR>&#060;/script&#062;<BR><BR>I have the same problem validating textboxes using src.value.length.<BR><BR>src and args are passed to the function by the validator control, at least this is the way I understand it.<BR><BR>Thanks in advance!

  2. #2
    Join Date
    Dec 1969

    Default RE: Another quick one

    1. you should probably be asking in an ASP.NET group<BR>2. surely ASOP.NET validator controls run server-side in NN browsers? not that this is anything like a good thing, but still.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts