Click here to Skip to main content
15,898,134 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
in my project i try child page change in master page page without reloading and reface and post back in asp.net c#
Posted
Comments
Thanks7872 7-Jul-15 3:21am    
Do you have any questions?

1 solution

This is usually done by creating controls instead of pages and using a page to contain both controls which can be switched.

Basically you would use either a asp:multiview control or just make each one visible = true / false.

The only way to change the page content without reloading the entire page would be to perform an AJAX call. You could call a webservice and use the response to change some visibility in javascript, but that's only really needed if you want a very high performance page or there is a LOT of data to load.

The easiest way is to use the updatepanel to perform partial postbacks:
How to enable partial rendering with the AJAX UpdatePanel[^]

Hope that helps ^_^

Andy
 
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