I have a Asp.Net webform which contains a gridview control and pagenavigation usercontrol. There is property exposed by the user control which sets the instance of the gridview control. The instance is passed from the webform the first time the page is loaded.when I click the next button of the pagenavigation user control to traverse to the next page, the gridview control object in the usercontrol is null.
Could you let me know why this is happening? The gridview control was correctly set the first time ? Why is the giving object instance not set error while traversing? How to get around this issue ?