How to get the current state of the page in C#?
I have a page which contains many links and upon expansion of each link开发者_StackOverflow i have grid and button.The button when clicked will be redirected to an new page where some process is done and returns a message via querystring.My problem is how to show the message returned from new page exactly in the previous state(example: the toggling/expansion showing grid and button).How to do that??
You'll have to maintain state of which link was clicked (by passing it to the new page in the query string) and when you return from the new page you'll have to pass it back (in the query string ) so you can reconstruct the page as you desire (with the area relative to that link expanded).
精彩评论