I have 3 user control defined web grids wrapped with a warp and pagination enabled. I am creating the pagination links in javascript by setting the innerText in RunOnLoad of a span tag set on the Page.Pattern.
The links displayed fine on the first grid tab but not the other tabs. I found that I could solve the problem partially when I bind to grid I call Grid.Clear() and Grid.Dispose on the two grids that are not bound. Now the links display when I switch tabs.
However if I click on the links and change pages on the first tab causing an async postback and then change tabs the links no longer appear.
Appears as if the xml/html is not getting updated with the innerText.
Any one have an idea how to force that somehow to refresh or update the page.
Thanks
Fixed it, took a stab and added
Grid.Visible = False in addition to clear and dispose then Grid.Visible = True when i Bind.
Works fine now