.net framework 1.1 problem

Discussion in 'ASP .Net Mobile' started by uni, Jan 29, 2004.

  1. uni

    uni Guest

    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!
    uni, Jan 29, 2004
    #1
    1. Advertising

  2. uni

    Martine Guest

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

    uni <> wrote in message news:<>...
    > 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, Jan 29, 2004
    #2
    1. Advertising

  3. uni

    uni Guest

    In some cases, i need to rebind the data upon posting back to reflect the changes. It works fine in 1.0 though.
    uni, Feb 4, 2004
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Anatoly Volodko
    Replies:
    1
    Views:
    2,074
    Mattias Sjögren
    Aug 14, 2003
  2. moi
    Replies:
    3
    Views:
    4,037
    quaiser_ali
    Sep 26, 2008
  3. pizza
    Replies:
    1
    Views:
    517
    Eliyahu Goldin
    Mar 8, 2007
  4. Rachel
    Replies:
    1
    Views:
    911
    Rachel
    Dec 10, 2007
  5. quaiser_ali
    Replies:
    0
    Views:
    2,233
    quaiser_ali
    Sep 26, 2008
Loading...

Share This Page