Ajax.BeginForm()在VB中不起作用 [英] Ajax.BeginForm() is not working in VB

查看:95
本文介绍了Ajax.BeginForm()在VB中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的视图页面中调用了jquery.unobtrusive-ajax.min.js。

但是当我点击提交按钮时它不会转到< http>发布方法。我的代码是---



@using(Ajax.BeginForm(ContactInFo,Customer,新的AjaxOptions {HttpMethod =POST,OnSuccess =scuccessNotificationContact ,OnBegin =loader}))

{

.....

........

}



i需要知道vbhtml的正确语法

i have called "jquery.unobtrusive-ajax.min.js" in my view page.
but when i click the submit button it does not goes to <http> post method. my code is---

@using (Ajax.BeginForm("ContactInFo", "Customer", new AjaxOptions { HttpMethod = "POST", OnSuccess = "scuccessNotificationContact", OnBegin = "loader" }))
{
.....
........
}

i need to know the correct syntax for vbhtml

推荐答案

这篇关于Ajax.BeginForm()在VB中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆