Hello All,
From one week rather developing any code i have been discovering BUGS in asp.net,
Please help me out on this!
I have class say 'Handler' which inherits System.Web.UI.P age,
and i have put in a seperate DLL,
The code is show below:
using System;
using System.Web;
namespace FCTest1
{
public class Handler : System.Web.UI.P age
{
protected override void OnLoad(EventArg s args)
{
}
}
}
Now i inherit by wepage class from 'Handler' class instead of System.Web.UI.P age (it does not make a difference as Handler class inherits from System.Web.UI.P age)
Here is the simple code:
using System.Web.UI;
using System.Web.UI.W ebControls;
using System.Web.UI.H tmlControls;
using FCTest1;
namespace FCWebTest1
{
public class WebForm1 : FCTest1.Handler
{
private void Page_Load(objec t sender, System.EventArg s e)
{
// Put user code to initialize the page here
int i = 1; //<----- Control never reaches here!!! Help me out please!
Response.Write( "Hello");
}
}
}
Now the problem is the Page gets loaded and the Page_Load never gets called!!!, the control simply does not reach there at all!!!!
Is this a BUG?? is there any workaround for this???
Please help me out asap!
I really in need of solutions, you can mail me at : ng*****@yahoo.c om
Thanks in advance
NGM