TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Trupti Chippa
NA
13
3.7k
Htttp post and kendo window refresh
Mar 21 2018 8:59 PM
Hi,
Below is the code snippet that I wrote which is working, but when decorated with HttpPost verb it's not working.
Please let me know your thoughts on it.
Example
MVC action method
[Httppost]
[OutputCache(Duration = 0, VaryByParam =
"*"
, NoStore=
true
)]
public
ActionResult sample([DataSourceRequest]DataSourceRequest request,
int
? id)
{
respective code will be here and that
return
view
return
View (Name, layourUrl, viewModel);
}
JS
function edir(id){
$(
'body'
).focus();
window.setTimeout(function(){
var window=$(
"#popup"
).data(
"kendoWindow"
);
var PopUpTitle=
"name"
;
window.setOptions({
title:PopUpTitle,
content:
"Loading..."
,
height:
"620px"
,
width:
"980px"
});
window.refresh({
url:
"/controller/Action_mathod"
+ id,
type:
"POST"
});
window.open();
window.center();
Thanks,
Reply
Answers (
1
)
How to send Confirmation mail to the registered user in MVC?
Generate UNIQUE transaction id for payyumoney-Payment Gatewa