I'm trying to achive this scenario.
I have a RadDropDownTree using persistence framework to retain the selected combo value. My code is below.
When a user visits my page, the persistence framework correctly pulls the correct RadDropDownTree1.SelectedValue from the cookie and restores the RadDropDownTree as I expect. The issue is when I try to read RadDropDownTree1.SelectedValue after calling loadState in my code below (highlighted in bold) the value is always empty "". I presume this is due to a timing issue? What would be the correct way to do this? private static readonly string CookieName = "TestCookie";protected void Page_Init(object sender, EventArgs e){ RadPersistenceManager1.StorageProviderKey = CookieName; RadPersistenceManager1.StorageProvider = new CookieStorageProvider(CookieName);}protected void Page_Load(object sender, EventArgs e){ if (!IsPostBack) { if (Request.Cookies[CookieName] != null) { RadDropDownTree1.DataBind(); RadPersistenceManager1.LoadState(); Label1.Text = RadDropDownTree1.SelectedValue; } } }protected void RadDropDownTree1_EntriesAdded(object sender, DropDownTreeEntriesEventArgs e){ //save selections RadPersistenceManager1.SaveState();}