Yes you can ... To do this, you just need to follow basic trick ..
First inherit the calling page using the base page (using the project’s base page is always a good practice it will help later), as shown below ...
public abstract class BasePage : Page { public StateBag ViewState { get { return base.ViewState; } } }
Later you can call this property from usercontrol ........
var CallerPage = this.Page as BasePage; if (CallerPage!=null) { var CallerPageViewState = CallerPage.ViewState;
source share