This is a migrated thread and some comments may be shown as answers.

Ajax Post with Window (MVC3) Bug?

2 Answers 209 Views
Window
This is a migrated thread and some comments may be shown as answers.
Jakub
Top achievements
Rank 1
Jakub asked on 17 Aug 2012, 07:42 PM
Hi,

I have a little problem with sending post ajax request from KendoUI Window.

I open an Ajax.BeginForm in KendoUI Window. After submiting that form it makes regular POST instead of ajax Post.

I have moved this part of code from using with Telerik Window UI Control where it works fine.

Do I do something wrong with KendoUI?

Thank you for your help and time in advance.

Jakub

2 Answers, 1 is accepted

Sort by
0
Jaan
Top achievements
Rank 1
answered on 20 Aug 2012, 07:06 AM
0
Tomaz
Top achievements
Rank 1
answered on 31 Aug 2012, 10:29 AM
I had the same problem because I forgot to add:

<script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.min.js")" type="text/javascript"></script>

into _Layout.cshtml
Tags
Window
Asked by
Jakub
Top achievements
Rank 1
Answers by
Jaan
Top achievements
Rank 1
Tomaz
Top achievements
Rank 1
Share this question
or