The following solution was taken from : (K.Scott Allen's) OdetoCode.Com
protected void Page_PreInit(object sender, EventArgs e)
{
if (IsPostBack)
{
string uniqueID = Request[_themeListIDKey];
if (uniqueID != null && Request[uniqueID] != null)
{
Theme = Request[uniqueID];
}
}
}
protected void Page_Load(object sender, EventArgs e)
{
ClientScript.RegisterHiddenField(
_themeListIDKey, _themeList.UniqueID
);
}
const string _themeListIDKey = "_themeListIDKey";