Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
02-08-2012, 10:16 PM #1
- Join Date
- Jan 2012
- Thanked 0 Times in 0 Posts
How do I force a refered page to Postback?
I have method on a page, lets call it "History.aspx.cs"
After this method runs and changes some parameters, it
needs to refer back to itself:
Problem is, The page always shows the same information as before the
method fired. After receiving the redirect to itself, it thinks that it is "PostBack" and doesn't refresh the page with the changes. Is there a way I can change
the Response.Redirect("History.aspx", false); to make do a page load ?
Thank You in advance for your help,
02-09-2012, 09:50 PM #2
what are you trying to do? the false makes the page you are on stop loading- so if you are calling yourself but not loading or referencing something that you needed to load then you are terminating early- plus if you are calling yourself and you never finished loading (in this case seems to be) then you have to post back because you never finished posting... cannot help with the vagueness of code though- no clue what end you are trying to get to