Click here to Skip to main content
15,881,139 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a 3 tabs, each tab contains different instances of the same User Control(MyUC). Now the first time I bind the data to the grid, it works fine. But on changing the tab, it fails to rebind the new data to the grid. When I debug it, I found the data fetched from database is correct. The only issue lies is when grid is bound to that datatable. It says to use the new instance. Any help????
Posted

1 solution

You should have to create new instance of user control on that Tab.Like any other standard control create new user control instance on same page but on different Tab.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900