Webforms or ASP. NET MVC? I'll assume webforms.
Webforms or ASP. NET MVC? I'll assume webforms... Try using a CompositeControl.
If there is databinding involved you can use the DataBoundCompositeControl. In the CreateCldren method you dynamically create your controls add add them to the child collection. Here is an example of a fairly complicated DataBoundCompositeControl I created once (with event handling on inner child controls): Scaffolding Control This is actually a really hard thing to get right.
Just remember to rebuild all of your child controls everytime and to store the state of the control so you can recreate everything properly. You will rebuild everything twice on postbacks (and once on the first GET). Once to recreate the controls to their previous state and the second time to process the changes after databinding and event handling.It's tricky, I hope this helps!
Let's assume this scenario: You have a shopping cart page. The shipment control is loaded. The user clicks on the next button.
--- Postback --- The shopping cart page is loaded The shipment control is loaded. The event 'click' is handled by the shipment control. The shipment control is disposed.
The payment control is loaded. You can store a variable in the Session instance to determine which control needs to be loaded. In the PageInit of the shopping cart page you retrieve the Session variable and load the corresponding control (step 1 & 2).
Make sure you do this in the PageInit in order for ASP. NET to fire the events. In the event handler in the shipment control, you then update the Session variable (step 3).
In the Page_LoadComplete of the shopping cart page you dispose the shipment control (step 4) and load the payment control (step 5). Scott Mitchell has written a great article about this scenario: scottonwriting.net/sowBlog/posts/3962.aspx.
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.