This is a migrated thread and some comments may be shown as answers.

Template Usage

0 Answers 124 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
stevesuk
Top achievements
Rank 1
stevesuk asked on 28 Jun 2012, 12:14 AM
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) =>


    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;

}));

 

 

 

 

 

 

 

No answers yet. Maybe you can help?

Tags
PanelBar
Asked by
stevesuk
Top achievements
Rank 1
Share this question
or