473,465 Members | 2,136 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

State of the asp.net web-page

Hi Guys,

I have got a few Listbox bontrols on my web-page. When I select a certain
list, further selection is possible from the other listboxes. The problem is
that whenever I get transferred to another page, I do some more work, but
when I get back to the original page all my selection of the Listboxes has
resetted again, which is quite annoying for the users of my site.

Is there anyway in asp.net, that I when I go back to the original page, it
maintains its last state, so the user knows what he was doing ?

Many thanks,

I..A
Nov 19 '05 #1
3 1047
If you want to keep the information user entered on that page so you later
repopulate it when the user goes back to that page, you can use Session for
that.

"Irfan Akram" wrote:
Hi Guys,

I have got a few Listbox bontrols on my web-page. When I select a certain
list, further selection is possible from the other listboxes. The problem is
that whenever I get transferred to another page, I do some more work, but
when I get back to the original page all my selection of the Listboxes has
resetted again, which is quite annoying for the users of my site.

Is there anyway in asp.net, that I when I go back to the original page, it
maintains its last state, so the user knows what he was doing ?

Many thanks,

I..A

Nov 19 '05 #2
can you please elaborate on that ?

"Tu-Thach" wrote:
If you want to keep the information user entered on that page so you later
repopulate it when the user goes back to that page, you can use Session for
that.

"Irfan Akram" wrote:
Hi Guys,

I have got a few Listbox bontrols on my web-page. When I select a certain
list, further selection is possible from the other listboxes. The problem is
that whenever I get transferred to another page, I do some more work, but
when I get back to the original page all my selection of the Listboxes has
resetted again, which is quite annoying for the users of my site.

Is there anyway in asp.net, that I when I go back to the original page, it
maintains its last state, so the user knows what he was doing ?

Many thanks,

I..A

Nov 19 '05 #3
you have to put selected listbox values into session , and then when page is
loaded again check session if there is something in session and make
selected values of the listboxes to that values.There is no automatic way to
do that.

"Irfan Akram" <Ir********@discussions.microsoft.com> wrote in message
news:F2**********************************@microsof t.com...
can you please elaborate on that ?

"Tu-Thach" wrote:
If you want to keep the information user entered on that page so you later repopulate it when the user goes back to that page, you can use Session for that.

"Irfan Akram" wrote:
Hi Guys,

I have got a few Listbox bontrols on my web-page. When I select a certain list, further selection is possible from the other listboxes. The problem is that whenever I get transferred to another page, I do some more work, but when I get back to the original page all my selection of the Listboxes has resetted again, which is quite annoying for the users of my site.

Is there anyway in asp.net, that I when I go back to the original page, it maintains its last state, so the user knows what he was doing ?

Many thanks,

I..A

Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Not Liking Dot Net Today | last post by:
During high usage periods I am getting Stack trace below: System.Web.HttpException: Unable to make the session state request to the session state server. Please ensure that the ASP.NET State...
3
by: Mark | last post by:
Ok, I know that .net inherently does not share session data across asp.net projects, but is there any decent work around to this. We already have a big chunk of our application using the asp.net...
4
by: Jeff | last post by:
We have multiple ASP.Net web apps in development. As a standard we are looking to go with SQL Server to hold state information. Can we have the multiple apps all point to a single State DB? Or...
6
by: Daniel Walzenbach | last post by:
Hi, I have a web application which sometimes throws an “out of memory†exception. To get an idea what happens I traced some values using performance monitor and got the following values (for...
2
by: Dave | last post by:
I have an application running on a 3 server webfarm running Windows 2003 with SQLServer Session state. After running for several hours, I started getting the following error. When I access each...
0
by: Maciek | last post by:
Hi When I set Session state mode to StateServer (IIS 6.0; windows2003; .NET 2.0) in my application, I have recived this message:...
1
by: js | last post by:
Does anybody knows how to solve the problem? I added attribute to the following classes in Microsoft.Practices.EnterpriseLibrary.Data namespace, but I still get the error. Thanks. ...
1
by: Tim | last post by:
Could anyone tell me what this means and how do I correct it. Any suggestions? Thanks! Tim Richardson IT Developer and Consultant www.paladin3d.com Unable to serialize the session state. In...
8
by: Andrew Teece | last post by:
Hope someone can help. We are trying to deploy an ASP.Net 2.0 application to a 3-node webfarm. The application uses the ReportViewer control in local mode, hence we need session state. Because we...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.