I have a dropdownlist in my asp.net page.
I want to display database data on page based on dropdown value selected.
How can i do the same using ajax?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could put the DropDownList inside an UpdatePanel and then subscribe to the SelectedIndexChanged event after setting the AutoPostBack property to
true.Here’s an example:
To learn more about update panels and ASP.NET AJAX you may take a look at the following article.