Is there any way to refresh some part of page (e.g div/span) on selection of dropdownlist option … ?? Please note I’m using razor syntax.
If yes, then please give some sample code.
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.
Yes, you can subscribe to the
onchangeevent.Maybe like this (real example):
And then have this javascript function (or similar)
EDIT: This example assumes you are using unobtrusive validation (and therefore jQuery) and want to submit a form, but you could obviously call any javascript function for the onchange event and do whatever you want…