473,386 Members | 1,720 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Navigation

hello,

I have made Web site for a few years but I had never been concerned with
navigation between the pages. All the pages are dynamic but do not have
direct relations between them. There, I have a problem. I have a page where
I can apply a filter to carry out a research using textbox and combobox.
Once finished research, I can click in the grid of the result of my research
to go towards another page. The problem is that when I come back to my
research page with de Back button, all the informations of my page are still
in the textbox and the combobox but when I click on a button that I put in
my page to ge back where I cam from, I loses information of my filter. It is
as if I turned over on the page of research for the first time. What do I
have to do to preserve this information with a button?

Is there a web site that explain and show how to built a good navigation
between pages of a web site?

Thank you and excuse my bad english
--
Marc R.
E-mail
Dim strAddr As String =Convert.ToString(String.Format("{0}.{2}@{3}.{1}",
"mxrc", "cx", "robitxille", "xrs-solutions")).Replace("x", "a")
Mar 2 '06 #1
1 1263
If I understand your question correctly, then you have several choices:

1. Pass the "information" in the textbox and combobox to the other pages
using a query string, so they can then pass them back to the research page
(also using a query string) when the user hits your "return" button. For
example: My_Research_Page?textbox=x&combobox=y.

2. Use cookies to remember the values of the textbox and combobox, and
repopulate the controls with these values when the page is reloaded.

3. Use asp.net session-state on the server side to remember the current
values of the textbox and combobox, so you can repopulate the controls with
these values when the page is reloaded.

Option 1 is simply too tedious so I would not recommend it.

Option 2 if you use non-persistent cookies has a slight benefit of
scalability over Option 3, because the client holds the information rather
than the server. If you use Option 2 with persistent cookies you get the
benefit of the client remembering the research values even if they go away
from your web application and return several days later.

Option 3 is simple to implement in ASP.NET if you are using the InProc
session state model. Using the SQL Server session state model would give you
the same type of persistence mechanism as a cookie, but stored on the
server.

You need to decide how long you want to retain the information for, and how
many users you might have in order to decide on a strategy.

Hope this helps.

Kevin

"Marc Robitaille" <ma*******@videotron.caa> wrote in message
news:uS**************@TK2MSFTNGP10.phx.gbl...
hello,

I have made Web site for a few years but I had never been concerned with
navigation between the pages. All the pages are dynamic but do not have
direct relations between them. There, I have a problem. I have a page
where I can apply a filter to carry out a research using textbox and
combobox. Once finished research, I can click in the grid of the result of
my research to go towards another page. The problem is that when I come
back to my research page with de Back button, all the informations of my
page are still in the textbox and the combobox but when I click on a
button that I put in my page to ge back where I cam from, I loses
information of my filter. It is as if I turned over on the page of
research for the first time. What do I have to do to preserve this
information with a button?

Is there a web site that explain and show how to built a good navigation
between pages of a web site?

Thank you and excuse my bad english
--
Marc R.
E-mail
Dim strAddr As String =Convert.ToString(String.Format("{0}.{2}@{3}.{1}",
"mxrc", "cx", "robitxille", "xrs-solutions")).Replace("x", "a")

Mar 2 '06 #2

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

Similar topics

4
by: Dave Patton | last post by:
Using my About page as an example: http://members.shaw.ca/davepatton/about.html What is the best/proper way to markup a page such as this that has "the main body" and "a navigation menu"? It...
0
by: Veli-Pekka Tätilä | last post by:
Hi, My first post here. I've found some serious accessibility flaws in the Python 2.4 docs and wish they could be rectified over time. I'm very new to Python and initially contacted docs at python...
1
by: Robert Neville | last post by:
I am having some trouble with some old code revolving around custom form navigation buttons. My main form has a sub-form with these custom navigation buttons. In other words, the code should be...
4
by: Sandy.Pittendrigh | last post by:
I don't want to get into a frames discussion here. We all know they have numerous drawbacks, especially with search engine visibility. (Google, ironically, uses framesets for displaying individual...
28
by: laredotornado | last post by:
Hi, Surprisingly, I can't get the drop down menus to work on PC IE 6. If you roll over "PRODUCTS", normally a drop down menu appears (on Safari and Firefox), but on PC IE, nada. ...
3
by: Paul | last post by:
I want the <div id="navigation"column to be the same color all the way to the bottom. The "background-image: url(bg_menu_tile.gif);" was a try to force it with a long 1-pixel graphic - didn't...
10
by: EA | last post by:
I am sure I must be missing something about building navigation bars with CSS. Yes it is a very clever and efficient way to format navigation structures on simple one navigation level webs, i.e....
1
by: quartzy | last post by:
I have a strict doc type: However, I am still unsure about css. Problems I have now are to do with floating both navigation lists. I have used tables and divs, as layouts are just too difficult for...
0
by: emalcolm_FLA | last post by:
Hello and TIA for your consideration. I have created several db's for a non-profit and they want custom navigation buttons to display "You are on the first record, last record, etc". With this...
0
by: tom59593 | last post by:
Hi there. I have been attempting (for a few days on end, sadly) to get a navigation section of my new site to work. Granted, this is the first time I've ever written CSS...although I had PLENTY of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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...

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.