A
aaapaul
Depending on a variable (language), I want to use a different
<itemtemplate> in my Datalist.
code like this:
page_load
select case strLanguage
case "english"
"use itemtemplate1" 'without prices
case "german"
"use itemtemplate2" 'with prices
end select
How can I realize this ?
I tried to make it with <SelectedItemTemplate> and
If strSprache = "englisch" Then MyList.SelectedIndex = 1,
but this work not for alle entries, just for one.
Do you have any idea?
thanks
aaapaul
<itemtemplate> in my Datalist.
code like this:
page_load
select case strLanguage
case "english"
"use itemtemplate1" 'without prices
case "german"
"use itemtemplate2" 'with prices
end select
How can I realize this ?
I tried to make it with <SelectedItemTemplate> and
If strSprache = "englisch" Then MyList.SelectedIndex = 1,
but this work not for alle entries, just for one.
Do you have any idea?
thanks
aaapaul