Hi,

How does events fire in a datagrid.

I know about the problem if turning the viewstate off the events will not fire properly even if I rebind the control in every postback. So then I started to think how does .Net do it if I turn the viewstate on.

If you use the Request.Form then you can get all the controls that existed in the previous postback and the hidden field with viewstate. I suspect that the event is embedded in this viewstate or something that will create events to fire in the codebehind.

I would appreciate some help in figuring out how this machinery works. Then maybe it is possible to handle this downside with datagrid.

Yours sincerely
Andla