Hi,
I'm a bit confused about the "ItemTemplate" thing.
From my point of view a template is some thing which tells how to display something.
So in the case of a Dropdown I have 2 Things - a value and a Text.
How do I "bind" (or assign) those values to my template?
Assume a dropdown with items where the value is an address (URL or such a thing) and the text is some kind of "what to show".
My template should now display a hyperling - with "Text" as display and "Value" as href.
How to write such a template - if the combobox is NOT databound which means that I can'r retrieve the values from the bound data.
Instead I want to "extract" them from the item list.
Regards
Manfred
I'm a bit confused about the "ItemTemplate" thing.
From my point of view a template is some thing which tells how to display something.
So in the case of a Dropdown I have 2 Things - a value and a Text.
How do I "bind" (or assign) those values to my template?
Assume a dropdown with items where the value is an address (URL or such a thing) and the text is some kind of "what to show".
My template should now display a hyperling - with "Text" as display and "Value" as href.
How to write such a template - if the combobox is NOT databound which means that I can'r retrieve the values from the bound data.
Instead I want to "extract" them from the item list.
Regards
Manfred