Custom web control in a repeater

Discussion in 'ASP .Net Web Controls' started by jw56578@gmail.com, Sep 19, 2005.

  1. Guest

    If i create a custom web user control and place this into a repeater,
    what event must be raised to be recognized by the repeater and raise
    the ItemCommand event?
     
    , Sep 19, 2005
    #1
    1. Advertisements

  2. Brock Allen Guest

    The Button's Command event is what gets bubbled up to the Repeater. The way
    it's implemented is that the Button detects his own postback and then calls
    RaiseBubbleEvent. This calls up the parent control hierarchy until somebody
    handles the event.

    -Brock
    DevelopMentor
    http://staff.develop.com/ballen

    > If i create a custom web user control and place this into a repeater,
    > what event must be raised to be recognized by the repeater and raise
    > the ItemCommand event?
    >
     
    Brock Allen, Sep 19, 2005
    #2
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. JAPHET
    Replies:
    1
    Views:
    502
    Scott Allen
    Oct 11, 2004
  2. Replies:
    0
    Views:
    423
  3. =?Utf-8?B?SmF5YnVmZmV0?=
    Replies:
    9
    Views:
    1,004
    Phillip Williams
    Feb 21, 2006
  4. Matt Sokol
    Replies:
    2
    Views:
    629
    Theo Tillotson
    Aug 7, 2003
  5. Cappy

    Repeater control in a rendered custom control

    Cappy, Jan 21, 2004, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    247
    Cappy
    Jan 21, 2004
  6. Need Help with a repeater and web custom control

    , Mar 11, 2005, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    186
  7. JAPHET

    Help using Repeater with Web Custom Control

    JAPHET, Oct 11, 2004, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    196
    JAPHET
    Oct 11, 2004
  8. Replies:
    1
    Views:
    191
    Dave Friedel
    Mar 13, 2005
Loading...