Click to See Complete Forum and Search --> : Urgent Repeater Help


Raffee
08-05-2005, 08:10 AM
Hey,
I have a repeater which renders the items as tables (each item is a table). I want to set the ID of each table Dynamically, based on the data in the row. How can I do it?

I tried having <table id='<%=name%>'>

and in the OnDataItemBind event i set

name = (DataRowView)e.Item.DataItem["id"];

but for some reason (maybe since the strings are evaluated last) all tables end up having the same id...:(

Is there a way to get around this???????????????????

naijacoder
08-23-2005, 07:35 AM
Raffee i don't really get what u are trying to do and why