output Caching and postback

Posted by Costa on Stack Overflow See other posts from Stack Overflow or by Costa
Published on 2009-12-12T20:51:10Z Indexed on 2010/04/05 12:03 UTC
Read the original article Hit count: 222

Filed under:

Hi

If you have a button and a text box in a page, and the page is cached on the server.
Put a breakpoint at page_load and run

If you click the button, the Page_load breakpoint is visited only for first click.

I am trying to get some explanation rather than "Wellll....ahhh mmmm it is a postback!!"
I am expecting that the breakpoint will not be visited at all, it is a cached page.

thanks

© Stack Overflow or respective owner

Related posts about ASP.NET