Results 1 to 3 of 3

Thread: [RESOLVED] usercontrol button event triggered when hitting enter key

  1. #1

    Thread Starter
    Fanatic Member VBKNIGHT's Avatar
    Join Date
    Oct 2000
    Location
    Port25
    Posts
    619

    Resolved [RESOLVED] usercontrol button event triggered when hitting enter key

    my problem is my page keep on going to the default page just found out that when i hit the enter key the button on my usercontrol also triggers.

    example is when on userid text box when i hit enter the button on the usercontrol triggers.

    how can it be that the usercontrol has focus as well as the text box on my form simultaneously?

    If a post has helped you then Please Rate it!

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: usercontrol button event triggered when hitting enter key

    Two controls cannot have focus at the same time.

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: usercontrol button event triggered when hitting enter key

    What exactly are you trying to accomplish though? Try to elaborate on your problem.

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