Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi All

Out of RenderControl and CreateChildControl method : In which method we should write the logic of connected webparts.
I have read some where that CreateChildControl execute randomly. So when the provider webpart is executed and has rendered the control , on click of the event which sets the value of interface property the CreateChildControl method of consumer webpart executes before the button event handler.

Please explain.
Posted
Comments
Khaniya 19-Sep-11 14:10pm    
I am not very clear with your question. Let me try, First of all you said "CreateChildControl execute randomly", I think this is wrong information. CreateChildControl only runs once when webpart is created.
Please give us more information with sample code if possible

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900