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. Textbox in Gridview.....On Tab out Data to be saved in Database...?

Textbox in Gridview.....On Tab out Data to be saved in Database...?

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdatabasehelpquestion
4 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.
  • C Offline
    C Offline
    codingrocks
    wrote on last edited by
    #1

    In my application I have a Gridview, with template columns having Textboxes inside. On entering some values in the first textbox and press tab, focus goes to second textbox again I enter some value and press tab.....It should get saved in database. I am trying to implement this functionality.....please help me....

    SAJAN A PILLAI ASP.NET,C#.NET Programmer BANGALORE "Winners don't do different things. They do things differently. ...

    B 1 Reply Last reply
    0
    • C codingrocks

      In my application I have a Gridview, with template columns having Textboxes inside. On entering some values in the first textbox and press tab, focus goes to second textbox again I enter some value and press tab.....It should get saved in database. I am trying to implement this functionality.....please help me....

      SAJAN A PILLAI ASP.NET,C#.NET Programmer BANGALORE "Winners don't do different things. They do things differently. ...

      B Offline
      B Offline
      Brij
      wrote on last edited by
      #2

      If you want to do it tab navigation then you need an eventhandler which should be called when focus removed from the second textbox else you can use a button set it default focus and on enter save it.

      Cheers!! Brij

      C 1 Reply Last reply
      0
      • B Brij

        If you want to do it tab navigation then you need an eventhandler which should be called when focus removed from the second textbox else you can use a button set it default focus and on enter save it.

        Cheers!! Brij

        C Offline
        C Offline
        codingrocks
        wrote on last edited by
        #3

        On tab out of second textbox, it should get saved to database. Any ideas to implement this will be appreciated. Thanks in advance

        SAJAN A PILLAI ASP.NET,C#.NET Programmer BANGALORE "Winners don't do different things. They do things differently. ...

        B 1 Reply Last reply
        0
        • C codingrocks

          On tab out of second textbox, it should get saved to database. Any ideas to implement this will be appreciated. Thanks in advance

          SAJAN A PILLAI ASP.NET,C#.NET Programmer BANGALORE "Winners don't do different things. They do things differently. ...

          B Offline
          B Offline
          Brij
          wrote on last edited by
          #4

          As I said earlier, use eventhandler that save it in DB

          Cheers!! Brij

          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