473,624 Members | 2,103 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Master & Details Page Reload

Hi,

I'm trying to use the master/detail page to display the information of
staff. The master page will display some general information, while the
differen detail pages will show the different kinds of staff details, like
family member details, contact information, etc.

Hence, this case, I'll have
- Staff.master
- Family.aspx
- Contact.aspx

where Family.aspx and Contact.aspx have master page defined as Staff.master.

So if I need to place the items in the menu, I can only use Family.aspx and
Contact.aspx, in order to show the Staff.master details.

The master page has a main "Save" button, and also a "Show" button, so that
when user types in the Staff ID and press the Show button, the page will
load the staff information.

The event of the Show button, of course it's in the master page, where I can
also kick off the loading of master details. However, how can i reload the
child page in this case?

Thanks for your kind help.

Regards,
Janet
Oct 12 '06 #1
4 2186
"Janet >" <<unknownwrot e in message
news:uh******** ******@TK2MSFTN GP05.phx.gbl...
I'm trying to use the master/detail page to display the information of
staff. The master page will display some general information, while the
differen detail pages will show the different kinds of staff details, like
family member details, contact information, etc.

Hence, this case, I'll have
- Staff.master
- Family.aspx
- Contact.aspx

where Family.aspx and Contact.aspx have master page defined as
Staff.master.

So if I need to place the items in the menu, I can only use Family.aspx
and Contact.aspx, in order to show the Staff.master details.

The master page has a main "Save" button, and also a "Show" button, so
that when user types in the Staff ID and press the Show button, the page
will load the staff information.

The event of the Show button, of course it's in the master page, where I
can also kick off the loading of master details. However, how can i
reload the child page in this case?
MasterPages are designed for providing a common look and feel across your
site - but they should contain only those elements which are common to
several pages e.g. header, menu, logo, layout, JavaScript include files,
links to stylesheets etc.

IMO you should try to avoid coding any actual functionality into your
MasterPages e.g. loading and saving records - this should stay within the
ContentPages themselves.
Oct 12 '06 #2
Mark, thanks for the advice.

In this case, what are other options/suggestions that you think it's
feasible to such information display/maintenance page? I have thought of
using Panels/MultiView, but the page will simply load all controls, and I'll
just their visibility. This case, the loading of the page is very heavy.

Please advice.

Thanks.

Janet

"Mark Rae" <ma**@markNOSPA Mrae.comwrote in message
news:OE******** ******@TK2MSFTN GP03.phx.gbl...
"Janet >" <<unknownwrot e in message
news:uh******** ******@TK2MSFTN GP05.phx.gbl...
>I'm trying to use the master/detail page to display the information of
staff. The master page will display some general information, while the
differen detail pages will show the different kinds of staff details,
like family member details, contact information, etc.

Hence, this case, I'll have
- Staff.master
- Family.aspx
- Contact.aspx

where Family.aspx and Contact.aspx have master page defined as
Staff.master .

So if I need to place the items in the menu, I can only use Family.aspx
and Contact.aspx, in order to show the Staff.master details.

The master page has a main "Save" button, and also a "Show" button, so
that when user types in the Staff ID and press the Show button, the page
will load the staff information.

The event of the Show button, of course it's in the master page, where I
can also kick off the loading of master details. However, how can i
reload the child page in this case?

MasterPages are designed for providing a common look and feel across your
site - but they should contain only those elements which are common to
several pages e.g. header, menu, logo, layout, JavaScript include files,
links to stylesheets etc.

IMO you should try to avoid coding any actual functionality into your
MasterPages e.g. loading and saving records - this should stay within the
ContentPages themselves.

Oct 12 '06 #3
"Janet >" <<unknownwrot e in message
news:OT******** ******@TK2MSFTN GP03.phx.gbl...
In this case, what are other options/suggestions that you think it's
feasible to such information display/maintenance page? I have thought of
using Panels/MultiView, but the page will simply load all controls, and
I'll just their visibility. This case, the loading of the page is very
heavy.

Please advice.
As you've already discovered, when it comes to getting good performance from
web apps, small and many is better than big and few.

So make separate ContentPages...
Oct 12 '06 #4
Janet wrote:
The event of the Show button, of course it's in the master page
Can your child page override the method from the master page? You
could then call something like base.ShowButton _Click() to also call the
master page method once the child has done it's work.

Alternatively, you could call the method by using the Master property
of the child page, e.g. Page.Master.Sho wButton_Click() .

Tim

Oct 12 '06 #5

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

Similar topics

1
4838
by: Carl Gilbert | last post by:
Hi I am trying to get a site working with some 1&1 web space. I have the MS Business Pro account which has ASP.NET Support and SQL Server. I am trying to get an online gallery to work but I can not get the default.aspx page to load. I can not even get a really simple aspx page to load. Default page: http://www.gallerox.com/default.aspx When I try to load the page I get the following warning:
2
3735
by: Rob R. Ainscough | last post by:
I'm using forms authentication along with Master pages -- my authenticated forms reside is a sub-dir (Secure) below the web site root dir. The problem is that any graphics placed on the Master page do NOT appear in any of the web forms located in my Secure dir, however, any forms off the root of my web app will display the master page with the graphics. Is there some trick to get master pages to work with forms authentication of forms...
5
3476
by: Vincent A. | last post by:
Hello, I'm developping an asp.net application which used master page on which i add several web control. One of the them is a menu control which as several button in order to develop each sub menu. When i click on this button it rises a postback and refresh all my controls. My question is the following : is it possible the postback acts only on one web control ? Thanks in advance
1
1674
by: brian.newman | last post by:
I'm trying to link a gridview to another gridview in a Master-Details architecture. But the Details list isn't filtering like it is suppossed to. It will show all items on page load and it won't remove any items when an item in the Masters list is selected. It shouldn't show anything until an item in the Master's list is selected and then only show the details which are associated with the selected item in the Masters list. I'm new to...
17
4608
by: MeerkatInFrance | last post by:
There comes a time when you know you are not going to be able to work something out yourself, however hard you try. I have reached that moment. I have a master page and a slave page (or whatever one calls it) All I want to do is show a Google map on the slave page. The map that Google gives as an example when it gives you a key would be just fine. I have searched high and low for a means of doing this but all I could find
2
3852
by: igotyourdotnet | last post by:
Is there a way to prevent the master page to reload every time the user makes a selection off of the menu? I want to give it a "Frame" like appearance were only the content section changes with a menu selection.
0
1309
by: BillE | last post by:
PROBLEM SUMMARY -- I use "Response.Cache.SetCacheability(HTTPCacheability.NoCache)" to force a page to reload instead of displaying cached content. However, I don't really want to reload the page since the data may still be inconsistent, if the page was called from a url and based on values in a querystring. I'm using VS 2005, VB.NET. DETAILS --
0
5557
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted ******************************************************** For this teeny job, please refer to: http://feeds.reddit.com/feed/8fu/?o=25
10
2126
by: =?Utf-8?B?RGFuaQ==?= | last post by:
Hi, Trying to create a master page that holds a menu, and the menu switches between pages in the site. 2 problem arrosed: a. When I navigate from page to page (all AJAX Web Forms, with the Master pages as their master...) the entire page is refreshed - also the menu which belongs to the master, how can I fix it - so only the inside content will be refreshed ?
0
8679
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8621
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8335
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7159
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6110
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5563
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4079
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4174
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1785
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.