Repeater ItemDataBound Complete Trigger

Posted by OliverS on Stack Overflow See other posts from Stack Overflow or by OliverS
Published on 2009-03-10T16:26:21Z Indexed on 2010/05/09 5:18 UTC
Read the original article Hit count: 350

Filed under:
|

Hi I have a Repeater and I am doing various things during the ItemDataBound event. My Repeater is in a control. What I am noticing is that the things that are supposed to happen in the ItemDataBound event happen after the Page_Load of the page hosting the control. Is there a way to use some sort of ItemDataBoundComplete trigger so I can do other things on my page after the events of the ItemDataBound have taken place? Thanks, please let me know if I have not been clear.

[Edit] I have controls that are being bound to the ItemDataBound and they are not available until after the Page_Load for the page hosting the control.

[Solution] (In my case):

In my page I used the following: Control.Page.LoadComplete += new EventHandler(Control_LoadComplete);

Then I performed what I had to do in that event.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about repeater