Click here to Skip to main content
15,905,508 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello.
i insert dropdownlist in modalpopupextender.when i select item of dropdownlist and click ok button alwayes selectedindex of dropdownlist is 0.
modalpopupextender is in updatepanel.
Posted
Updated 8-Dec-11 5:14am
v3
Comments
BillWoodruff 13-Oct-11 3:03am    
I believe this is a Web.UI project, please use tags.
Amol_27101982, India 13-Oct-11 6:20am    
Have you got any solution or not??
saman.h 2-Nov-11 13:14pm    
My Problem solved with your solution.very Thanks for co operation in this regards.
best regards

1 solution

Check that you have the condition in the page load to check

if (!IsPostBack)
{

}

Otherwise it will fill the dropdown every time and you will get selected item index as 0 after postback.

~Amol
 
Share this answer
 

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