login control wont work correctly with masterpage

Posted on 2006-03-28
Last Modified: 2008-03-10
Hello,  I have a login control that will not work properly when the login page is displayed in the master page. It works correctly if not using a master page. It will authenticate if the login button is manually clicked but does not work if the keyboard enter button is pressed. It is like it cannot recieve focus.

Any ideas why?
Question by:gogetsome

    Author Comment

    Ok, so I had a image button on the master page that was displaying the sites logo. This was recieving focus and causing a postback to the default.aspx and not completing the login process.
    LVL 3

    Accepted Solution

    Hi gogetsome

    If that to dint work and if you want to set the focus explicitly.
    Then 2.0 provides new focus method

    So you can also try this.login1.focus() in page load method

    Good luck

    Author Comment

    Thanks spdude your solution did the trick.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Suggested Solutions

    AJAX ModalPopupExtender has a required property "TargetControlID" which may seem to be very confusing to new users. It means the server control that will be extended by the ModalPopup, for instance, if when you click a button, a ModalPopup displays,…
    One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on could not pull conte…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now