saadahmed43
Programmer
I have an ASP .NET webpage with a frameset (regular HTML frameset)
The frameset has 2 frames.
In the top frame, I'm loading a webpage with an <ASP:Label>
control. In the Page_Load event of the page, I'm assigning the label a value from a Session variable as follows.
lblPreferredYear.Text = Session("PreferredYear").ToString()
The value is not getting assigned and the label is coming up blank.
I tried printing Session("PreferredYear") in other webpages that get loaded into the frameset and the session variable does have a value that gets printed.
I have tried putting the assign statement in the Page_Init event.
The first time I put it in and loaded the page, the label got a value.
But then it shows up blank again when i access the page again.
I have also tried replacing the label with a textbox but the same problems persists.
I'm using Visual Studio .NET 2003 and VB .NET. ASP .NET version 1.1.
Any help with this problem will be greatly appreciated.
Saad