For Programmers: Free Programming Magazines  


Home > Archive > ASP .NET > February 2007 > Event with lock ?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Event with lock ?
Ornette

2007-02-27, 10:13 pm

Hello,

I'm sending an event from master page to content page.

Master : s.o. try to change page content. Master sends event to content
page. Content page choose whether to accept or cancel (like in word : do you
want to save before leaving ? yes/no/cancel). Master redirects or not.

It works well if I put e.cancel or not in the content page.

But if I want to show a popup I have a pb. The event arrives in the content
page, I show the popup but the event is yet back to master page and the
master page redirects. I have a workaround where I put a parameter in the
event and it is the content page wich makes the redirects but I don't like
this... and I would have to put this in every content pages...

How to freeze the event and wait for the response to the popup ?

Any help would be appreciated.

Ornette.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com