Jump to content

erro update listview


Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.