Crag
Crag

Reputation: 458

Code Behind events not triggering using jQuery Mobile

I'm trying to create a mobile page using ASP.Net and jQuery Mobile. The UI looks great so far, but for some reason controls like asp:DropDownList never fire their selectedIndexChanged events to be handled by my code behind.

I know I should probably be using ASP.Net MVC but I've never done a project in MVC yet, and this project is just a mock up with a short timetable. Is there some way to get the code in the code behind to fire?

I've already tried setting ajaxEnabled to false and settings data-ajax='false' on the master page's form tag.

Upvotes: 2

Views: 516

Answers (1)

TheGeekYouNeed
TheGeekYouNeed

Reputation: 7539

Does your dropdownlist have AutoPostBack=true?

Upvotes: 2

Related Questions