i have recently converted our web app over to .NET 2.0.
i have since added a new user control to one of the pages. frequently when i compile i get some error messages saying the various methods etc. aren't available. the reason for this is that the designer is casting my user control to a type of UserControl. if i manually go in and change it works. but then further down the line the designer overwrites my changes again. what am i doing wrong? thanks.
e.g. if i change in designer from "System.Web.UI.UserControl myUserControl" to "MyUserControl myUserControl" it works again. i have my user controls declared in web.config.
thanks