Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Repeater Control problem

Thread Tools

Repeater Control problem

Emanuele Ripamonti
Posts: n/a
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?

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
repeater inside a repeater problem. uncensored ASP .Net 0 10-25-2006 06:10 PM
Repeater inside a Repeater Microsoft ASP .Net Web Controls 0 08-21-2006 09:13 AM
Repeater inside a ASP .Net 1 08-10-2005 01:58 PM
Repeater Using Javascript Referencing a Column in the Repeater ASP .Net 0 02-26-2005 05:02 PM
Repeater control with nested repeater ASP .Net 0 02-11-2005 05:10 PM