Dynamically creating and handling events in user controls

Discussion in 'ASP .Net Web Controls' started by Piyush, Sep 28, 2004.

  1. Piyush

    Piyush Guest

    Hi,

    I need to create a user control wherein I have to add linkbuttons
    dynamically according to some parameters passed by the web form. Once
    created, I need to raise their events and then catch them as well. How do I
    go about doing it? My concern is that I need minimal handling on the Web page
    that loads the user control. Any pointers?

    Regards,
    Piyush
     
    Piyush, Sep 28, 2004
    #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. Danny Bloodworth

    Events in dynamically loaded user controls

    Danny Bloodworth, Nov 20, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    699
  2. Nathan Sokalski

    Handling Events for Dynamically Created Controls

    Nathan Sokalski, May 23, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    1,137
    Herfried K. Wagner [MVP]
    May 23, 2005
  3. Replies:
    4
    Views:
    712
    Eliyahu Goldin
    Nov 1, 2007
  4. SevDer
    Replies:
    2
    Views:
    1,512
    Walter Wang [MSFT]
    Nov 13, 2007
  5. Nathan Sokalski
    Replies:
    1
    Views:
    405
    bruce barker
    Feb 27, 2008
  6. Nathan Sokalski

    Handling Events for Dynamically Created Controls

    Nathan Sokalski, May 23, 2005, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    229
    Herfried K. Wagner [MVP]
    May 23, 2005
  7. Andrew Crossley

    Creating User Controls Dynamically - Object Reference Not Set erro

    Andrew Crossley, Nov 7, 2005, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    216
    Andrew Crossley
    Nov 7, 2005
  8. Nathan Sokalski

    Handling events triggered by dynamically created controls

    Nathan Sokalski, Feb 27, 2008, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    219
    bruce barker
    Feb 27, 2008
Loading...