C
chrisexv6
I have a master/content page setup on a site Im writing. In the
master page there are 3 panes...nav, content, toolbar.
The nav pane holds a bunch of search options (order number, date,
etc). The user will fill in a search field then press the appropriate
search button. The content pane is then displayed with a custom user
control that shows the search results. That control also links to an
order detail screen which then takes the place of the search results
in the same content pane. The search results and order details pages
are both content pages subscribing to the same master, and in each of
those pages are user controls for the appropriate action.
This all works perfectly fine the first time you search. But if you
are looking at details of an order and then try to search again (the
nav pane never gets hidden so search is always available), the content
pane is never updated with the new search results. Ive debugged some
of it and noticed that the search results content page page_load is
never firing that second time. In fact, the order details page_load
*is* firing, even though I should be showing search results and not
details of an order.
Am I missing something as to how I need to specify what page shows up
in the contentplaceholder? It seems that I somehow need to tell the
placeholder to reload the search results page in place of the order
details. I just havent found a way to do it (is there a way? am I
completely wrong with my implementation of master/content?)
Thanks in advance.
-Chris
master page there are 3 panes...nav, content, toolbar.
The nav pane holds a bunch of search options (order number, date,
etc). The user will fill in a search field then press the appropriate
search button. The content pane is then displayed with a custom user
control that shows the search results. That control also links to an
order detail screen which then takes the place of the search results
in the same content pane. The search results and order details pages
are both content pages subscribing to the same master, and in each of
those pages are user controls for the appropriate action.
This all works perfectly fine the first time you search. But if you
are looking at details of an order and then try to search again (the
nav pane never gets hidden so search is always available), the content
pane is never updated with the new search results. Ive debugged some
of it and noticed that the search results content page page_load is
never firing that second time. In fact, the order details page_load
*is* firing, even though I should be showing search results and not
details of an order.
Am I missing something as to how I need to specify what page shows up
in the contentplaceholder? It seems that I somehow need to tell the
placeholder to reload the search results page in place of the order
details. I just havent found a way to do it (is there a way? am I
completely wrong with my implementation of master/content?)
Thanks in advance.
-Chris