Radgrid not updating after delete
03-Mar-2020 01:48
But then it occurred to me: If that's true, why do I have the Details View1_Data Bound routine defined (and I KNOW that one is being fired).So, after adding those defintions in there, I was able to remove that "if Is Post Back" from my Page_Load routine...Data Bind(); So now, after inserting, deleting, or updating, the Gridview is automatically refreshing. Im using a Radgrid to display some results where the user can edit/update/delete them.
I had it rigged so that when you selected off the dropdown that is the first real field, another drop-down further on down is populated and certain fields become visible or invisible, based on that selection. And if I fill out the record completely anyways and click "Insert", nothing happens.I thought that either Details View1_Item Updated, Details View1_Item Deleted, or Details View1_Item Inserted get called?I put a breakpoint and some debug statements into them (since I've been occasionally uncommenting-lines-out and trying to do the data rebind in there) and it doesn't look to me like they're ever getting called? Selecting any of the rows in Gridview results in a click, but that's about it.That works (as before), but the Gridview still doesn't get updated.
Say, when I create, edit, or delete a record from Details View...OK, after doing that: Selecting a row doesn't activate or populate the Detailsview.