Datalist question

  • Thread starter Thread starter Islamegy®
  • Start date Start date
I

Islamegy®

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>
 
I used it but when RepeatColumn = 2 the seprator will be Vertical between
cells not horizonal between rows.
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top