asp.net mvc 3 - Drawing a part of a page only after another part was "submitted" -


asp.net mvc noob here

i writing quiz application user can select preferences (e.g. difficulty, number of question etc.), , once hit submit button - got new page questions.

the preferences represented "preferences" object, , questions ienumerable of question.

this worked well.

now decide both parts should in same page - , don't know how accomplish that:

should have new model class composition of these 2 parts?
, - how make "questions" part appear after user completed filling preferences , clicked button?
should use ajax?
read little partial views , rendersection.. couldn't understand approach appropriate scenario.

so how should draw 2 parts of page, second displayed after first submitted?

thanks.

how familiar ajax? if had guess think way want have ajax call linked action when user submits preferences. action can return partial view can have appear on page without reload via ajax.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -