Friday, May 10, 2024
 Popular · Latest · Hot · Upcoming
104
rated 0 times [  106] [ 2]  / answers: 1 / hits: 18198  / 14 Years ago, wed, december 22, 2010, 12:00:00

Is it possible to cause a postback to an action from changing your selection in a dropdown list without using JavaScript?



I remember when using the ASP.NET Forms dropdown list control, there was a property that when set would cause a postback on change, did this work without JS? - If so, how?



Many thanks,
Kohan.


More From » asp.net-mvc

 Answers
15

You need JavaScript to automatically post back data. You don't have to write it, but you still need it. You can post without JavaScript (someone pressing a submit button), but not automatically.



I believe what you are thinking of is the AutoPostBack property.


[#94520] Monday, December 20, 2010, 14 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
jabari

Total Points: 580
Total Questions: 85
Total Answers: 110

Location: Western Sahara
Member since Mon, May 3, 2021
3 Years ago
;