Dynamically Adding User Control

Discussion in 'ASP .Net' started by ravi sankar, Aug 29, 2003.

  1. ravi sankar

    ravi sankar Guest

    Hi,
    U need to use a placeholder control and add the control to
    the placeholder.
    http://aspnet.4guysfromrolla.com/articles/081402-1.aspx

    regards,
    s.ravi sankar


    >-----Original Message-----
    >How to add the user control dynamically to the tablecell
    >at runtime.
    >Thanks.
    >
    >.
    >
    ravi sankar, Aug 29, 2003
    #1
    1. Advertising

  2. ravi sankar

    Ram sundar Guest


    >-----Original Message-----
    >Hi,
    >U need to use a placeholder control and add the control

    to
    >the placeholder.
    >http://aspnet.4guysfromrolla.com/articles/081402-1.aspx
    >
    >regards,
    >s.ravi sankar
    >
    >
    >>-----Original Message-----
    >>How to add the user control dynamically to the tablecell
    >>at runtime.
    >>Thanks.
    >>
    >>.
    >>

    >.
    >

    Hi,
    You could use a panel in the position where you wanna
    add a control and then do the following:
    panMyPanel.Controls.Add(New LiteralControl(butButton))
    Bye,
    CodeMachine
    Ram sundar, Aug 29, 2003
    #2
    1. Advertising

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. Kevin Spencer

    Re: Dynamically Adding User Control

    Kevin Spencer, Aug 29, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    411
    Kevin Spencer
    Aug 29, 2003
  2. Stu
    Replies:
    1
    Views:
    584
    Karl Seguin
    Jan 6, 2005
  3. Frank
    Replies:
    2
    Views:
    396
    Victor Garcia Aprea [MVP]
    Nov 26, 2003
  4. Sam

    Dynamically adding a user control to aspx page

    Sam, May 13, 2004, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    132
  5. Travis Pruitt

    Dynamically Adding User Control with Child User Control

    Travis Pruitt, Jan 13, 2005, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    170
    Travis Pruitt
    Jan 13, 2005
Loading...

Share This Page