Help Using web Custom control in a Repeater

Discussion in 'ASP .Net' started by JAPHET, Oct 11, 2004.

  1. JAPHET

    JAPHET Guest

    I have a web custom control consist of three text box i.e Employee
    number,First name, Last Name. I Created a web form with a Repeate control,
    I want to attach a Custom control to a repeater so as I can add a multiple
    rows at a time to my employee table.
    PLz help me how can i achieve this.
    Japhet.
    JAPHET, Oct 11, 2004
    #1
    1. Advertising

  2. JAPHET

    Scott Allen Guest

    HI Japhet:

    You can add the control directly into the item template like any other
    web control. i.e.:

    <asp:Repeater id="Repeater1" runat="server">
    <ItemTemplate>
    <tr>
    <td><uc:MyControl Runat="server" ID="MyControl" /></td>
    </tr>
    </ItemTemplate>
    </asp:Repeater>

    --
    Scott
    http://www.OdeToCode.com/

    On Mon, 11 Oct 2004 10:06:10 +0300, "JAPHET" <>
    wrote:

    >I have a web custom control consist of three text box i.e Employee
    >number,First name, Last Name. I Created a web form with a Repeate control,
    >I want to attach a Custom control to a repeater so as I can add a multiple
    >rows at a time to my employee table.
    >PLz help me how can i achieve this.
    >Japhet.
    >
    >
    >
    Scott Allen, Oct 11, 2004
    #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. Replies:
    0
    Views:
    336
  2. =?Utf-8?B?SmF5YnVmZmV0?=
    Replies:
    9
    Views:
    848
    Phillip Williams
    Feb 21, 2006
  3. Need Help with a repeater and web custom control

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

    Help using Repeater with Web Custom Control

    JAPHET, Oct 11, 2004, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    117
    JAPHET
    Oct 11, 2004
  5. Replies:
    1
    Views:
    101
    Dave Friedel
    Mar 13, 2005
Loading...

Share This Page