c# - loading a control in the itemdatabound event of a repeater -


I have a user control that I have loaded items of the repeater in the item format and not the control itself. Page Life Silicea looks like a page in which item is a detbound event, then user controls, so control loads are too late.

thanks

Have you tried to override the override on your page, and then downloading its criminal there?

Normally you want to add control to OnInit, otherwise you are too late in the life cycle (as you tell yourself).

If you already have databases in OnInit, then it should work .

Post your ItemDataBound event favorites and where you tell the culprit: -)


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -