C
Cappy
Hi.
I have a table row as follows in my repeater template
<tr>
<td class=error align=right>
-
</td>
<td class=error colspan=4>
<%# DataBinder.Eval(Container.DataItem, "Error") %>
</td>
</tr>
Is there anyway I can put an if statement around the row so it only
displays if the "Error" is of .length > 0
The only way I can think of doing it anyother way is using a lable
control and setting its value to be the html code above onItemDataBind
event of the repeater.
There must be a better way.
Cheers
Amit
I have a table row as follows in my repeater template
<tr>
<td class=error align=right>
-
</td>
<td class=error colspan=4>
<%# DataBinder.Eval(Container.DataItem, "Error") %>
</td>
</tr>
Is there anyway I can put an if statement around the row so it only
displays if the "Error" is of .length > 0
The only way I can think of doing it anyother way is using a lable
control and setting its value to be the html code above onItemDataBind
event of the repeater.
There must be a better way.
Cheers
Amit