Click here to Skip to main content
16,011,626 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
dear frinds from yesterday my web application is firing event without code behind and please refer screen shot of front end and code behind

http://imageshack.us/photo/my-images/687/homepage1q.jpg/
http://imageshack.us/photo/my-images/836/homepage2.jpg/

and i also want code that i have 2 dropdownlist DDL1 DDL2 and textbox1 and submit button

i wanted DDL1 DDL2 on selectedindexchanged it has to retrive data frm sql(i have sql code no need of sql related code) and when we type something in textbox n press submit button it has to serch in sql datasource and display(i have sql code no need of sql related code. i m also not able to get selectedindexchanged it is not firing any event i dono again why. i mean my vs2008 is auto ha ha..

Thanks in advance to all my friends helping me all the time n spending time for me thanks lot..:-)
Posted

1 solution

Go to the properties of drop down lists and set the AutoPostBack=true. Default value is false.
 
Share this answer
 
Comments
karthikh87 13-Apr-12 4:04am    
might be my question is silly but i was not able to understand so posted in this forum m sorry and thanks for helping me to resolve my question

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