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. GridView Edit

GridView Edit

Scheduled Pinned Locked Moved ASP.NET
cssannouncement
3 Posts 3 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
    Lost User
    wrote on last edited by
    #1

    Hi, Friends i have a grid view with some coulmns like Name,Phone no etc with Edit,Delete column in grid view. I click a row in grid view to Edit,it goes another page where i can edit all fields .Once i update i redirect the page to gridview. I want the grid view to remain in that particular page say 4 of the grid view ie in which page i had edited the record. Guhananth.S

    S A 2 Replies Last reply
    0
    • L Lost User

      Hi, Friends i have a grid view with some coulmns like Name,Phone no etc with Edit,Delete column in grid view. I click a row in grid view to Edit,it goes another page where i can edit all fields .Once i update i redirect the page to gridview. I want the grid view to remain in that particular page say 4 of the grid view ie in which page i had edited the record. Guhananth.S

      S Offline
      S Offline
      Sandeep Mewara
      wrote on last edited by
      #2

      Member 3222264 wrote:

      I click a row in grid view to Edit,it goes another page where i can edit all fields .Once i update i redirect the page to gridview.

      Why do you do that? Its a very bad UI and not good usability wise. Have a look at this article:Editable Nested GridView (All-in-One)[^] This contains all the sample needed that can direct you...

      1 Reply Last reply
      0
      • L Lost User

        Hi, Friends i have a grid view with some coulmns like Name,Phone no etc with Edit,Delete column in grid view. I click a row in grid view to Edit,it goes another page where i can edit all fields .Once i update i redirect the page to gridview. I want the grid view to remain in that particular page say 4 of the grid view ie in which page i had edited the record. Guhananth.S

        A Offline
        A Offline
        Andreas X
        wrote on last edited by
        #3

        Hi! You should try to use a ModalPopupExtender from Ajax Toolkit to show the data that you want to edit. This way your page will not change state and the view will remain as it was when you clicked on the row.

        Andreas Johansson
        IT Professional at Office IT Partner i Norrbotten Sweden
        What we don't know. We learn.
        What you don't know. We teach

        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