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
Subscribe to:
Posts (Atom)