Designer being oddly generated...

Last post 01-19-2007 12:36 PM by caladin. 0 replies.

Sort Posts:

  • Designer being oddly generated...

    01-19-2007, 12:36 PM
    • Member
      62 point Member
    • caladin
    • Member since 08-03-2006, 6:09 PM
    • Posts 87

     

    Okay I have a page that's a web applicaiton... it's code behind looks like this... 

    namespace Case_Notes.AccessControl

    {

    public partial class AutoLogin : System.Web.UI.Page

    {

    <snip removed body of page>

    }

    }

    So I go to look at the Designer.cs file for this code behind and I expect to see one for the partial class auto login....

    But instead I see this

     

    namespace

    System.Web.UI {

     

    public partial class Page {

    protected System.Web.UI.HtmlControls.HtmlForm AutoLogin;

    }

    }

    It's redefining System.web.ui.page.... Which is messing up my use of any page derived from system.web.ui.page

    elsewhere in the project.

     

    I deleted the designer file, clicked "Convert to Web Applicaiton" to regenerate it... and it's being generated the same (incorrect) way.

     

    Anyone have any idea how to fix this?? I can change it manually, but next time it regerates.. it'll be wrong again.

     

    Thanks,

     

    Eric-

Page 1 of 1 (1 items)