you could always watch the mod of the item count on itemcreated and
then insert the code accordingly.
Although it might be easy to derive a new control and overload the
render function. I don't know. just throwing up ideas.
Islamegy® wrote:
> I used it but when RepeatColumn = 2 the seprator will be Vertical between
> cells not horizonal between rows.
>
> "David Wier" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
> >I haven't used a DataList in a while, but you might look into the
> > SeparatorTemplate
> >
> > --
> > David Wier
> > MVP/ASPInsider
> > http://aspnet101.com
> > http://aspexpress.com
> >
> >
> >
> > "Islamegy®" <Islamegy@Private.4me> wrote in message
> > news:(E-Mail Removed)...
> >> I'm using a datalist with Repeat Column = 2..
> >> Which will be Rendered
> >> <TR>
> >> <TD></TD>
> >> <TD></TD>
> >> </TR>
> >>
> >> now i want to add horizontal seprator.. I mean new row with doted line...
> > so
> >> i try to insert TableRow control between each row, but when i rty to
> >> override AddedControls i found all controls of type DataListItem.
> >>
> >> Which method i need to override to accomplish this task??
> >>
> >> <TR>
> >> <TD></TD>
> >> </TR>
> >>
> >>
> >
> >