Hi,This is my first post....
function createitem(obj) {
var options = {
width: 700,
height: 400,
url:obj,
title: "Create Item",
};
//For Auto Refreshing Parent Page
options.dialogReturnValueCallback = Function.createDelegate(null, CloseCallback);
//Open Pop Up
SP.UI.ModalDialog.showModalDialog(options);
//Parent Page Refresh
function CloseCallback(result, target) {
window.location.reload()
}
return false;
}
Hope it 'll be make your work easy......
Subscribe to:
Post Comments (Atom)
How to launch a document by clicking a link to the file?
Word: <a href='ms-word:ofe|u|path/to/web/word/document.docx'>Link to document</a> Excel: <a href='ms-excel:o...
-
Converting Word Documents to PDF using SharePoint Server 2010 and Word Services
-
Word: <a href='ms-word:ofe|u|path/to/web/word/document.docx'>Link to document</a> Excel: <a href='ms-excel:o...
-
function popupDialog(){ var options = SP.UI.$create_DialogOptions(); options.width = 800; options.height = 800; options.url = ...
No comments:
Post a Comment