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
Guest User
Tech Writer
43
7.1k
Redirect Another Page.
Apr 28 2021 7:55 AM
I have create a page .cshtml with name(ThankYouPage.cshtml).I want to how to redirect after success ajax.
this is my code
$.ajax({
url: '/Utility/SendMail',
type: "GET",
data: record,
contentType: "application/json; charset=utf-8",
success: function () {
toastr.options.timeOut = 5000;
toastr.success("Query Send Successfully");
$("#form")[0].reset();
window.location.href = "@Url.Action("ThankYouPage.cshtml")";
It's not working .Please let me know how it working.
Reply
Answers (
3
)
Which Application Insight version is required for .Net core 3.1
Kullanici Yetkilendirme