GN SOMRO .NET CODING
Tuesday, 28 February 2017
Tuesday, 16 August 2016
Wednesday, 6 April 2016
Thursday, 17 March 2016
Thursday, 3 March 2016
Thursday, 28 January 2016
fancyBoxtest mvc
http://www.c-sharpcorner.com/UploadFile/b696c4/create-edit-details-delete-operation-from-fancy-box-in-mv895/
function LoadFancyDialogue(URL) {
$.fancybox({
href: URL,
padding: 5,
fitToView: false,
width: '40%',
height: '55%',
autoSize: false,
closeClick: false,
openEffect: 'none',
closeEffect: 'none',
type: 'ajax', afterClose: function () {
parent.location.reload();
}
});
}
--------------------
$('#testDiv').on('click', '.S2A', function (e) {
// Sale Pages
e.preventDefault(); // stops the page jumping to the top
var SaleID = $(this).attr('id');
var SaleTaskID = $(this).attr('title');
var TaskNo = $(this).attr('subject');
LoadFancyDialogue("@Url.Action("RFTechnicalInfo", "SalePages")?SaleTaskID=" + SaleTaskID + "&SaleID=" + SaleID);
// window.location.href = '@Url.Action("Sale_IpsInfo", "SalePages")?SaleID=' + SaleID;
//DecideSaleURL(SaleID, SaleTaskID, TaskNo);
});
function LoadFancyDialogue(URL) {
$.fancybox({
href: URL,
padding: 5,
fitToView: false,
width: '40%',
height: '55%',
autoSize: false,
closeClick: false,
openEffect: 'none',
closeEffect: 'none',
type: 'ajax', afterClose: function () {
parent.location.reload();
}
});
}
--------------------
$('#testDiv').on('click', '.S2A', function (e) {
// Sale Pages
e.preventDefault(); // stops the page jumping to the top
var SaleID = $(this).attr('id');
var SaleTaskID = $(this).attr('title');
var TaskNo = $(this).attr('subject');
LoadFancyDialogue("@Url.Action("RFTechnicalInfo", "SalePages")?SaleTaskID=" + SaleTaskID + "&SaleID=" + SaleID);
// window.location.href = '@Url.Action("Sale_IpsInfo", "SalePages")?SaleID=' + SaleID;
//DecideSaleURL(SaleID, SaleTaskID, TaskNo);
});
Wednesday, 27 January 2016
Subscribe to:
Posts (Atom)