Modify Composite Control HTML

Discussion in 'ASP .Net Web Controls' started by Jon, Aug 29, 2007.

  1. Jon

    Jon Guest

    Hello all,

    I'd like to know if it's possible to change a Custom Composites
    rendered HTML at design time by an option on the Action List. For
    example, when you first drag the custom control on it produces the
    HTML that you see in design view

    <cc1:userinfo id="UserInfo1" runat="server" ></cc1:userinfo>

    Then you choose an option from the Action List and it modifies the
    HTML you see in desgn view to:

    <cc1:userinfo id="UserInfo1" runat="server" >
    <asp:textbox runat="server" id="textbox1" />
    </cc1:userinfo>

    Is this possible? If so, any exmaples would be great.

    Thanks,

    Jon
    Jon, Aug 29, 2007
    #1
    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. Replies:
    0
    Views:
    718
  2. sleigh
    Replies:
    1
    Views:
    2,687
    sleigh
    Feb 12, 2004
  3. darrel
    Replies:
    6
    Views:
    465
    darrel
    Oct 15, 2004
  4. Chad
    Replies:
    0
    Views:
    222
  5. Mike

    Composite vs non composite Controls

    Mike, Mar 10, 2005, in forum: ASP .Net Web Controls
    Replies:
    4
    Views:
    261
    Sundararajan
    Mar 11, 2005
Loading...

Share This Page