Thursday, March 22, 2012
Wednesday, March 21, 2012
Show Wait Screen on sharepoint dialog
To show wait screen, we need to pass
function OpenDialog(strPageURL) {
try {
var options = {
url: strPageURL, // ID of the HTML tag
// or HTML content to be displayed in modal dialog
width: null,
height: null,
title: "Dialog Title",
allowMaximize: true,
showClose: true
};
SP.UI.ModalDialog.showModalDialog(options);
return false;
}
catch (err) {
alert(err.Description);
}
}
null instead of width and height (or not to initialize this parameters, if using dialog options object): function OpenDialog(strPageURL) {
try {
var options = {
url: strPageURL, // ID of the HTML tag
// or HTML content to be displayed in modal dialog
width: null,
height: null,
title: "Dialog Title",
allowMaximize: true,
showClose: true
};
SP.UI.ModalDialog.showModalDialog(options);
return false;
}
catch (err) {
alert(err.Description);
}
}
Sunday, March 18, 2012
Getting the BDC Identity value to SQL
Tuesday, March 13, 2012
Thursday, January 12, 2012
Hide Entire container and show when all content has been loaded
$(document).ready(function () {
$("#container").hide();
});
$(window).load(function () {
$("#container").show();
});
$("#container").hide();
});
$(window).load(function () {
$("#container").show();
});
Subscribe to:
Posts (Atom)