How to have a a razor action link open in a new tab?

前端 未结 10 1711
甜味超标
甜味超标 2020-12-14 05:41

I trying to get my link to open in a new tab (it must be in razor format):

    

        
10条回答
  •  生来不讨喜
    2020-12-14 05:57

    You are setting it't type as submit. That means that browser should post your

    data to the server.

    In fact a tag has no type attribute according to w3schools.

    So remote type attribute and it should work for you.

提交回复
热议问题