Tab Index

Last post 11-08-2009 5:11 AM by bhanu2217. 2 replies.

Sort Posts:

  • Tab Index

    11-07-2009, 10:44 AM
    • Member
      19 point Member
    • bhanu2217
    • Member since 04-14-2008, 3:26 AM
    • Bangalore,India
    • Posts 84

    I have a login page.

    where i have textbox for ID, Password and submit button.

    When user presses enter key after entering the password i want the event to be called which gets called on click on submiting button but its not happening.

    So basicaly even if user doesnt click on submit button with the mouse, or user just presses enter/return key after entering the password i want that click to call the event which gets called on click of submit button.


    Thanks in advance.


    Windows 7 RC.
    Visual Studio 2008
    Sql Server 2005
    Blog: www.JamboreeBliss.com
  • Re: Tab Index

    11-07-2009, 1:23 PM
    Answer
    • All-Star
      18,844 point All-Star
    • raghav_khunger
    • Member since 08-18-2008, 8:25 AM
    • Delhi, India
    • Posts 3,449
    • TrustedFriends-MVPs

    Hi,

    Just put your controls in a Panel and set its default button property as your's button id

    Raghav CodeASP.NET Community | My Blog | jQuery Intellisense in Visual Studio 2008




    "Success doesn't come to you…you go to it."--Marva Collins

    "Failure is success if we learn from it." Malcolm Forbes

    "Success does not come to those who wait . . . and it does not wait for anyone to come to it." Anonymous


  • Re: Tab Index

    11-08-2009, 5:11 AM
    • Member
      19 point Member
    • bhanu2217
    • Member since 04-14-2008, 3:26 AM
    • Bangalore,India
    • Posts 84

    Thanks i got it. For the panel set the default button as ur button id.

    Windows 7 RC.
    Visual Studio 2008
    Sql Server 2005
    Blog: www.JamboreeBliss.com
Page 1 of 1 (3 items)