tags:

views:

277

answers:

2

Hi Everybody, i have a gridview control . When I change page of gridview control i get this error.

Server Error in '/' Application.

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. For example, when adding controls dynamically, the controls added during a post-back must match the type and position of the controls added during the initial request.

how to tackle with this problem. It's urgent Any suggestion? Thanks in advance.

A: 

There may be some cached control. Try clearing your browser cache and try again

DaDa
A: 

I have enabled paging in gridview programmatically. I have cleared my browser cache. How to solve this problem.

Mohan Sharma