Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Post
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Reply
Page Reload problem in asp.net using jquery
Ravi Kumar
8 years ago
406
Reply
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>
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
CRUD functionality not working in jqgrid with webform
how to append excel sheet using asp.net c# ?