C# How to set the autopostback property when using asp.net mvc?

后端 未结 4 785
终归单人心
终归单人心 2021-01-01 15:00

I am using asp.net MVC framework. On my page i have a dropdwonbox and when an option is clicked i want to go to another page. But i can\'t find how/where to set the autopost

4条回答
  •  再見小時候
    2021-01-01 15:33

    I believe too that you may want to adjust your postback to the formsCollection

    postback public ActionResult Index(FormsCollection myform)

    (I'm not on my home pc where MVC is installed, so I can't verify the syntax here)

提交回复
热议问题