Problem with using two datatables on the same page

Problem with using two datatables on the same page

DntDntDntDnt Posts: 1Questions: 1Answers: 0

I have two user controls that have a dataTable each, they are on the same aspx page, I reinitialize with the ScriptManager.RegisterStartupScript method, but when making a query that I generated towards the server, both dataTables lose their search functionality, page and sorting.
I have already tried the described in this page without success. I hope you can**** help me solve my problem. Thank you

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Hi @DntDnt ,

    If there's losing that functionality, it would suggest they're no longer valid DataTables, possibly because they've been reinitialised. Are there any console errors that would give any clues? If no joy, we're happy to take a look but please link to your page or create a test case for us to look at.

    Cheers,

    Colin

This discussion has been closed.