1
Answer

User control

naveen gupta

naveen gupta

15y
2.4k
1
I have a user control on which i using two dropdownlist . second one binding on the basis of first.
I am using this usercontrol in the item template or edititem template of the datalist on a page.
But when i binding the data , its raise an expection that the particule dropdownlist does not contain that value which i am assigning. but i m assignig the same value which it have......


The reason my be that the usercontrol in not doing postback and not loading to bind the data in dropdown list.


Please Help . and provide ur opinion abt this what i have to do?
Answers (1)
0
Sam Hobbs
NA 28.7k 1.3m 15y
One thing you can do is to look at the value that it says it cannot find. You say that it is saying that the "dropdownlist does not contain that value" so put something in the code that allows you to see what that value is. That might give you a clue for deciding what next to look at.