Just addition,
make a div run at server add  Literal Control
implement ITemplate

On Tue, May 26, 2009 at 1:19 PM, Arji <[email protected]> wrote:

>
> It can be possible with placeholder. check the below video. I have
> tried and succeeded too.,
>
> http://www.asp.net/Learn/ajax-videos/video-286.aspx
>
>
> Happy Coding.
> Revanth Arji
>
>
> On May 24, 2:14 pm, Cerebrus <[email protected]> wrote:
> > One of many possibilities: You could use a Repeater and add the DIV
> > within the ItemTemplate. Then bind the Repeater to your DataTable.
> >
> > On May 24, 3:14 am, "Dino L." <[email protected]> wrote:
> >
> > > Hi everyone.
> >
> > > I have one problem.
> >
> > > I have a web content form like this...
> >
> > > <asp:Content ID="Content4"
> > > ContentPlaceHolderID="ContentPlaceColumnRight" runat="server">
> > > <form id="Form1" runat=server>
> > >                 <!-- Device 1 -->
> > >         <div class="device-container">
> >
> > >                 <input type="checkbox" id="cb1" name="cb1"/><span
> > > class="device-name"><a href="#">Device 1</a></span><span class="device-
> > > statusimg">Signal<img src="img/led-green.gif" /></span><span
> > > class="device-statusimg">Bat.<img src="img/led-orange.gif" /></span>
> > >         </div>
> >
> > > ....................
> > >   <!-- more devices -->
> >
> > >                 </form>
> > > </asp:Content>
> >
> > > I have to create few DIVs like on this example, but based on data I
> > > have in datatable. I dont know how many I will get.
> > > How can I create them on page_load?
> >
> > > I use C#?
> >
> > > thanks
>

Reply via email to