Ok, this is my situation. I have two composit controls that I have built. The first is a Pager Control for datagrids, and the second is a paging status control. The Pager will page through the datagrid, while the Paging Status control will let the user know what Page the user is on and how many other pages there are left. The two controls are separate so that I can place them in different locations on my page. My problem is with the events that fire from these controls. When my Pager control fires the next page event it will first do a data bind on itself (which is what I want it to do) and then build the controls for the Pager Status control. When I fire the event for the next page again it will then build the Page Status control and after that bind the Pager control. This is the opposite of what happens the first time I click on my Next button. When I click once again (3rd time) on the next button firing the next page event, the pager will do a data bind (that's correct) and then build the Pager status control.
The events will flip-flop the order they fire. Why is this happing? Why would they not fire the same way ever time. They will also flip flow when I hit the previous button, which simple fires the same event but decrease the page index.
Please help, I'm going crazy.
Thanks,
Joe