dianaemanuel Posted September 24, 2014 Report Share Posted September 24, 2014 Boas tardes, Quando carrego no botão de update de uma linha num listview está a dar-me o seguinte erro: "Additional information: Failed to load viewstate. The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request. For example, when adding controls dynamically, the controls added during a post-back must match the type and position of the controls added during the initial request.". Consigo colocar a listview no modo de editar, inserir linhas e apagar mas o update não estou a conseguir. A listview está dentro de um user Controle é toda construída em runtime, ou seja, não tenho design no user control. Podem-me ajudar a solucionar este problema? Link to comment Share on other sites More sharing options...
RicardoCosta Posted September 25, 2014 Report Share Posted September 25, 2014 Podes postar o código que usas para construir a listview? Link to comment Share on other sites More sharing options...
dianaemanuel Posted September 30, 2014 Author Report Share Posted September 30, 2014 Bons dias, Este problema já está resolvido. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now