Understanding viewstate is fundamental in asp.net, especially if you had run into : Failed to load viewstate. The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request...