Click here to Skip to main content
15,902,635 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI Experts ,

Is there any option or any method , i have change content or form or move one page to another without refreshing the page or change in the url ..

My client want a single url after login and need all the functionality .

I m using asp.net with c# and this project is done

is this possible??
Posted

1.Is not possible in ASP.NET and or any web application that use web pages to show multiple pages without to change the URL or without postback!

2.In few words the web application are working in the way that when the user click on a link or a submit button, the user input from the form is send to the web server (were the web application is actually running), the web server is handle the user request, could save the user data, and finally render a new page or the same page (in the case of postback) to the web browser in HTTP fromat. Then the web browser use the new HTTP data to show the new page or to refresh the existing page to the user.

3.For a single page it is possible to communicate with the web server at response to user actions (like button click) without to change the URL and without to refresh the entire page if you are using AJAX call, but this works only into a single page not for multiple pages!
 
Share this answer
 
Comments
Tom Marvolo Riddle 2-Apr-14 3:08am    
Totally agree with that +5!
Raul Iloc 2-Apr-14 3:29am    
Thank you for your vote!
The url will be unchanged but there will be a postback(refresh)
C#
Server.Transfer("Default2.aspx");
 
Share this answer
 
Hi,

You could put your contents of different pages in divs or panels in a single page. Show or Hide as necessary.
 
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