I need to show images in panelbar items but I'm having no luck.
Please can you show code to use the template property of a panelbar item ... I have the following to start with:-
.........
.ItemDataBound((item, product) =>
Please can you show code to use the template property of a panelbar item ... I have the following to start with:-
.........
.ItemDataBound((item, product) =>
{
item.Text = product.Player.FullName;
item.Template .....
}
.....
Thanx.
//item.Action("Index", "Player", new {id = product.Id});
item.
Selected = false;
item.
HtmlAttributes["id"] = product.Player.Id;
}));