Cancel button in form

后端 未结 9 2054
借酒劲吻你
借酒劲吻你 2021-02-05 14:28

I have a cancel button in a form:

@using (Html.BeginForm(\"ConfirmBid\",\"Auction\"))
        {
          some stuff ...

                    

        
9条回答
  •  误落风尘
    2021-02-05 14:54

    
        
    
    

    if you want to preserve its look as a button, you could do something like this:

    
        
    
    

    where [ActionName] is the name of the action that will return your desired view.

提交回复
热议问题