Click here to Skip to main content
15,886,963 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
SQL
i want 2 show dropdown on my web page with zero index fixed [select option]
as soon as user select items from a dropdown i want to do some code behind
on that index but dropdown zeroth index should remain intact

how can i achieve this?
Posted
Comments
Sergey Alexandrovich Kryukov 22-Nov-11 1:39am    
Not clear.
--SA

1 solution

hi,

are you bind the dropdown in the pagepostback???

It happens when you not bind values to dropdown in page postback use following code

if(!ispostback)
{
your code for binind the dropdowndata
}
 
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