Response.Redirect() questions and Menu Item ?

R

rockdale

I have 2 pages (page A and Page B) both can access from my asp:menu
control (set the menu.NavigateUrl ). On page B I have a button which
call response.redirect("a.aspx") to redirect to page A. page A will
show different controls if it comes from Page B button or from Menu
Item.

The problem is
I click the button on page B to get to Page A. Now if I click the Menu
Item on my mainmenu to get to page A, the page A does not even call
page_load function, looks like the page is cached at somewhere. and
page A show the wrong controls ( it should show the controls that as
it comes from menu item). If I refresh from IE, then, I can see the
page_load function is called and it show s the correct controls.

Any idea why this happened? has the page been cached at somewhere? How
do I solve it.

Thanks in advance
-rockdale
 

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

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,073
Latest member
DarinCeden

Latest Threads

Top