I have a question regarding what is possible to accomplish with a User Control and a Consumer Web Part. In short I am trying to build master/detail functionality where the master information is in custom list and the detail information is a user control in a consumer web part.
What Works – I built a consumer web part in which I am able to connect it to another web part (in my case a custom list), and prove that it is ‘hooked’ up by displaying the consumed value via the html writer in RenderWebParts.
What I Am Trying to Make Work – I would like to have the connected value consumed by a user control we have built, and have it process that value appropriately. I have overridden CreateChildControls to add the control to the control collection in my consumer web part. My user control depends on a property being set to display the correct information. How/Where do I set this property? I am noticing that CreateChildControls fires when the web part is loading – but that seems to be after the CellReady event fires which captures the data that I need for my user control. Does anyone have any suggestions as to how I might have the user control in my consumer web part data bind properly to the consumed data?