Click here to Skip to main content
15,867,453 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everybody!

I have two pages in asp.net and one page is a main page(Page 1) that has a button 'Next'. When I click the 'Next' button, it will go to the next page(Page 2) but I don't want the page reload. I tried to use the Script Manager, UpdatePannel but it still reloads the page. Can you help me?
Posted
Updated 15-Jan-11 4:19am
v2

Do you understand how the web works? When you make a request for a page it loads and renders in the browser, there is no way to stop it.

Explain what it is you are trying to accomplish and maybe we can offer advice.
 
Share this answer
 
UpdatePanel uses Partial Postback, whole page does not get loaded in this case.
Another way, you can use Client Callback, for details have a look to the link
One more way, you can load the content of both page in one go, in a separate container say in two divs. And initially show the first div and on next click show another using javascript.
 
Share this answer
 
Comments
thatraja 16-Jan-11 0:24am    
Good answer Brij
Brij 16-Jan-11 0:42am    
Thanks Man!!
thanks all of you for your sharing and advice!
 
Share this answer
 
Comments
Brij 15-Jan-11 11:49am    
Add your comments using "Add Comments" feature not add it as an answer
chnfgcfgbfjfhbjdsbhsabdhhhhhajhuewgsssssssssjhfdbbbbbbbbbbbbbbbjjfdhf
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900