It actually calls the method call RaisePostBackEventthat the control provides through the IPostBackEventHandler interface . The control can then check the argument and raise the corresponding event. Some controls ignore the argument and simply raise the Click value, but in the GridView it can raise events like PageIndexChanging, Sorting, or SelectedIndexChanging.
source
share