Repeater Control problem

Discussion in 'ASP .Net Web Controls' started by Emanuele Ripamonti, Feb 15, 2005.

  1. Hi everybody,

    I've written a customization of WebControl.Repeater control and I'm trying
    to avoid using ViewState.

    Doing some prototyping I've have disabled viewstate at page and custom
    control level and everything seems to work correctly.

    But I'm experiencing some problem in my "production" control. During
    postback phase my repeater control does not keep his state correctly.

    After some reseach I've understood that repeater control rely on posted data
    and "_!ItemCount" ViewState item for postback pocessing.

    The problem seems to be originated by this last item. I've noticed that in
    the prototype "_!ItemCount" is mantained also if I disable viewstate. The
    same thing does not happen in the real project.

    Any idea about why this could happen?

    Cheers,
    Emanuele
     
    Emanuele Ripamonti, Feb 15, 2005
    #1
    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. Replies:
    0
    Views:
    861
  2. Replies:
    0
    Views:
    2,885
  3. Replies:
    1
    Views:
    7,029
    Karl Seguin
    Aug 10, 2005
  4. uncensored
    Replies:
    0
    Views:
    817
    uncensored
    Oct 25, 2006
  5. Microsoft

    Repeater inside a Repeater

    Microsoft, Aug 21, 2006, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    209
    Microsoft
    Aug 21, 2006
Loading...

Share This Page