Hi there, Because the changes in ASP.NET 2.0 and the web pages now support auto event wire-up, so you can add the handler for an event of the Page instance by declaring the method in the naming format Page_event[^], for example Page_Load, Page_LoadComplete ...In Vs 2005, you can still add the event handlers using the Properties Window, however i don't think this is the official way to do this, but it's worth a try: + Open the web page .aspx in the design view, right click and choose View Component Designer. You can also choose this from the menu View|Component Designer. + Select the Properties Window in the left pane, select the code-behind class in the dropdownlist, then choose the event icon. + You now can add the event handler for a specific event of the class, VS 2005 will automatically add the code to wire up the event handler in the InitializeComponent method. And you need to manage to add the call to the InitializeComponent method since the VS 2005 does not do that for you, you can add to the overriden OnInit or OnPreInit .... method:
override protected void OnInit(EventArgs e)
{
InitializeComponent();
base.OnInit(e);
}