Results 1 to 3 of 3

Thread: maxlength for TextBox not working

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2007
    Posts
    523

    maxlength for TextBox not working

    If I set the maxlength field for a textbox, and have the textmode set to SingleLine, the amount of text is limited to the specified number of characters. If you change TextMode to MultiLine, the number of characters is no longer constrained. Is there any way around this?

  2. #2
    King of sapila
    Join Date
    Oct 2006
    Location
    Greece
    Posts
    6,763

    Re: maxlength for TextBox not working

    You need javascript or RegularExpressionValidator.
    Do a Google search.
    ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
    πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·

  3. #3
    New Member
    Join Date
    Jun 2012
    Posts
    3

    Re: maxlength for TextBox not working

    ya this is right you should help of java script for do this

Posting Permissions

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



Click Here to Expand Forum to Full Width