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 server side event for textbox in datagrid

OnFocus server side event for textbox in datagrid

Scheduled Pinned Locked Moved ASP.NET
javascriptsysadminquestion
2 Posts 2 Posters 2 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.
  • M Offline
    M Offline
    minckle
    wrote on last edited by
    #1

    I have a datagrid containing multiple rows / columns, each cell contains a textbox. How do I kick off a server side event when a user mouseclicks or tabs into a cell / textbox, there doesn t seem to be a standard event so was wondering if i need to add javascript to kick of the event. theres a onTextChanged Event but no onFocus Event any ideas would be really helpful

    V 1 Reply Last reply
    0
    • M minckle

      I have a datagrid containing multiple rows / columns, each cell contains a textbox. How do I kick off a server side event when a user mouseclicks or tabs into a cell / textbox, there doesn t seem to be a standard event so was wondering if i need to add javascript to kick of the event. theres a onTextChanged Event but no onFocus Event any ideas would be really helpful

      V Offline
      V Offline
      Viral Upadhyay
      wrote on last edited by
      #2

      You can use __doPostBack() function of javascript. Please search for it, it will help you.

      Viral My Blog Save Our Tigers

      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