Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old May 12th, 2008, 11:52 AM
Authorized User
Join Date: Nov 2007
Posts: 67
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Hughesie78
Default 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.



any ideas?
Thank You

Similar Threads
Thread Thread Starter Forum Replies Last Post
images not showing in IE Adam H-W CSS Cascading Style Sheets 3 March 20th, 2008 07:02 AM
MultiView and Back Button Ardvisoor ASP.NET 2.0 Professional 0 July 18th, 2006 06:20 AM
MultiView controls? bpdsmark ASP.NET 2.0 Basics 2 March 8th, 2006 02:57 PM
session and cookie problem (empty session file) msincan BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 0 February 27th, 2005 05:31 PM
variables not showing nikolaosk BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 1 July 25th, 2003 03:13 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.