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!
Martine - 29 Jan 2004 09:28 GMT
Did you make sure databinding of the objectlist does not take place
when it's a postback?
> Hi,
>
[quoted text clipped - 5 lines]
>
> thanks!
uni - 04 Feb 2004 23:46 GMT
In some cases, i need to rebind the data upon posting back to reflect the changes. It works fine in 1.0 though.