the viewstate is control specific.
The member is a protected property so you can only access it from
within your control (a page is a control too) or
controls derived from your control.
To share information between the page and a control, use properties on the control, sessions state or public members on the page.
Page and user control have separate ViewState collections (every control has its own ViewState collection) so you can't set value in Page's ViewState collection and get it in user control's. Instead, you could create a public property in the user control that the page can then access that means read/set and that way provide the data for the UC.
controls derived from your control.
To share information between the page and a control, use properties on the control, sessions state or public members on the page.
Page and user control have separate ViewState collections (every control has its own ViewState collection) so you can't set value in Page's ViewState collection and get it in user control's. Instead, you could create a public property in the user control that the page can then access that means read/set and that way provide the data for the UC.