Microsoft
Software
Hardware
Network
Question : SPRY DataSet - not updating on screen after successful update to database
Hello,
I have a main form with an "edit" button. This form is populated with a Spry DataSet. The main form loads a Shadowbox form for user to update data when "edit" is clicked. On the Shadowbox form, I have a button "Update Info". I want the user to press this button, data gets updated, Shadowbox closes and the main form shows the updated information.
Everything is working correctly, except for the update on the main form. I must reload the main form to see the updated data. I have tried Spry.DataSet.updateAllRegi
ons() as well as Spry.DataSet.updateRegion(
"myRegion"
) but neither has any effect. I need it to be update after the Shadowbox is closed.
I'm sure I'm overlooking something very obvious, so I would be very appreciative if someone could point me in the right direction. This is my first project with Spry.
Many thanks.
Cheers!
Answer : SPRY DataSet - not updating on screen after successful update to database
Also, I think you may want to call loadData() after the update is performed.
ds1.loadData();
Random Solutions
Refresh only current iframe on F5
Should I enable or disable TCP Offload in my Hyper-V R2 environment?
Citrix XenApp 5 Installation General Question
Can't access variable in code behind page
Moving from MS SBS 2003 to a 100% hosted solution?
Anyone run an online backup software along side Ghost with no conflicts.
How do I get my emails off an Outlook.ost file to a outlook.pst file?
How do I hide/show divs in a custom (ascx) control inside an asp:repeater control?
Getting an operation failed error when logging into the Plesk Panel
AIX DB2 error