Hello.
I have two web parts that communicate. The provider can not give a value(an RID) to the consumer until at least the provider's Page_Load event. So the consumer can not know the RID it needs until after Page_Load. So, I hooked into Page_LoadComplete. Now there is a problem. The consumer creates dynamic controls based on this RID.
Now. These dynamic created controls are created after Page_Load. So, their viewstate is not restored(dynamic controls created inside Page_Load do have their values restored though).
So, basically what I need is a way to either restore viewstate to a control manually, or to get the control's value from a POST variable or the equivalent in C#..
Also, if I could get the value of a control at Page_Init, that would work too.