A
Adam Benson
Hi,
I have a really simple web page with c# code behind it. It displays news
headlines with related text. Click on the headline and you get the text that
goes with it.
I need to implement a search facility that will go through the entire
database and present the user with all the hits. When they click on a hit
the main page displays headline and text.
i.e.
********************** *******************************************
* * * *
* Search text * * *
* * * Headline *
* Result 1 * * *
* Result 2 * * Story *
* etc * * *
* etc * * Other details *
* * * *
* (Clicking on a * * (This works as always, *
* result here * * clicking on a result alters what's *
* alters what's * * displayed here. *
* displayed in * * But clicking within this window *
* the right hand * * works just the same as if the *
* form. * * search window wasn't there.) *
* When the user's * * *
* done with the * * *
* search they click * * *
* on X and this * * *
* disappears.) * * *
* * * *
********************** *******************************************
Most of the time the search window won't be there. I'd like it to appear
when the user clicks on a search button on the main page, and disappear when
the user's done with it.
Since the main window is already working and debugged I'd like to keep the 2
windows as independent of each other as possible - with the exception that
clicking on a result in the search window alters what's displayed in the
main window.
I'm sure it's possible, but I'm pretty new to aspnet stuff. If someone could
nudge me in the right direction I'd be very grateful.
Sorry if this is an issue that's already been dealt with, but to be honest I
wasn't too sure about what to search on.
Thank you muchly,
Adam.
I have a really simple web page with c# code behind it. It displays news
headlines with related text. Click on the headline and you get the text that
goes with it.
I need to implement a search facility that will go through the entire
database and present the user with all the hits. When they click on a hit
the main page displays headline and text.
i.e.
********************** *******************************************
* * * *
* Search text * * *
* * * Headline *
* Result 1 * * *
* Result 2 * * Story *
* etc * * *
* etc * * Other details *
* * * *
* (Clicking on a * * (This works as always, *
* result here * * clicking on a result alters what's *
* alters what's * * displayed here. *
* displayed in * * But clicking within this window *
* the right hand * * works just the same as if the *
* form. * * search window wasn't there.) *
* When the user's * * *
* done with the * * *
* search they click * * *
* on X and this * * *
* disappears.) * * *
* * * *
********************** *******************************************
Most of the time the search window won't be there. I'd like it to appear
when the user clicks on a search button on the main page, and disappear when
the user's done with it.
Since the main window is already working and debugged I'd like to keep the 2
windows as independent of each other as possible - with the exception that
clicking on a result in the search window alters what's displayed in the
main window.
I'm sure it's possible, but I'm pretty new to aspnet stuff. If someone could
nudge me in the right direction I'd be very grateful.
Sorry if this is an issue that's already been dealt with, but to be honest I
wasn't too sure about what to search on.
Thank you muchly,
Adam.