Method cannot be called in RemoteData control's current state (Error 40507).

You cannot use this method in the current RemoteData control state.