usercontrol - events question

Discussion in 'ASP .Net' started by Guest, Jul 18, 2007.

  1. Guest

    Guest Guest

    Hi all,

    I have a UserControl that contains a Textbox control. When the value of the
    textbox changes I would like to fire an event server side that would call a
    method in the host aspx page and not in the ascx page. Is this possible? I
    know the textbox has a valuechange event right? But how can I make it call a
    method in the host aspx page?

    TIA!
     
    Guest, Jul 18, 2007
    #1
    1. Advertisements

  2. Guest

    mhshpk

    Joined:
    Jul 12, 2007
    Messages:
    6
    Likes Received:
    0
    raisebubblevent
     
    mhshpk, Jul 18, 2007
    #2
    1. Advertisements

  3. Guest

    bruce barker Guest

    your user control should implement an event, that it raises when it gets
    the textbox onchange event. it could also expose the textbox onchange
    event as a global property.

    -- bruce (sqlwork.com)
     
    bruce barker, Jul 18, 2007
    #3
    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.