Template Usage

1 posts, 0 answers
  1. stevesuk
    stevesuk avatar
    6 posts
    Member since:
    Jan 2007

    Posted 27 Jun 2012 Link to this post

    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;

    }));

     

     

     

     

     

     

     

Back to Top