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
Ravi Kumar
784
1.1k
31.2k
Page Reload problem in asp.net using jquery
Feb 28 2016 8:22 AM
hi
can any one help me
i am opening jquery modal popup.
while closing pop-up reloading the aspx page
its not getting reloading properly
-- check the fallowing code
<link type="text/css" rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
<script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.js" ></script>
<script type="text/javascript" src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<script type="text/javascript">
$(function () {
$('#lnkAddSubTask1').click(function () {
var mydiv = $('#popupdiv');
mydiv.dialog({
autoOpen: false, width: 1230, height: 850, modal: true,
close: function () {
location.reload();
}
//buttons: {
// Close: function () {
// window.location.reload(true);
// }
//}
});
// Load the content using AJAX
mydiv.load('AddSubTask.aspx');
// Open the dialog
mydiv.dialog('open');
});
})
</script>
Reply
Answers (
2
)
CRUD functionality not working in jqgrid with webform
how to append excel sheet using asp.net c# ?