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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. custom control set foucs problem

custom control set foucs problem

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nethelptutorialquestion
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.
  • L Offline
    L Offline
    lav naphade
    wrote on last edited by
    #1

    i m using coustom control and user conrol in page asp.net page .this control added into ajax update panel control . i want to set runtime focus in custom control or user control in control. how to set focus? plz reply

    lav naphade

    C 1 Reply Last reply
    0
    • L lav naphade

      i m using coustom control and user conrol in page asp.net page .this control added into ajax update panel control . i want to set runtime focus in custom control or user control in control. how to set focus? plz reply

      lav naphade

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      You need to use javascript to set the focus to a control. To do this, you'll need the client side Id of the control, which is the ClientID property of the server control. Do you know any javascript ?

      Christian Graus Driven to the arms of OSX by Vista.

      L 1 Reply Last reply
      0
      • C Christian Graus

        You need to use javascript to set the focus to a control. To do this, you'll need the client side Id of the control, which is the ClientID property of the server control. Do you know any javascript ?

        Christian Graus Driven to the arms of OSX by Vista.

        L Offline
        L Offline
        lav naphade
        wrote on last edited by
        #3

        i know the javascript but i m already using javascript but it is not working properly For eg: fucntion focus(customtxt) { customtxt.Focus(); } plz send me solution

        lav naphade

        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