how to?
-
I have created an aspx page which displays the list of books in a grid when we search according to a search condition. If i click for details of the book it is displayed in another page. if I need to return to the page where the list is displayed usin a hyperlink or link button what should I do?
-
I have created an aspx page which displays the list of books in a grid when we search according to a search condition. If i click for details of the book it is displayed in another page. if I need to return to the page where the list is displayed usin a hyperlink or link button what should I do?
You should start by asking in the ASP.NET forum. You will end up passing the details on the URL so the page goes to where you want it to.
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
I have created an aspx page which displays the list of books in a grid when we search according to a search condition. If i click for details of the book it is displayed in another page. if I need to return to the page where the list is displayed usin a hyperlink or link button what should I do?
-
Hi try this one response.redirect(Request.ServerVariables("HTTP_REFERER").ToString) this will open the previous page for u Hope it will help....
The Great Pleasure In Doing That Things That Other People Say U Can't By Doing This U Can Shut Their Mouth
-
I have created an aspx page which displays the list of books in a grid when we search according to a search condition. If i click for details of the book it is displayed in another page. if I need to return to the page where the list is displayed usin a hyperlink or link button what should I do?
A quick and easy way to go back to the previous page is to use javascript, onClick="history.back()" But as Christian said, you should post on the correct forum in future.
-
A quick and easy way to go back to the previous page is to use javascript, onClick="history.back()" But as Christian said, you should post on the correct forum in future.
-
Hardly... As you are doing a postback, the referrer will be the same page.
Despite everything, the person most likely to be fooling you next is yourself.
-
sorry but postback url doesnot take me to the previous page but it takes me to the page where I have to make the search again.
If the URL of the page containing the search result doesn't represent that page uniquely (i.e. you just populate the result on postback), then your only option to return to that page is to use the history in the browser to go back, so that the post data is resent to recreate the page.
Despite everything, the person most likely to be fooling you next is yourself.