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. OnFocus Of Textbox

OnFocus Of Textbox

Scheduled Pinned Locked Moved ASP.NET
csharpasp-net
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.
  • V Offline
    V Offline
    vidyasankar 0
    wrote on last edited by
    #1

    hai all, i have develop web application using c# with asp.net.... i need the solution for "when the pageload the cursor pointout automatically particular textbox ".... if anybody know ...pls reply me with source code.... Thanks And Regards, vidyasankar

    More pain gives More gain

    S 1 Reply Last reply
    0
    • V vidyasankar 0

      hai all, i have develop web application using c# with asp.net.... i need the solution for "when the pageload the cursor pointout automatically particular textbox ".... if anybody know ...pls reply me with source code.... Thanks And Regards, vidyasankar

      More pain gives More gain

      S Offline
      S Offline
      Sathesh Sakthivel
      wrote on last edited by
      #2

      TextBox1(ID).Focus(); Just call it like this on the page load.

      SSK.

      V 1 Reply Last reply
      0
      • S Sathesh Sakthivel

        TextBox1(ID).Focus(); Just call it like this on the page load.

        SSK.

        V Offline
        V Offline
        vidyasankar 0
        wrote on last edited by
        #3

        Thanks for your response... i do that but its not working good... and i got another solution... (i.e) Page.RegisterStartupScript("setfocus", " document.forms[0]." + TextBox1.ClientID + ".focus(); "); its working good... regards, vidyasankar

        pain gives gain

        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