S
Stimp
Hi all,
I've come back to this problem again and I've identified which part of
my code is producing the error:
"'SelectedIndex' and 'SelectedValue' attributes are mutually exclusive"
I have a dropdown 'Year' and it contains a list of years from 2000 to
2005. This dropdown is populated on page load.
When I select an article to edit (which has a year value associated), I
select the appropriate year dropdown value as follows...
ddYear.SelectedValue = objRS("VYear")
This is causing the above error, I THINK it's because the 'VYear' value
is an integer as opposed to a string.
I've also tried: ddYear.SelectedValue = CInt(objRS("VYear"))
and ddYear.SelectedValue = CStr(objRS("VYear"))
with the same error resulting.
Any ideas?
Thanks.
Peter
I've come back to this problem again and I've identified which part of
my code is producing the error:
"'SelectedIndex' and 'SelectedValue' attributes are mutually exclusive"
I have a dropdown 'Year' and it contains a list of years from 2000 to
2005. This dropdown is populated on page load.
When I select an article to edit (which has a year value associated), I
select the appropriate year dropdown value as follows...
ddYear.SelectedValue = objRS("VYear")
This is causing the above error, I THINK it's because the 'VYear' value
is an integer as opposed to a string.
I've also tried: ddYear.SelectedValue = CInt(objRS("VYear"))
and ddYear.SelectedValue = CStr(objRS("VYear"))
with the same error resulting.
Any ideas?
Thanks.
Peter