Ajax Form Redirect the page from inside Jquery Dialog

后端 未结 4 1654
轮回少年
轮回少年 2021-01-26 07:45

i have a jquery Dialog in a partial view:

@model JQueryDialogPoc.Models.FeedBack
@using (Ajax.BeginForm(\"GiveFeedback\", \"Home\", null, new AjaxOptions { HttpM         


        
4条回答
  •  爱一瞬间的悲伤
    2021-01-26 08:23

    I have these js libraries included, I guess this may be what you need.

    
    
    
    

    Also try to test it from action method if it is a ajax request.

    Request.IsAjaxRequest()
    

提交回复
热议问题