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. datagrid on page one do not show changed updated list ?

datagrid on page one do not show changed updated list ?

Scheduled Pinned Locked Moved ASP.NET
comhelpquestion
2 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.
  • I Offline
    I Offline
    imran_rafique
    wrote on last edited by
    #1

    I execute following two line of code from page one WebFormDM_DispositionDetail.DataChanged = New Delegate_DataChanged(AddressOf frmDataChanged_DataChanged) Page.RegisterStartupScript("ShowDialog", "showModalDialog('WebFormDM_DispositionDetail.aspx',null, 'dialogHeight: 320px; dialogWidth: 580px; center: Yes; help: No; resizable: No; status: No; scroll: No;')") then in second page i called DataChanged delegate which in return call thee function frmDataChanged_DataChanged of page one and in that function i have following code p1ListView.DataSource = rs.Tables(0).DefaultView p1ListView.DataBind() p1ListView.Visible = True but p1ListView datagrid on page one do not show changed updated list although rs dataset object have valid records in table can any body help me in this regard? r00d0034@yahoo.com

    R 1 Reply Last reply
    0
    • I imran_rafique

      I execute following two line of code from page one WebFormDM_DispositionDetail.DataChanged = New Delegate_DataChanged(AddressOf frmDataChanged_DataChanged) Page.RegisterStartupScript("ShowDialog", "showModalDialog('WebFormDM_DispositionDetail.aspx',null, 'dialogHeight: 320px; dialogWidth: 580px; center: Yes; help: No; resizable: No; status: No; scroll: No;')") then in second page i called DataChanged delegate which in return call thee function frmDataChanged_DataChanged of page one and in that function i have following code p1ListView.DataSource = rs.Tables(0).DefaultView p1ListView.DataBind() p1ListView.Visible = True but p1ListView datagrid on page one do not show changed updated list although rs dataset object have valid records in table can any body help me in this regard? r00d0034@yahoo.com

      R Offline
      R Offline
      Reza Raad
      wrote on last edited by
      #2

      i think you must rebind your datagrid to view changes

      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