Results 1 to 6 of 6

Thread: Refreshing content page without refreshing master page

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jun 2007
    Posts
    241

    Thumbs up Refreshing content page without refreshing master page

    Hi friends,

    How can i refreshing whole content pages without refreshing master pages.

    I am usign multiple content pages in my application. In " window.location="" "

    its moving one page to another. Its working fine. But whole page refreshed with

    master page.But i dont want to refresh master pages. I need to refresh content

    pages only.Is it possible??

    Give some ideas.

    Hopes ur's reply.

    Thanks
    Failing to plan is Planning to fail

  2. #2

    Thread Starter
    Addicted Member
    Join Date
    Jun 2007
    Posts
    241

    Re: Refreshing content page without refreshing master page

    Its very urgent guys. Please reply soon if u can.
    Failing to plan is Planning to fail

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Refreshing content page without refreshing master page

    You cannot. A master page is not an actual page that sits separately from and outside the content page. It is part of the content page itself. So when you move from one page to another, the master page must reload for each page you load.

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Jun 2007
    Posts
    241

    Thumbs up Re: Refreshing content page without refreshing master page

    Is any possible other ways mendhak? Using Ajax can we do it? No way...

    ?????????
    Failing to plan is Planning to fail

  5. #5
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985

    Re: Refreshing content page without refreshing master page

    Maybe you can put an entire content block within an update panel on the master page? Seems insane though. What you want to do goes against how the web works. You should just update specific areas of the page rather than an entire page.

    What you want to do is what frames did in 2000
    KrisSiegel.com - My Personal Website with my blog and portfolio
    Don't Forget to Rate Posts!

    Free Icons: FamFamFam, VBCorner, VBAccelerator
    Useful Links: System.Security.SecureString Managed DPAPI Overview Part 1 Managed DPAPI Overview Part 2 MSDN, MSDN2, Comparing the Timer Classes

  6. #6
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Refreshing content page without refreshing master page

    Yeah I didn't want to mention frames, it makes me feel bad too.

    I suppose now's a good time to create a new rule of thumb: If you need your MasterPage to not refresh when accessing multiple pages on your website, then you're doing something wrong!

    There isn't going to be a quick and dirty solution to what you want. Your problem is design, not code. Why do you not want the MasterPage refreshed?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width