you wrote
if you are binding your dropdownlist1 in page load, then place that code inside ->
if not ispostback then
YOUR CODE HERE
endif
please explain
I explained earlier too maghi85.
Anyway....
Normally, what happens is that when a page loads, the contents in the page_load sub get executed.
i.e. in your case suppose you have placed the code for binding dropdownlist in the page_load area, then it gets binded with that data when the page is requested.
Now, later on when a postback occurs, i.e. either through a button or autopostback of your dropdownlist or whatever, the execution starts from the page load before it goes to the event for that respective control.
so, if you don't place your code inside "if not ispostback", then the dropdownlist(in your case) gets binded again with the data. And since it gets binded again, the default value also gets set again.
so, finally when you try to receive the selected value through the event for the control what you get is the default value that has been set again in the page load sub(in the absence of 'if not ispostback').
so, since you say that you are not getting the selected value through the event, the only problem which might be possible IMO is that you are binding the dropdownlist again.
so check it out!
wow!!! not written such a long explanation. am impressed!
Regards,
Gomzi.