Page does not postback

S

stephen

Hi,

This really confuses me...
I have a web application and it has 2 pages in 2 seperate folders. The first
is http://localhost:4090/Test/Pages/Contract/con.aspx
and second is:
http://localhost:4090/Test/Pages/Order/ord.aspx

First i navigate to the first url and click "buttons" on the page (i
postback to the samepage) and if (!page.ispostback)
and then navigate to the secnd url and and click "buttons" on the page (i
postback to the samepage) and if (!page.ispostback)

Problem:
If i goto the addressbar and change the url to the first one the pageload
event does not trigger but it triggers when i click the button.

I know that the page reloads, the pageLoad event has to fire, then why does
it not trigger in this case?

I am confused, please advice
Stephen
 
B

bruce barker

when you type it in the url, the browser gets the page from cache, not the
server, so no onload.

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top