Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. How to refresh only Content page without refreshing master page

How to refresh only Content page without refreshing master page

Scheduled Pinned Locked Moved ASP.NET
tutorialquestion
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Raheem MA
    wrote on last edited by
    #1

    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

    G K 2 Replies Last reply
    0
    • R 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

      G Offline
      G Offline
      gajendra_kshatriya
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • R 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

        K Offline
        K Offline
        keyur satyadev
        wrote on last edited by
        #3

        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

        B 1 Reply Last reply
        0
        • K 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

          B Offline
          B Offline
          Brij
          wrote on last edited by
          #4

          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

          R 1 Reply Last reply
          0
          • B Brij

            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

            R Offline
            R Offline
            Raheem MA
            wrote on last edited by
            #5

            Thank you for your quick responses. Any way to acheive my required functionality? Thank you in advance, Raheem MA

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups