G
George Ter-Saakov
Depending on some criteria (based on item value) i need to show different
template for item in repeater control?
How do i do that?
Sample:
Repeater1.DataSource = _lstItems;
Repeater1.DataBind();
For regular Items i need to show regular <ItemTemplate> and for items with
Id = -1 i need to show <AlternatingItemTemplate>
How do i do that?
Thanks.
George.
template for item in repeater control?
How do i do that?
Sample:
Repeater1.DataSource = _lstItems;
Repeater1.DataBind();
For regular Items i need to show regular <ItemTemplate> and for items with
Id = -1 i need to show <AlternatingItemTemplate>
How do i do that?
Thanks.
George.