GridView in an User Control Disappears when i change the page

I have a user control which i use in a main page. This user control has a gridview , and when i change the page the user control disappears.

Please let me know what to do
Who is Participating?
MrunalConnect With a Mentor Commented:
Please check page load event and the event in which you are binding data to GridView.
Debug both the events while changing page.

You will find yourself where you will need to bind again GridView if not bounded in proper event.

Hope this helps you.
Bob LearnedCommented:
Disappearing GridView controls usually means that you didn't rebind the control on post-back.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.