[Mono-aspnet-list] Code Problem

mostafaxx mostafa_alshrief at yahoo.com
Sat Sep 24 07:09:47 EDT 2011


hello every one,
i'm having a code problem
why does the following code work http://monobin.com/1248/
and the following doesn't http://monobin.com/1249/


all i've done in the secound code is :

turn off the AutoEventWireup
write a new class declaration that inherits from Page and then in the
constructor i had been trying to register my method to the Page.Load Event
handler : this.Load += Page_Load;
but the event handler code is never executed
...........

i've also tried to override the Page.OnInit() and the Page.OnLoad() methods
but also the code didn't run : http://monobin.com/1250/

--
View this message in context: http://mono.1490590.n4.nabble.com/Code-Problem-tp3839138p3839138.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.


More information about the Mono-aspnet-list mailing list