473,287 Members | 1,643 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

Master Pages - Updating content without full page refresh?

Rob
Hi,

I have a master page that contains a table layout. The contentplaceholder is
located in one of the table cells. With frames technology it was possible
for hyperlinks to load the linked pages into a frame without having to
reload any other frames.

Is it possible to replicate this kind of behaviour using master pages and
content pages? In other words, I want only the cell that contains the
contentplaceholder to refresh when the appropriate menu items are selected,
rather than the entire masterpage. I don't think using an AJAX update panel
in the master page would work.

Thanks,
Rob

Jun 18 '07 #1
4 17980
You could still use frames (*dons flame suit* :) ), but other than that
it'll need to be an AJAX solution.

"Rob" <r_******@ozemail.com.auwrote in message
news:e%****************@TK2MSFTNGP05.phx.gbl...
Hi,

I have a master page that contains a table layout. The contentplaceholder
is located in one of the table cells. With frames technology it was
possible for hyperlinks to load the linked pages into a frame without
having to reload any other frames.

Is it possible to replicate this kind of behaviour using master pages and
content pages? In other words, I want only the cell that contains the
contentplaceholder to refresh when the appropriate menu items are
selected, rather than the entire masterpage. I don't think using an AJAX
update panel in the master page would work.

Thanks,
Rob

Jun 18 '07 #2
"Rob" <r_******@ozemail.com.auwrote in message
news:e%****************@TK2MSFTNGP05.phx.gbl...
I have a master page that contains a table layout. The contentplaceholder
is located in one of the table cells. With frames technology it was
possible for hyperlinks to load the linked pages into a frame without
having to reload any other frames.
Not natively, though Ajax would certainly do what you require.

One of the commonest misconceptions about MasterPages are that they are
somehow the ASP.NET 2 equivalent of framesets - they aren't at all.

In fact, a MasterPage is really nothing more than a UserControl.
--
http://www.markrae.net

Jun 18 '07 #3
Rob
Thanks for your response.

I've tried placing an AJAX update panel around the contenplaceholder in the
mastersheet, with menu items set as triggers. This doesn't seem to have the
desired effect though. Is anybody able to offer any advice on how I could
achieve this using AJAX.

Thanks,
Rob

"Mark Rae" <ma**@markNOSPAMrae.netwrote in message
news:uv**************@TK2MSFTNGP03.phx.gbl...
"Rob" <r_******@ozemail.com.auwrote in message
news:e%****************@TK2MSFTNGP05.phx.gbl...
>I have a master page that contains a table layout. The contentplaceholder
is located in one of the table cells. With frames technology it was
possible for hyperlinks to load the linked pages into a frame without
having to reload any other frames.

Not natively, though Ajax would certainly do what you require.

One of the commonest misconceptions about MasterPages are that they are
somehow the ASP.NET 2 equivalent of framesets - they aren't at all.

In fact, a MasterPage is really nothing more than a UserControl.
--
http://www.markrae.net
Jun 19 '07 #4
"Rob" <r_******@ozemail.com.auwrote in message
news:e6**************@TK2MSFTNGP03.phx.gbl...
I've tried placing an AJAX update panel around the contenplaceholder in
the
mastersheet, with menu items set as triggers. This doesn't seem to have
the
desired effect though. Is anybody able to offer any advice on how I could
achieve this using AJAX.
No, that's not what I meant - you certainly can't do that.

What you would need to do is to redesign / rewrite the content page in
question so that it used Ajax internally.

However, you really do need to get out of the mindset of a frameset...

MasterPages don't change the content of the "main" frame or whatever - they
reload the entire page every time...
--
http://www.markrae.net

Jun 19 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: multiformity | last post by:
So I have been working on an opensource project for a while, and decided to really try to make it look better after focusing on the functionality most of this time. Up to now, I have simply used a...
20
by: M.Siler | last post by:
Let me first by saying I am NOT a .net programmer, but am very skilled with ASP, JavaScript, HTML, DHTML, Flash development. I've been reading through posts here about Frames vs. Master Pages and...
8
by: David Thielen | last post by:
Hi; Any strong arguments on using master pages vs frames when the header & footer are always the same and the main body is the part that keeps changing? -- thanks - dave
1
by: LilC | last post by:
I'm creating an application that has a standard layout for all pages. The information that is displayed in the layout will be dynamic based on the user that is logged in. Thus when a page is...
2
by: news.sbcglobal.net | last post by:
I hope I can explain this well enough to understand. I have a master page that is used by almost all of the pages in my site. On the master page is a table. In one of the cells in this table, I...
11
by: EagleRed | last post by:
I am writing an ASP.NET 2.0 application that uses master pages. I have some pages that must not be cached on the client. In ASP.NET 1.1 I achieved this using metatags: <meta...
8
by: JT | last post by:
Hi, I have done a fair amount of style editing inline in ASP. I'm now using VS 2005 with a standard web project (not Web Application Project). This is my first foray into CSS in a style sheet...
2
by: Argirop | last post by:
I have a page Default.aspx. Its first line is the following: <%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="default.aspx.cs"...
3
by: John Kotuby | last post by:
Hi all, Just wondering why this would happen. I had created a standalone ASPX page in which 5 controls are wrapped in an UpdatePanel. The idea is Control1 selection populates Control2 then...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.