Monday, October 11, 2010

Forum Reading Penthouse

Sharepoint 2010 -> Javascript API window dialog

Who in his Sharepoint side windows and wants dialogue make themselves open and who must resort to just a few Sharepoint API
If someone wants to use the window / dialog of Sharepoint in his Sharepoint instance, you can use The Sharepoint API like this:

\u0026lt;script type="text/javascript">
function MyDialog () {var
this dialog = $ SP.UI. create_DialogOptions ();
thisdialog.url = "/ _layouts / dialog demo / MyDialog.htm "; thisdialog.width = 400; thisdialog.height = 300;
SP.UI.ModalDialog.showModalDialog (this dialog);
\u0026lt;/ Script>}

More information can be found here (thanks to the authors): blog

External blog


0 comments:

Post a Comment