ASP.NET MVC Interface Controls - Dropdown List - AutoPostBack property





By setting AutoPostBack to true, the page will be posted back to the server when the selection is changed.
C#
 
    Html.Obout(new OboutDropDownList("ddl1") { AutoPostBack = true })
    

"Perfect! Honestly, you guys make me look brilliant. Your components offer a dynamic, and professionally designed experience for my users. The TreeView has been invaluable to me, huge datasets and enormous hierarchies are a snap. However, when you first introduced the CALLBACK, you rocked my world! Having moved from desktop to web applications, I missed the functionality I used to have. You gave it back - thank you. I can't tell you the number of times I've been asked "How'd you do that?" (even from our tech support and contractors)."

John Cappelletti

Random testimonial   All testimonials