Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Tab Order in Ajax ModalPopupExtender

Tab Order in Ajax ModalPopupExtender

Scheduled Pinned Locked Moved ASP.NET
helpquestion
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jay Royall
    wrote on last edited by
    #1

    Hi, I have an Ajax ModalPopupExtender which contains several textboxes and two buttons, save and close. The problem I am having is that when I use the tab key to move between TextBoxes the ModalPopupExtender loses focus and the focus moves outside of my web page, usually the browser's address bar gets the focus. Anyone else experienced this? If so, did you manage to solve it and how? Thanks for your time :)

    D 1 Reply Last reply
    0
    • J Jay Royall

      Hi, I have an Ajax ModalPopupExtender which contains several textboxes and two buttons, save and close. The problem I am having is that when I use the tab key to move between TextBoxes the ModalPopupExtender loses focus and the focus moves outside of my web page, usually the browser's address bar gets the focus. Anyone else experienced this? If so, did you manage to solve it and how? Thanks for your time :)

      D Offline
      D Offline
      dan sh
      wrote on last edited by
      #2

      I guess you will manually need to set focus on the first textbox in the modal popup. You can do that in the on showing event of the popup through javascript.

      It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD

      J 1 Reply Last reply
      0
      • D dan sh

        I guess you will manually need to set focus on the first textbox in the modal popup. You can do that in the on showing event of the popup through javascript.

        It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD

        J Offline
        J Offline
        Jay Royall
        wrote on last edited by
        #3

        Thanks for your reply but I have actually tried that. Even then, when I tab from the first TextBox the browser's address bar gets the focus. I will check over my code once more see if I have overlooked something. Thanks again for your time :)

        G 1 Reply Last reply
        0
        • J Jay Royall

          Thanks for your reply but I have actually tried that. Even then, when I tab from the first TextBox the browser's address bar gets the focus. I will check over my code once more see if I have overlooked something. Thanks again for your time :)

          G Offline
          G Offline
          Guinness4Strength
          wrote on last edited by
          #4

          Did you ever find a solution to this ?

          J 1 Reply Last reply
          0
          • G Guinness4Strength

            Did you ever find a solution to this ?

            J Offline
            J Offline
            Jay Royall
            wrote on last edited by
            #5

            yes, although I don't recall what the solution was! I will look when I get to work tomorrow.

            G 1 Reply Last reply
            0
            • J Jay Royall

              yes, although I don't recall what the solution was! I will look when I get to work tomorrow.

              G Offline
              G Offline
              Guinness4Strength
              wrote on last edited by
              #6

              Thanks.....any luck ?

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups