Click here to Skip to main content
15,897,273 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Within update panel i have detailView. In that detailview i have a dropdownlist. This ddl has "OnSelectedIndexChanged" event. When we change the index, the event gets fired.

The problem is after page load when i select another index, the event gets fired but again its assigned to default value. Further, if i select another value in ddl, the functionality is working. On first selection it is not working properly and it re-assigned to old one.

I checked with EnableViewState=true. I have used postback method to filter and avoid rebound while postback. Autopostback is true. But its not work on its first selection. Hope u understand the problem statement.

If anybody know the solution direct me to resolve this problem.

Thanks in advance
Posted
Updated 11-Aug-13 23:19pm
v2

1 solution

bind dropdown inside !ispostback method is written in page load event
 
Share this answer
 
Comments
vinothharshad 12-Aug-13 9:40am    
Hi Acharya... Yes i have used that.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900