Hi,
the data bound to the grid is stored in the session and bound to the grid in the DataBound event.
Now I want to reload the data from the database only when the user clicks the "Refresh" button. In all other cases, the data is taken from the session.
I thought I could use the
but this is also the case when e.g. the columns are reordered.
Whats the check for the Refresh button?
Thanks!
the data bound to the grid is stored in the session and bound to the grid in the DataBound event.
Now I want to reload the data from the database only when the user clicks the "Refresh" button. In all other cases, the data is taken from the session.
I thought I could use the
e.RebindReason == GridRebindReason.ExplicitRebind
Whats the check for the Refresh button?
Thanks!