How to handle Master Page events in Content Pages?

G

Guest

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,
 
Joined
Aug 13, 2009
Messages
1
Reaction score
0
=?Utf-8?B?ZGV6emE=?= said:
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,

Go to below mentioned link

firoz-aspdotnetsolutions.blogspot.com/2009/08/handle-master-page-click-events-in.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top