Should be something like this: var comment = (Incident LoadControl("~/Controls/Incident Ascx") Then you just insert into the control tree.
Should be something like this: var comment = (Incident LoadControl("~/Controls/Incident Ascx"); Then you just insert into the control tree.
MyControl myControl = (MyControl)LoadControL("~/MyControl. Ascx"); I changed the name of your control for readability.
I think your problem is not about instantiating the user control. In your DataBind event put this code at first line : this. EnsureChildControls(); It instantiates all child controls if they're not istantiated.
I mean it checks child controls and calls createChildControl if it's necessary.
A correct way is to initiate user control from code behind (without quotes):.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.