viewstate

R

Ryan Liu

I found out in server side event handler
this.repeater.Items. Count() = 0
if I disable ViewState for the reapter.

So view state is needed for event handler? When I think it again, I can
understand it should be needed.

My more basic question is that: is my understanding true?
1. fresh data is get from http request parameters, and old data is get
from viewstate, and compare two to trigger some "change" event;
2.. viewstate is preserved though client hidden field, but will never be
modified in client side.
3. viewstae is updated on server side after event handler, before page
sent back to client


Thanks a lot!
Ryan
 

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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top