.net framework 1.1 problem

U

uni

Hi,

I have an asp.net application with MMIT ObjectList controls. Recently i upgrade the framework to 1.1. When I click one of the lines in the objectlist to see the details and hit [Back] command to go back, I got an error like this:
Invalid posted data for current ObjectList ViewMode. (The ObjectList may have been databound on postback during Page_Load, resetting the ViewMode. Call DataBind in Page_Load only if IsPostBack is false.)
but it works fine with dotnet framework 1.0.

Anybody knows what that happened and how to resolve it?

thanks!
 
M

Martine

Did you make sure databinding of the objectlist does not take place
when it's a postback?
 
U

uni

In some cases, i need to rebind the data upon posting back to reflect the changes. It works fine in 1.0 though.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,019
Latest member
RoxannaSta

Latest Threads

Top