Adding Web Forms ASP.NET 2.0
Hi Guys, I've converted my project to ASP.NET 2.0. I've not really had any major problems. Now I'm adding new web forms, which support the new code behind model. When I add a new webform the Context.User is no longer recognised as a MyProjectPrincipal. Now I would normally solve this by swapping....
override protected void OnInit(EventArgs e)
{
base.OnInit(e);
InitializeComponent();
}
But this code now sits eleswhere. What are the options? Many thanks.
Rob
|