build fails with ModalPopupExtender when controls have event handlers

Discussion in 'ASP .Net' started by BillE, Apr 10, 2007.

  1. BillE

    BillE Guest

    I have an asp button and an asp listbox control in a panel which is the
    PopupControlID for an Ajax ModalPopupExtender.

    It all works great until I create an event handler for the button control,
    and then the build fails - before I even put any code into the event

    When the build fails, there is sometimes an error "handles clause requires a
    withevents variable defined in the containing type or one of its base

    How can I fix this?

    BillE, Apr 10, 2007
    1. Advertisements

  2. By changing your Ajax Framework... ;)
    Check out:
    for a framework that supports REAL windows...
    Modal or whatever you want with embedded controls just like a normal
    ASP.Panel can have...

    Thomas Hansen, Apr 10, 2007
    1. Advertisements

  3. BillE

    BillE Guest

    Let me rephrase my question - how can I fix this ... without buying
    something else?
    BillE, Apr 11, 2007
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.