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. Reg focus problem in user control

Reg focus problem in user control

Scheduled Pinned Locked Moved ASP.NET
questionhtmlhelp
3 Posts 2 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.
  • P Offline
    P Offline
    praveenn
    wrote on last edited by
    #1

    :)I have user control, which has been developed using ASCX page. I have used one tag and some table tags inside the tag (I am not using any HTML input controls.) And I have registered above user control in test page where I have HTML input controls along with this. And the controls order goes like this textbox, usercontrol,select box…etc My question is: Is it possible to get the focus to this user control using tab key in the keyboard like focus on button or image? and is it possible to get onBlur,onFocus events for this user control? Thanks Praveen

    A 1 Reply Last reply
    0
    • P praveenn

      :)I have user control, which has been developed using ASCX page. I have used one tag and some table tags inside the tag (I am not using any HTML input controls.) And I have registered above user control in test page where I have HTML input controls along with this. And the controls order goes like this textbox, usercontrol,select box…etc My question is: Is it possible to get the focus to this user control using tab key in the keyboard like focus on button or image? and is it possible to get onBlur,onFocus events for this user control? Thanks Praveen

      A Offline
      A Offline
      Andy Smith
      wrote on last edited by
      #2

      focusing non-input controls doesn't really make much sense for web forms. If your user control doesn't contain any input controls, what do you expect the focusing to _do_?

      P 1 Reply Last reply
      0
      • A Andy Smith

        focusing non-input controls doesn't really make much sense for web forms. If your user control doesn't contain any input controls, what do you expect the focusing to _do_?

        P Offline
        P Offline
        praveenn
        wrote on last edited by
        #3

        This is control looks like drop down box.And on focus of this i need to show one px of border.I can able to achive this effect on mouse over of this control but not on tab click

        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