473,320 Members | 1,817 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,320 software developers and data experts.

How to handle Master Page events in Content Pages?

Hi,

I am developing a web application that is a series of pages, rather like a
wizard.
Because all of the pages basically have the same navigation, and require the
navigation buttons in the same part of every screen, I have put the
navigation buttons on the Master Page.

The Content Pages, when they load, are able to change the caption of the
navigation buttons as required by accessing the properties of the Master Page.

When the buttons are clicked, the event is raised in the Master Page, but
not in the Content Page. This is documented behaviour.

However, my problem is that the Content Page must perform some validation
and business processing before allowing the user to move on to the next
screen.

What is the best way to raise the click event of the navigation button on
the Master Page back to the Content Page so that the latter can perform its
processing?

Thanks,
Jan 13 '06 #1
1 4509
http://msdn2.microsoft.com/en-us/library/9aackb16.aspx
--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"dezza" wrote:
Hi,

I am developing a web application that is a series of pages, rather like a
wizard.
Because all of the pages basically have the same navigation, and require the
navigation buttons in the same part of every screen, I have put the
navigation buttons on the Master Page.

The Content Pages, when they load, are able to change the caption of the
navigation buttons as required by accessing the properties of the Master Page.

When the buttons are clicked, the event is raised in the Master Page, but
not in the Content Page. This is documented behaviour.

However, my problem is that the Content Page must perform some validation
and business processing before allowing the user to move on to the next
screen.

What is the best way to raise the click event of the navigation button on
the Master Page back to the Content Page so that the latter can perform its
processing?

Thanks,

Jan 13 '06 #2

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

Similar topics

5
by: Michael Herman \(Parallelspace\) | last post by:
1. What are some compelling solutions for using Master/Content pages with Web Pages? 2. If a content area has a web part zone with web parts, what is the user experience like when "editting" the...
4
by: rmccinc | last post by:
Hello- I am missing something very easy here I think. I have 3 files test.master.vb (Master) content.aspx.vb (content) Control.ascx.vb (user Control)
7
by: Martijn Saly | last post by:
Hi there, I've created a master page with some controls on it, a Calendar control among others. Now depending on the date(s) selected, the content page needs to be updated. In the masterpage...
3
by: Brian | last post by:
Master pages run Page_Load() from the deepest level of nesting outwards. So if I write a content page based on a nested master which is then based on some other master, the Page_Loads are executed...
17
by: Rob R. Ainscough | last post by:
Again another simple concept that appears NOT to be intuitive or I'm just stupid. I've read the WROX book and the example doesn't actually show how the .master page links in the other content...
1
by: tomix | last post by:
Hi, I have a master page which contains a menu,i would like to handle post back In the content pages(MenuItemClick event) I tried to do the following in the content page BaseLayout master...
2
by: n# | last post by:
I have an old existing website with a Header/ Left Hand Menu and a iframe as the main body content, adjacent to the menu. So for every click on the menu item, I used to load a aspx page on the...
13
by: Kirk | last post by:
I have been reading Scott Allen's article on Master Pages (http:// odetocode.com/Articles/450.aspx) but I am having problems understanding a concept. Specifically, I have created a property...
5
by: =?Utf-8?B?UmJydA==?= | last post by:
There is a lot of good material related to using Master Pages for formatting controls and putting common design elements on multiple pages. I have VB.NET code that is common to all of my pages...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.