The grid view below switches to the empty data template after an update has been done and the details view is closed. This even happens on a Grid View page with records. I would expect to see these records when the details is closed.
I think I understand why it's switching to the empty data template, but I don't see what's causing this or how to fix it. The properties of the grid view are getting cleared out. For example, PageIndex, SelectedIndex, SelectedRow.DataItemIndex, and SelectedRow.RowIndex
are all being set to 0. The SelectedValue is being set to NULL. I think these properties being set this way are the cause for the empty data template being displayed. I don't think the empty data template would display if these properties weren't being
cleared out.
Note: This issue started since I put the code for the details events in the ItemCommand. The same code worked before with out causing this issue when it was in th ...
Go to the complete details ...