How to refresh only Content page without refreshing master page
-
Hello friends, Hope u r doing good. I have a scenario as following: We have two dropdown lists and left menu on the master page. We have 7 content pages based on the master page. After the selection of two dropdown lists, the menu will be populated. Once the menu populates, the menu will have links to 7 content pages. When we click on the links in the menu, the dropdowns should not be refreshed (Master Page content should not be refreshed), Only the content of the content page should be displayed in the content area without refreshing the whole master page. Whenever we click on other content page link, only the content place holder area should be replaced without refreshing everything on the page. We want to hold the values of dropdown lists while loading the content pages. Any Ideas how to acheive this? Thank you in Advance, Raheem MA
-
Hello friends, Hope u r doing good. I have a scenario as following: We have two dropdown lists and left menu on the master page. We have 7 content pages based on the master page. After the selection of two dropdown lists, the menu will be populated. Once the menu populates, the menu will have links to 7 content pages. When we click on the links in the menu, the dropdowns should not be refreshed (Master Page content should not be refreshed), Only the content of the content page should be displayed in the content area without refreshing the whole master page. Whenever we click on other content page link, only the content place holder area should be replaced without refreshing everything on the page. We want to hold the values of dropdown lists while loading the content pages. Any Ideas how to acheive this? Thank you in Advance, Raheem MA
i can suggest u better if u put html snippet here. what i understand is u can use html iframe control to load different pages inside page without refreshing the page.you just need to change "src" property of iframe.
-
Hello friends, Hope u r doing good. I have a scenario as following: We have two dropdown lists and left menu on the master page. We have 7 content pages based on the master page. After the selection of two dropdown lists, the menu will be populated. Once the menu populates, the menu will have links to 7 content pages. When we click on the links in the menu, the dropdowns should not be refreshed (Master Page content should not be refreshed), Only the content of the content page should be displayed in the content area without refreshing the whole master page. Whenever we click on other content page link, only the content place holder area should be replaced without refreshing everything on the page. We want to hold the values of dropdown lists while loading the content pages. Any Ideas how to acheive this? Thank you in Advance, Raheem MA
you can use the update panel with conditional mode. it is better way as user fill that the entire page is not refresh. put the update panel in both master page and all content page and set the mode conditional. now when you want to update any panel just write updatepanel1.update() method. this is easiest way to achieve as per me. hope this will help you.
Regards Keyur Satyadev
-
you can use the update panel with conditional mode. it is better way as user fill that the entire page is not refresh. put the update panel in both master page and all content page and set the mode conditional. now when you want to update any panel just write updatepanel1.update() method. this is easiest way to achieve as per me. hope this will help you.
Regards Keyur Satyadev
-
I dont think it'll work.because he wants to update only the content page mot master.But every page(content page) has a different URL/page and the whole page will get refreshed when we'll be changing the url. Please correct me if I am wrong.
Cheers!! Brij