session value not showing in Multiview
I have an aspx page with a multiview on it, the multiview has 3 views, 2 of the 3 can be accessed view my menu. The 3rd is only access when data is saved in the 2nd. My prob lem is that i have a label in the 3rd view which is populates with a session value, this session value is set in the 2nd view, however when the 2nd view calles the 3rd view the label value does not updated, it only updates when i hit refresh manually, ant ideas how i can get around this.
here is the code behind for the button on the 2nd view to open the 3rd view:
protected void btnSaveMods_Click(object sender, EventArgs e)
Session["RRVYear"] = DropDownList1.SelectedValue;
MultiView1.ActiveViewIndex = 2;
here is the aspx of the 3rd view:
<asp:View ID="viewPreview" runat="server">
<asp:Label ID="lblYear" runat="server" CssClass="warning"></asp:Label>
is the year selected.