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. ajax update panel

ajax update panel

Scheduled Pinned Locked Moved ASP.NET
databasequestionannouncement
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.
  • U Offline
    U Offline
    UD IA
    wrote on last edited by
    #1

    hi, i am using master page. i use page using master page in this page there are two content place holder one for datagrid and second for panel add,edit,delete, info. and in datagrid there are info, edit, delete image button. when i click on edit image button than open edit panel which exists in second content place holder and fill that from database previous values. when i edit on fields and than click on save button i want that page will not refresh and value is edited in database and also in gridview. how i can do this? update panel cant place outside the both content place holder because this page is from mater page. :-D

    I will do my best?

    A 1 Reply Last reply
    0
    • U UD IA

      hi, i am using master page. i use page using master page in this page there are two content place holder one for datagrid and second for panel add,edit,delete, info. and in datagrid there are info, edit, delete image button. when i click on edit image button than open edit panel which exists in second content place holder and fill that from database previous values. when i edit on fields and than click on save button i want that page will not refresh and value is edited in database and also in gridview. how i can do this? update panel cant place outside the both content place holder because this page is from mater page. :-D

      I will do my best?

      A Offline
      A Offline
      astanton1978
      wrote on last edited by
      #2

      Update panel is evil. If you can avoid using it, please do. Can you please explain more clearly what you are trying to do?

      U 1 Reply Last reply
      0
      • A astanton1978

        Update panel is evil. If you can avoid using it, please do. Can you please explain more clearly what you are trying to do?

        U Offline
        U Offline
        UD IA
        wrote on last edited by
        #3

        thanks to reply :-D problem is that i want to refresh datagrid control which is also in updatepanel and this control is in contentplaceholder1. and when i open edit panel which is open in new contentplaceholder2 when edit data datagrid is not refreshed while work is done. when i click on that contentplaceholder1 dropdownlist then datagrid is update. how to refresh without refresh the page.(using ajax)

        I will do my best?

        A 1 Reply Last reply
        0
        • U UD IA

          thanks to reply :-D problem is that i want to refresh datagrid control which is also in updatepanel and this control is in contentplaceholder1. and when i open edit panel which is open in new contentplaceholder2 when edit data datagrid is not refreshed while work is done. when i click on that contentplaceholder1 dropdownlist then datagrid is update. how to refresh without refresh the page.(using ajax)

          I will do my best?

          A Offline
          A Offline
          astanton1978
          wrote on last edited by
          #4

          UpdatePanel != Ajax. Your best bet is probably to combine the Datagrid and Edit controls in the same UserControl. If you keep your current model, one thing you could try is to put a hidden button on the UC with the datagrid. On the server side, when that button is clicked, refresh the grid. Then when the edit controls should update the grid, have JavaScript programmatically click the hidden button on the datagrid UC.

          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