P
Peter Rilling
In the Repeater.ItemCreated handler, I am hooking the RepeaterItem.PreRender
method. This event fires when the RepeaterItem is being rendered, the
problem is that I want access to the DataItem that the RepeaterItem was
created from. Well, it appears the DataItem property is null in the
RepeaterItem.PreRender event. Why is this.
I have read about issues like this relating to Postbacks and ViewState, but
I am rebinding each time the page is requested.
method. This event fires when the RepeaterItem is being rendered, the
problem is that I want access to the DataItem that the RepeaterItem was
created from. Well, it appears the DataItem property is null in the
RepeaterItem.PreRender event. Why is this.
I have read about issues like this relating to Postbacks and ViewState, but
I am rebinding each time the page is requested.