Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
340
WebGrid Pagination Problem
posted

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