asp.net 2 master page event problem

  • Thread starter Thread starter PCH
  • Start date Start date
P

PCH

Hello all,

Been messing the the dec CTP of .net 2

Heres the situation:

I have a master page with the contents control and a button control (call it
btnRefresh).

I have a child page that uses the master.

I have an abstract class that inherits the page class. The child page
inherits from this abstract class (call it mpBase).

First problem I see if the page load event always fires twice! This happens
whether its a page thats using a master page, or just a standalone page
itself.

Second problem is I cannot capture the btnRefresh click event!
If the onclick event code is in the master page, it works just fine. But I
want to have the button event in the base abstract clas (mpbase). I even
tried to put it in the child page and it didnt work either.

Any ideas?

Thanks
 

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

Back
Top