quite nested wuc...

Discussion in 'ASP .Net Web Controls' started by Jan Limpens, Nov 13, 2003.

  1. Jan Limpens

    Jan Limpens Guest

    hi folks,

    i have got a problem with consuming events in a nested web user control.

    i have a model hierarchy of Tree-Node-NodeFile, associated to to each of
    this classes I made a Web User Control that bears a reference to it's class.

    so when I click somewhere in my TreeControl, it finds the according Node
    and sends it to the NodeControl. In the NodeControl's Node setter I
    put in the code to programatically load as many instances of FileControl
    as there are NodeFiles in the Node. So far everything works fine.

    But FileControl also has a SaveButton, when clicked, On_PostBack the
    event is not consumed because NodeControl does not add an eventhandler,
    as this is is done in the Node setter, not in On_Load().

    hmm, anyone understands this / can help me?

    thanks
    jan
     
    Jan Limpens, Nov 13, 2003
    #1
    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. Russ Perry Jr
    Replies:
    2
    Views:
    5,049
    Russ Perry Jr
    Aug 20, 2004
  2. Chad E. Dollins
    Replies:
    3
    Views:
    866
    Kai-Uwe Bux
    Nov 8, 2005
  3. request@no_spam.com
    Replies:
    5
    Views:
    643
  4. Replies:
    1
    Views:
    511
    bruce barker
    Jun 11, 2007
  5. Ultrus
    Replies:
    3
    Views:
    586
    Stefan Behnel
    Jul 9, 2007
  6. Replies:
    3
    Views:
    696
    Victor Bazarov
    Dec 7, 2007
  7. Craig Buchanan

    textboxes in dynamically loaded WUC not repopulated during PostBack

    Craig Buchanan, Feb 20, 2004, in forum: ASP .Net Building Controls
    Replies:
    1
    Views:
    236
    Craig Buchanan
    Feb 20, 2004
  8. Nick
    Replies:
    3
    Views:
    171
    Devin Mullins
    Sep 25, 2005
Loading...