Click here to Skip to main content
15,897,891 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Anchor Tag in Java script Pin
Vasudevan Deepak Kumar22-Nov-07 19:40
Vasudevan Deepak Kumar22-Nov-07 19:40 
GeneralRe: Anchor Tag in Java script Pin
Satish_S22-Nov-07 19:54
Satish_S22-Nov-07 19:54 
Questionmial at mail address Pin
idsanjeevjha22-Nov-07 19:07
idsanjeevjha22-Nov-07 19:07 
AnswerRe: mial at mail address Pin
Vasudevan Deepak Kumar22-Nov-07 19:14
Vasudevan Deepak Kumar22-Nov-07 19:14 
QuestionRe: mial at mail address Pin
idsanjeevjha22-Nov-07 19:53
idsanjeevjha22-Nov-07 19:53 
AnswerRe: mial at mail address Pin
idsanjeevjha22-Nov-07 19:58
idsanjeevjha22-Nov-07 19:58 
QuestionFirefox - "Back" button, Problem Pin
hifiger200422-Nov-07 3:03
hifiger200422-Nov-07 3:03 
AnswerRe: Firefox - "Back" button, Problem Pin
Shog922-Nov-07 6:50
sitebuilderShog922-Nov-07 6:50 
I gotta tell ya... By far the most simple, most reliable means of accomplishing this is to get rid of the update panel on the first page and redirect to a results page that lists the records found (and also allows changing / narrowing the search). Now each search is in the browser's history, you can use cache-control headers to hint at how long they should be cached, and all is right with the world.

I'm not saying you couldn't get it working as-is; after all, you could set a flag somewhere persistent (cookies...) when the user has searched containing their search term, and just re-run the search when the page is reloaded. But why? You'd just be simulating the browser's built-in behavior, badly.


There's a reason Google, et. al. work the way they do - it works. When Microsoft rolled out their Live Search site, they tried using a fancy AJAX-style page refresh mechanism similar to what you describe... and they had the same problem you are running into now.  They replaced it with a common post-refresh mechanism like everyone else. So, rather than wasting time trying to hack your own page history system, go with the tried-and-true... and then spend the time you saved making your back-end return search results faster. Wink | ;)


----
...the wind blows over it and it is gone, and its place remembers it no more...

AnswerRe: Firefox - "Back" button, Problem Pin
hifiger200423-Nov-07 5:35
hifiger200423-Nov-07 5:35 
AnswerRe: Firefox - "Back" button, Problem Pin
manas_pavan23-Nov-07 8:36
manas_pavan23-Nov-07 8:36 
QuestionError HTTP 404 When I try to access a page with a Gridview Pin
Lucie12322-Nov-07 2:20
Lucie12322-Nov-07 2:20 
AnswerRe: Error HTTP 404 When I try to access a page with a Gridview Pin
Michael Sync22-Nov-07 14:51
Michael Sync22-Nov-07 14:51 
GeneralRe: Error HTTP 404 When I try to access a page with a Gridview Pin
Lucie12323-Nov-07 4:35
Lucie12323-Nov-07 4:35 
QuestionComplex Paging In Datalist ASP.NET 2.0 Pin
R. M. Sohail Arshed21-Nov-07 22:43
R. M. Sohail Arshed21-Nov-07 22:43 
AnswerRe: Complex Paging In Datalist ASP.NET 2.0 Pin
Vasudevan Deepak Kumar22-Nov-07 19:44
Vasudevan Deepak Kumar22-Nov-07 19:44 
Questionimplementing rfc2251 in asp Pin
neoghy21-Nov-07 19:09
neoghy21-Nov-07 19:09 
AnswerRe: implementing rfc2251 in asp Pin
Vasudevan Deepak Kumar22-Nov-07 19:43
Vasudevan Deepak Kumar22-Nov-07 19:43 
QuestionPlease help...... Pin
JonCox21-Nov-07 12:19
JonCox21-Nov-07 12:19 
AnswerRe: Please help...... Pin
Michael Sync21-Nov-07 15:44
Michael Sync21-Nov-07 15:44 
GeneralRe: Please help...... Pin
JonCox21-Nov-07 23:10
JonCox21-Nov-07 23:10 
QuestionHow can textarea fixd with character Pin
idsanjeevjha20-Nov-07 23:29
idsanjeevjha20-Nov-07 23:29 
AnswerRe: How can textarea fixd with character Pin
Panchal Hardik21-Nov-07 1:10
Panchal Hardik21-Nov-07 1:10 
QuestionHow to POST a form using AJAX Pin
shoaibnawaz20-Nov-07 18:45
shoaibnawaz20-Nov-07 18:45 
AnswerRe: How to POST a form using AJAX Pin
Michael Sync20-Nov-07 19:10
Michael Sync20-Nov-07 19:10 
GeneralRe: How to POST a form using AJAX Pin
Shog920-Nov-07 19:16
sitebuilderShog920-Nov-07 19:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.