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
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