Hello, people!
First of all, this is the first time I'm using the forums, so I apologize beforehand in case I posted this question in the wrong topic... Let's get to the point now :)
My problem happens when the DetailsView is first loaded without any records (so, the emptytemplate is actually loaded). After an insertion, the DetailsView is reloaded accordingly, and so far, no problem - but if I try to edit the information, or try to click on any other screen element, I get a viewstate error (Failed to load viewstate).
I thought there could be some way to update viewstate, or try to indicate somehow that the DetailsView is now loaded using the Fields tags (something similar to ItemTemplate, were it a FormView component)... I'd like to know if I am on the right track or (more likely), if I am doing something wrong and there is a better/easier way to go on with this.
Thanks,
Thiago.