If I set an ItemTemplate of a repeater in a skin file, how can I tell it where to display the relevant fields from my data source. If the ItemTemplate were being defined in a content or master page, I could simply use <$ # Eval ("FieldName") $>. But, in a skin file, data binding is not allowed?
This problem also applies to the menu control. When I wanted to define a different CSS style in each of my themes, as soon as I modified the ItemTemplate, it no longer knows where it should display the nodes of my sitemap path.
At the moment I'm looking into the programmatic options, but ideally I don't want to have to give all my controls an ID and set the values they display in code if I can do it in mark up.
Thanks for reading