如何使用选定的单选按钮在Mvc5中的视图之间导航 [英] How Do I Use Selected Radio Button To Navigate Between Views In Mvc5
问题描述
请问我可以使用选定的单选按钮导航到视图绑定吗?(我是MVC中的新功能)
i有一个包含2个单选按钮的页面我想将代码绑定到不同的视图,当选择一个单选按钮,然后单击下面的按钮,它将带您到视图绑定到该特定的单选按钮,否则返回错误,您必须选择一个单选按钮,例如银行付款& 电子支付,当选择BANK-PAYMENT单选按钮,然后点击按钮GO,我想带一个包含填写银行详细信息和表格的表格的视图。与电子支付相同
我将非常感谢您提前给予的任何帮助...
please can i use a selected radio button to navigate into the view bind to it?(am new in MVC)
i Have a page that contains 2 radio button i want to code bind it to different view that when a radio button is selected and then click the button below it will take you to the view bind to that particular radio button else return error that you must select one of the radio button, e.g payment page that has Bank payment & E-Payment, when the BANK-PAYMENT radio button is selected, then click on a button GO, i want to bring a view that contains form for filling the bank details & same as E-Payment
please i will appreciate Any help you can give on this thanks in advance...
推荐答案
这篇关于如何使用选定的单选按钮在Mvc5中的视图之间导航的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!