Results 1 to 2 of 2

Thread: Validating dynamically created textboxes

  1. #1

    Thread Starter
    Addicted Member haihems's Avatar
    Join Date
    Oct 2004
    Posts
    150

    Question Validating dynamically created textboxes

    Hi,

    In my application, i dynamically create an array of text boxes..I want to validate some set of textboxes for numeric and some for alphanumeric. Can you help me with coding?!!!!!

    I couldn't get the event for the dynamically created controls as we do for the design time controls...how can i do that? suggestions appreciated.....

    Thanks

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    After you create the control, add a handler for it

    VB Code:
    1. AddHandler Button7.Click, AddressOf SomeEventHandler

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